using System; using System.Collections.Generic; using System.Text; namespace StgSharp.Math { public static unsafe partial class Calc { /// /// Get the bits of a float number /// /// The given float number /// public static uint GetBits32(float x) { Union4 union = new Union4(); union.f = x; return union.i; } } }