From b018ce6ea1a52a8d03c1feebf31fa801e7d819e1 Mon Sep 17 00:00:00 2001 From: SomeGuyWhoLovesCoding <99929173+SomeGuyWhoLovesCoding@users.noreply.github.com> Date: Wed, 4 Sep 2024 07:46:51 -0400 Subject: [PATCH] Update Int128Helper.hx --- std/haxe/Int128Helper.hx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/std/haxe/Int128Helper.hx b/std/haxe/Int128Helper.hx index bca320fb9d9..f7db3b0631c 100644 --- a/std/haxe/Int128Helper.hx +++ b/std/haxe/Int128Helper.hx @@ -23,7 +23,6 @@ package haxe; using haxe.Int128; -import haxe.Int128; /** Helper for parsing to `Int128` instances. @@ -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`. @@ -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`. @@ -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`.