diff --git a/basis/math/functions/functions.factor b/basis/math/functions/functions.factor index 9a5bb2084b..b33e40862d 100644 --- a/basis/math/functions/functions.factor +++ b/basis/math/functions/functions.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: math kernel math.constants math.private math.bits math.libm combinators fry math.order sequences -combinators.short-circuit macros literals math.bitwise ; +combinators.short-circuit macros literals ; IN: math.functions : >fraction ( a/b -- a b ) @@ -156,6 +156,11 @@ M: real absq sq ; inline : >=1? ( x -- ? ) dup complex? [ drop f ] [ 1 >= ] if ; inline + + GENERIC: frexp ( x -- y exp ) M: float frexp