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