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 4, 2024
1 parent fc5a0d6 commit b018ce6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions std/haxe/Int128Helper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
package haxe;

using haxe.Int128;
import haxe.Int128;

/**
Helper for parsing to `Int128` instances.
Expand Down Expand Up @@ -122,7 +121,7 @@ class Int128Helper {
/**
The minimum `Int128` value.
*/
public static var minValue:Int128 = Int128.complement(maxValue);
public static var minValue:Int128 = ~maxValue;

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

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

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

0 comments on commit b018ce6

Please sign in to comment.