Example #1
0
        internal static float Int32BitsToSingle(int v)
        {
            SingleConverter c = new SingleConverter();

            c.i = v;
            return(c.f);
        }
Example #2
0
        internal static int SingleToInt32Bits(float v)
        {
            SingleConverter c = new SingleConverter();

            c.f = v;
            return(c.i);
        }