diff options
Diffstat (limited to 'stdlib/source/library/lux/target/jvm/constant.lux')
-rw-r--r-- | stdlib/source/library/lux/target/jvm/constant.lux | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/source/library/lux/target/jvm/constant.lux b/stdlib/source/library/lux/target/jvm/constant.lux index f8ca85cc0..fa4c61142 100644 --- a/stdlib/source/library/lux/target/jvm/constant.lux +++ b/stdlib/source/library/lux/target/jvm/constant.lux @@ -66,17 +66,17 @@ "[1]::[0]" ("static" floatToRawIntBits "manual" [float] int)) -(implementation: .public float_equivalence +(def: .public float_equivalence (Equivalence java/lang/Float) - - (def: (= parameter subject) - (for @.old - ("jvm feq" parameter subject) - - @.jvm - ("jvm float =" - ("jvm object cast" parameter) - ("jvm object cast" subject))))) + (implementation + (def: (= parameter subject) + (for @.old + ("jvm feq" parameter subject) + + @.jvm + ("jvm float =" + ("jvm object cast" parameter) + ("jvm object cast" subject)))))) (import java/lang/Double "[1]::[0]" |