diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/ruby')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux b/new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux index 15e68d8c6..1e76ef9e4 100644 --- a/new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux @@ -25,13 +25,13 @@ (def: #export translate-frac (-> Frac (Meta Expression)) (|>> (cond> [(f/= number.positive-infinity)] - [(new> "(1/0)")] + [(new> "(1.0/0.0)")] [(f/= number.negative-infinity)] - [(new> "(-1/0)")] + [(new> "(-1.0/0.0)")] [(f/= number.not-a-number)] - [(new> "(0/0)")] + [(new> "(0.0/0.0)")] ## else [%f]) |