Exemple #1
0
        uint floatToRawIntBits(float f)
        {
            FloatToIntConverter converter = new FloatToIntConverter();

            converter.FloatValue = f;
            return(converter.IntValue);
        }
Exemple #2
0
        // todo: test this
        public static int floatToRawIntBits(float value)
        {
            var converter = new FloatToIntConverter();

            converter.FloatValue = value;
            return(converter.IntValue);
        }