diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux index 7a9dfcb08..1b90e322a 100644 --- a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux @@ -237,16 +237,6 @@ [int//max (|> (ruby.int 2) (ruby.pow (ruby.int 63)) (ruby.- (ruby.int 1)))] ) -(do-template [<name> <expression>] - [(def: (<name> _) - Nullary - <expression>)] - - [frac//not-a-number (ruby./ (ruby.float 0.0) (ruby.float 0.0))] - [frac//positive-infinity (ruby./ (ruby.float 0.0) (ruby.float 1.0))] - [frac//negative-infinity (ruby./ (ruby.float 0.0) (ruby.float -1.0))] - ) - (do-template [<name> <op>] [(def: (<name> [subjectO paramO]) Binary @@ -339,9 +329,6 @@ (install "smallest" (nullary frac//smallest)) (install "min" (nullary frac//min)) (install "max" (nullary frac//max)) - (install "not-a-number" (nullary frac//not-a-number)) - (install "positive-infinity" (nullary frac//positive-infinity)) - (install "negative-infinity" (nullary frac//negative-infinity)) (install "to-int" (unary (ruby.send "floor" (list)))) (install "encode" (unary frac//encode)) (install "decode" (unary frac//decode))))) |