|
@@ -101,21 +101,10 @@ abstract UInt(Int) from Int to Int {
|
|
|
return a.toFloat() > b;
|
|
|
}
|
|
|
|
|
|
- @:commutative @:op(A == B) private static inline function equalsInt<T:Int>(a:UInt, b:T):Bool {
|
|
|
- return a.toInt() == b;
|
|
|
- }
|
|
|
-
|
|
|
- @:commutative @:op(A != B) private static inline function notEqualsInt<T:Int>(a:UInt, b:T):Bool {
|
|
|
- return a.toInt() != b;
|
|
|
- }
|
|
|
-
|
|
|
- @:commutative @:op(A == B) private static inline function equalsFloat<T:Float>(a:UInt, b:T):Bool {
|
|
|
- return a.toFloat() == b;
|
|
|
- }
|
|
|
-
|
|
|
- @:commutative @:op(A != B) private static inline function notEqualsFloat<T:Float>(a:UInt, b:T):Bool {
|
|
|
- return a.toFloat() != b;
|
|
|
- }
|
|
|
+ @:commutative @:op(A == B) private static function equalsInt<T:Int>(a:UInt, b:T):Bool;
|
|
|
+ @:commutative @:op(A != B) private static function notEqualsInt<T:Int>(a:UInt, b:T):Bool;
|
|
|
+ @:commutative @:op(A == B) private static function equalsFloat<T:Float>(a:UInt, b:T):Bool;
|
|
|
+ @:commutative @:op(A != B) private static function notEqualsFloat<T:Float>(a:UInt, b:T):Bool;
|
|
|
|
|
|
@:op(A >= B) private static inline function gteFloat(a:UInt, b:Float):Bool {
|
|
|
return a.toFloat() >= b;
|