w3c / xslt30-test

24 stars 14 forks source link

math-3303, math-3303a #79

Open michaelhkay opened 2 weeks ago

michaelhkay commented 2 weeks ago

I believe the expected results for these long-standing tests are incorrect.

The correct value for round-half-to-even(150.0150e0, 2) should be 150.01, because the exact decimal value of 150.0150e0 is 150.0149999999999863575794734060764312744140625.

Similarly, round-half-to-even(250.0250e0, 2) should return 250.03, because the exact decimal value of 250.0250e0 is 250.025000000000005684341886080801486968994140625

michaelhkay commented 2 weeks ago

Corrected in the XSLT4 suite.