using System; using System.Collections.Generic; using System.Text; namespace StgSharp { public static unsafe partial class Math { /// /// 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; } } }