]> gitweb.factorcode.org Git - factor.git/blobdiff - library/platform/jvm/real-math.factor
complex numbers in native factor, all of test suite except html and httpd tests runs...
[factor.git] / library / platform / jvm / real-math.factor
index 88c23c124da7ca6f44427e1c3c1667e6d07bbe6a..592ab21af4822fce2fdd9f04be41d0d5b0b7d250 100644 (file)
@@ -35,10 +35,6 @@ USE: arithmetic
 USE: kernel
 USE: stack
 
-: fabs ( x -- abs )
-    [ "double" ] "java.lang.Math" "abs"
-    jinvoke-static ; inline
-
 : facos ( x -- acos )
     [ "double" ] "java.lang.Math" "acos"
     jinvoke-static ; inline
@@ -51,7 +47,7 @@ USE: stack
     [ "double" ] "java.lang.Math" "atan"
     jinvoke-static ; inline
 
-: fatan2 ( x y -- atan2 )
+: fatan2 ( y x -- atan2 )
     [ "double" "double" ] "java.lang.Math" "atan2"
     jinvoke-static ; inline