math.functions: cleaner rect>.

John Benediktsson 2012-08-10 15:51:11 -07:00
parent 527d6121e1
commit 5ecff652ba
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