apple / swift-numerics

Advanced mathematical types and functions for Swift
Apache License 2.0
1.67k stars 142 forks source link

Use DoubleWidth in stochastic rounding right-shift tests. #217

Closed stephentyrone closed 2 years ago

stephentyrone commented 2 years ago

This lets us get rid of Double here, and get more meaningful test coverage for 64b values. Also test 128b to cover double-width itself somewhat.

stephentyrone commented 2 years ago

@swift-ci test