v8/test/unittests/base
bmeurer 0a0fe8fb8b [builtins] Unify most of the remaining Math builtins.
Import fdlibm versions of acos, acosh, asin and asinh, which are more
precise and produce the same result across platforms (we were using
libm versions for asin and acos so far, where both speed and precision
depended on the operating system so far). Introduce appropriate TurboFan
operators for these functions and use them both for inlining and for the
generic builtin.

Also migrate the Math.imul and Math.fround builtins to TurboFan builtins
to ensure that their behavior is always exactly the same as the inlined
TurboFan version (i.e. C++ truncation semantics for double to float
don't necessarily meet the JavaScript semantics).

For completeness, also migrate Math.sign, which can even get some nice
love in TurboFan.

Drive-by-fix: Some alpha-sorting on the Math related functions, and
cleanup the list of Math intrinsics that we have to export via the
native context currently.

BUG=v8:3266,v8:3496,v8:3509,v8:3952,v8:5169,v8:5170,v8:5171,v8:5172
TBR=rossberg@chromium.org
R=franzih@chromium.org

Review-Url: https://codereview.chromium.org/2116753002
Cr-Commit-Position: refs/heads/master@{#37476}
2016-07-01 11:13:02 +00:00
..
platform Enable ThreadTicks on Windows. 2016-06-30 15:36:08 +00:00
utils Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
atomic-utils-unittest.cc Move atomic-utils.h into base/ 2016-05-09 16:23:57 +00:00
bits-unittest.cc [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
cpu-unittest.cc [x86] Disable AVX unless the operating system explicitly claims to support it. 2015-01-27 09:59:24 +00:00
division-by-constant-unittest.cc Remove v8stdint.h, it doesn't serve a purpose anymore. 2014-10-21 08:25:14 +00:00
flags-unittest.cc Remove v8stdint.h, it doesn't serve a purpose anymore. 2014-10-21 08:25:14 +00:00
functional-unittest.cc [turbofan] Fix HashCode/Equals for floating point operators. 2014-10-08 07:32:07 +00:00
ieee754-unittest.cc [builtins] Unify most of the remaining Math builtins. 2016-07-01 11:13:02 +00:00
iterator-unittest.cc [base] Add iterator_range helper class. 2014-12-16 07:32:03 +00:00
logging-unittest.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
sys-info-unittest.cc Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00