diff --git a/BeefLibs/corlib/src/Double.bf b/BeefLibs/corlib/src/Double.bf index 63176ab3..5c75b453 100644 --- a/BeefLibs/corlib/src/Double.bf +++ b/BeefLibs/corlib/src/Double.bf @@ -21,8 +21,7 @@ namespace System public const double NegativeInfinity = (double)(- 1.0 / (double)(0.0)); public const double PositiveInfinity = (double)1.0 / (double)(0.0); public const double NaN = (double)0.0 / (double)0.0; - - static double NegativeZero = BitConverter.Convert(0x8000000000000000UL); + public const double NegativeZero = -0.0; public static int operator<=>(Double a, Double b) {