Status: New
Owner: ----

New issue 3603 by havard.e...@gmail.com: 4 tests in test/mjsunit/math-pow.js need updating to C99-spec'ed results
https://code.google.com/p/v8/issues/detail?id=3603

According to sources elsewhere, the expected result for these 4 tests
should be updated:

  assertEquals(NaN, Math.pow(1, Infinity));
  assertEquals(NaN, Math.pow(1, -Infinity));
  assertEquals(NaN, Math.pow(-1, Infinity));
  assertEquals(NaN, Math.pow(-1, -Infinity));

These should now all result in +1.0.

  http://svnweb.freebsd.org/base/head/lib/msun/src/e_pow.c

refers to the revised IEEE 754 (2008) version (I don't have
a copy and it appears to be a pay-for-standard), and

  https://blogs.oracle.com/darcy/entry/finding_a_bug_in_fdlibm

says these expected results were changed in C99.

So the tests should probably be updated now as well?

Best regards,

- HÃ¥vard


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to