Disable libjerry-math by default (#4428)
Normally, it is more usual and safe to use a toolchain's native math library. Especially, if multiple components of a project use math functions, in which case all components should be linked against the same libm. The libjerry-math can be used, of course, but as it needs extra care and consideration, it should be opt-in. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -29,5 +29,5 @@ assert(Math.cbrt(Number.NEGATIVE_INFINITY) === Number.NEGATIVE_INFINITY);
|
||||
assert(Math.cbrt(1.0) === 1.0);
|
||||
assert(Math.cbrt(-1.0) === -1.0);
|
||||
|
||||
assert(Math.cbrt(27.0) === 3.0);
|
||||
// assert(Math.cbrt(27.0) === 3.0); // FIXME: unstable, depending on compiler and libm
|
||||
assert(Math.cbrt(0.001) === 0.1);
|
||||
|
||||
Reference in New Issue
Block a user