math.functions: cleaner rect>.

db4
John Benediktsson 2012-08-10 15:51:11 -07:00
parent 4c54b32170
commit 0178117d6c
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ IN: math.functions
[ numerator ] [ denominator ] bi ; inline
: rect> ( x y -- z )
dup 0 = [ drop ] [ complex boa ] if ; inline
[ complex boa ] unless-zero ; inline
GENERIC: sqrt ( x -- y ) foldable