1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Merge pull request #303 from pmysl/master

Correct int64.MinValue
This commit is contained in:
Brian Fiete 2020-05-28 09:03:05 -07:00 committed by GitHub
commit 0c6100476d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,7 @@ namespace System
} }
public const int64 MaxValue = 0x7FFFFFFFFFFFFFFFL; public const int64 MaxValue = 0x7FFFFFFFFFFFFFFFL;
//public const long MinValue = -0x8000000000000000L; public const int64 MinValue = -0x8000000000000000L;
public const int64 MinValue = -0x7FFFFFFFFFFFFFFFL; //TODO: Should be one lower!
public static int operator<=>(Int64 a, Int64 b) public static int operator<=>(Int64 a, Int64 b)
{ {