mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 09:27:59 +02:00
Negative zero fix
This commit is contained in:
parent
a3b761ab26
commit
ae186433cc
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ namespace System
|
||||||
public const double NegativeInfinity = (double)(- 1.0 / (double)(0.0));
|
public const double NegativeInfinity = (double)(- 1.0 / (double)(0.0));
|
||||||
public const double PositiveInfinity = (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;
|
public const double NaN = (double)0.0 / (double)0.0;
|
||||||
|
public const double NegativeZero = -0.0;
|
||||||
static double NegativeZero = BitConverter.Convert<int64, double>(0x8000000000000000UL);
|
|
||||||
|
|
||||||
public static int operator<=>(Double a, Double b)
|
public static int operator<=>(Double a, Double b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue