diff options
Diffstat (limited to 'test/123-inline-execute2/expected.txt')
| -rw-r--r-- | test/123-inline-execute2/expected.txt | 299 |
1 files changed, 299 insertions, 0 deletions
diff --git a/test/123-inline-execute2/expected.txt b/test/123-inline-execute2/expected.txt new file mode 100644 index 0000000000..aa74fa3757 --- /dev/null +++ b/test/123-inline-execute2/expected.txt @@ -0,0 +1,299 @@ +Math.sin(0.0) = 0.000000000000 +Math.sinh(0.0) = 0.000000000000 +Math.asin(0.0) = 0.000000000000 +Math.cos(0.0) = 1.000000000000 +Math.cosh(0.0) = 1.000000000000 +Math.acos(0.0) = 1.570796326795 +Math.tan(0.0) = 0.000000000000 +Math.tanh(0.0) = 0.000000000000 +Math.atan(0.0) = 0.000000000000 +Math.atan2(0.0, 1.0) = 0.000000000000 +Math.sin(0.7853981633974483) = 0.707106781187 +Math.sinh(0.7853981633974483) = 0.868670961486 +Math.asin(0.7853981633974483) = 0.903339110767 +Math.cos(0.7853981633974483) = 0.707106781187 +Math.cosh(0.7853981633974483) = 1.324609089252 +Math.acos(0.7853981633974483) = 0.667457216028 +Math.tan(0.7853981633974483) = 1.000000000000 +Math.tanh(0.7853981633974483) = 0.655794202633 +Math.atan(0.7853981633974483) = 0.665773750028 +Math.atan2(0.7853981633974483, 1.7853981633974483) = 0.414423800577 +Math.sin(1.5707963267948966) = 1.000000000000 +Math.sinh(1.5707963267948966) = 2.301298902307 +Math.asin(1.5707963267948966) = NaN +Math.cos(1.5707963267948966) = 0.000000000000 +Math.cosh(1.5707963267948966) = 2.509178478658 +Math.acos(1.5707963267948966) = NaN +Math.tanh(1.5707963267948966) = 0.917152335667 +Math.atan(1.5707963267948966) = 1.003884821854 +Math.atan2(1.5707963267948966, 2.5707963267948966) = 0.548479764417 +Math.sin(2.356194490192345) = 0.707106781187 +Math.sinh(2.356194490192345) = 5.227971924678 +Math.asin(2.356194490192345) = NaN +Math.cos(2.356194490192345) = -0.707106781187 +Math.cosh(2.356194490192345) = 5.322752149520 +Math.acos(2.356194490192345) = NaN +Math.tan(2.356194490192345) = -1.000000000000 +Math.tanh(2.356194490192345) = 0.982193380007 +Math.atan(2.356194490192345) = 1.169422824816 +Math.atan2(2.356194490192345, 3.356194490192345) = 0.612096117380 +Math.sin(3.141592653589793) = 0.000000000000 +Math.sinh(3.141592653589793) = 11.548739357258 +Math.asin(3.141592653589793) = NaN +Math.cos(3.141592653589793) = -1.000000000000 +Math.cosh(3.141592653589793) = 11.591953275522 +Math.acos(3.141592653589793) = NaN +Math.tan(3.141592653589793) = -0.000000000000 +Math.tanh(3.141592653589793) = 0.996272076221 +Math.atan(3.141592653589793) = 1.262627255679 +Math.atan2(3.141592653589793, 4.141592653589793) = 0.648948780815 +Math.sin(3.9269908169872414) = -0.707106781187 +Math.sinh(3.9269908169872414) = 25.367158319374 +Math.asin(3.9269908169872414) = NaN +Math.cos(3.9269908169872414) = -0.707106781187 +Math.cosh(3.9269908169872414) = 25.386861192361 +Math.acos(3.9269908169872414) = NaN +Math.tan(3.9269908169872414) = 1.000000000000 +Math.tanh(3.9269908169872414) = 0.999223894879 +Math.atan(3.9269908169872414) = 1.321447967784 +Math.atan2(3.9269908169872414, 4.926990816987241) = 0.672931229191 +Math.sin(4.71238898038469) = -1.000000000000 +Math.sinh(4.71238898038469) = 55.654397599418 +Math.asin(4.71238898038469) = NaN +Math.cos(4.71238898038469) = -0.000000000000 +Math.cosh(4.71238898038469) = 55.663380890439 +Math.acos(4.71238898038469) = NaN +Math.tanh(4.71238898038469) = 0.999838613989 +Math.atan(4.71238898038469) = 1.361691682971 +Math.atan2(4.71238898038469, 5.71238898038469) = 0.689765469251 +Math.sin(5.497787143782138) = -0.707106781187 +Math.sinh(5.497787143782138) = 122.073483514693 +Math.asin(5.497787143782138) = NaN +Math.cos(5.497787143782138) = 0.707106781187 +Math.cosh(5.497787143782138) = 122.077579339582 +Math.acos(5.497787143782138) = NaN +Math.tan(5.497787143782138) = -1.000000000000 +Math.tanh(5.497787143782138) = 0.999966449000 +Math.atan(5.497787143782138) = 1.390871988014 +Math.atan2(5.497787143782138, 6.497787143782138) = 0.702226398171 +Math.sin(6.283185307179586) = -0.000000000000 +Math.sinh(6.283185307179586) = 267.744894041016 +Math.asin(6.283185307179586) = NaN +Math.cos(6.283185307179586) = 1.000000000000 +Math.cosh(6.283185307179586) = 267.746761483748 +Math.acos(6.283185307179586) = NaN +Math.tan(6.283185307179586) = -0.000000000000 +Math.tanh(6.283185307179586) = 0.999993025340 +Math.atan(6.283185307179586) = 1.412965136507 +Math.atan2(6.283185307179586, 7.283185307179586) = 0.711819549590 +Math.cbrt(-3.0) = -1.442249570307 +Math.log(-3.0) = NaN +Math.log10(-3.0) = NaN +Math.log1p(-3.0) = NaN +Math.exp(-3.0) = 0.049787068368 +Math.expm1(-3.0) = -0.950212931632 +Math.pow(-3.0, -2.0) = 0.111111111111 +Math.hypot(-3.0, -2.0) = 3.605551275464 +Math.cbrt(-2.0) = -1.259921049895 +Math.log(-2.0) = NaN +Math.log10(-2.0) = NaN +Math.log1p(-2.0) = NaN +Math.exp(-2.0) = 0.135335283237 +Math.expm1(-2.0) = -0.864664716763 +Math.pow(-2.0, -1.0) = -0.500000000000 +Math.hypot(-2.0, -1.0) = 2.236067977500 +Math.cbrt(-1.0) = -1.000000000000 +Math.log(-1.0) = NaN +Math.log10(-1.0) = NaN +Math.log1p(-1.0) = -Infinity +Math.exp(-1.0) = 0.367879441171 +Math.expm1(-1.0) = -0.632120558829 +Math.pow(-1.0, 0.0) = 1.000000000000 +Math.hypot(-1.0, 0.0) = 1.000000000000 +Math.cbrt(0.0) = 0.000000000000 +Math.log(0.0) = -Infinity +Math.log10(0.0) = -Infinity +Math.log1p(0.0) = 0.000000000000 +Math.exp(0.0) = 1.000000000000 +Math.expm1(0.0) = 0.000000000000 +Math.pow(0.0, 1.0) = 0.000000000000 +Math.hypot(0.0, 1.0) = 1.000000000000 +Math.cbrt(1.0) = 1.000000000000 +Math.log(1.0) = 0.000000000000 +Math.log10(1.0) = 0.000000000000 +Math.log1p(1.0) = 0.693147180560 +Math.exp(1.0) = 2.718281828459 +Math.expm1(1.0) = 1.718281828459 +Math.pow(1.0, 2.0) = 1.000000000000 +Math.hypot(1.0, 2.0) = 2.236067977500 +Math.cbrt(2.0) = 1.259921049895 +Math.log(2.0) = 0.693147180560 +Math.log10(2.0) = 0.301029995664 +Math.log1p(2.0) = 1.098612288668 +Math.exp(2.0) = 7.389056098931 +Math.expm1(2.0) = 6.389056098931 +Math.pow(2.0, 3.0) = 8.000000000000 +Math.hypot(2.0, 3.0) = 3.605551275464 +Math.cbrt(3.0) = 1.442249570307 +Math.log(3.0) = 1.098612288668 +Math.log10(3.0) = 0.477121254720 +Math.log1p(3.0) = 1.386294361120 +Math.exp(3.0) = 20.085536923188 +Math.expm1(3.0) = 19.085536923188 +Math.pow(3.0, 4.0) = 81.000000000000 +Math.hypot(3.0, 4.0) = 5.000000000000 +Math.ceil(0.0001) = 1.000000000000 +Math.floor(0.0001) = 0.000000000000 +Math.nextAfter(1.0, 2.0) = 1.000000000000 +Math.nextAfter(2.0, 1.0) = 2.000000000000 +Math.rint(0.5000001) = 1.000000000000 +StrictMath.sin(0.0) = 0.0 +StrictMath.sinh(0.0) = 0.0 +StrictMath.asin(0.0) = 0.0 +StrictMath.cos(0.0) = 1.0 +StrictMath.cosh(0.0) = 1.0 +StrictMath.acos(0.0) = 1.5707963267948966 +StrictMath.tan(0.0) = 0.0 +StrictMath.tanh(0.0) = 0.0 +StrictMath.atan(0.0) = 0.0 +StrictMath.atan2(0.0, 1.0) = 0.0 +StrictMath.sin(0.7853981633974483) = 0.7071067811865475 +StrictMath.sinh(0.7853981633974483) = 0.8686709614860095 +StrictMath.asin(0.7853981633974483) = 0.9033391107665127 +StrictMath.cos(0.7853981633974483) = 0.7071067811865476 +StrictMath.cosh(0.7853981633974483) = 1.3246090892520057 +StrictMath.acos(0.7853981633974483) = 0.6674572160283838 +StrictMath.tan(0.7853981633974483) = 0.9999999999999999 +StrictMath.tanh(0.7853981633974483) = 0.6557942026326724 +StrictMath.atan(0.7853981633974483) = 0.6657737500283538 +StrictMath.atan2(0.7853981633974483, 1.7853981633974483) = 0.41442380057704103 +StrictMath.sin(1.5707963267948966) = 1.0 +StrictMath.sinh(1.5707963267948966) = 2.3012989023072947 +StrictMath.asin(1.5707963267948966) = NaN +StrictMath.cos(1.5707963267948966) = 6.123233995736766E-17 +StrictMath.cosh(1.5707963267948966) = 2.5091784786580567 +StrictMath.acos(1.5707963267948966) = NaN +StrictMath.tan(1.5707963267948966) = 1.633123935319537E16 +StrictMath.tanh(1.5707963267948966) = 0.9171523356672744 +StrictMath.atan(1.5707963267948966) = 1.0038848218538872 +StrictMath.atan2(1.5707963267948966, 2.5707963267948966) = 0.5484797644174059 +StrictMath.sin(2.356194490192345) = 0.7071067811865476 +StrictMath.sinh(2.356194490192345) = 5.227971924677803 +StrictMath.asin(2.356194490192345) = NaN +StrictMath.cos(2.356194490192345) = -0.7071067811865475 +StrictMath.cosh(2.356194490192345) = 5.322752149519959 +StrictMath.acos(2.356194490192345) = NaN +StrictMath.tan(2.356194490192345) = -1.0000000000000002 +StrictMath.tanh(2.356194490192345) = 0.9821933800072388 +StrictMath.atan(2.356194490192345) = 1.1694228248157563 +StrictMath.atan2(2.356194490192345, 3.356194490192345) = 0.6120961173796371 +StrictMath.sin(3.141592653589793) = 1.2246467991473532E-16 +StrictMath.sinh(3.141592653589793) = 11.548739357257748 +StrictMath.asin(3.141592653589793) = NaN +StrictMath.cos(3.141592653589793) = -1.0 +StrictMath.cosh(3.141592653589793) = 11.591953275521519 +StrictMath.acos(3.141592653589793) = NaN +StrictMath.tan(3.141592653589793) = -1.2246467991473532E-16 +StrictMath.tanh(3.141592653589793) = 0.99627207622075 +StrictMath.atan(3.141592653589793) = 1.2626272556789115 +StrictMath.atan2(3.141592653589793, 4.141592653589793) = 0.6489487808147751 +StrictMath.sin(3.9269908169872414) = -0.7071067811865475 +StrictMath.sinh(3.9269908169872414) = 25.367158319374152 +StrictMath.asin(3.9269908169872414) = NaN +StrictMath.cos(3.9269908169872414) = -0.7071067811865477 +StrictMath.cosh(3.9269908169872414) = 25.386861192360772 +StrictMath.acos(3.9269908169872414) = NaN +StrictMath.tan(3.9269908169872414) = 0.9999999999999997 +StrictMath.tanh(3.9269908169872414) = 0.9992238948786412 +StrictMath.atan(3.9269908169872414) = 1.3214479677837223 +StrictMath.atan2(3.9269908169872414, 4.926990816987241) = 0.6729312291908799 +StrictMath.sin(4.71238898038469) = -1.0 +StrictMath.sinh(4.71238898038469) = 55.65439759941754 +StrictMath.asin(4.71238898038469) = NaN +StrictMath.cos(4.71238898038469) = -1.8369701987210297E-16 +StrictMath.cosh(4.71238898038469) = 55.66338089043867 +StrictMath.acos(4.71238898038469) = NaN +StrictMath.tan(4.71238898038469) = 5.443746451065123E15 +StrictMath.tanh(4.71238898038469) = 0.9998386139886326 +StrictMath.atan(4.71238898038469) = 1.3616916829711636 +StrictMath.atan2(4.71238898038469, 5.71238898038469) = 0.6897654692509959 +StrictMath.sin(5.497787143782138) = -0.7071067811865477 +StrictMath.sinh(5.497787143782138) = 122.07348351469281 +StrictMath.asin(5.497787143782138) = NaN +StrictMath.cos(5.497787143782138) = 0.7071067811865474 +StrictMath.cosh(5.497787143782138) = 122.07757933958217 +StrictMath.acos(5.497787143782138) = NaN +StrictMath.tan(5.497787143782138) = -1.0000000000000004 +StrictMath.tanh(5.497787143782138) = 0.9999664489997958 +StrictMath.atan(5.497787143782138) = 1.390871988014422 +StrictMath.atan2(5.497787143782138, 6.497787143782138) = 0.7022263981709682 +StrictMath.sin(6.283185307179586) = -2.4492935982947064E-16 +StrictMath.sinh(6.283185307179586) = 267.74489404101644 +StrictMath.asin(6.283185307179586) = NaN +StrictMath.cos(6.283185307179586) = 1.0 +StrictMath.cosh(6.283185307179586) = 267.7467614837482 +StrictMath.acos(6.283185307179586) = NaN +StrictMath.tan(6.283185307179586) = -2.4492935982947064E-16 +StrictMath.tanh(6.283185307179586) = 0.9999930253396107 +StrictMath.atan(6.283185307179586) = 1.4129651365067377 +StrictMath.atan2(6.283185307179586, 7.283185307179586) = 0.7118195495895945 +StrictMath.cbrt(-3.0) = -1.4422495703074083 +StrictMath.log(-3.0) = NaN +StrictMath.log10(-3.0) = NaN +StrictMath.log1p(-3.0) = NaN +StrictMath.exp(-3.0) = 0.049787068367863944 +StrictMath.expm1(-3.0) = -0.950212931632136 +StrictMath.pow(-3.0, -2.0) = 0.1111111111111111 +StrictMath.hypot(-3.0, -2.0) = 3.605551275463989 +StrictMath.cbrt(-2.0) = -1.2599210498948732 +StrictMath.log(-2.0) = NaN +StrictMath.log10(-2.0) = NaN +StrictMath.log1p(-2.0) = NaN +StrictMath.exp(-2.0) = 0.1353352832366127 +StrictMath.expm1(-2.0) = -0.8646647167633873 +StrictMath.pow(-2.0, -1.0) = -0.5 +StrictMath.hypot(-2.0, -1.0) = 2.23606797749979 +StrictMath.cbrt(-1.0) = -1.0 +StrictMath.log(-1.0) = NaN +StrictMath.log10(-1.0) = NaN +StrictMath.log1p(-1.0) = -Infinity +StrictMath.exp(-1.0) = 0.36787944117144233 +StrictMath.expm1(-1.0) = -0.6321205588285577 +StrictMath.pow(-1.0, 0.0) = 1.0 +StrictMath.hypot(-1.0, 0.0) = 1.0 +StrictMath.cbrt(0.0) = 0.0 +StrictMath.log(0.0) = -Infinity +StrictMath.log10(0.0) = -Infinity +StrictMath.log1p(0.0) = 0.0 +StrictMath.exp(0.0) = 1.0 +StrictMath.expm1(0.0) = 0.0 +StrictMath.pow(0.0, 1.0) = 0.0 +StrictMath.hypot(0.0, 1.0) = 1.0 +StrictMath.cbrt(1.0) = 1.0 +StrictMath.log(1.0) = 0.0 +StrictMath.log10(1.0) = 0.0 +StrictMath.log1p(1.0) = 0.6931471805599453 +StrictMath.exp(1.0) = 2.7182818284590455 +StrictMath.expm1(1.0) = 1.718281828459045 +StrictMath.pow(1.0, 2.0) = 1.0 +StrictMath.hypot(1.0, 2.0) = 2.23606797749979 +StrictMath.cbrt(2.0) = 1.2599210498948732 +StrictMath.log(2.0) = 0.6931471805599453 +StrictMath.log10(2.0) = 0.3010299956639812 +StrictMath.log1p(2.0) = 1.0986122886681096 +StrictMath.exp(2.0) = 7.38905609893065 +StrictMath.expm1(2.0) = 6.38905609893065 +StrictMath.pow(2.0, 3.0) = 8.0 +StrictMath.hypot(2.0, 3.0) = 3.605551275463989 +StrictMath.cbrt(3.0) = 1.4422495703074083 +StrictMath.log(3.0) = 1.0986122886681096 +StrictMath.log10(3.0) = 0.47712125471966244 +StrictMath.log1p(3.0) = 1.3862943611198906 +StrictMath.exp(3.0) = 20.085536923187668 +StrictMath.expm1(3.0) = 19.085536923187668 +StrictMath.pow(3.0, 4.0) = 81.0 +StrictMath.hypot(3.0, 4.0) = 5.0 +StrictMath.ceil(0.0001) = 1.0 +StrictMath.floor(0.0001) = 0.0 +StrictMath.nextAfter(1.0, 2.0) = 1.0000000000000002 +StrictMath.rint(0.5000001) = 1.0 |