Skip to content

Commit

Permalink
Update Int128Helper.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeGuyWhoLovesCoding authored Sep 3, 2024
1 parent 0b357bc commit bc5006d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/haxe/Int128Helper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Int128Helper {
/**
The minimum `Int128` value.
*/
public static var minValue:Int128 = -maxValue;
public static var minValue:Int128 = ~maxValue;

/**
The maximum `Int64` value with the type `Int128`.
Expand All @@ -134,7 +134,7 @@ class Int128Helper {
The minimum `Int64` value with the type `Int128`.
This is handy for type comparison.
*/
public static var minValue64:Int128 = Int128.ofInt64(Int64Helper.minValue);
public static var minValue64:Int128 = ~maxValue64;

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

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

0 comments on commit bc5006d

Please sign in to comment.