Sunday, 16 April 2017

Testing Javascript floating point rounding mode conformance

ECMA requires conformable implementors to perform “round to nearest, ties to even” for <Number> plus [cp], minus [cp], times [cp], divide [cp], and mod [cp].

What's a good Javascript test code to determine conformance?



via Pacerier

No comments:

Post a Comment