go back to using random instead of uniform-random-float in math.vectors.simd tests because the software and SIMD implementations of norm and v. can sporadically diverge when their different operation orders lead to cancellation of catastrophically small inputs
							parent
							
								
									cef5a32746
								
							
						
					
					
						commit
						7ed8f00b0f
					
				| 
						 | 
				
			
			@ -146,7 +146,7 @@ CONSTANT: simd-classes
 | 
			
		|||
: random-float-vector ( class -- vec )
 | 
			
		||||
    new [
 | 
			
		||||
        drop
 | 
			
		||||
        -1,000.0 1,000.0 uniform-random-float 
 | 
			
		||||
        1000 random
 | 
			
		||||
        10 swap <array> 0/0. suffix random
 | 
			
		||||
    ] map ;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue