math.functions: cleaner rect>.
							parent
							
								
									4c54b32170
								
							
						
					
					
						commit
						0178117d6c
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue