| 
									
										
										
										
											2008-10-21 22:51:54 -04:00
										 |  |  | ! Copyright (C) 2008 Doug Coleman. | 
					
						
							|  |  |  | ! See http://factorcode.org/license.txt for BSD license. | 
					
						
							| 
									
										
										
										
											2009-05-16 01:29:21 -04:00
										 |  |  | USING: tools.test math.floating-point kernel | 
					
						
							|  |  |  | math.constants fry sequences math ;
 | 
					
						
							| 
									
										
										
										
											2008-10-21 22:51:54 -04:00
										 |  |  | IN: math.floating-point.tests | 
					
						
							| 
									
										
										
										
											2008-11-29 01:44:39 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | [ t ] [ pi >double< >double pi = ] unit-test | 
					
						
							|  |  |  | [ t ] [ -1.0 >double< >double -1.0 = ] unit-test | 
					
						
							| 
									
										
										
										
											2008-12-03 20:15:58 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | [ t ] [ 1/0. infinity? ] unit-test | 
					
						
							|  |  |  | [ t ] [ -1/0. infinity? ] unit-test | 
					
						
							|  |  |  | [ f ] [ 0/0. infinity? ] unit-test | 
					
						
							|  |  |  | [ f ] [ 10. infinity? ] unit-test | 
					
						
							|  |  |  | [ f ] [ -10. infinity? ] unit-test | 
					
						
							|  |  |  | [ f ] [ 0. infinity? ] unit-test |