public static byte4 asbyte(quarter4 x) { if (Sse.IsSseSupported) { return((v128)x); } else { return(*(byte4 *)&x); } }
public static bool4 isnan(quarter4 q) { return((asbyte(q) & 0b111_1111) > 0b0111_0000); }
public static bool4 isfinite(quarter4 q) { return((asbyte(q) & 0b0111_1111) < 0b0111_0000); }
public static bool4 isinf(quarter4 q) { return((asbyte(q) & 0b0111_1111) == 0b0111_0000); }
public quarter8(quarter2 x01, quarter4 x2345, quarter2 x67) { this = maxmath.asquarter(new byte8(maxmath.asbyte(x01), maxmath.asbyte(x2345), maxmath.asbyte(x67))); }
public quarter8(quarter4 x0123, quarter2 x45, quarter2 x67) { this = maxmath.asquarter(new byte8(maxmath.asbyte(x0123), maxmath.asbyte(x45), maxmath.asbyte(x67))); }
public quarter8(quarter2 x01, quarter2 x23, quarter4 x4567) { this = maxmath.asquarter(new byte8(maxmath.asbyte(x01), maxmath.asbyte(x23), maxmath.asbyte(x4567))); }
public static bool4 toboolsafe(quarter4 x) { return(x != (quarter)0f); }
public static quarter4 abs(quarter4 x) { return(asquarter(asbyte(x) & 0b0111_1111)); }
public static quarter4 nabs(quarter4 x) { return(asquarter(asbyte(x) | 0b1000_0000)); }