double2singlePrecision function

Converts numerical values from double precision to single precision.