From 787fc34a8f7c66746046a8ce0c16403cf6c2bf6c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 4 Apr 2018 00:56:16 -0400 Subject: - Initial Python back-end implementation. --- new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/ruby/primitive.jvm.lux') 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]) -- cgit v1.2.3