public static bool operator >=(F64 v1, int v2) { return(v1.Raw >= Fixed64.FromInt(v2)); }
public override string ToString() { return(Fixed64.ToString(Raw)); }
public F64(double v) { Raw = Fixed64.FromDouble(v); }
public static F64 PowFastest(F64 a, F64 b) { return(FromRaw(Fixed64.PowFastest(a.Raw, b.Raw))); }
public static F64 Clamp(F64 a, F64 min, F64 max) { return(FromRaw(Fixed64.Clamp(a.Raw, min.Raw, max.Raw))); }
public static F64 Asin(F64 a) { return(FromRaw(Fixed64.Asin(a.Raw))); }
public static F64 AtanFastest(F64 a) { return(FromRaw(Fixed64.AtanFastest(a.Raw))); }
public static F64 Round(F64 a) { return(FromRaw(Fixed64.Round(a.Raw))); }
public static F64 Fract(F64 a) { return(FromRaw(Fixed64.Fract(a.Raw))); }
public static F64 Ceil(F64 a) { return(FromRaw(Fixed64.Ceil(a.Raw))); }
public static F64 Floor(F64 a) { return(FromRaw(Fixed64.Floor(a.Raw))); }
public static F64 Nabs(F64 a) { return(FromRaw(Fixed64.Nabs(a.Raw))); }
} // 180 / F64.Pi public static F64 DegToRad(F64 a) { return(FromRaw(Fixed64.Mul(a.Raw, 74961320))); } // F64.Pi / 180
public static F64 RadToDeg(F64 a) { return(FromRaw(Fixed64.Mul(a.Raw, 246083499198))); } // 180 / F64.Pi
public static F64 CosFastest(F64 a) { return(FromRaw(Fixed64.CosFastest(a.Raw))); }
public static F64 DivFast(F64 a, F64 b) { return(FromRaw(Fixed64.DivFast(a.Raw, b.Raw))); }
public static F64 TanFast(F64 a) { return(FromRaw(Fixed64.TanFast(a.Raw))); }
public static F64 Sqrt(F64 a) { return(FromRaw(Fixed64.Sqrt(a.Raw))); }
public static F64 AcosFast(F64 a) { return(FromRaw(Fixed64.AcosFast(a.Raw))); }
public static F64 RSqrtFastest(F64 a) { return(FromRaw(Fixed64.RSqrtFastest(a.Raw))); }
public static F64 Atan2Fastest(F64 y, F64 x) { return(FromRaw(Fixed64.Atan2Fastest(y.Raw, x.Raw))); }
public static F64 RcpFast(F64 a) { return(FromRaw(Fixed64.RcpFast(a.Raw))); }
public static F64 Max(F64 a, F64 b) { return(FromRaw(Fixed64.Max(a.Raw, b.Raw))); }
public static F64 Exp2Fast(F64 a) { return(FromRaw(Fixed64.Exp2Fast(a.Raw))); }
// Constructors public F64(int v) { Raw = Fixed64.FromInt(v); }
public static F64 Log(F64 a) { return(FromRaw(Fixed64.Log(a.Raw))); }
public F64(float v) { Raw = Fixed64.FromFloat(v); }
public static F64 Log2Fastest(F64 a) { return(FromRaw(Fixed64.Log2Fastest(a.Raw))); }
// Conversions public static int FloorToInt(F64 a) { return(Fixed64.FloorToInt(a.Raw)); }
public static bool operator >=(int v1, F64 v2) { return(Fixed64.FromInt(v1) >= v2.Raw); }