public static void SwapSingle( ref float value) { var union = new SingleUnion(value); Swap(ref union.Integer); value = union.Real; }
public static uint SingleToUInt32(float value) { var union = new SingleUnion(value); return(union.Integer); }
public static float SingleFromUInt32(uint bits) { var union = new SingleUnion(bits); return(union.Real); }