]> gitweb.factorcode.org Git - factor.git/commitdiff
math.functions: one line logn
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 22 Mar 2018 22:19:14 +0000 (15:19 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 22 Mar 2018 22:19:14 +0000 (15:19 -0700)
basis/math/functions/functions.factor

index aa26be21a96b2e3f04ce49aee4f1594b73cdf5e7..c4b713ad16f6362eef9e413e3b16fc73b98b213d 100644 (file)
@@ -196,8 +196,7 @@ M: real log >float log ; inline
 
 M: complex log >polar [ flog ] dip rect> ; inline
 
-: logn ( x n -- y )
-  [ log ] bi@ / ;
+: logn ( x n -- y ) [ log ] bi@ / ;
 
 <PRIVATE