aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-04-04 00:56:16 -0400
committerEduardo Julian2018-04-04 00:56:16 -0400
commit787fc34a8f7c66746046a8ce0c16403cf6c2bf6c (patch)
tree31c054f4a61e784875b7d66642558e9357d91493 /new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux
parentb14f95ca68887d9e6cea211b47e04e5ec00c05fa (diff)
- Initial Python back-end implementation.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux6
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])