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
f565df3a85
commit
f8a4469c5f
|
|
@ -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