Skip to content

Commit

Permalink
Update Int64Helper.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeGuyWhoLovesCoding authored Sep 3, 2024
1 parent 4360564 commit be1dbc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/haxe/Int64Helper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Int64Helper {
/**
The minimum `Int64` value.
*/
public static var minValue:Int64 = -maxValue - 1;
public static var minValue:Int64 = Int64.not(maxValue);

/**
The maximum `Int32` value with the type `Int64`.
Expand All @@ -135,7 +135,7 @@ class Int64Helper {
The minimum `Int32` value with the type `Int64`.
This is handy for type comparison.
*/
public static var minValue32:Int64 = -maxValue32 - 1;
public static var minValue32:Int64 = Int64.not(maxValue32);

/**
The maximum unsigned `Int32` value with the type `Int64`.
Expand Down

0 comments on commit be1dbc3

Please sign in to comment.