Create function RealToFloatPoint.