diff options
Diffstat (limited to 'stdlib/source/library/lux/math/number/frac.lux')
-rw-r--r-- | stdlib/source/library/lux/math/number/frac.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/math/number/frac.lux b/stdlib/source/library/lux/math/number/frac.lux index 80eacae5d..a25106d63 100644 --- a/stdlib/source/library/lux/math/number/frac.lux +++ b/stdlib/source/library/lux/math/number/frac.lux @@ -66,12 +66,12 @@ (template (_ value) [(|> value (as (Primitive "java.lang.Double")) - "jvm object cast")])) + .jvm_object_cast#)])) (def !frac (template (_ value) [(|> value - "jvm object cast" + .jvm_object_cast# (is (Primitive "java.lang.Double")) (as Frac))])) @@ -80,7 +80,7 @@ (-> Frac Frac) (|>> !double ["D"] - ("jvm member invoke static" [] "java.lang.Math" <method> []) + (.jvm_member_invoke_static# [] "java.lang.Math" <method> []) !frac))] [cos "cos"] @@ -103,8 +103,8 @@ (def .public (pow param subject) (-> Frac Frac Frac) - (|> ("jvm member invoke static" [] "java.lang.Math" "pow" [] - ["D" (!double subject)] ["D" (!double param)]) + (|> (.jvm_member_invoke_static# [] "java.lang.Math" "pow" [] + ["D" (!double subject)] ["D" (!double param)]) !frac))) @.js |