public DebuggerProxy(half8 v) { x0 = v.x0; x1 = v.x1; x2 = v.x2; x3 = v.x3; x4 = v.x4; x5 = v.x5; x6 = v.x6; x7 = v.x7; }
public static ushort8 asushort(half8 x) { if (Sse.IsSseSupported) { return((v128)x); } else { return(*(ushort8 *)&x); } }
public static bool8 isinf(half8 h) { return((asushort(h) & 0x7FFF) == 0x7C00); }
public static bool8 isnan(half8 h) { return((asushort(h) & 0x7FFF) > 0x7C00); }
public static bool8 isfinite(half8 h) { return((asushort(h) & 0x7FFF) < 0x7C00); }
public static bool8 toboolsafe(half8 x) { return((float8)x != 0f); }
public static half8 abs(half8 x) { return(ashalf(asushort(x) & 0x7FFF)); }
public static half8 nabs(half8 x) { return(ashalf(asushort(x) | 0x8000)); }