From f8025cddba0dd860032fd29fb7325bc7d3ec557d Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Thu, 29 Mar 2018 02:51:12 +0200 Subject: [PATCH 1/5] Even more math --- std/assembly.d.ts | 4 +- std/assembly/builtins.ts | 40 +- std/assembly/math.ts | 2192 +- std/assembly/string.ts | 1 + tests/compiler.js | 2 +- tests/compiler/builtins.untouched.wat | 2 + tests/compiler/showcase.untouched.wat | 2 + tests/compiler/std/libm.optimized.wat | 5942 +++ tests/compiler/std/libm.ts | 144 + tests/compiler/std/libm.untouched.wat | 7060 ++++ tests/compiler/std/math.optimized.wat | 39747 +++++++++++++++++---- tests/compiler/std/math.ts | 2518 +- tests/compiler/std/math.untouched.wat | 41689 ++++++++++++++++++---- tests/compiler/std/string.optimized.wat | 2 +- tests/compiler/std/string.untouched.wat | 2 +- 15 files changed, 83946 insertions(+), 15401 deletions(-) create mode 100644 tests/compiler/std/libm.optimized.wat create mode 100644 tests/compiler/std/libm.ts create mode 100644 tests/compiler/std/libm.untouched.wat diff --git a/std/assembly.d.ts b/std/assembly.d.ts index 4a84198d51..d7fa9be5fc 100644 --- a/std/assembly.d.ts +++ b/std/assembly.d.ts @@ -391,7 +391,7 @@ interface IMath { /** Returns the smallest integer greater than or equal to `x`. */ ceil(x: T): T; /** Returns the number of leading zero bits in the 32-bit binary representation of `x`. */ - clz32(x: T): i32; + clz32(x: T): T; /** Returns the cosine (in radians) of `x`. */ cos(x: T): T; /** Returns the hyperbolic cosine of `x`. */ @@ -407,7 +407,7 @@ interface IMath { /** Returns the square root of the sum of squares of its arguments. */ hypot(value1: T, value2: T): T; // TODO: rest /** Returns the result of the C-like 32-bit multiplication of `a` and `b`. */ - imul(a: T, b: T): i32; + imul(a: T, b: T): T; /** Returns the natural logarithm (base e) of `x`. */ log(x: T): T; /** Returns the base 10 logarithm of `x`. */ diff --git a/std/assembly/builtins.ts b/std/assembly/builtins.ts index 8fd14497c5..dc10d96193 100644 --- a/std/assembly/builtins.ts +++ b/std/assembly/builtins.ts @@ -80,25 +80,25 @@ export declare function abort( export declare function i8(value: void): i8; export namespace i8 { export const MIN_VALUE: i8 = -128; - export const MAX_VALUE: i8 = 127; + export const MAX_VALUE: i8 = 127; } export declare function i16(value: void): i16; export namespace i16 { export const MIN_VALUE: i16 = -32768; - export const MAX_VALUE: i16 = 32767; + export const MAX_VALUE: i16 = 32767; } export declare function i32(value: void): i32; export namespace i32 { export const MIN_VALUE: i32 = -2147483648; - export const MAX_VALUE: i32 = 2147483647; + export const MAX_VALUE: i32 = 2147483647; } export declare function i64(value: void): i64; export namespace i64 { export const MIN_VALUE: i64 = -9223372036854775808; - export const MAX_VALUE: i64 = 9223372036854775807; + export const MAX_VALUE: i64 = 9223372036854775807; } export declare function isize(value: void): isize; @@ -151,22 +151,22 @@ export namespace bool { export declare function f32(value: void): f32; export namespace f32 { - export const MIN_VALUE: f32 = -3.40282347e+38; - export const MAX_VALUE: f32 = 3.40282347e+38; - export const MIN_POSITIVE_VALUE: f32 = 1.175494351e-38; + export const MIN_VALUE = reinterpret(0xFF7FFFFF); // -0x1.fffffep+127f + export const MAX_VALUE = reinterpret(0x7F7FFFFF); // 0x1.fffffep+127f + export const MIN_POSITIVE_VALUE = reinterpret(0x00800000); // 0x1p-126f export const MIN_SAFE_INTEGER: f32 = -16777215; - export const MAX_SAFE_INTEGER: f32 = 16777215; - export const EPSILON: f32 = 1.19209290e-07; + export const MAX_SAFE_INTEGER: f32 = 16777215; + export const EPSILON = reinterpret(0x34000000); // 0x1p-23f } export declare function f64(value: void): f64; export namespace f64 { - export const MIN_VALUE: f64 = -1.7976931348623157e+308; - export const MAX_VALUE: f64 = 1.7976931348623157e+308; - export const MIN_POSITIVE_VALUE: f64 = 2.2250738585072014e-308; + export const MIN_VALUE = reinterpret(0xFFEFFFFFFFFFFFFF); // -0x1.fffffffffffffp+1023 + export const MAX_VALUE = reinterpret(0x7FEFFFFFFFFFFFFF); // 0x1.fffffffffffffp+1023 + export const MIN_POSITIVE_VALUE = reinterpret(0x0010000000000000); // 0x1p-1022 export const MIN_SAFE_INTEGER: f64 = -9007199254740991; - export const MAX_SAFE_INTEGER: f64 = 9007199254740991; - export const EPSILON: f64 = 2.2204460492503131e-16; + export const MAX_SAFE_INTEGER: f64 = 9007199254740991; + export const EPSILON = reinterpret(0x3CB0000000000000); // 0x1p-52 } export declare const HEAP_BASE: usize; @@ -177,11 +177,11 @@ export function fmod(x: f64, y: f64): f64 { // based on musl's implementation of fmod var ux = reinterpret(x); var uy = reinterpret(y); - var ex = (ux >> 52 & 0x7ff); - var ey = (uy >> 52 & 0x7ff); + var ex = (ux >> 52 & 0x7FF); + var ey = (uy >> 52 & 0x7FF); var sx = (ux >> 63); - if (uy << 1 == 0 || isNaN(y) || ex == 0x7ff) { + if (uy << 1 == 0 || isNaN(y) || ex == 0x7FF) { return (x * y) / (x * y); } if (ux << 1 <= uy << 1) { @@ -237,11 +237,11 @@ export function fmodf(x: f32, y: f32): f32 { // based on musl's implementation of fmodf var ux = reinterpret(x); var uy = reinterpret(y); - var ex = (ux >> 23 & 0xff); - var ey = (uy >> 23 & 0xff); + var ex = (ux >> 23 & 0xFF); + var ey = (uy >> 23 & 0xFF); var sx = ux & 0x80000000; - if (uy << 1 == 0 || isNaN(y) || ex == 0xff) { + if (uy << 1 == 0 || isNaN(y) || ex == 0xFF) { return (x * y) / (x * y); } if (ux << 1 <= uy << 1) { diff --git a/std/assembly/math.ts b/std/assembly/math.ts index 8e53b26fd7..41a365861b 100644 --- a/std/assembly/math.ts +++ b/std/assembly/math.ts @@ -19,21 +19,21 @@ export declare namespace JSMath { export function atanh(x: f64): f64; export function cbrt(x: f64): f64; export function ceil(x: f64): f64; - export function clz32(x: f64): i32; + export function clz32(x: f64): f64; export function cos(x: f64): f64; export function cosh(x: f64): f64; export function exp(x: f64): f64; export function expm1(x: f64): f64; export function floor(x: f64): f64; export function fround(x: f64): f32; - export function hypot(value1: f64, value2: f64): f64; // hypot(...values: f64[]): f64; - export function imul(a: f64, b: f64): i32; + export function hypot(value1: f64, value2: f64): f64; // TODO: rest + export function imul(a: f64, b: f64): f64; export function log(x: f64): f64; export function log10(x: f64): f64; export function log1p(x: f64): f64; export function log2(x: f64): f64; - export function max(value1: f64, value2: f64): f64; // max(...values: f64[]): f64; - export function min(value1: f64, value2: f64): f64; // min(...values: f64[]): f64; + export function max(value1: f64, value2: f64): f64; // TODO: rest + export function min(value1: f64, value2: f64): f64; // TODO: rest export function pow(base: f64, exponent: f64): f64; export function random(): f64; export function round(x: f64): f64; @@ -50,6 +50,7 @@ import { abs as builtin_abs, ceil as builtin_ceil, clz as builtin_clz, + copysign as builtin_copysign, floor as builtin_floor, max as builtin_max, min as builtin_min, @@ -58,265 +59,599 @@ import { trunc as builtin_trunc } from "./builtins"; -// NativeMath/NativeMathf.cbrt/exp/log/pow -// Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. -// Developed at SunPro, a Sun Microsystems, Inc. business. -// Permission to use, copy, modify, and distribute this -// software is freely granted, provided that this notice -// is preserved. +// SUN COPYRIGHT NOTICE +// +// Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. +// Developed at SunPro, a Sun Microsystems, Inc. business. +// Permission to use, copy, modify, and distribute this software +// is freely granted, provided that this notice is preserved. +// +// Applies to all functions marked with a comment referring here. export namespace NativeMath { - export const E = 2.7182818284590452354; - export const LN2 = 0.69314718055994530942; - export const LN10 = 2.30258509299404568402; - export const LOG2E = 1.4426950408889634074; - export const LOG10E = 0.43429448190325182765; - export const PI = 3.14159265358979323846; - export const SQRT1_2 = 0.70710678118654752440; - export const SQRT2 = 1.41421356237309504880; + export const E = reinterpret(0x4005BF0A8B145769); // 2.7182818284590452354 + export const LN2 = reinterpret(0x3FE62E42FEFA39EF); // 0.69314718055994530942 + export const LN10 = reinterpret(0x40026BB1BBB55516); // 2.30258509299404568402 + export const LOG2E = reinterpret(0x3FF71547652B82FE); // 1.4426950408889634074 + export const LOG10E = reinterpret(0x3FDBCB7B1526E50E); // 0.43429448190325182765 + export const PI = reinterpret(0x400921FB54442D18); // 3.14159265358979323846 + export const SQRT1_2 = reinterpret(0x3FE6A09E667F3BCD); // 0.70710678118654752440 + export const SQRT2 = reinterpret(0x3FF6A09E667F3BCD); // 1.41421356237309504880 export function abs(x: f64): f64 { - return builtin_abs(x); + return builtin_abs(x); } - export function acos(x: f64): f64 { - unreachable(); // TODO - return 0; + function __R(z: f64): f64 { // see: musl/src/math/acos.c and SUN COPYRIGHT NOTICE above + const + pS0 = reinterpret(0x3FC5555555555555), // 1.66666666666666657415e-01 + pS1 = reinterpret(0xBFD4D61203EB6F7D), // -3.25565818622400915405e-01 + pS2 = reinterpret(0x3FC9C1550E884455), // 2.01212532134862925881e-01 + pS3 = reinterpret(0xBFA48228B5688F3B), // -4.00555345006794114027e-02 + pS4 = reinterpret(0x3F49EFE07501B288), // 7.91534994289814532176e-04 + pS5 = reinterpret(0x3F023DE10DFDF709), // 3.47933107596021167570e-05 + qS1 = reinterpret(0xC0033A271C8A2D4B), // -2.40339491173441421878e+00 + qS2 = reinterpret(0x40002AE59C598AC8), // 2.02094576023350569471e+00 + qS3 = reinterpret(0xBFE6066C1B8D0159), // -6.88283971605453293030e-01 + qS4 = reinterpret(0x3FB3B8C5B12E9282); // 7.70381505559019352791e-02 + var p = z * (pS0 + z * (pS1 + z * (pS2 + z * (pS3 + z * (pS4 + z * pS5))))); + var q = 1.0 + z * (qS1 + z * (qS2 + z * (qS3 + z * qS4))); + return p / q; + } + + export function acos(x: f64): f64 { // see: musl/src/math/acos.c and SUN COPYRIGHT NOTICE above + const + pio2_hi = reinterpret(0x3FF921FB54442D18), // 1.57079632679489655800e+00 + pio2_lo = reinterpret(0x3C91A62633145C07), // 6.12323399573676603587e-17 + Ox1p_120f = reinterpret(0x03800000); + var hx = (reinterpret(x) >> 32); + var ix = hx & 0x7FFFFFFF; + if (ix >= 0x3FF00000) { + let lx = reinterpret(x); + if ((ix - 0x3FF00000 | lx) == 0) { + if (hx >> 31) return 2 * pio2_hi + Ox1p_120f; + return 0; + } + return 0 / (x - x); + } + if (ix < 0x3FE00000) { + if (ix <= 0x3C600000) return pio2_hi + Ox1p_120f; + return pio2_hi - (x - (pio2_lo - x * __R(x * x))); + } + var s: f64, w: f64, z: f64; + if (hx >> 31) { + z = (1.0 + x) * 0.5; + s = builtin_sqrt(z); + w = __R(z) * s - pio2_lo; + return 2 * (pio2_hi - (s + w)); + } + z = (1.0 - x) * 0.5; + s = builtin_sqrt(z); + var df = reinterpret(reinterpret(s) & 0xFFFFFFFF00000000); + var c = (z - df * df) / (s + df); + w = __R(z) * s + c; + return 2 * (df + w); } - export function acosh(x: f64): f64 { - unreachable(); // TODO - return 0; + export function acosh(x: f64): f64 { // see: musl/src/math/acosh.c + const s = reinterpret(0x3FE62E42FEFA39EF); + var e = reinterpret(x) >> 52 & 0x7FF; + if (e < 0x3FF + 1) return log1p(x - 1 + builtin_sqrt((x - 1) * (x - 1) + 2 * (x - 1))); + if (e < 0x3FF + 26) return log(2 * x - 1 / (x + builtin_sqrt(x * x - 1))); + return log(x) + s; } - export function asin(x: f64): f64 { - unreachable(); // TODO - return 0; + export function asin(x: f64): f64 { // see: musl/src/math/asin.c and SUN COPYRIGHT NOTICE above + const + pio2_hi = reinterpret(0x3FF921FB54442D18), // 1.57079632679489655800e+00 + pio2_lo = reinterpret(0x3C91A62633145C07), // 6.12323399573676603587e-17 + Ox1p_120f = reinterpret(0x03800000); + var hx = (reinterpret(x) >> 32); + var ix = hx & 0x7FFFFFFF; + if (ix >= 0x3FF00000) { + let lx = reinterpret(x); + if ((ix - 0x3FF00000 | lx) == 0) return x * pio2_hi + Ox1p_120f; + return 0 / (x - x); + } + if (ix < 0x3FE00000) { + if (ix < 0x3E500000 && ix >= 0x00100000) return x; + return x + x * __R(x * x); + } + var z = (1.0 - builtin_abs(x)) * 0.5; + var s = builtin_sqrt(z); + var r = __R(z); + if (ix >= 0x3FEF3333) x = pio2_hi - (2 * (s + s * r) - pio2_lo); + else { + let f = reinterpret(reinterpret(s) & 0xFFFFFFFF00000000); + let c = (z - f * f) / (s + f); + x = 0.5 * pio2_hi - (2 * s * r - (pio2_lo - 2 * c) - (0.5 * pio2_hi - 2 * f)); + } + if (hx >> 31) return -x; + return x; } - export function asinh(x: f64): f64 { - unreachable(); // TODO - return 0; + export function asinh(x: f64): f64 { // see: musl/src/math/asinh.c + const c = reinterpret(0x3FE62E42FEFA39EF); // 0.693147180559945309417232121458176568 + var u = reinterpret(x); + var e = u >> 52 & 0x7FF; + var s = u >> 63; + u &= 0x7FFFFFFFFFFFFFFF; + x = reinterpret(u); + if (e >= 0x3FF + 26) x = log(x) + c; + else if (e >= 0x3FF + 1) x = log(2 * x + 1 / (builtin_sqrt(x * x + 1) + x)); + else if (e >= 0x3FF - 26) x = log1p(x + x * x / (builtin_sqrt(x * x + 1) + 1)); + return s ? -x : x; } - export function atan(x: f64): f64 { - unreachable(); // TODO - return 0; + export function atan(x: f64): f64 { // see musl/src/math/atan.c and SUN COPYRIGHT NOTICE above + const + atanhi0 = reinterpret(0x3FDDAC670561BB4F), // 4.63647609000806093515e-01 + atanhi1 = reinterpret(0x3FE921FB54442D18), // 7.85398163397448278999e-01 + atanhi2 = reinterpret(0x3FEF730BD281F69B), // 9.82793723247329054082e-01 + atanhi3 = reinterpret(0x3FF921FB54442D18), // 1.57079632679489655800e+00 + atanlo0 = reinterpret(0x3C7A2B7F222F65E2), // 2.26987774529616870924e-17 + atanlo1 = reinterpret(0x3C81A62633145C07), // 3.06161699786838301793e-17 + atanlo2 = reinterpret(0x3C7007887AF0CBBD), // 1.39033110312309984516e-17 + atanlo3 = reinterpret(0x3C91A62633145C07), // 6.12323399573676603587e-17 + aT0 = reinterpret(0x3FD555555555550D), // 3.33333333333329318027e-01 + aT1 = reinterpret(0xBFC999999998EBC4), // -1.99999999998764832476e-01 + aT2 = reinterpret(0x3FC24924920083FF), // 1.42857142725034663711e-01 + aT3 = reinterpret(0xBFBC71C6FE231671), // -1.11111104054623557880e-01, + aT4 = reinterpret(0x3FB745CDC54C206E), // 9.09088713343650656196e-02 + aT5 = reinterpret(0xBFB3B0F2AF749A6D), // -7.69187620504482999495e-02 + aT6 = reinterpret(0x3FB10D66A0D03D51), // 6.66107313738753120669e-02 + aT7 = reinterpret(0xBFADDE2D52DEFD9A), // -5.83357013379057348645e-02 + aT8 = reinterpret(0x3FA97B4B24760DEB), // 4.97687799461593236017e-02 + aT9 = reinterpret(0xBFA2B4442C6A6C2F), // -3.65315727442169155270e-02 + aT10 = reinterpret(0x3F90AD3AE322DA11), // 1.62858201153657823623e-02 + Ox1p_120f = reinterpret(0x03800000); + var ix = (reinterpret(x) >> 32); + var sign_ = ix >> 31; + ix &= 0x7FFFFFFF; + var z: f64; + if (ix >= 0x44100000) { + if (isNaN(x)) return x; + z = atanhi3 + Ox1p_120f; + return sign_ ? -z : z; + } + var id: i32; + if (ix < 0x3FDC0000) { + if (ix < 0x3E400000) return x; + id = -1; + } else { + x = builtin_abs(x); + if (ix < 0x3FF30000) { + if (ix < 0x3FE60000) { + id = 0; + x = (2.0 * x - 1.0) / (2.0 + x); + } else { + id = 1; + x = (x - 1.0) / (x + 1.0); + } + } else { + if (ix < 0x40038000) { + id = 2; + x = (x - 1.5) / (1.0 + 1.5 * x); + } else { + id = 3; + x = -1.0 / x; + } + } + } + z = x * x; + var w = z * z; + var s1 = z * (aT0 + w * (aT2 + w * (aT4 + w * (aT6 + w * (aT8 + w * aT10))))); + var s2 = w * (aT1 + w * (aT3 + w * (aT5 + w * (aT7 + w * aT9)))); + if (id < 0) return x - x * (s1 + s2); + switch (id) { + case 0: { z = atanhi0 - (x * (s1 + s2) - atanlo0 - x); break; } + case 1: { z = atanhi1 - (x * (s1 + s2) - atanlo1 - x); break; } + case 2: { z = atanhi2 - (x * (s1 + s2) - atanlo2 - x); break; } + case 3: { z = atanhi3 - (x * (s1 + s2) - atanlo3 - x); break; } + default: unreachable(); + } + return sign_ ? -z : z; } - export function atanh(x: f64): f64 { - unreachable(); // TODO - return 0; + export function atanh(x: f64): f64 { // see: musl/src/math/atanh.c + var u = reinterpret(x); + var e = u >> 52 & 0x7FF; + var s = u >> 63; + u &= 0x7FFFFFFFFFFFFFFF; + var y = reinterpret(u); + if (e < 0x3FF - 1) { + if (e >= 0x3FF - 32) y = 0.5 * log1p(2 * y + 2 * y * y / (1 - y)); + } else { + y = 0.5 * log1p(2 * (y / (1 - y))); + } + return s ? -y : y; } - export function atan2(y: f64, x: f64): f64 { - unreachable(); // TOOD + export function atan2(y: f64, x: f64): f64 { // see: musl/src/math/atan2.c and SUN COPYRIGHT NOTICE above + const + pi = reinterpret(0x400921FB54442D18), // 3.1415926535897931160E+00 + pi_lo = reinterpret(0x3CA1A62633145C07); // 1.2246467991473531772E-16 + if (isNaN(x) || isNaN(y)) return x + y; + var u = reinterpret(x); + var ix = (u >> 32); + var lx = u; + u = reinterpret(y); + var iy = (u >> 32); + var ly = u; + if ((ix - 0x3FF00000 | lx) == 0) return atan(y); + var m = ((iy >> 31) & 1) | ((ix >> 30) & 2); + ix = ix & 0x7FFFFFFF; + iy = iy & 0x7FFFFFFF; + if ((iy | ly) == 0) { + switch (m) { + case 0: + case 1: return y; + case 2: return PI; + case 3: return -PI; + } + } + if ((ix | lx) == 0) return m & 1 ? -pi / 2 : pi / 2; + if (ix == 0x7FF00000) { + if (iy == 0x7FF00000) { + switch (m) { + case 0: return pi / 4; + case 1: return -pi / 4; + case 2: return 3 * pi / 4; + case 3: return -3 * pi / 4; + } + } else { + switch (m) { + case 0: return 0.0; + case 1: return -0.0; + case 2: return pi; + case 3: return -pi; + } + } + } + var z: f64; + if (ix + (64 << 20) < iy || iy == 0x7FF00000) return m & 1 ? -pi / 2 : pi / 2; + if ((m & 2) && iy + (64 << 20) < ix) z = 0; + else z = atan(builtin_abs(y / x)); + switch (m) { + case 0: return z; + case 1: return -z; + case 2: return pi - (z - pi_lo); + case 3: return (z - pi_lo) - pi; + } + unreachable(); return 0; } - export function cbrt(x: f64): f64 { // based on musl's implementation of cbrt + export function cbrt(x: f64): f64 { // see: musl/src/math/cbrt.c and SUN COPYRIGHT NOTICE above const - B1 = 715094163, // B1 = (1023-1023/3-0.03306235651)*2**20 - B2 = 696219795, // B2 = (1023-1023/3-54/3-0.03306235651)*2**20 - // |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). - P0 = 1.87595182427177009643, // 0x3ffe03e6, 0x0f61e692 - P1 = -1.88497979543377169875, // 0xbffe28e0, 0x92f02420 - P2 = 1.621429720105354466140, // 0x3ff9f160, 0x4a49d6c2 - P3 = -0.758397934778766047437, // 0xbfe844cb, 0xbee751d9 - P4 = 0.145996192886612446982, // 0x3fc2b000, 0xd4e4edd7 - Ox1p54 = 18014398509481984.0; - - var __u = reinterpret(x); - var hx = (__u >> 32) & 0x7fffffff; - if (hx >= 0x7ff00000) return x + x; // cbrt(NaN,INF) is itself - - // Rough cbrt to 5 bits: - // cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3) - // where e is integral and >= 0, m is real and in [0, 1), and "/" and - // "%" are integer division and modulus with rounding towards minus - // infinity. The RHS is always >= the LHS and has a maximum relative - // error of about 1 in 16. Adding a bias of -0.03306235651 to the - // (e%3+m)/3 term reduces the error to about 1 in 32. With the IEEE - // floating point representation, for finite positive normal values, - // ordinary integer divison of the value in bits magically gives - // almost exactly the RHS of the above provided we first subtract the - // exponent bias (1023 for doubles) and later add it back. We do the - // subtraction virtually to keep e >= 0 so that ordinary integer - // division rounds towards minus infinity; this is also efficient. - if (hx < 0x00100000) { // zero or subnormal? - __u = reinterpret(x * Ox1p54); - hx = (__u >> 32) & 0x7fffffff; - if (hx == 0) return x; // cbrt(0) is itself + B1 = 715094163, + B2 = 696219795, + P0 = reinterpret(0x3FFE03E60F61E692), // 1.87595182427177009643 + P1 = reinterpret(0xBFFE28E092F02420), // -1.88497979543377169875 + P2 = reinterpret(0x3FF9F1604A49d6C2), // 1.621429720105354466140 + P3 = reinterpret(0xBFE844CBBEE751D9), // -0.758397934778766047437 + P4 = reinterpret(0x3FC2B000d4E4EDD7), // 0.145996192886612446982 + Ox1p54 = reinterpret(0x4350000000000000); + var u = reinterpret(x); + var hx = (u >> 32) & 0x7FFFFFFF; + if (hx >= 0x7FF00000) return x + x; + if (hx < 0x00100000) { + u = reinterpret(x * Ox1p54); + hx = (u >> 32) & 0x7FFFFFFF; + if (hx == 0) return x; hx = hx / 3 + B2; } else { hx = hx / 3 + B1; } - __u &= 1 << 63; - __u |= hx << 32; - var t = reinterpret(__u); - - // New cbrt to 23 bits: - // cbrt(x) = t*cbrt(x/t**3) ~= t*P(t**3/x) - // where P(r) is a polynomial of degree 4 that approximates 1/cbrt(r) - // to within 2**-23.5 when |r - 1| < 1/10. The rough approximation - // has produced t such than |t/cbrt(x) - 1| ~< 1/32, and cubing this - // gives us bounds for r = t**3/x. + u &= 1 << 63; + u |= hx << 32; + var t = reinterpret(u); var r = (t * t) * (t / x); t = t * ((P0 + r * (P1 + r * P2)) + ((r * r) * r) * (P3 + r * P4)); - - // Round t away from zero to 23 bits (sloppily except for ensuring that - // the result is larger in magnitude than cbrt(x) but not much more than - // 2 23-bit ulps larger). With rounding towards zero, the error bound - // would be ~5/6 instead of ~4/6. With a maximum error of 2 23-bit ulps - // in the rounded t, the infinite-precision error in the Newton - // approximation barely affects third digit in the final error - // 0.667; the error in the rounded t can be up to about 3 23-bit ulps - // before the final error is larger than 0.667 ulps. - t = reinterpret((reinterpret(t) + 0x80000000) & 0xffffffffc0000000); - - // one step Newton iteration to 53 bits with error < 0.667 ulps - var s = t * t; // t*t is exact - r = x / s; // error <= 0.5 ulps; |r| < |t| - var w = t + t; // t+t is exact - r = (r - t) / (w + r); // r-t is exact; w+r ~= 3*t - t = t + t * r; // error <= 0.5 + 0.5/3 + epsilon + t = reinterpret((reinterpret(t) + 0x80000000) & 0xFFFFFFFFC0000000); + var s = t * t; + r = x / s; + var w = t + t; + r = (r - t) / (w + r); + t = t + t * r; return t; } export function ceil(x: f64): f64 { - return builtin_ceil(x); + return builtin_ceil(x); } - export function clz32(x: f64): i32 { - return builtin_clz(x); + export function clz32(x: f64): f64 { + return builtin_clz(x); } - export function cos(x: f64): f64 { + function __cos(x: f64, y: f64): f64 { // see: musl/src/math/__cos.c and SUN COPYRIGHT NOTICE above + const + C1 = reinterpret(0x3FA555555555554C), // 4.16666666666666019037e-02 + C2 = reinterpret(0xBF56C16C16C15177), // -1.38888888888741095749e-03 + C3 = reinterpret(0x3EFA01A019CB1590), // 2.48015872894767294178e-05 + C4 = reinterpret(0xBE927E4F809C52AD), // -2.75573143513906633035e-07 + C5 = reinterpret(0x3E21EE9EBDB4B1C4), // 2.08757232129817482790e-09 + C6 = reinterpret(0xBDA8FAE9BE8838D4); // -1.13596475577881948265e-11 + var z = x * x; + var w = z * z; + var r = z * (C1 + z * (C2 + z * C3)) + w * w * (C4 + z * (C5 + z * C6)); + var hz = 0.5 * z; + w = 1.0 - hz; + return w + (((1.0 - w) - hz) + (z * r - x * y)); + } + + // function __rem_pio2(x: f64, y: f64): i32 { // see: musl/src/math/__rem_pio2.c and SUN COPYRIGHT NOTICE above + // const + // toint = 1.5 / reinterpret(0x3CB0000000000000), // 1.5 / 0x1p-52 + // invpio2 = reinterpret(0x3FE45F306DC9C883), // 6.36619772367581382433e-01 + // pio2_1 = reinterpret(0x3FF921FB54400000), // 1.57079632673412561417e+00 + // pio2_1t = reinterpret(0x3DD0B4611A626331), // 6.07710050650619224932e-11 + // pio2_2 = reinterpret(0x3DD0B4611A600000), // 6.07710050630396597660e-11 + // pio2_2t = reinterpret(0x3BA3198A2E037073), // 2.02226624879595063154e-21 + // pio2_3 = reinterpret(0x3BA3198A2E000000), // 2.02226624871116645580e-21 + // pio2_3t = reinterpret(0x397B839A252049C1); // 8.47842766036889956997e-32 + // var u = reinterpret(x); + // var z: f64, w: f64, t: f64, r: f64, fn: f64; + // var n: i32, ex: i32, ey: i32, i: i32; + + // var ix = (u >> 32 & 0x7fffffff); + // var sign = u >> 63; + // } + + export function cos(x: f64): f64 { // see: musl/src/math/cos.c and SUN COPYRIGHT NOTICE above + // TODO: __rem_pio2 is quite large + // var y0: f64, y1: f64; + // var n: u32; + // var ix = (reinterpret(x) >> 32); + // ix &= 0x7FFFFFFF; + // if (ix <= 0x3FE921FB) { + // if (ix < 0x3E46A09E) return 1.0; + // return __cos(x, 0); + // } + // if (ix >= 0x7FF00000) return x-x; + // n = __rem_pio2(x, y); + // switch (n & 3) { + // case 0: return __cos(y0, y1); + // case 1: return -__sin(y0, y1, 1); + // case 2: return -__cos(y0, y1); + // default: return __sin(y0, y1, 1); + // } unreachable(); // TODO return 0; } - export function cosh(x: f64): f64 { - unreachable(); // TODO - return 0; + function __expo2(x: f64): f64 { // see: musl/src/math/__expo2.c + const + k = 2043, + kln2 = reinterpret(0x40962066151ADD8B); // 0x1.62066151add8bp+10 + var scale = reinterpret(((0x3FF + k / 2) << 20) << 32); + return exp(x - kln2) * scale * scale; + } + + export function cosh(x: f64): f64 { // see: musl/src/math/cosh.c + var u = reinterpret(x); + u &= 0x7FFFFFFFFFFFFFFF; + x = reinterpret(u); + var w = (u >> 32); + var t: f64; + if (w < 0x3FE62E42) { + if (w < 0x3FF00000 - (26 << 20)) return 1; + t = expm1(x); + return 1 + t * t / (2 * (1 + t)); + } + if (w < 0x40862E42) { + t = exp(x); + return 0.5 * (t + 1 / t); + } + t = __expo2(x); + return t; } - export function exp(x: f64): f64 { // based on musl's implementation of exp + export function exp(x: f64): f64 { // see: musl/src/math/exp.c and SUN COPYRIGHT NOTICE above const - ln2hi = 6.93147180369123816490e-01, // 0x3fe62e42, 0xfee00000 - ln2lo = 1.90821492927058770002e-10, // 0x3dea39ef, 0x35793c76 - invln2 = 1.44269504088896338700e+00, // 0x3ff71547, 0x652b82fe - P1 = 1.66666666666666019037e-01, // 0x3FC55555, 0x5555553E - P2 = -2.77777777770155933842e-03, // 0xBF66C16C, 0x16BEBD93 - P3 = 6.61375632143793436117e-05, // 0x3F11566A, 0xAF25DE2C - P4 = -1.65339022054652515390e-06, // 0xBEBBBD41, 0xC5D26BF1 - P5 = 4.13813679705723846039e-08, // 0x3E663769, 0x72BEA4D0 - Ox1p1023 = 8.98846567431157954e+307; - + ln2hi = reinterpret(0x3FE62E42FEE00000), // 6.93147180369123816490e-01 + ln2lo = reinterpret(0x3DEA39EF35793C76), // 1.90821492927058770002e-10 + invln2 = reinterpret(0x3FF71547652B82FE), // 1.44269504088896338700e+00 + P1 = reinterpret(0x3FC555555555553E), // 1.66666666666666019037e-01 + P2 = reinterpret(0xBF66C16C16BEBD93), // -2.77777777770155933842e-03 + P3 = reinterpret(0x3F11566AAF25DE2C), // 6.61375632143793436117e-05 + P4 = reinterpret(0xBEBBBD41C5D26BF1), // -1.65339022054652515390e-06 + P5 = reinterpret(0x3E66376972BEA4D0), // 4.13813679705723846039e-08 + overflow = reinterpret(0x40862E42FEFA39EF), // 709.782712893383973096 + underflow = reinterpret(0xC0874910D52D3051), // -745.13321910194110842 + Ox1p1023 = reinterpret(0x7FE0000000000000); var hx = (reinterpret(x) >> 32); - hx &= 0x7fffffff; // high word of |x| - - // special cases - if (hx >= 0x4086232b) { // if |x| >= 708.39... + var sign_ = (hx >> 31); + hx &= 0x7FFFFFFF; + if (hx >= 0x4086232B) { if (isNaN(x)) return x; - if (x > 709.782712893383973096) { - // overflow if x!=inf + if (x > overflow) { x *= Ox1p1023; return x; } - if (x < -708.39641853226410622) { - // underflow if x!=-inf - if (x < -745.13321910194110842) return 0; - } + if (x < underflow) return 0; } - - // argument reduction - var hi: f64, lo: f64; - var k: i32; - if (hx > 0x3fd62e42) { // if |x| > 0.5 ln2 - if (hx >= 0x3ff0a2b2) { // if |x| >= 1.5 ln2 - k = (invln2 * x + copysign(0.5, x)); // was: [0.5, -0.5][sign_]) + var hi: f64, lo: f64 = 0; + var k: i32 = 0; + if (hx > 0x3FD62E42) { + if (hx >= 0x3FF0A2B2) { + k = (invln2 * x + builtin_copysign(0.5, x)); } else { - let sign_ = hx >> 31; k = 1 - sign_ - sign_; } - hi = x - k * ln2hi; // k * ln2hi is exact here + hi = x - k * ln2hi; lo = k * ln2lo; x = hi - lo; - } else if (hx > 0x3e300000) { // if |x| > 2**-28 - k = 0; + } else if (hx > 0x3E300000) { hi = x; - lo = 0; - } else { - // inexact if x != 0 - return 1 + x; - } - - // x is now in primary range + } else return 1.0 + x; var xx = x * x; var c = x - xx * (P1 + xx * (P2 + xx * (P3 + xx * (P4 + xx * P5)))); - var y: f64 = 1 + (x * c / (2 - c) - lo + hi); + var y = 1.0 + (x * c / (2 - c) - lo + hi); if (k == 0) return y; return scalbn(y, k); } - export function expm1(x: f64): f64 { - unreachable(); // TODO - return 0; + export function expm1(x: f64): f64 { // see: musl/src/math/expm1.c and SUN COPYRIGHT NOTICE above + const + o_threshold = reinterpret(0x40862E42FEFA39EF), // 7.09782712893383973096e+02 + ln2_hi = reinterpret(0x3FE62E42FEE00000), // 6.93147180369123816490e-01 + ln2_lo = reinterpret(0x3DEA39EF35793C76), // 1.90821492927058770002e-10 + invln2 = reinterpret(0x3FF71547652B82FE), // 1.44269504088896338700e+00 + Q1 = reinterpret(0xBFA11111111110F4), // -3.33333333333331316428e-02 + Q2 = reinterpret(0x3F5A01A019FE5585), // 1.58730158725481460165e-03 + Q3 = reinterpret(0xBF14CE199EAADBB7), // -7.93650757867487942473e-05 + Q4 = reinterpret(0x3ED0CFCA86E65239), // 4.00821782732936239552e-06 + Q5 = reinterpret(0xBE8AFDB76E09C32D), // -2.01099218183624371326e-07 + Ox1p1023 = reinterpret(0x7FE0000000000000); + var u = reinterpret(x); + var hx = (u >> 32 & 0x7FFFFFFF); + var k = 0, sign_ = (u >> 63); + if (hx >= 0x4043687A) { + if (isNaN(x)) return x; + if (sign_) return -1; + if (x > o_threshold) { + x *= Ox1p1023; + return x; + } + } + var c = 0.0, t: f64; + if (hx > 0x3FD62E42) { + let hi: f64, lo: f64; + if (hx < 0x3FF0A2B2) { + if (!sign_) { + hi = x - ln2_hi; + lo = ln2_lo; + k = 1; + } else { + hi = x + ln2_hi; + lo = -ln2_lo; + k = -1; + } + } else { + k = (invln2 * x + (sign_ ? -0.5 : 0.5)); + t = k; + hi = x - t * ln2_hi; + lo = t * ln2_lo; + } + x = hi - lo; + c = (hi - x) - lo; + } else if (hx < 0x3C900000) return x; + var hfx = 0.5 * x; + var hxs = x * hfx; + var r1 = 1.0 + hxs * (Q1 + hxs * (Q2 + hxs * (Q3 + hxs * (Q4 + hxs * Q5)))); + t = 3.0 - r1 * hfx; + var e = hxs * ((r1 - t) / (6.0 - x * t)); + if (k == 0) return x - (x * e - hxs); + e = x * (e - c) - c; + e -= hxs; + if (k == -1) return 0.5 * (x - e) - 0.5; + if (k == 1) { + if (x < -0.25) return -2.0 * (e - (x + 0.5)); + return 1.0 + 2.0 * (x - e); + } + u = (0x3FF + k) << 52; + var twopk = reinterpret(u); + var y: f64; + if (k < 0 || k > 56) { + y = x - e + 1.0; + if (k == 1024) y = y * 2.0 * Ox1p1023; + else y = y * twopk; + return y - 1.0; + } + u = (0x3FF - k) << 52; + if (k < 20) y = (x - e + (1 - reinterpret(u))) * twopk; + else y = (x - (e + reinterpret(u)) + 1) * twopk; + return y; } export function floor(x: f64): f64 { - return builtin_floor(x); + return builtin_floor(x); } export function fround(x: f64): f32 { return x; } - export function hypot(value1: f64, value2: f64): f64 { // TODO: rest - unreachable(); // TODO - return 0; + export function hypot(x: f64, y: f64): f64 { // see: musl/src/math/hypot.c + const + SPLIT = reinterpret(0x41A0000000000000) + 1, // 0x1p27 + 1 + Ox1p700 = reinterpret(0x6BB0000000000000), + Ox1p_700 = reinterpret(0x1430000000000000); + var ux = reinterpret(x); + var uy = reinterpret(y); + ux &= 0x7FFFFFFFFFFFFFFF; + uy &= 0x7FFFFFFFFFFFFFFF; + if (ux < uy) { + let ut = ux; + ux = uy; + uy = ut; + } + var ex = (ux >> 52); + var ey = (uy >> 52); + y = reinterpret(uy); + if (ey == 0x7FF) return y; + x = reinterpret(ux); + if (ex == 0x7FF || uy == 0) return x; + if (ex - ey > 64) return x + y; + var z = 1.0; + if (ex > 0x3FF + 510) { + z = Ox1p700; + x *= Ox1p_700; + y *= Ox1p_700; + } else if (ey < 0x3ff - 450) { + z = Ox1p_700; + x *= Ox1p700; + y *= Ox1p700; + } + var c = x * SPLIT; + var h = x - c + c; + var l = x - h; + var hx = x * x; + var lx = h * h - hx + 2 * h * l + l * l; + c = y * SPLIT; + h = y - c + c; + l = y - h; + var hy = y * y; + var ly = h * h - hy + 2 * h * l + l * l; + return z * builtin_sqrt(ly + lx + hy + hx); } - export function imul(x: f64, y: f64): i32 { - return x * y; + export function imul(x: f64, y: f64): f64 { + return (x * y); } - export function log(x: f64): f64 { // based on musl's implementation of log + export function log(x: f64): f64 { // see: musl/src/math/log.c and SUN COPYRIGHT NOTICE above const - ln2_hi = 6.93147180369123816490e-01, // 3fe62e42 fee00000 - ln2_lo = 1.90821492927058770002e-10, // 3dea39ef 35793c76 - Lg1 = 6.666666666666735130e-01, // 3FE55555 55555593 - Lg2 = 3.999999999940941908e-01, // 3FD99999 9997FA04 - Lg3 = 2.857142874366239149e-01, // 3FD24924 94229359 - Lg4 = 2.222219843214978396e-01, // 3FCC71C5 1D8E78AF - Lg5 = 1.818357216161805012e-01, // 3FC74664 96CB03DE - Lg6 = 1.531383769920937332e-01, // 3FC39A09 D078C69F - Lg7 = 1.479819860511658591e-01, // 3FC2F112 DF3E5244 - Ox1p54 = 18014398509481984.0; - - var Ux = reinterpret(x); - var hx = (Ux >> 32); + ln2_hi = reinterpret(0x3FE62E42FEE00000), // 6.93147180369123816490e-01 + ln2_lo = reinterpret(0x3DEA39EF35793C76), // 1.90821492927058770002e-10 + Lg1 = reinterpret(0x3FE5555555555593), // 6.666666666666735130e-01 + Lg2 = reinterpret(0x3FD999999997FA04), // 3.999999999940941908e-01 + Lg3 = reinterpret(0x3FD2492494229359), // 2.857142874366239149e-01 + Lg4 = reinterpret(0x3FCC71C51D8E78AF), // 2.222219843214978396e-01 + Lg5 = reinterpret(0x3FC7466496CB03DE), // 1.818357216161805012e-01 + Lg6 = reinterpret(0x3FC39A09D078C69F), // 1.531383769920937332e-01 + Lg7 = reinterpret(0x3FC2F112DF3E5244), // 1.479819860511658591e-01 + Ox1p54 = reinterpret(0x4350000000000000); + var u = reinterpret(x); + var hx = (u >> 32); var k = 0; if (hx < 0x00100000 || (hx >> 31)) { - if (Ux << 1 == 0) return -1 / (x * x); // log(+-0)=-inf - if (hx >> 31) return (x - x) / 0.0; // log(-#) = NaN - // subnormal number, scale x up + if (u << 1 == 0) return -1 / (x * x); + if (hx >> 31) return (x - x) / 0.0; k -= 54; x *= Ox1p54; - Ux = reinterpret(x); - hx = (Ux >> 32); - } else if (hx >= 0x7ff00000) return x; - else if (hx == 0x3ff00000 && Ux << 32 == 0) return 0; - - // reduce x into [sqrt(2)/2, sqrt(2)] - hx += 0x3ff00000 - 0x3fe6a09e; - k += (hx >> 20) - 0x3ff; - hx = (hx & 0x000fffff) + 0x3fe6a09e; - Ux = hx << 32 | (Ux & 0xffffffff); - x = reinterpret(Ux); - + u = reinterpret(x); + hx = (u >> 32); + } else if (hx >= 0x7FF00000) return x; + else if (hx == 0x3FF00000 && u << 32 == 0) return 0; + hx += 0x3FF00000 - 0x3FE6A09E; + k += (hx >> 20) - 0x3FF; + hx = (hx & 0x000FFFFF) + 0x3FE6A09E; + u = hx << 32 | (u & 0xFFFFFFFF); + x = reinterpret(u); var f = x - 1.0; var hfsq = 0.5 * f * f; var s = f / (2.0 + f); @@ -329,89 +664,218 @@ export namespace NativeMath { return s * (hfsq + R) + dk * ln2_lo - hfsq + f + dk * ln2_hi; } - export function log10(x: f64): f64 { - // return log(x) / LN10; - unreachable(); // TODO - return 0; - } - - export function log1p(x: f64): f64 { - unreachable(); // TODO - return 0; + export function log10(x: f64): f64 { // see: musl/src/math/log10.c and SUN COPYRIGHT NOTICE above + const + ivln10hi = reinterpret(0x3FDBCB7B15200000), // 4.34294481878168880939e-01 + ivln10lo = reinterpret(0x3DBB9438CA9AADD5), // 2.50829467116452752298e-11 + log10_2hi = reinterpret(0x3FD34413509F6000), // 3.01029995663611771306e-01 + log10_2lo = reinterpret(0x3D59FEF311F12B36), // 3.69423907715893078616e-13 + Lg1 = reinterpret(0x3FE5555555555593), // 6.666666666666735130e-01 + Lg2 = reinterpret(0x3FD999999997FA04), // 3.999999999940941908e-01 + Lg3 = reinterpret(0x3FD2492494229359), // 2.857142874366239149e-01 + Lg4 = reinterpret(0x3FCC71C51D8E78AF), // 2.222219843214978396e-01 + Lg5 = reinterpret(0x3FC7466496CB03DE), // 1.818357216161805012e-01 + Lg6 = reinterpret(0x3FC39A09D078C69F), // 1.531383769920937332e-01 + Lg7 = reinterpret(0x3FC2F112DF3E5244), // 1.479819860511658591e-01 + Ox1p54 = reinterpret(0x4350000000000000); + var u = reinterpret(x); + var hx = (u >> 32); + var k = 0; + if (hx < 0x00100000 || (hx >> 31)) { + if (u << 1 == 0) return -1 / (x * x); + if (hx >> 31) return (x - x) / 0.0; + k -= 54; + x *= Ox1p54; + u = reinterpret(x); + hx = (u >> 32); + } else if (hx >= 0x7ff00000) return x; + else if (hx == 0x3ff00000 && u << 32 == 0) return 0; + hx += 0x3ff00000 - 0x3fe6a09e; + k += (hx >> 20) - 0x3ff; + hx = (hx & 0x000FFFFF) + 0x3FE6A09E; + u = hx << 32 | (u & 0xffffffff); + x = reinterpret(u); + var f = x - 1.0; + var hfsq = 0.5 * f * f; + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * (Lg4 + w * Lg6)); + var t2 = z * (Lg1 + w * (Lg3 + w * (Lg5 + w * Lg7))); + var R = t2 + t1; + var hi = f - hfsq; + u = reinterpret(hi); + u &= 0xFFFFFFFF00000000; + hi = reinterpret(u); + var lo = f - hi - hfsq + s * (hfsq + R); + var val_hi = hi * ivln10hi; + var dk = k; + var y = dk * log10_2hi; + var val_lo = dk * log10_2lo + (lo + hi) * ivln10lo + lo * ivln10hi; + w = y + val_hi; + val_lo += (y - w) + val_hi; + val_hi = w; + return val_lo + val_hi; + } + + export function log1p(x: f64): f64 { // see: musl/src/math/log1p.c and SUN COPYRIGHT NOTICE above + const + ln2_hi = reinterpret(0x3FE62E42FEE00000), // 6.93147180369123816490e-01 + ln2_lo = reinterpret(0x3DEA39EF35793C76), // 1.90821492927058770002e-10 + Lg1 = reinterpret(0x3FE5555555555593), // 6.666666666666735130e-01 + Lg2 = reinterpret(0x3FD999999997FA04), // 3.999999999940941908e-01 + Lg3 = reinterpret(0x3FD2492494229359), // 2.857142874366239149e-01 + Lg4 = reinterpret(0x3FCC71C51D8E78AF), // 2.222219843214978396e-01 + Lg5 = reinterpret(0x3FC7466496CB03DE), // 1.818357216161805012e-01 + Lg6 = reinterpret(0x3FC39A09D078C69F), // 1.531383769920937332e-01 + Lg7 = reinterpret(0x3FC2F112DF3E5244); // 1.479819860511658591e-01 + var u = reinterpret(x); + var hx = (u >> 32); + var k = 1; + var c = 0.0, f = 0.0; + if (hx < 0x3FDA827A || (hx >> 31)) { + if (hx >= 0xBFF00000) { + if (x == -1) return x / 0.0; + return (x - x) / 0.0; + } + if (hx << 1 < 0x3CA00000 << 1) return x; + if (hx <= 0xBFD2BEC4) { + k = 0; + c = 0; + f = x; + } + } else if (hx >= 0x7FF00000) return x; + if (k) { + u = reinterpret(1 + x); + let hu = (u >> 32); + hu += 0x3FF00000 - 0x3FE6A09E; + k = (hu >> 20) - 0x3FF; + if (k < 54) { + let uf = reinterpret(u); + c = k >= 2 ? 1 - (uf - x) : x - (uf - 1); + c /= uf; + } else c = 0; + hu = (hu & 0x000FFFFF) + 0x3FE6A09E; + u = hu << 32 | (u & 0xFFFFFFFF); + f = reinterpret(u) - 1; + } + var hfsq = 0.5 * f * f; + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * (Lg4 + w * Lg6)); + var t2 = z * (Lg1 + w * (Lg3 + w * (Lg5 + w * Lg7))); + var R = t2 + t1; + var dk = k; + return s * (hfsq + R) + (dk * ln2_lo + c) - hfsq + f + dk * ln2_hi; } - export function log2(x: f64): f64 { - // return log(x) / LN2; - unreachable(); // TODO - return 0; + export function log2(x: f64): f64 { // see: musl/src/math/log2.c and SUN COPYRIGHT NOTICE above + const + ivln2hi = reinterpret(0x3ff7154765200000), // 1.44269504072144627571e+00 + ivln2lo = reinterpret(0x3de705fc2eefa200), // 1.67517131648865118353e-10 + Lg1 = reinterpret(0x3FE5555555555593), // 6.666666666666735130e-01 + Lg2 = reinterpret(0x3FD999999997FA04), // 3.999999999940941908e-01 + Lg3 = reinterpret(0x3FD2492494229359), // 2.857142874366239149e-01 + Lg4 = reinterpret(0x3FCC71C51D8E78AF), // 2.222219843214978396e-01 + Lg5 = reinterpret(0x3FC7466496CB03DE), // 1.818357216161805012e-01 + Lg6 = reinterpret(0x3FC39A09D078C69F), // 1.531383769920937332e-01 + Lg7 = reinterpret(0x3FC2F112DF3E5244), // 1.479819860511658591e-01 + Ox1p54 = reinterpret(0x4350000000000000); + var u = reinterpret(x); + var hx = (u >> 32); + var k = 0; + if (hx < 0x00100000 || (hx >> 31)) { + if (u << 1 == 0) return -1 / (x * x); + if (hx >> 31) return (x - x) / 0.0; + k -= 54; + x *= Ox1p54; + u = reinterpret(x); + hx = (u >> 32); + } else if (hx >= 0x7FF00000) return x; + else if (hx == 0x3FF00000 && u << 32 == 0) return 0; + hx += 0x3FF00000 - 0x3FE6A09E; + k += (hx >> 20) - 0x3FF; + hx = (hx & 0x000FFFFF) + 0x3FE6A09E; + u = hx << 32 | (u & 0xFFFFFFFF); + x = reinterpret(u); + var f = x - 1.0; + var hfsq = 0.5 * f * f; + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * (Lg4 + w * Lg6)); + var t2 = z * (Lg1 + w * (Lg3 + w * (Lg5 + w * Lg7))); + var R = t2 + t1; + var hi = f - hfsq; + u = reinterpret(hi); + u &= 0xFFFFFFFF00000000; + hi = reinterpret(u); + var lo = f - hi - hfsq + s * (hfsq + R); + var val_hi = hi * ivln2hi; + var val_lo = (lo + hi) * ivln2lo + lo * ivln2hi; + var y = k; + w = y + val_hi; + val_lo += (y - w) + val_hi; + val_hi = w; + return val_lo + val_hi; } export function max(value1: f64, value2: f64): f64 { - return builtin_max(value1, value2); + return builtin_max(value1, value2); } export function min(value1: f64, value2: f64): f64 { - return builtin_min(value1, value2); + return builtin_min(value1, value2); } - export function pow(x: f64, y: f64): f64 { // pased on musl's implementation of pow + export function pow(x: f64, y: f64): f64 { // see: musl/src/math/pow.c and SUN COPYRIGHT NOTICE above const - two53 = 9007199254740992.0, // 0x43400000, 0x00000000 - huge = 1.0e+300, - tiny = 1.0e-300, - // poly coefs for (3/2)*(log(x)-2s-2/3*s**3 - L1 = 5.99999999999994648725e-01, // 0x3FE33333, 0x33333303 - L2 = 4.28571428578550184252e-01, // 0x3FDB6DB6, 0xDB6FABFF - L3 = 3.33333329818377432918e-01, // 0x3FD55555, 0x518F264D - L4 = 2.72728123808534006489e-01, // 0x3FD17460, 0xA91D4101 - L5 = 2.30660745775561754067e-01, // 0x3FCD864A, 0x93C9DB65 - L6 = 2.06975017800338417784e-01, // 0x3FCA7E28, 0x4A454EEF - P1 = 1.66666666666666019037e-01, // 0x3FC55555, 0x5555553E - P2 = -2.77777777770155933842e-03, // 0xBF66C16C, 0x16BEBD93 - P3 = 6.61375632143793436117e-05, // 0x3F11566A, 0xAF25DE2C - P4 = -1.65339022054652515390e-06, // 0xBEBBBD41, 0xC5D26BF1 - P5 = 4.13813679705723846039e-08, // 0x3E663769, 0x72BEA4D0 - lg2 = 6.93147180559945286227e-01, // 0x3FE62E42, 0xFEFA39EF - lg2_h = 6.93147182464599609375e-01, // 0x3FE62E43, 0x00000000 - lg2_l = -1.90465429995776804525e-09, // 0xBE205C61, 0x0CA86C39 - ovt = 8.0085662595372944372e-017, // -(1024-log2(ovfl+.5ulp)) - cp = 9.61796693925975554329e-01, // 0x3FEEC709, 0xDC3A03FD =2/(3ln2) - cp_h = 9.61796700954437255859e-01, // 0x3FEEC709, 0xE0000000 =(float)cp - cp_l = -7.02846165095275826516e-09, // 0xBE3E2FE0, 0x145B01F5 =tail of cp_h - ivln2 = 1.44269504088896338700e+00, // 0x3FF71547, 0x652B82FE =1/ln2 - ivln2_h = 1.44269502162933349609e+00, // 0x3FF71547, 0x60000000 =24b 1/ln2 - ivln2_l = 1.92596299112661746887e-0; // 0x3E54AE0B, 0xF85DDF44 =1/ln2 tail - - var __u = reinterpret(x); // EXTRACT_WORDS(hx, lx, x) - var hx = (__u >> 32); - var lx = __u; - - __u = reinterpret(y); // EXTRACT_WORDS(hy, ly, y) - var hy = (__u >> 32); - var ly = __u; - - var ix = hx & 0x7fffffff; - var iy = hy & 0x7fffffff; - - // x**0 = 1, even if x is NaN + dp_h1 = reinterpret(0x3FE2B80340000000), // 5.84962487220764160156e-01 + dp_l1 = reinterpret(0x3E4CFDEB43CFD006), // 1.35003920212974897128e-08 + two53 = reinterpret(0x4340000000000000), // 9007199254740992.0 + huge = reinterpret(0x7E37E43C8800759C), // 1e+300 + tiny = reinterpret(0x01A56E1FC2F8F359), // 1e-300 + L1 = reinterpret(0x3FE3333333333303), // 5.99999999999994648725e-01 + L2 = reinterpret(0x3FDB6DB6DB6FABFF), // 4.28571428578550184252e-01 + L3 = reinterpret(0x3FD55555518F264D), // 3.33333329818377432918e-01 + L4 = reinterpret(0x3FD17460A91D4101), // 2.72728123808534006489e-01 + L5 = reinterpret(0x3FCD864A93C9DB65), // 2.30660745775561754067e-01 + L6 = reinterpret(0x3FCA7E284A454EEF), // 2.06975017800338417784e-01 + P1 = reinterpret(0x3FC555555555553E), // 1.66666666666666019037e-01 + P2 = reinterpret(0xBF66C16C16BEBD93), // -2.77777777770155933842e-03 + P3 = reinterpret(0x3F11566AAF25DE2C), // 6.61375632143793436117e-05 + P4 = reinterpret(0xBEBBBD41C5D26BF1), // -1.65339022054652515390e-06 + P5 = reinterpret(0x3E66376972BEA4D0), // 4.13813679705723846039e-08 + lg2 = reinterpret(0x3FE62E42FEFA39EF), // 6.93147180559945286227e-01 + lg2_h = reinterpret(0x3FE62E4300000000), // 6.93147182464599609375e-01 + lg2_l = reinterpret(0xBE205C610CA86C39), // -1.90465429995776804525e-09 + ovt = reinterpret(0x3C971547652B82FE), // 8.0085662595372944372e-017 + cp = reinterpret(0x3FEEC709DC3A03FD), // 9.61796693925975554329e-01 + cp_h = reinterpret(0x3FEEC709E0000000), // 9.61796700954437255859e-01 + cp_l = reinterpret(0xBE3E2FE0145B01F5), // -7.02846165095275826516e-09 + ivln2 = reinterpret(0x3FF71547652B82FE), // 1.44269504088896338700e+00 + ivln2_h = reinterpret(0x3FF7154760000000), // 1.44269502162933349609e+00 + ivln2_l = reinterpret(0x3E54AE0BF85DDF44); // 1.92596299112661746887e-08 + var u_ = reinterpret(x); + var hx = (u_ >> 32); + var lx = u_; + u_ = reinterpret(y); + var hy = (u_ >> 32); + var ly = u_; + var ix = hx & 0x7FFFFFFF; + var iy = hy & 0x7FFFFFFF; if ((iy | ly) == 0) return 1.0; - // 1**y = 1, even if y is NaN - if (hx == 0x3ff00000 && lx == 0) return 1.0; - // NaN if either arg is NaN + if (hx == 0x3FF00000 && lx == 0) return 1.0; if ( - ix > 0x7ff00000 || (ix == 0x7ff00000 && lx != 0) || - iy > 0x7ff00000 || (iy == 0x7ff00000 && ly != 0) + ix > 0x7FF00000 || (ix == 0x7FF00000 && lx != 0) || + iy > 0x7FF00000 || (iy == 0x7FF00000 && ly != 0) ) return x + y; - - // determine if y is an odd int when x < 0 - // yisint = 0 ... y is not an integer - // yisint = 1 ... y is an odd int - // yisint = 2 ... y is an even int var yisint = 0, k: i32; if (hx < 0) { - if (iy >= 0x43400000) yisint = 2; // even integer y - else if (iy >= 0x3ff00000) { - k = (iy >> 20) - 0x3ff; // exponent + if (iy >= 0x43400000) yisint = 2; + else if (iy >= 0x3FF00000) { + k = (iy >> 20) - 0x3FF; if (k > 20) { let jj = ly >> (52 - k); if ((jj << (52 - k)) == ly) yisint = 2 - (jj & 1); @@ -421,154 +885,132 @@ export namespace NativeMath { } } } - - // special value of y if (ly == 0) { - if (iy == 0x7ff00000) { // y is +-inf - if (((ix - 0x3ff00000) | lx) == 0) return 1.0; // (-1)**+-inf is 1 - else if (ix >= 0x3ff00000) return hy >= 0 ? y : 0.0; // (|x|>1)**+-inf = inf,0 - else return hy >= 0 ? 0.0 : -y; // (|x|<1)**+-inf = 0,inf + if (iy == 0x7FF00000) { + if (((ix - 0x3FF00000) | lx) == 0) return 1.0; + else if (ix >= 0x3FF00000) return hy >= 0 ? y : 0.0; + else return hy >= 0 ? 0.0 : -y; } - if (iy == 0x3ff00000) { // y is +-1 + if (iy == 0x3FF00000) { if (hy >= 0) return x; return 1 / x; } - if (hy == 0x40000000) return x * x; // y is 2 - if (hy == 0x3fe00000) { // y is 0.5 - if (hx >= 0) return sqrt(x); // x >= +0 + if (hy == 0x40000000) return x * x; + if (hy == 0x3FE00000) { + if (hx >= 0) return builtin_sqrt(x); } } - - var ax = builtin_abs(x), z: f64; - // special value of x + var ax = builtin_abs(x), z: f64; if (lx == 0) { - if (ix == 0x7ff00000 || ix == 0 || ix == 0x3ff00000) { // x is +-0,+-inf,+-1 + if (ix == 0x7FF00000 || ix == 0 || ix == 0x3FF00000) { z = ax; - if (hy < 0) z = 1.0 / z; // z = (1/|x|) + if (hy < 0) z = 1.0 / z; if (hx < 0) { - if (((ix - 0x3ff00000) | yisint) == 0) z = (z - z) / (z - z); // (-1)**non-int is NaN - else if (yisint == 1) z = -z; // (x<0)**odd = -(|x|**odd) + if (((ix - 0x3FF00000) | yisint) == 0) z = (z - z) / (z - z); + else if (yisint == 1) z = -z; } return z; } } - - var s = 1.0; // sign of result + var s = 1.0; if (hx < 0) { - if (yisint == 0) return (x - x) / (x - x); // (x<0)**(non-int) is NaN - if (yisint == 1) s = -1.0; // (x<0)**(odd int) + if (yisint == 0) return (x - x) / (x - x); + if (yisint == 1) s = -1.0; } - - // |y| is huge var t1: f64, t2: f64, p_h: f64, p_l: f64, r: f64, t: f64, u: f64, v: f64, w: f64; var j: i32, n: i32; - if (iy > 0x41e00000) { // if |y| > 2**31 - if (iy > 0x43f00000) { // if |y| > 2**64, must o/uflow - if (ix <= 0x3fefffff) return hy < 0 ? huge * huge : tiny * tiny; - if (ix >= 0x3ff00000) return hy > 0 ? huge * huge : tiny * tiny; + if (iy > 0x41E00000) { + if (iy > 0x43F00000) { + if (ix <= 0x3FEFFFFF) return hy < 0 ? huge * huge : tiny * tiny; + if (ix >= 0x3FF00000) return hy > 0 ? huge * huge : tiny * tiny; } - // over/underflow if x is not close to one - if (ix < 0x3fefffff) return hy < 0 ? s * huge * huge : s * tiny * tiny; - if (ix > 0x3ff00000) return hy > 0 ? s * huge * huge : s * tiny * tiny; - // now |1-x| is tiny <= 2**-20, suffice to compute - // log(x) by x-x^2/2+x^3/3-x^4/4 - t = ax - 1.0; // t has 20 trailing zeros + if (ix < 0x3FEFFFFF) return hy < 0 ? s * huge * huge : s * tiny * tiny; + if (ix > 0x3FF00000) return hy > 0 ? s * huge * huge : s * tiny * tiny; + t = ax - 1.0; w = (t * t) * (0.5 - t * (0.3333333333333333333333 - t * 0.25)); - u = ivln2_h * t; // ivln2_h has 21 sig. bits + u = ivln2_h * t; v = t * ivln2_l - w * ivln2; t1 = u + v; - t1 = reinterpret(reinterpret(t1) & 0xffffffff00000000); // SET_LOW_WORD(t1, 0) + t1 = reinterpret(reinterpret(t1) & 0xFFFFFFFF00000000); t2 = v - (t1 - u); } else { let ss: f64, s2: f64, s_h: f64, s_l: f64, t_h: f64, t_l: f64; n = 0; - // take care subnormal number if (ix < 0x00100000) { ax *= two53; n -= 53; ix = (reinterpret(ax) >> 32); } - n += (ix >> 20) - 0x3ff; - j = ix & 0x000fffff; - // determine interval - ix = j | 0x3ff00000; // normalize ix - if (j <= 0x3988E) k = 0; // |x|> 20) - 0x3FF; + j = ix & 0x000FFFFF; + ix = j | 0x3FF00000; + if (j <= 0x3988E) k = 0; + else if (j < 0xBB67A) k = 1; else { k = 0; n += 1; ix -= 0x00100000; } - ax = reinterpret(reinterpret(ax) & 0xffffffff | (ix << 32)); // SET_HIGH_WORD(ax, ix) - - // compute ss = s_h+s_l = (x-1)/(x+1) or (x-1.5)/(x+1.5) - let bp = select(1.5, 1.0, k); // bp[k], bp[0]=1.0, bp[1]=1.5 + ax = reinterpret(reinterpret(ax) & 0xFFFFFFFF | (ix << 32)); + let bp = select(1.5, 1.0, k); u = ax - bp; v = 1.0 / (ax + bp); ss = u * v; s_h = ss; - s_h = reinterpret(reinterpret(s_h) & 0xffffffff00000000); // SET_LOW_WORD(s_h, 0) - // t_h=ax+bp[k] High - t_h = reinterpret((((ix >> 1) | 0x20000000) + 0x00080000 + (k << 18)) << 32); // SET_HIGH_WORD + s_h = reinterpret(reinterpret(s_h) & 0xFFFFFFFF00000000); + t_h = reinterpret((((ix >> 1) | 0x20000000) + 0x00080000 + (k << 18)) << 32); t_l = ax - (t_h - bp); s_l = v * ((u - s_h * t_h) - s_h * t_l); - // compute log(ax) s2 = ss * ss; r = s2 * s2 * (L1 + s2 * (L2 + s2 * (L3 + s2 * (L4 + s2 * (L5 + s2 * L6))))); r += s_l * (s_h + ss); s2 = s_h * s_h; t_h = 3.0 + s2 + r; - t_h = reinterpret(reinterpret(t_h) & 0xffffffff00000000); // SET_LOW_WORD(t_h, 0) + t_h = reinterpret(reinterpret(t_h) & 0xFFFFFFFF00000000); t_l = r - ((t_h - 3.0) - s2); - // u+v = ss*(1+...) u = s_h * t_h; v = s_l * t_h + t_l * ss; - // 2/(3log2)*(ss+...) p_h = u + v; - p_h = reinterpret(reinterpret(p_h) & 0xffffffff00000000); // SET_LOW_WORD(p_h, 0) + p_h = reinterpret(reinterpret(p_h) & 0xFFFFFFFF00000000); p_l = v - (p_h - u); - let z_h = cp_h * p_h; // cp_h+cp_l = 2/(3*log2) - let dp_l = select(1.35003920212974897128e-08, 0.0, k); // dp_l[k] + let z_h = cp_h * p_h; + let dp_l = select(dp_l1, 0.0, k); let z_l = cp_l * p_h + p_l * cp + dp_l; - // log2(ax) = (ss+..)*2/(3*log2) = n + dp_h + z_h + z_l t = n; - let dp_h = select(5.84962487220764160156e-01, 0.0, k); // dp_h[k] + let dp_h = select(dp_h1, 0.0, k); t1 = ((z_h + z_l) + dp_h) + t; - t1 = reinterpret(reinterpret(t1) & 0xffffffff00000000); // SET_LOW_WORD(t1, 0); + t1 = reinterpret(reinterpret(t1) & 0xFFFFFFFF00000000); t2 = z_l - (((t1 - t) - dp_h) - z_h); } - - // split up y into y1+y2 and compute (y1+y2)*(t1+t2) var y1 = y; - y1 = reinterpret(reinterpret(y1) & 0xffffffff00000000); // SET_LOW_WORD(y1, 0) + y1 = reinterpret(reinterpret(y1) & 0xFFFFFFFF00000000); p_l = (y - y1) * t1 + y * t2; p_h = y1 * t1; z = p_l + p_h; - __u = reinterpret(z); // EXTRACT_WORDS(j, i, z) ... - j = (__u >> 32); - var i = __u; - if (j >= 0x40900000) { // z >= 1024 - if (((j - 0x40900000) | i) != 0) return s * huge * huge; // if z > 1024, overflow - if (p_l + ovt > z - p_h) return s * huge * huge; // overflow - } else if ((j & 0x7fffffff) >= 0x4090cc00) { // z <= -1075, FIXME: instead of abs(j) use unsigned j - if (((j - 0xc090cc00) | i) != 0) return s * tiny * tiny; // z < -1075, underflow - if (p_l <= z - p_h) return s * tiny * tiny; // underflow - } - // compute 2**(p_h+p_l) - i = j & 0x7fffffff; - k = (i >> 20) - 0x3ff; + u_ = reinterpret(z); + j = (u_ >> 32); + var i = u_; + if (j >= 0x40900000) { + if (((j - 0x40900000) | i) != 0) return s * huge * huge; + if (p_l + ovt > z - p_h) return s * huge * huge; + } else if ((j & 0x7FFFFFFF) >= 0x4090CC00) { + if (((j - 0xC090CC00) | i) != 0) return s * tiny * tiny; + if (p_l <= z - p_h) return s * tiny * tiny; + } + i = j & 0x7FFFFFFF; + k = (i >> 20) - 0x3FF; n = 0; - if (i > 0x3fe00000) { // if |z| > 0.5, set n = [z+0.5] + if (i > 0x3FE00000) { n = j + (0x00100000 >> (k + 1)); - k = ((n & 0x7fffffff) >> 20) - 0x3ff; // new k for n + k = ((n & 0x7FFFFFFF) >> 20) - 0x3FF; t = 0.0; - t = reinterpret((n & ~(0x000fffff >> k)) << 32); // SET_HIGH_WORD(t, n & ~(0x000fffff>>k)) - n = ((n & 0x000fffff) | 0x00100000) >> (20 - k); + t = reinterpret((n & ~(0x000FFFFF >> k)) << 32); + n = ((n & 0x000FFFFF) | 0x00100000) >> (20 - k); if (j < 0) n = -n; p_h -= t; } t = p_l + p_h; - t = reinterpret(reinterpret(t) & 0xffffffff00000000); // SET_LOW_WORD(t, 0) + t = reinterpret(reinterpret(t) & 0xFFFFFFFF00000000); u = t * lg2_h; v = (p_l - (t - p_h)) * lg2 + t * lg2_l; z = u + v; @@ -577,10 +1019,10 @@ export namespace NativeMath { t1 = z - t * (P1 + t * (P2 + t * (P3 + t * (P4 + t * P5)))); r = (z * t1) / (t1 - 2.0) - (w + z * w); z = 1.0 - (r - z); - j = (reinterpret(z) >> 32); // GET_HIGH_WORD(j, z) + j = (reinterpret(z) >> 32); j += n << 20; - if ((j >> 20) <= 0) z = scalbn(z, n); // subnormal output - else z = reinterpret(reinterpret(z) & 0xffffffff | (j << 32)); // SET_HIGH_WORD(z, j) + if ((j >> 20) <= 0) z = scalbn(z, n); + else z = reinterpret(reinterpret(z) & 0xFFFFFFFF | (j << 32)); return s * z; } @@ -588,7 +1030,7 @@ export namespace NativeMath { var random_state0: u64; var random_state1: u64; - function murmurHash3(h: u64): u64 { + function __murmurHash3(h: u64): u64 { h ^= h >> 33; h *= 0xFF51AFD7ED558CCD; h ^= h >> 33; @@ -597,7 +1039,7 @@ export namespace NativeMath { return h; } - function xorShift128Plus(): u64 { + function __xorShift128Plus(): u64 { var s1 = random_state0; var s0 = random_state1; random_state0 = s0; @@ -612,40 +1054,118 @@ export namespace NativeMath { export function seedRandom(value: i64): void { assert(value); random_seeded = true; - random_state0 = murmurHash3(value); - random_state1 = murmurHash3(random_state0); + random_state0 = __murmurHash3(value); + random_state1 = __murmurHash3(random_state0); } export function random(): f64 { // based on V8's implementation - const - kExponentBits = 0x3FF0000000000000, - kMantissaMask = 0x000FFFFFFFFFFFFF; - if (!random_seeded) unreachable(); - var r = (xorShift128Plus() & kMantissaMask) | kExponentBits; + var r = (__xorShift128Plus() & 0x000FFFFFFFFFFFFF) | 0x3FF0000000000000; return reinterpret(r) - 1; } export function round(x: f64): f64 { - return builtin_nearest(x); + return builtin_nearest(x); } export function sign(x: f64): f64 { return x > 0 ? 1 : x < 0 ? -1 : x; } + function __sin(x: f64, y: f64, iy: i32): f64 { // see: musl/src/math/__sin.c and SUN COPYRIGHT NOTICE above + const + S1 = reinterpret(0xBFC5555555555549), // -1.66666666666666324348e-01 + S2 = reinterpret(0x3F8111111110F8A6), // 8.33333333332248946124e-03 + S3 = reinterpret(0xBF2A01A019C161D5), // -1.98412698298579493134e-04 + S4 = reinterpret(0x3EC71DE357B1FE7D), // 2.75573137070700676789e-06 + S5 = reinterpret(0xBE5AE5E68A2B9CEB), // -2.50507602534068634195e-08 + S6 = reinterpret(0x3DE5D93A5ACFD57C); // 1.58969099521155010221e-10 + var z = x * x; + var w = z * z; + var r = S2 + z * (S3 + z * S4) + z * w * (S5 + z * S6); + var v = z * x; + if (iy == 0) return x + v * (S1 + z * r); + return x - ((z * (0.5 * y - v * r) - y) - v * S1); + } + export function sin(x: f64): f64 { unreachable(); // TODO return 0; } - export function sinh(x: f64): f64 { - unreachable(); // TODO - return 0; + export function sinh(x: f64): f64 { // see: musl/src/math/sinh.c + var u = reinterpret(x); + var h = 0.5; + if (u >> 63) h = -h; + u &= 0x7FFFFFFFFFFFFFFF; + var absx = reinterpret(u); + var w = (u >> 32); + var t: f64; + if (w < 0x40862E42) { + t = expm1(absx); + if (w < 0x3FF00000) { + if (w < 0x3FF00000 - (26 << 20)) return x; + return h * (2 * t - t * t / (t + 1)); + } + return h * (t + t / (t + 1)); + } + t = 2 * h * __expo2(absx); + return t; } export function sqrt(x: f64): f64 { - return builtin_sqrt(x); + return builtin_sqrt(x); + } + + function __tan(x: f64, y: f64, odd: i32): f64 { // see: musl/src/math/__tan.c and SUN COPYRIGHT NOTICE above + const + T0 = reinterpret(0x3FD5555555555563), // 3.33333333333334091986e-01 + T1 = reinterpret(0x3FC111111110FE7A), // 1.33333333333201242699e-01 + T2 = reinterpret(0x3FABA1BA1BB341FE), // 5.39682539762260521377e-02 + T3 = reinterpret(0x3F9664F48406D637), // 2.18694882948595424599e-02 + T4 = reinterpret(0x3F8226E3E96E8493), // 8.86323982359930005737e-03 + T5 = reinterpret(0x3F6D6D22C9560328), // 3.59207910759131235356e-03 + T6 = reinterpret(0x3F57DBC8FEE08315), // 1.45620945432529025516e-03 + T7 = reinterpret(0x3F4344D8F2F26501), // 5.88041240820264096874e-04 + T8 = reinterpret(0x3F3026F71A8D1068), // 2.46463134818469906812e-04 + T9 = reinterpret(0x3F147E88A03792A6), // 7.81794442939557092300e-05 + T10 = reinterpret(0x3F12B80F32F0A7E9), // 7.14072491382608190305e-05 + T11 = reinterpret(0xBEF375CBDB605373), // -1.85586374855275456654e-05, + T12 = reinterpret(0x3EFB2A7074BF7AD4), // 2.59073051863633712884e-05 + pio4 = reinterpret(0x3FE921FB54442D18), // 7.85398163397448278999e-01 + pio4lo = reinterpret(0x3C81A62633145C07); // 3.06161699786838301793e-17 + var hx = (reinterpret(x) >> 32); + var big = (hx & 0x7FFFFFFF) >= 0x3FE59428; + var sign_ = 0; + if (big) { + sign_ = hx >> 31; + if (sign_) { + x = -x; + y = -y; + } + x = (pio4 - x) + (pio4lo - y); + y = 0.0; + } + var z = x * x; + var w = z * z; + var r = T1 + w * (T3 + w * (T5 + w * (T7 + w * (T9 + w * T11)))); + var v = z * (T2 + w * (T4 + w * (T6 + w * (T8 + w * (T10 + w * T12))))); + var s = z * x; + r = y + z * (s * (r + v) + y) + s * T0; + w = x + r; + if (big) { + s = 1 - 2 * odd; + v = s - 2.0 * (x + (r - w * w / (w + s))); + return sign_ ? -v : v; + } + if (!odd) return w; + var w0 = w; + w0 = reinterpret(reinterpret(w0) & 0xFFFFFFFF00000000); + v = r - (w0 - x); + var a = -1.0 / w; + var a0 = a; + a0 = reinterpret(reinterpret(a0) & 0xFFFFFFFF00000000); + return a0 + a * (1.0 + a0 * w0 + a0 * v); } export function tan(x: f64): f64 { @@ -653,20 +1173,39 @@ export namespace NativeMath { return 0; } - export function tanh(x: f64): f64 { - unreachable(); // TODO - return 0; + export function tanh(x: f64): f64 { // see: musl/src/math/tanh.c + var u = reinterpret(x); + var sign_ = (u >> 63); + u &= 0x7FFFFFFFFFFFFFFF; + x = reinterpret(u); + var w = (u >> 32); + var t: f64; + if (w > 0x3FE193EA) { + if (w > 0x40340000) { + t = 1 - 0 / x; + } else { + t = expm1(2 * x); + t = 1 - 2 / (t + 2); + } + } else if (w > 0x3FD058AE) { + t = expm1(2 * x); + t = t / (t + 2); + } else if (w >= 0x00100000) { + t = expm1(-2 * x); + t = -t / (t + 2); + } else t = x; + return sign_ ? -t : t; } export function trunc(x: f64): f64 { - return builtin_trunc(x); + return builtin_trunc(x); } - function scalbn(x: f64, n: i32): f64 { // based on musl's implementation of scalbn + /** @internal */ + export function scalbn(x: f64, n: i32): f64 { // see: musl/src/math/scalbn.c const - Ox1p1023 = 8.98846567431157954e+307, - Ox1p_1022 = 2.22507385850720138e-308; - + Ox1p1023 = reinterpret(0x7FE0000000000000), + Ox1p_1022 = reinterpret(0x0010000000000000); var y = x; if (n > 1023) { y *= Ox1p1023; @@ -685,104 +1224,271 @@ export namespace NativeMath { if (n < -1022) n = -1022; } } - return y * reinterpret((0x3ff + n) << 52); + return y * reinterpret((0x3FF + n) << 52); } } export namespace NativeMathf { - export const E = NativeMath.E; - export const LN2 = NativeMath.LN2; - export const LN10 = NativeMath.LN10; - export const LOG2E = NativeMath.LOG2E; - export const LOG10E = NativeMath.LOG10E; - export const PI = NativeMath.PI; + export const E = NativeMath.E; + export const LN2 = NativeMath.LN2; + export const LN10 = NativeMath.LN10; + export const LOG2E = NativeMath.LOG2E; + export const LOG10E = NativeMath.LOG10E; + export const PI = NativeMath.PI; export const SQRT1_2 = NativeMath.SQRT1_2; - export const SQRT2 = NativeMath.SQRT2; + export const SQRT2 = NativeMath.SQRT2; export function abs(x: f32): f32 { - return builtin_abs(x); + return builtin_abs(x); } - export function acos(x: f32): f32 { - unreachable(); // TOOD - return 0; + function __R(z: f32): f32 { // see: musl/src/math/asinf.c and SUN COPYRIGHT NOTICE above + const + pS0 = reinterpret(0x3E2AAA75), // 1.6666586697e-01f + pS1 = reinterpret(0xBD2F13BA), // -4.2743422091e-02f + pS2 = reinterpret(0xBC0DD36B), // -8.6563630030e-03f + qS1 = reinterpret(0xBF34E5AE); // -7.0662963390e-01f + var p = z * (pS0 + z * (pS1 + z * pS2)); + var q: f32 = 1 + z * qS1; + return p / q; } - export function acosh(x: f32): f32 { - unreachable(); // TODO - return 0; + export function acos(x: f32): f32 { // see: musl/src/math/acosf.c and SUN COPYRIGHT NOTICE above + const + pio2_hi = reinterpret(0x3FC90FDA), // 1.5707962513e+00f + pio2_lo = reinterpret(0x33A22168), // 7.5497894159e-08f + Ox1p_120f = reinterpret(0x03800000); + var hx = reinterpret(x); + var ix = hx & 0x7FFFFFFF; + if (ix >= 0x3F800000) { + if (ix == 0x3F800000) { + if (hx >> 31) return 2 * pio2_hi + Ox1p_120f; + return 0; + } + return 0 / (x - x); + } + if (ix < 0x3F000000) { + if (ix <= 0x32800000) return pio2_hi + Ox1p_120f; + return pio2_hi - (x - (pio2_lo - x * __R(x * x))); + } + var z: f32, w: f32, s: f32; + if (hx >> 31) { + z = (1 + x) * 0.5; + s = builtin_sqrt(z); + w = __R(z) * s - pio2_lo; + return 2 * (pio2_hi - (s + w)); + } + z = (1 - x) * 0.5; + s = builtin_sqrt(z); + hx = reinterpret(s); + var df = reinterpret(hx & 0xFFFFF000); + var c = (z - df * df) / (s + df); + w = __R(z) * s + c; + return 2 * (df + w); } - export function asin(x: f32): f32 { - unreachable(); // TODO - return 0; + export function acosh(x: f32): f32 { // see: musl/src/math/acoshf.c + const s = reinterpret(0x3F317218); // 0.693147180559945309417232121458176568f + var u = reinterpret(x); + var a = u & 0x7FFFFFFF; + if (a < 0x3F800000 + (1 << 23)) return log1p(x - 1 + builtin_sqrt((x - 1) * (x - 1) + 2 * (x - 1))); + if (a < 0x3F800000 + (12 << 23)) return log(2 * x - 1 / (x + builtin_sqrt(x * x - 1))); + return log(x) + s; } - export function asinh(x: f32): f32 { - unreachable(); // TODO - return 0; + export function asin(x: f32): f32 { // see: musl/src/math/asinf.c and SUN COPYRIGHT NOTICE above + const + pio2 = reinterpret(0x3FC90FDB), // 1.570796326794896558e+00f + Ox1p_120f = reinterpret(0x03800000); + var hx = reinterpret(x); + var ix = hx & 0x7FFFFFFF; + if (ix >= 0x3F800000) { + if (ix == 0x3f800000) return x * pio2 + Ox1p_120f; + return 0 / (x - x); + } + if (ix < 0x3F000000) { + if (ix < 0x39800000 && ix >= 0x00800000) return x; + return x + x * __R(x * x); + } + var z: f32 = (1 - builtin_abs(x)) * 0.5; + var s = builtin_sqrt(z); // sic + x = (pio2 - 2 * (s + s * __R(z))); + if (hx >> 31) return -x; + return x; } - export function atan(x: f32): f32 { - unreachable(); // TODO - return 0; + export function asinh(x: f32): f32 { // see: musl/src/math/asinhf.c + const c = reinterpret(0x3F317218); // 0.693147180559945309417232121458176568f + var u = reinterpret(x); + var i = u & 0x7FFFFFFF; + var s = (u >> 31); + u = i; + x = reinterpret(u); + if (i >= 0x3F800000 + (12 << 23)) x = log(x) + c; + else if (i >= 0x3F800000 + (1 << 23)) x = log(2 * x + 1 / (builtin_sqrt(x * x + 1) + x)); + else if (i >= 0x3F800000 - (12 << 23)) x = log1p(x + x * x / (builtin_sqrt(x * x + 1) + 1)); + return s ? -x : x; } - export function atanh(x: f32): f32 { - unreachable(); // TODO - return 0; + export function atan(x: f32): f32 { // see: musl/src/math/atanf.c and SUN COPYRIGHT NOTICE above + const + atanhi0 = reinterpret(0x3EED6338), // 4.6364760399e-01f + atanhi1 = reinterpret(0x3F490FDA), // 7.8539812565e-01f + atanhi2 = reinterpret(0x3F7B985E), // 9.8279368877e-01f + atanhi3 = reinterpret(0x3FC90FDA), // 1.5707962513e+00f + atanlo0 = reinterpret(0x31AC3769), // 5.0121582440e-09f + atanlo1 = reinterpret(0x33222168), // 3.7748947079e-08f + atanlo2 = reinterpret(0x33140fB4), // 3.4473217170e-08f + atanlo3 = reinterpret(0x33A22168), // 7.5497894159e-08f + aT0 = reinterpret(0x3EAAAAA9), // 3.3333328366e-01f + aT1 = reinterpret(0xBE4CCA98), // -1.9999158382e-01f + aT2 = reinterpret(0x3E11F50D), // 1.4253635705e-01f + aT3 = reinterpret(0xBDDA1247), // -1.0648017377e-01f + aT4 = reinterpret(0x3D7CAC25), // 6.1687607318e-02f + Ox1p_120f = reinterpret(0x03800000); + var ix = reinterpret(x); + var sig = (ix >> 31); + ix &= 0x7FFFFFFF; + var z: f32; + if (ix >= 0x4C800000) { + if (isNaN(x)) return x; + z = atanhi3 + Ox1p_120f; + return sig ? -z : z; + } + var id: i32; + if (ix < 0x3EE00000) { + if (ix < 0x39800000) return x; + id = -1; + } else { + x = builtin_abs(x); + if (ix < 0x3F980000) { + if (ix < 0x3F300000) { + id = 0; + x = (2.0 * x - 1.0) / (2.0 + x); + } else { + id = 1; + x = (x - 1.0) / (x + 1.0); + } + } else { + if (ix < 0x401C0000) { + id = 2; + x = (x - 1.5) / (1.0 + 1.5 * x); + } else { + id = 3; + x = -1.0 / x; + } + } + } + z = x * x; + var w = z * z; + var s1 = z * (aT0 + w * (aT2 + w * aT4)); + var s2 = w * (aT1 + w * aT3); + if (id < 0) return x - x * (s1 + s2); + switch (id) { + case 0: { z = atanhi0 - ((x * (s1 + s2) - atanlo0) - x); break; } + case 1: { z = atanhi1 - ((x * (s1 + s2) - atanlo1) - x); break; } + case 2: { z = atanhi2 - ((x * (s1 + s2) - atanlo2) - x); break; } + case 3: { z = atanhi3 - ((x * (s1 + s2) - atanlo3) - x); break; } + default: unreachable(); + } + return sig ? -z : z; } - export function atan2(y: f32, x: f32): f32 { - unreachable(); // TOOD - return 0; + export function atanh(x: f32): f32 { // see: musl/src/math/atanhf.c + var u = reinterpret(x); + var s = (u >> 31); + u &= 0x7FFFFFFF; + var y = reinterpret(u); + if (u < 0x3F800000 - (1 << 23)) { + if (u >= 0x3F800000 - (32 << 23)) y = 0.5 * log1p(2 * y + 2 * y * y / (1 - y)); + } else y = 0.5 * log1p(2 * (y / (1 - y))); + return s ? -y : y; } - export function cbrt(x: f32): f32 { // based on musl's implementation of cbrtf + export function atan2(y: f32, x: f32): f32 { // see: musl/src/math/atan2f.c and SUN COPYRIGHT NOTICE above const - B1 = 709958130, /* B1 = (127-127.0/3-0.03306235651)*2**23 */ - B2 = 642849266, /* B2 = (127-127.0/3-24/3-0.03306235651)*2**23 */ - Ox1p24f = 16777216.0; + pi = reinterpret(0x40490FDB), // 3.1415927410e+00f + pi_lo = reinterpret(0xB3BBBD2E); // -8.7422776573e-08f + if (isNaN(x) || isNaN(y)) return x + y; + var ix = reinterpret(x); + var iy = reinterpret(y); + if (ix == 0x3F800000) return atan(y); + var m = (((iy >> 31) & 1) | ((ix >> 30) & 2)); + ix &= 0x7FFFFFFF; + iy &= 0x7FFFFFFF; + if (iy == 0) { + switch (m) { + case 0: + case 1: return y; + case 2: return pi; + case 3: return -pi; + } + } + if (ix == 0) return m & 1 ? -pi / 2 : pi / 2; + if (ix == 0x7F800000) { + if (iy == 0x7F800000) { + switch (m) { + case 0: return pi / 4; + case 1: return -pi / 4; + case 2: return 3 * pi / 4; + case 3: return -3 * pi / 4; + } + } else { + switch (m) { + case 0: return 0; + case 1: return -0; + case 2: return pi; + case 3: return -pi; + } + } + } + if (ix + (26 << 23) < iy || iy == 0x7F800000) return m & 1 ? -pi / 2 : pi / 2; + var z: f32; + if ((m & 2) && iy + (26 << 23) < ix) z = 0.0; + else z = atan(builtin_abs(y / x)); + switch (m) { + case 0: return z; + case 1: return -z; + case 2: return pi - (z - pi_lo); + case 3: return (z - pi_lo) - pi; + } + unreachable(); + return 0; + } - var ux = reinterpret(x); - var hx = ux & 0x7fffffff; - if (hx >= 0x7f800000) return x + x; // cbrt(NaN,INF) is itself - - // rough cbrt to 5 bits - if (hx < 0x00800000) { // zero or subnormal? - if (hx == 0) return x; // cbrt(+-0) is itself - ux = reinterpret(x * Ox1p24f); - hx = ux & 0x7fffffff; + export function cbrt(x: f32): f32 { // see: musl/src/math/cbrtf.c and SUN COPYRIGHT NOTICE above + const + B1 = 709958130, + B2 = 642849266, + Ox1p24f = reinterpret(0x4B800000); + var u = reinterpret(x); + var hx = u & 0x7FFFFFFF; + if (hx >= 0x7F800000) return x + x; + if (hx < 0x00800000) { + if (hx == 0) return x; + u = reinterpret(x * Ox1p24f); + hx = u & 0x7FFFFFFF; hx = hx / 3 + B2; } else { hx = hx / 3 + B1; } - ux &= 0x80000000; - ux |= hx; - - // First step Newton iteration (solving t*t-x/t == 0) to 16 bits. In - // double precision so that its terms can be arranged for efficiency - // without causing overflow or underflow. - var T = reinterpret(ux); + u &= 0x80000000; + u |= hx; + var T = reinterpret(u); var r = T * T * T; T = T * (x + x + r) / (x + r + r); - - // Second step Newton iteration to 47 bits. In double precision for - // efficiency and accuracy. r = T * T * T; T = T * (x + x + r) / (x + r + r); - - // rounding to 24 bits is perfect in round-to-nearest mode return T; } export function ceil(x: f32): f32 { - return builtin_ceil(x); + return builtin_ceil(x); } - export function clz32(x: f32): i32 { - return builtin_clz(x); + export function clz32(x: f32): f32 { + return builtin_clz(x); } export function cos(x: f32): f32 { @@ -790,67 +1496,62 @@ export namespace NativeMathf { return 0; } - export function cosh(x: f32): f32 { - unreachable(); // TODO - return 0; + export function cosh(x: f32): f32 { // see: musl/src/math/coshf.c + var u = reinterpret(x); + u &= 0x7FFFFFFF; + x = reinterpret(u); + if (u < 0x3F317217) { + if (u < 0x3F800000 - (12 << 23)) return 1; + let t = expm1(x); + return 1 + t * t / (2 * (1 + t)); + } + if (u < 0x42B17217) { + let t = exp(x); + return 0.5 * (t + 1 / t); + } + return __expo2(x); } export function floor(x: f32): f32 { - return builtin_floor(x); + return builtin_floor(x); } - export function exp(x: f32): f32 { // based on musl's implementation of expf + export function exp(x: f32): f32 { // see: musl/src/math/expf.c and SUN COPYRIGHT NOTICE above const - ln2hi = 6.9314575195e-1, // 0x3f317200 - ln2lo = 1.4286067653e-6, // 0x35bfbe8e - invln2 = 1.4426950216e+0, // 0x3fb8aa3b - // Domain [-0.34568, 0.34568], range ~[-4.278e-9, 4.447e-9]: - // |x*(exp(x)+1)/(exp(x)-1) - p(x)| < 2**-27.74 - P1 = 1.6666625440e-1, // 0xaaaa8f.0p-26 - P2 = -2.7667332906e-3, // -0xb55215.0p-32 - Ox1p127f = 1.701411835e+38; - + ln2hi = reinterpret(0x3F317200), // 6.9314575195e-1f + ln2lo = reinterpret(0x35BFBE8E), // 1.4286067653e-6f + invln2 = reinterpret(0x3FB8AA3B), // 1.4426950216e+0f + P1 = reinterpret(0x3E2AAA8F), // 1.6666625440e-1f + P2 = reinterpret(0xBB355215), // -2.7667332906e-3f + Ox1p127f = reinterpret(0x7F000000); var hx = reinterpret(x); - var sign_ = (hx >> 31); // sign bit of x - hx &= 0x7fffffff; // high word of |x| - - // special cases - if (hx >= 0x42aeac50) { // if |x| >= -87.33655f or NaN - if (hx >= 0x42b17218 && !sign_) { // x >= 88.722839f - // overflow + var sign_ = (hx >> 31); + hx &= 0x7FFFFFFF; + if (hx >= 0x42AEAC50) { + if (hx >= 0x42B17218 && !sign_) { x *= Ox1p127f; return x; } - if (sign_) { - // underflow - if (hx >= 0x42cff1b5) { // x <= -103.972084f - return 0; - } - } + if (sign_ && hx >= 0x42CFF1B5) return 0; } - - // argument reduction var hi: f32, lo: f32; var k: i32; - if (hx > 0x3eb17218) { // if |x| > 0.5 ln2 - if (hx > 0x3f851592) { // if |x| > 1.5 ln2 - k = (invln2 * x + copysign(0.5, x)); // was: [0.5, -0.5][sign_]) + if (hx > 0x3EB17218) { + if (hx > 0x3F851592) { + k = (invln2 * x + builtin_copysign(0.5, x)); } else { k = 1 - sign_ - sign_; } - hi = x - k * ln2hi; // k * ln2hi is exact here + hi = x - k * ln2hi; lo = k * ln2lo; x = hi - lo; - } else if (hx > 0x39000000) { // |x| > 2**-14 + } else if (hx > 0x39000000) { k = 0; hi = x; lo = 0; } else { - // raise inexact return 1 + x; } - - // x is now in primary range var xx = x * x; var c = x - xx * (P1 + xx * P2); var y: f32 = 1 + (x * c / (2 - c) - lo + hi); @@ -858,52 +1559,139 @@ export namespace NativeMathf { return scalbn(y, k); } - export function expm1(x: f32): f32 { - unreachable(); // TODO - return 0; + export function expm1(x: f32): f32 { // see: musl/src/math/expm1f.c and SUN COPYRIGHT NOTICE above + const + o_threshold = reinterpret(0x42B17180), // 8.8721679688e+01f + ln2_hi = reinterpret(0x3F317180), // 6.9313812256e-01f + ln2_lo = reinterpret(0x3717F7D1), // 9.0580006145e-06f + invln2 = reinterpret(0x3FB8AA3B), // 1.4426950216e+00f + Q1 = reinterpret(0xBD088868), // -3.3333212137e-02f + Q2 = reinterpret(0x3ACF3010), // 1.5807170421e-03f + Ox1p127f = reinterpret(0x7F000000); + var u = reinterpret(x); + var hx = u & 0x7FFFFFFF; + var sign_ = (u >> 31); + if (hx >= 0x4195B844) { + if (hx > 0x7F800000) return x; + if (sign_) return -1; + if (x > o_threshold) { + x *= Ox1p127f; + return x; + } + } + var c: f32 = 0.0, t: f32, k: i32; + if (hx > 0x3EB17218) { + let hi: f32, lo: f32; + if (hx < 0x3F851592) { + if (!sign_) { + hi = x - ln2_hi; + lo = ln2_lo; + k = 1; + } else { + hi = x + ln2_hi; + lo = -ln2_lo; + k = -1; + } + } else { + k = (invln2 * x + (sign_ ? -0.5 : 0.5)); + t = k; + hi = x - t * ln2_hi; + lo = t * ln2_lo; + } + x = hi - lo; + c = (hi - x) - lo; + } else if (hx < 0x33000000) { + return x; + } else k = 0; + var hfx: f32 = 0.5 * x; + var hxs: f32 = x * hfx; + var r1: f32 = 1.0 + hxs * (Q1 + hxs * Q2); + t = 3.0 - r1 * hfx; + var e = hxs * ((r1 - t) / (6.0 - x * t)); + if (k == 0) return x - (x * e - hxs); + e = x * (e - c) - c; + e -= hxs; + if (k == -1) return 0.5 * (x - e) - 0.5; + if (k == 1) { + if (x < -0.25) return -2.0 * (e - (x + 0.5)); + return 1.0 + 2.0 * (x - e); + } + u = (0x7F + k) << 23; + var twopk = reinterpret(u); + var y: f32; + if (k < 0 || k > 56) { + y = x - e + 1.0; + if (k == 128) y = y * 2.0 * Ox1p127f; + else y = y * twopk; + return y - 1.0; + } + u = (0x7F - k) << 23; + if (k < 23) y = (x - e + (1 - reinterpret(u))) * twopk; + else y = (x - (e + reinterpret(u)) + 1) * twopk; + return y; } export function fround(x: f32): f32 { return x; } - export function hypot(value1: f32, value2: f32): f32 { // TODO: rest - unreachable(); // TODO - return 0; + export function hypot(x: f32, y: f32): f32 { // see: musl/src/math/hypotf.c + const + Ox1p90f = reinterpret(0x6C800000), + Ox1p_90f = reinterpret(0x12800000); + var ux = reinterpret(x); + var uy = reinterpret(y); + ux &= 0x7FFFFFFF; + uy &= 0x7FFFFFFF; + if (ux < uy) { + let ut = ux; + ux = uy; + uy = ut; + } + x = reinterpret(ux); + y = reinterpret(uy); + if (uy == 0xFF << 23) return y; + if (ux >= 0xFF << 23 || uy == 0 || ux - uy >= 25 << 23) return x + y; + var z: f32 = 1; + if (ux >= (0x7F + 60) << 23) { + z = Ox1p90f; + x *= Ox1p_90f; + y *= Ox1p_90f; + } else if (uy < (0x7F - 60) << 23) { + z = Ox1p_90f; + x *= Ox1p90f; + y *= Ox1p90f; + } + return z * builtin_sqrt((x * x + y * y)); } - export function imul(x: f32, y: f32): i32 { - return x * y; + export function imul(x: f32, y: f32): f32 { + return (x * y); } - export function log(x: f32): f32 { // based on musl's implementaion of logf + export function log(x: f32): f32 { // see: musl/src/math/logf.c and SUN COPYRIGHT NOTICE above const - ln2_hi = 6.9313812256e-01, // 0x3f317180 - ln2_lo = 9.0580006145e-06, // 0x3717f7d1 - Lg1 = 0.66666662693, // 0xaaaaaa.0p-24 - Lg2 = 0.40000972152, // 0xccce13.0p-25 - Lg3 = 0.28498786688, // 0x91e9ee.0p-25 - Lg4 = 0.24279078841, // 0xf89e26.0p-26 - Ox1p25f = 33554432.0; - - var ux = reinterpret(x); + ln2_hi = reinterpret(0x3F317180), // 6.9313812256e-01f + ln2_lo = reinterpret(0x3717F7D1), // 9.0580006145e-06f + Lg1 = reinterpret(0x3F2AAAAA), // 0xaaaaaa.0p-24f + Lg2 = reinterpret(0x3ECCCE13), // 0xccce13.0p-25f + Lg3 = reinterpret(0x3E91E9EE), // 0x91e9ee.0p-25f + Lg4 = reinterpret(0x3E789E26), // 0xf89e26.0p-26f + Ox1p25f = reinterpret(0x4C000000); + var u = reinterpret(x); var k = 0; - if (ux < 0x00800000 || (ux >> 31)) { // x < 2**-126 - if (ux << 1 == 0) return -1 / (x * x); // log(+-0)=-inf - if (ux >> 31) return (x - x) / 0; // log(-#) = NaN - // subnormal number, scale up x + if (u < 0x00800000 || (u >> 31)) { + if (u << 1 == 0) return -1 / (x * x); + if (u >> 31) return (x - x) / 0; k -= 25; x *= Ox1p25f; - ux = reinterpret(x); - } else if (ux >= 0x7f800000) return x; - else if (ux == 0x3f800000) return 0; - - // reduce x into [sqrt(2)/2, sqrt(2)] - ux += 0x3f800000 - 0x3f3504f3; - k += (ux >> 23) - 0x7f; - ux = (ux & 0x007fffff) + 0x3f3504f3; - x = reinterpret(ux); - + u = reinterpret(x); + } else if (u >= 0x7F800000) return x; + else if (u == 0x3F800000) return 0; + u += 0x3F800000 - 0x3F3504F3; + k += (u >> 23) - 0x7F; + u = (u & 0x007FFFFF) + 0x3F3504F3; + x = reinterpret(u); var f = x - 1.0; var s = f / (2.0 + f); var z = s * s; @@ -916,229 +1704,308 @@ export namespace NativeMathf { return s * (hfsq + R) + dk * ln2_lo - hfsq + f + dk * ln2_hi; } - export function log10(x: f32): f32 { - // return log(x) / LN10; - unreachable(); // TODO - return 0; + export function log10(x: f32): f32 { // see: musl/src/math/log10f.c and SUN COPYRIGHT NOTICE above + const + ivln10hi = reinterpret(0x3EDE6000), // 4.3432617188e-01f + ivln10lo = reinterpret(0xB804EAD9), // -3.1689971365e-05f + log10_2hi = reinterpret(0x3E9A2080), // 3.0102920532e-01f + log10_2lo = reinterpret(0x355427DB), // 7.9034151668e-07f + Lg1 = reinterpret(0x3F2AAAAA), // 0xaaaaaa.0p-24f, 0.66666662693f + Lg2 = reinterpret(0x3ECCCE13), // 0xccce13.0p-25f, 0.40000972152f + Lg3 = reinterpret(0x3E91E9EE), // 0x91e9ee.0p-25f, 0.28498786688f + Lg4 = reinterpret(0x3E789E26), // 0xf89e26.0p-26f, 0.24279078841f + Ox1p25f = reinterpret(0x4C000000); + var ix = reinterpret(x); + var k = 0; + if (ix < 0x00800000 || (ix >> 31)) { + if (ix << 1 == 0) return -1 / (x * x); + if (ix >> 31) return (x - x) / 0.0; + k -= 25; + x *= Ox1p25f; + ix = reinterpret(x); + } else if (ix >= 0x7F800000) return x; + else if (ix == 0x3F800000) return 0; + ix += 0x3F800000 - 0x3F3504F3; + k += (ix >> 23) - 0x7f; + ix = (ix & 0x007FFFFF) + 0x3F3504F3; + x = reinterpret(ix); + var f = x - 1.0; + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * Lg4); + var t2 = z * (Lg1 + w * Lg3); + var R = t2 + t1; + var hfsq: f32 = 0.5 * f * f; + var hi = f - hfsq; + ix = reinterpret(hi); + ix &= 0xFFFFF000; + hi = reinterpret(ix); + var lo = f - hi - hfsq + s * (hfsq + R); + var dk = k; + return dk * log10_2lo + (lo + hi) * ivln10lo + lo * ivln10hi + hi * ivln10hi + dk * log10_2hi; } - export function log1p(x: f32): f32 { - unreachable(); // TODO - return 0; + export function log1p(x: f32): f32 { // see: musl/src/math/log1pf.c and SUN COPYRIGHT NOTICE above + const + ln2_hi = reinterpret(0x3F317180), // 6.9313812256e-01 + ln2_lo = reinterpret(0x3717F7D1), // 9.0580006145e-06 + Lg1 = reinterpret(0x3F2AAAAA), // 0xaaaaaa.0p-24f, 0.66666662693f + Lg2 = reinterpret(0x3ECCCE13), // 0xccce13.0p-25f, 0.40000972152f + Lg3 = reinterpret(0x3E91E9EE), // 0x91e9ee.0p-25f, 0.28498786688f + Lg4 = reinterpret(0x3E789E26); // 0xf89e26.0p-26f, 0.24279078841f + var ix = reinterpret(x); + var c: f32 = 0, f: f32 = 0; + var k: i32 = 1; + if (ix < 0x3ED413D0 || (ix >> 31)) { + if (ix >= 0xBF800000) { + if (x == -1) return x / 0.0; + return (x - x) / 0.0; + } + if (ix << 1 < 0x33800000 << 1) return x; + if (ix <= 0xBE95F619) { + k = 0; + c = 0; + f = x; + } + } else if (ix >= 0x7F800000) return x; + if (k) { + let uf: f32 = 1 + x; + let iu = reinterpret(uf); + iu += 0x3F800000 - 0x3F3504F3; + k = (iu >> 23) - 0x7f; + if (k < 25) { + c = k >= 2 ? 1 - (uf - x) : x - (uf - 1); + c /= uf; + } else c = 0; + iu = (iu & 0x007FFFFF) + 0x3F3504F3; + f = reinterpret(iu) - 1; + } + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * Lg4); + var t2 = z * (Lg1 + w * Lg3); + var R = t2 + t1; + var hfsq: f32 = 0.5 * f * f; + var dk = k; + return s * (hfsq + R) + (dk * ln2_lo + c) - hfsq + f + dk * ln2_hi; } - export function log2(x: f32): f32 { - // return log(x) / LN2; - unreachable(); // TODO - return 0; + export function log2(x: f32): f32 { // see: musl/src/math/log2f.c and SUN COPYRIGHT NOTICE above + const + ivln2hi = reinterpret(0x3fb8b000), // 1.4428710938e+00f + ivln2lo = reinterpret(0xb9389ad4), // -1.7605285393e-04 + Lg1 = reinterpret(0x3F2AAAAA), // 0xaaaaaa.0p-24f, 0.66666662693f + Lg2 = reinterpret(0x3ECCCE13), // 0xccce13.0p-25f, 0.40000972152f + Lg3 = reinterpret(0x3E91E9EE), // 0x91e9ee.0p-25f, 0.28498786688f + Lg4 = reinterpret(0x3E789E26), // 0xf89e26.0p-26f, 0.24279078841f + Ox1p25f = reinterpret(0x4C000000); + var ix = reinterpret(x); + var k: i32 = 0; + if (ix < 0x00800000 || (ix >> 31)) { + if (ix << 1 == 0) return -1 / (x * x); + if (ix >> 31) return (x - x) / 0.0; + k -= 25; + x *= Ox1p25f; + ix = reinterpret(x); + } else if (ix >= 0x7f800000) return x; + else if (ix == 0x3f800000) return 0; + ix += 0x3F800000 - 0x3F3504F3; + k += (ix >> 23) - 0x7F; + ix = (ix & 0x007FFFFF) + 0x3F3504F3; + x = reinterpret(ix); + var f = x - 1.0; + var s = f / (2.0 + f); + var z = s * s; + var w = z * z; + var t1 = w * (Lg2 + w * Lg4); + var t2 = z * (Lg1 + w * Lg3); + var R = t2 + t1; + var hfsq: f32 = 0.5 * f * f; + var hi = f - hfsq; + var u = reinterpret(hi); + u &= 0xFFFFF000; + hi = reinterpret(u); + var lo: f32 = f - hi - hfsq + s * (hfsq + R); + var dk = k; + return (lo + hi) * ivln2lo + lo * ivln2hi + hi * ivln2hi + dk; } export function max(value1: f32, value2: f32): f32 { - return builtin_max(value1, value2); + return builtin_max(value1, value2); } export function min(value1: f32, value2: f32): f32 { - return builtin_min(value1, value2); + return builtin_min(value1, value2); } - export function pow(x: f32, y: f32): f32 { // based on musl's implementation of powf + export function pow(x: f32, y: f32): f32 { // see: musl/src/math/powf.c and SUN COPYRIGHT NOTICE above const - two24 = 16777216.0, // 0x4b800000 - huge = 1.0e30, - tiny = 1.0e-30, - // poly coefs for (3/2)*(log(x)-2s-2/3*s**3 - L1 = 6.0000002384e-01, // 0x3f19999a - L2 = 4.2857143283e-01, // 0x3edb6db7 - L3 = 3.3333334327e-01, // 0x3eaaaaab - L4 = 2.7272811532e-01, // 0x3e8ba305 - L5 = 2.3066075146e-01, // 0x3e6c3255 - L6 = 2.0697501302e-01, // 0x3e53f142 - P1 = 1.6666667163e-01, // 0x3e2aaaab - P2 = -2.7777778450e-03, // 0xbb360b61 - P3 = 6.6137559770e-05, // 0x388ab355 - P4 = -1.6533901999e-06, // 0xb5ddea0e - P5 = 4.1381369442e-08, // 0x3331bb4c - lg2 = 6.9314718246e-01, // 0x3f317218 - lg2_h = 6.93145752e-01, // 0x3f317200 - lg2_l = 1.42860654e-06, // 0x35bfbe8c - ovt = 4.2995665694e-08, // -(128-log2(ovfl+.5ulp)) - cp = 9.6179670095e-01, // 0x3f76384f =2/(3ln2) - cp_h = 9.6191406250e-01, // 0x3f764000 =12b cp - cp_l = -1.1736857402e-04, // 0xb8f623c6 =tail of cp_h - ivln2 = 1.4426950216e+00, // 0x3fb8aa3b =1/ln2 - ivln2_h = 1.4426879883e+00, // 0x3fb8aa00 =16b 1/ln2 - ivln2_l = 7.0526075433e-06; // 0x36eca570 =1/ln2 tail - - var hx = reinterpret(x); // GET_FLOAT_WORD(hx, x) - var hy = reinterpret(y); // GET_FLOAT_WORD(hy, y) - var ix = hx & 0x7fffffff; - var iy = hy & 0x7fffffff; - - // x**0 = 1, even if x is NaN + dp_h1 = reinterpret(0x3F15C000), // 5.84960938e-01f + dp_l1 = reinterpret(0x35D1CFDC), // 1.56322085e-06f + two24 = reinterpret(0x4B800000), // 16777216f + huge = reinterpret(0x7149F2CA), // 1.0e+30f + tiny = reinterpret(0x0DA24260), // 1.0e-30f + L1 = reinterpret(0x3F19999A), // 6.0000002384e-01f + L2 = reinterpret(0x3EDB6DB7), // 4.2857143283e-01f + L3 = reinterpret(0x3EAAAAAB), // 3.3333334327e-01f + L4 = reinterpret(0x3E8bA305), // 2.7272811532e-01f + L5 = reinterpret(0x3E6C3255), // 2.3066075146e-01f + L6 = reinterpret(0x3E53F142), // 2.0697501302e-01f + P1 = reinterpret(0x3E2AAAAB), // 1.6666667163e-01f + P2 = reinterpret(0xBB360B61), // -2.7777778450e-03f + P3 = reinterpret(0x388AB355), // 6.6137559770e-05f + P4 = reinterpret(0xB5DDEA0E), // -1.6533901999e-06f + P5 = reinterpret(0x3331BB4C), // 4.1381369442e-08f + lg2 = reinterpret(0x3F317218), // 6.9314718246e-01f + lg2_h = reinterpret(0x3F317200), // 6.93145752e-01f + lg2_l = reinterpret(0x35BFBE8C), // 1.42860654e-06f + ovt = reinterpret(0x3338AA3C), // 4.2995665694e-08f + cp = reinterpret(0x3F76384F), // 9.6179670095e-01 + cp_h = reinterpret(0x3F764000), // 9.6191406250e-01 + cp_l = reinterpret(0xB8F623C6), // -1.1736857402e-04 + ivln2 = reinterpret(0x3FB8AA3b), // 1.4426950216e+00 + ivln2_h = reinterpret(0x3FB8AA00), // 1.4426879883e+00 + ivln2_l = reinterpret(0x36ECA570); // 7.0526075433e-06 + var hx = reinterpret(x); + var hy = reinterpret(y); + var ix = hx & 0x7FFFFFFF; + var iy = hy & 0x7FFFFFFF; if (iy == 0) return 1.0; - // 1**y = 1, even if y is NaN - if (hx == 0x3f800000) return 1.0; - // NaN if either arg is NaN - if (ix > 0x7f800000 || iy > 0x7f800000) return x + y; - - // determine if y is an odd int when x < 0 - // yisint = 0 ... y is not an integer - // yisint = 1 ... y is an odd int - // yisint = 2 ... y is an even int + if (hx == 0x3F800000) return 1.0; + if (ix > 0x7F800000 || iy > 0x7F800000) return x + y; var yisint = 0, j: i32, k: i32; if (hx < 0) { - if (iy >= 0x4b800000) yisint = 2; // even integer y - else if (iy >= 0x3f800000) { - k = (iy >> 23) - 0x7f; // exponent + if (iy >= 0x4B800000) yisint = 2; + else if (iy >= 0x3F800000) { + k = (iy >> 23) - 0x7F; j = iy >> (23 - k); if ((j << (23 - k)) == iy) yisint = 2 - (j & 1); } } - - // special value of y - if (iy == 0x7f800000) { // y is +-inf - if (ix == 0x3f800000) return 1.0; // (-1)**+-inf is 1 - else if (ix > 0x3f800000) return hy >= 0 ? y : 0.0; // (|x|>1)**+-inf = inf,0 - else return hy >= 0 ? 0.0 : -y; // (|x|<1)**+-inf = 0,inf + if (iy == 0x7F800000) { + if (ix == 0x3F800000) return 1.0; + else if (ix > 0x3F800000) return hy >= 0 ? y : 0.0; + else return hy >= 0 ? 0.0 : -y; } - if (iy == 0x3f800000) return hy >= 0 ? x : 1.0 / x; // y is +-1 - if (hy == 0x40000000) return x * x; // y is 2 - if (hy == 0x3f000000) { // y is 0.5 - if (hx >= 0) return builtin_sqrt(x); // x >= +0 + if (iy == 0x3F800000) return hy >= 0 ? x : 1.0 / x; + if (hy == 0x40000000) return x * x; + if (hy == 0x3F000000) { + if (hx >= 0) return builtin_sqrt(x); } - - var ax = builtin_abs(x); - // special value of x + var ax = builtin_abs(x); var z: f32; - if (ix == 0x7f800000 || ix == 0 || ix == 0x3f800000) { // x is +-0,+-inf,+-1 + if (ix == 0x7F800000 || ix == 0 || ix == 0x3F800000) { z = ax; - if (hy < 0) z = 1.0 / z; // z = (1/|x|) + if (hy < 0) z = 1.0 / z; if (hx < 0) { - if (((ix - 0x3f800000) | yisint) == 0) z = (z - z) / (z - z); // (-1)**non-int is NaN - else if (yisint == 1) z = -z; // (x<0)**odd = -(|x|**odd) + if (((ix - 0x3F800000) | yisint) == 0) z = (z - z) / (z - z); + else if (yisint == 1) z = -z; } return z; } - - var sn = 1.0; // sign of result + var sn = 1.0; if (hx < 0) { - if (yisint == 0) return (x - x) / (x - x); // (x<0)**(non-int) is NaN - if (yisint == 1) sn = -1.0; // (x<0)**(odd int) + if (yisint == 0) return (x - x) / (x - x); + if (yisint == 1) sn = -1.0; } - - // |y| is huge var t1: f32, t2: f32, r: f32, s: f32, t: f32, u: f32, v: f32, w: f32, p_h: f32, p_l: f32; var n: i32, is: i32; - if (iy > 0x4d000000) { // if |y| > 2**27 - // over/underflow if x is not close to one - if (ix < 0x3f7ffff8) return hy < 0 ? sn * huge * huge : sn * tiny * tiny; - if (ix > 0x3f800007) return hy > 0 ? sn * huge * huge : sn * tiny * tiny; - // now |1-x| is tiny <= 2**-20, suffice to compute - // log(x) by x-x^2/2+x^3/3-x^4/4 - t = ax - 1; // t has 20 trailing zeros + if (iy > 0x4D000000) { + if (ix < 0x3F7FFFF8) return hy < 0 ? sn * huge * huge : sn * tiny * tiny; + if (ix > 0x3F800007) return hy > 0 ? sn * huge * huge : sn * tiny * tiny; + t = ax - 1; w = (t * t) * (0.5 - t * (0.333333333333 - t * 0.25)); - u = ivln2_h * t; // ivln2_h has 16 sig. bits + u = ivln2_h * t; v = t * ivln2_l - w * ivln2; t1 = u + v; - is = reinterpret(t1); // GET_FLOAT_WORD(is, t1) - t1 = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(t1, is & 0xfffff000) + is = reinterpret(t1); + t1 = reinterpret(is & 0xFFFFF000); t2 = v - (t1 - u); } else { let s2: f32, s_h: f32, s_l: f32, t_h: f32, t_l: f32; n = 0; - // take care subnormal number if (ix < 0x00800000) { ax *= two24; n -= 24; - ix = reinterpret(ax); // GET_FLOAT_WORD(ix, ax) + ix = reinterpret(ax); } - n += (ix >> 23) - 0x7f; - j = ix & 0x007fffff; - // determine interval - ix = j | 0x3f800000; // normalize ix - if (j <= 0x1cc471) k = 0; // |x|> 23) - 0x7F; + j = ix & 0x007FFFFF; + ix = j | 0x3F800000; + if (j <= 0x1CC471) k = 0; + else if (j < 0x5DB3D7) k = 1; else { k = 0; n += 1; ix -= 0x00800000; } - ax = reinterpret(ix); // SET_FLOAT_WORD(ax, ix) - - // compute s = s_h+s_l = (x-1)/(x+1) or (x-1.5)/(x+1.5) - let bp = select(1.5, 1.0, k); // bp[k], [1.0, 1.5] + ax = reinterpret(ix); + let bp = select(1.5, 1.0, k); u = ax - bp; v = 1.0 / (ax + bp); s = u * v; s_h = s; - is = reinterpret(s_h); // GET_FLOAT_WORD(is, s_h) - s_h = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(s_h, is & 0xfffff000) - // t_h=ax+bp[k] High - is = ((ix >> 1) & 0xfffff000) | 0x20000000; - t_h = reinterpret(is + 0x00400000 + (k << 21)); // SET_FLOAT_WORD(t_h, is + 0x00400000 + (k<<21)) + is = reinterpret(s_h); + s_h = reinterpret(is & 0xFFFFF000); + is = ((ix >> 1) & 0xFFFFF000) | 0x20000000; + t_h = reinterpret(is + 0x00400000 + (k << 21)); t_l = ax - (t_h - bp); s_l = v * ((u - s_h * t_h) - s_h * t_l); - // compute log(ax) s2 = s * s; r = s2 * s2 * (L1 + s2 * (L2 + s2 * (L3 + s2 * (L4 + s2 * (L5 + s2 * L6))))); r += s_l * (s_h + s); s2 = s_h * s_h; t_h = 3.0 + s2 + r; - is = reinterpret(t_h); // GET_FLOAT_WORD(is, t_h) - t_h = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(t_h, is & 0xfffff000) + is = reinterpret(t_h); + t_h = reinterpret(is & 0xFFFFF000); t_l = r - ((t_h - 3.0) - s2); - // u+v = s*(1+...) u = s_h * t_h; v = s_l * t_h + t_l * s; - // 2/(3log2)*(s+...) p_h = u + v; - is = reinterpret(p_h); // GET_FLOAT_WORD(is, p_h) - p_h = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(p_h, is & 0xfffff000) + is = reinterpret(p_h); + p_h = reinterpret(is & 0xFFFFF000); p_l = v - (p_h - u); - let z_h = cp_h * p_h; // cp_h+cp_l = 2/(3*log2) - let dp_l = select(1.56322085e-06, 0.0, k); // dp_l[k], [0.0, 1.56322085e-06] + let z_h = cp_h * p_h; + let dp_l = select(dp_l1, 0.0, k); let z_l = cp_l * p_h + p_l * cp + dp_l; - // log2(ax) = (s+..)*2/(3*log2) = n + dp_h + z_h + z_l t = n; - let dp_h = select(5.84960938e-01, 0.0, k); // dp_h[k], [0.0, 5.84960938e-01] + let dp_h = select(dp_h1, 0.0, k); t1 = (((z_h + z_l) + dp_h) + t); - is = reinterpret(t1); // GET_FLOAT_WORD(is, t1) - t1 = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(t1, is & 0xfffff000) + is = reinterpret(t1); + t1 = reinterpret(is & 0xFFFFF000); t2 = z_l - (((t1 - t) - dp_h) - z_h); } - - // split up y into y1+y2 and compute (y1+y2)*(t1+t2) - is = reinterpret(y); // GET_FLOAT_WORD(is, y) - var y1 = reinterpret(is & 0xfffff000); // SET_FLOAT_WORD(y1, is & 0xfffff000) + is = reinterpret(y); + var y1 = reinterpret(is & 0xFFFFF000); p_l = (y - y1) * t1 + y * t2; p_h = y1 * t1; z = p_l + p_h; - j = reinterpret(z); // GET_FLOAT_WORD(j, z) - if (j > 0x43000000) { // if z > 128, overflow + j = reinterpret(z); + if (j > 0x43000000) { return sn * huge * huge; - } else if (j == 0x43000000) { // if z == 128 - if (p_l + ovt > z - p_h) return sn * huge * huge; // overflow - } else if ((j & 0x7fffffff) > 0x43160000) { // z < -150, FIXME: check should be (uint32_t)j > 0xc3160000 - return sn * tiny * tiny; // underflow - } else if (j == 0xc3160000) { // z == -150 - if (p_l <= z - p_h) return sn * tiny * tiny; // underflow + } else if (j == 0x43000000) { + if (p_l + ovt > z - p_h) return sn * huge * huge; + } else if ((j & 0x7FFFFFFF) > 0x43160000) { + return sn * tiny * tiny; + } else if (j == 0xC3160000) { + if (p_l <= z - p_h) return sn * tiny * tiny; } - - // compute 2**(p_h+p_l) - var i = j & 0x7fffffff; - k = (i >> 23) - 0x7f; + var i = j & 0x7FFFFFFF; + k = (i >> 23) - 0x7F; n = 0; - if (i > 0x3f000000) { // if |z| > 0.5, set n = [z+0.5] + if (i > 0x3F000000) { n = j + (0x00800000 >> (k + 1)); - k = ((n & 0x7fffffff) >> 23) - 0x7f; // new k for n - t = reinterpret(n & ~(0x007fffff >> k)); // SET_FLOAT_WORD(t, n & ~(0x007fffff>>k)) - n = ((n & 0x007fffff) | 0x00800000) >> (23 - k); + k = ((n & 0x7FFFFFFF) >> 23) - 0x7F; + t = reinterpret(n & ~(0x007FFFFF >> k)); + n = ((n & 0x007FFFFF) | 0x00800000) >> (23 - k); if (j < 0) n = -n; p_h -= t; } t = p_l + p_h; - is = reinterpret(t); // GET_FLOAT_WORD(is, t) - t = reinterpret(is & 0xffff8000); // SET_FLOAT_WORD(t, is & 0xffff8000); + is = reinterpret(t); + t = reinterpret(is & 0xFFFF8000); u = t * lg2_h; v = (p_l - (t - p_h)) * lg2 + t * lg2_l; z = u + v; @@ -1147,10 +2014,10 @@ export namespace NativeMathf { t1 = z - t * (P1 + t * (P2 + t * (P3 + t * (P4 + t * P5)))); r = (z * t1) / (t1 - 2.0) - (w + z * w); z = 1.0 - (r - z); - j = reinterpret(z); // GET_FLOAT_WORD(j, z) + j = reinterpret(z); j += n << 23; - if ((j >> 23) <= 0) z = scalbn(z, n); // subnormal output - else z = reinterpret(j); // SET_FLOAT_WORD(z, j) + if ((j >> 23) <= 0) z = scalbn(z, n); + else z = reinterpret(j); return sn * z; } @@ -1159,7 +2026,7 @@ export namespace NativeMathf { } export function round(x: f32): f32 { - return builtin_nearest(x); + return builtin_nearest(x); } export function sign(x: f32): f32 { @@ -1171,13 +2038,35 @@ export namespace NativeMathf { return 0; } - export function sinh(x: f32): f32 { - unreachable(); // TODO - return 0; + function __expo2(x: f32): f32 { // see: musl/src/math/__expo2f.c + const + k = 235, + kln2 = reinterpret(0x4322E3BC); // 0x1.45c778p+7f + var scale = reinterpret((0x7F + k / 2) << 23); + return exp(x - kln2) * scale * scale; +} + + export function sinh(x: f32): f32 { // see: musl/src/math/sinhf.c + var u = reinterpret(x); + var h: f32 = 0.5; + if (u >> 31) h = -h; + u &= 0x7FFFFFFF; + var absx = reinterpret(u); + var t: f32; + if (u < 0x42b17217) { + t = expm1(absx); + if (u < 0x3F800000) { + if (u < 0x3F800000 - (12 << 23)) return x; + return h * (2 * t - t * t / (t + 1)); + } + return h * (t + t / (t + 1)); + } + t = 2 * h * __expo2(absx); + return t; } export function sqrt(x: f32): f32 { - return builtin_sqrt(x); + return builtin_sqrt(x); } export function tan(x: f32): f32 { @@ -1185,20 +2074,37 @@ export namespace NativeMathf { return 0; } - export function tanh(x: f32): f32 { - unreachable(); // TODO - return 0; + export function tanh(x: f32): f32 { // see: musl/src/math/tanhf.c + var u = reinterpret(x); + var sig = u >> 31; + u &= 0x7FFFFFFF; + x = reinterpret(u); + var t: f32; + if (u > 0x3F0C9F54) { + if (u > 0x41200000) t = 1 + 0 / x; + else { + t = expm1(2 * x); + t = 1 - 2 / (t + 2); + } + } else if (u > 0x3E82C578) { + t = expm1(2 * x); + t = t / (t + 2); + } else if (u >= 0x00800000) { + t = expm1(-2 * x); + t = -t / (t + 2); + } else t = x; + return sig ? -t : t; } export function trunc(x: f32): f32 { - return builtin_trunc(x); + return builtin_trunc(x); } - function scalbn(x: f32, n: i32): f32 { // based on musl's implementation of scalbnf + /** @internal */ + export function scalbn(x: f32, n: i32): f32 { // see: musl/src/math/scalbnf.c const - Ox1p127f = 1.701411835e+38, - Ox1p_126f = 1.175494351e-38; - + Ox1p127f = reinterpret(0x7F000000), + Ox1p_126f = reinterpret(0x00800000); var y = x; if (n > 127) { y *= Ox1p127f; @@ -1217,6 +2123,6 @@ export namespace NativeMathf { if (n < -126) n = -126; } } - return y * reinterpret((0x7f + n) << 23); + return y * reinterpret((0x7F + n) << 23); } } diff --git a/std/assembly/string.ts b/std/assembly/string.ts index a0bc9086c3..0c52d2c1c7 100644 --- a/std/assembly/string.ts +++ b/std/assembly/string.ts @@ -444,6 +444,7 @@ function parse(str: String, radix: i32 = 0): T { return sign * num; } +// FIXME: naive implementation export function parseFloat(str: String): f64 { var len: i32 = str.length; if (!len) { diff --git a/tests/compiler.js b/tests/compiler.js index ea58798557..66b77db32b 100644 --- a/tests/compiler.js +++ b/tests/compiler.js @@ -113,7 +113,7 @@ tests.forEach(filename => { let exports = new WebAssembly.Instance(new WebAssembly.Module(stdout.toBuffer()), { env: { abort: function(msg, file, line, column) { - // TODO + console.log("abort called at " + line + ":" + column); }, externalFunction: function() { }, externalConstant: 1, diff --git a/tests/compiler/builtins.untouched.wat b/tests/compiler/builtins.untouched.wat index 775a28124e..0743b74526 100644 --- a/tests/compiler/builtins.untouched.wat +++ b/tests/compiler/builtins.untouched.wat @@ -2,6 +2,8 @@ (type $iiiiv (func (param i32 i32 i32 i32))) (type $i (func (result i32))) (type $v (func)) + (type $f (func (result f32))) + (type $F (func (result f64))) (type $FFF (func (param f64 f64) (result f64))) (type $fff (func (param f32 f32) (result f32))) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) diff --git a/tests/compiler/showcase.untouched.wat b/tests/compiler/showcase.untouched.wat index 8582e03d52..5b97eb79c3 100644 --- a/tests/compiler/showcase.untouched.wat +++ b/tests/compiler/showcase.untouched.wat @@ -1,6 +1,8 @@ (module (type $iiiiv (func (param i32 i32 i32 i32))) (type $i (func (result i32))) + (type $f (func (result f32))) + (type $F (func (result f64))) (type $FFF (func (param f64 f64) (result f64))) (type $fff (func (param f32 f32) (result f32))) (type $ii (func (param i32) (result i32))) diff --git a/tests/compiler/std/libm.optimized.wat b/tests/compiler/std/libm.optimized.wat new file mode 100644 index 0000000000..0f50855df7 --- /dev/null +++ b/tests/compiler/std/libm.optimized.wat @@ -0,0 +1,5942 @@ +(module + (type $FF (func (param f64) (result f64))) + (type $FFF (func (param f64 f64) (result f64))) + (type $FiF (func (param f64 i32) (result f64))) + (type $Ff (func (param f64) (result f32))) + (global $std/libm/E f64 (f64.const 2.718281828459045)) + (global $std/libm/LN10 f64 (f64.const 2.302585092994046)) + (global $std/libm/LN2 f64 (f64.const 0.6931471805599453)) + (global $std/libm/LOG10E f64 (f64.const 0.4342944819032518)) + (global $std/libm/LOG2E f64 (f64.const 1.4426950408889634)) + (global $std/libm/PI f64 (f64.const 3.141592653589793)) + (global $std/libm/SQRT1_2 f64 (f64.const 0.7071067811865476)) + (global $std/libm/SQRT2 f64 (f64.const 1.4142135623730951)) + (memory $0 1) + (export "E" (global $std/libm/E)) + (export "LN10" (global $std/libm/LN10)) + (export "LN2" (global $std/libm/LN2)) + (export "LOG10E" (global $std/libm/LOG10E)) + (export "LOG2E" (global $std/libm/LOG2E)) + (export "PI" (global $std/libm/PI)) + (export "SQRT1_2" (global $std/libm/SQRT1_2)) + (export "SQRT2" (global $std/libm/SQRT2)) + (export "abs" (func $std/libm/abs)) + (export "acos" (func $std/libm/acos)) + (export "acosh" (func $std/libm/acosh)) + (export "asin" (func $std/libm/asin)) + (export "asinh" (func $std/libm/asinh)) + (export "atan" (func $std/libm/atan)) + (export "atanh" (func $std/libm/atanh)) + (export "atan2" (func $std/libm/atan2)) + (export "cbrt" (func $std/libm/cbrt)) + (export "ceil" (func $std/libm/ceil)) + (export "clz32" (func $std/libm/clz32)) + (export "cos" (func $std/libm/cos)) + (export "cosh" (func $std/libm/cosh)) + (export "exp" (func $std/libm/exp)) + (export "expm1" (func $std/libm/expm1)) + (export "floor" (func $std/libm/floor)) + (export "fround" (func $std/libm/fround)) + (export "hypot" (func $std/libm/hypot)) + (export "imul" (func $std/libm/imul)) + (export "log" (func $std/libm/log)) + (export "log10" (func $std/libm/log10)) + (export "log1p" (func $std/libm/log1p)) + (export "log2" (func $std/libm/log2)) + (export "max" (func $std/libm/max)) + (export "min" (func $std/libm/min)) + (export "pow" (func $std/libm/pow)) + (export "round" (func $std/libm/round)) + (export "sign" (func $std/libm/sign)) + (export "sin" (func $std/libm/cos)) + (export "sinh" (func $std/libm/sinh)) + (export "sqrt" (func $std/libm/sqrt)) + (export "tan" (func $std/libm/cos)) + (export "tanh" (func $std/libm/tanh)) + (export "trunc" (func $std/libm/trunc)) + (export "memory" (memory $0)) + (func "$(lib)/math/NativeMath.abs" (; 0 ;) (type $FF) (param $0 f64) (result f64) + (f64.abs + (get_local $0) + ) + ) + (func $std/libm/abs (; 1 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 2 ;) (type $FF) (param $0 f64) (result f64) + (f64.div + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.acos" (; 3 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 i32) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1072693248) + ) + (block + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + ) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 1012924416) + ) + (return + (f64.const 1.5707963267948966) + ) + ) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) + ) + ) + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.const 6.123233995736766e-17) + ) + ) + ) + ) + ) + ) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (f64.add + (get_local $1) + (get_local $3) + ) + ) + ) + ) + ) + ) + (func $std/libm/acos (; 4 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.acos" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 5 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 i64) + (local $8 f64) + (set_local $2 + (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1071284858) + ) + ) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.ge_u + (get_local $3) + (i32.const -1074790400) + ) + (block + (if + (f64.eq + (get_local $0) + (f64.const -1) + ) + (return + (f64.div + (get_local $0) + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + ) + (if + (i32.lt_u + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 2034237440) + ) + (return + (get_local $0) + ) + ) + (if + (i32.le_u + (get_local $3) + (i32.const -1076707644) + ) + (block + (set_local $2 + (i32.const 0) + ) + (set_local $1 + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $2) + (block + (set_local $5 + (if (result f64) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (i32.const 54) + ) + (f64.div + (select + (f64.sub + (f64.const 1) + (f64.sub + (tee_local $1 + (f64.reinterpret/i64 + (get_local $7) + ) + ) + (get_local $0) + ) + ) + (f64.sub + (get_local $0) + (f64.sub + (get_local $1) + (f64.const 1) + ) + ) + (i32.ge_s + (get_local $2) + (i32.const 2) + ) + ) + (get_local $1) + ) + (f64.const 0) + ) + ) + (set_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $7) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $4 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $8) + ) + ) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $4) + (f64.add + (tee_local $4 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $1) + ) + (get_local $1) + ) + ) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.add + (f64.mul + (tee_local $0 + (f64.convert_s/i32 + (get_local $2) + ) + ) + (f64.const 1.9082149292705877e-10) + ) + (get_local $5) + ) + ) + (get_local $4) + ) + (get_local $1) + ) + (f64.mul + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + ) + (func "$(lib)/math/NativeMath.log" (; 6 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1048576) + ) + ) + (get_local $5) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 54) + ) + ) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $1) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $3) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $5) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $4 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $3) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + (get_local $4) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $4) + (f64.add + (f64.const 2) + (get_local $4) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $8) + ) + ) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + (get_local $6) + ) + (get_local $4) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (func "$(lib)/math/NativeMath.acosh" (; 7 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (if + (i64.lt_u + (tee_local $1 + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (i64.const 1024) + ) + (return + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sqrt + (f64.add + (f64.mul + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i64.lt_u + (get_local $1) + (i64.const 1049) + ) + (return + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (func $std/libm/acosh (; 8 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 9 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1072693248) + ) + (block + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.const 7.52316384526264e-37) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f64.sqrt + (tee_local $1 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) + ) + ) + (f64.const 0.5) + ) + ) + ) + ) + (set_local $4 + (call "$(lib)/math/NativeMath.__R" + (get_local $1) + ) + ) + (set_local $0 + (if (result f64) + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (get_local $4) + ) + ) + ) + (f64.const 6.123233995736766e-17) + ) + ) + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $4) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (f64.div + (f64.sub + (get_local $1) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const -4294967296) + ) + ) + ) + (get_local $1) + ) + ) + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (f64.sub + (f64.const 0.7853981633974483) + (f64.mul + (f64.const 2) + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) + ) + ) + ) + (get_local $0) + ) + (func $std/libm/asin (; 10 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.asin" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.asinh" (; 11 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (set_local $1 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1049) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1024) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 997) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (i64.ne + (get_local $3) + (i64.const 0) + ) + ) + ) + (func $std/libm/asinh (; 12 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 13 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (set_local $4 + (i32.shr_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (i32.const 1141899264) + ) + (block + (if + (f64.ne + (tee_local $1 + (get_local $0) + ) + (get_local $1) + ) + (return + (get_local $0) + ) + ) + (return + (select + (f64.neg + (tee_local $1 + (f64.const 1.5707963267948966) + ) + ) + (get_local $1) + (get_local $4) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1071382528) + ) + (block + (if + (i32.lt_u + (get_local $3) + (i32.const 1044381696) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f64.abs + (get_local $0) + ) + ) + (set_local $0 + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072889856) + ) + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072037888) + ) + (block (result f64) + (set_local $3 + (i32.const 0) + ) + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) + (get_local $0) + ) + ) + ) + (block (result f64) + (set_local $3 + (i32.const 1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) + ) + ) + ) + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1073971200) + ) + (block (result f64) + (set_local $3 + (i32.const 2) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) + ) + ) + ) + ) + (block (result f64) + (set_local $3 + (i32.const 3) + ) + (f64.div + (f64.const -1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.mul + (tee_local $1 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (get_local $1) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.3333333333333293) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.14285714272503466) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $2) + (f64.const 0.016285820115365782) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.19999999999876483) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.0769187620504483) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $2) + (f64.const -0.036531572744216916) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sub + (get_local $0) + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (block $tablify|0 + (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 + (get_local $3) + ) + ) + (br $case4|0) + ) + (set_local $1 + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 2.2698777452961687e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + (set_local $1 + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 3.061616997868383e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + (set_local $1 + (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 1.3903311031230998e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + (set_local $1 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 6.123233995736766e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + (unreachable) + ) + (select + (f64.neg + (get_local $1) + ) + (get_local $1) + (get_local $4) + ) + ) + (func $std/libm/atan (; 14 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.atanh" (; 15 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (set_local $2 + (i64.and + (i64.shr_u + (tee_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + ) + (if + (i64.lt_u + (get_local $2) + (i64.const 1022) + ) + (if + (i64.ge_u + (get_local $2) + (i64.const 991) + ) + (set_local $0 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.mul + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $0) + ) + (f64.sub + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.mul + (f64.const 2) + (f64.div + (get_local $0) + (f64.sub + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (i64.ne + (get_local $3) + (i64.const 0) + ) + ) + ) + (func $std/libm/atanh (; 16 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.atanh" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.atan2" (; 17 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 f64) + (local $7 i64) + (local $8 i32) + (block $folding-inner0 + (if + (i32.and + (if (result i32) + (tee_local $2 + (f64.ne + (tee_local $6 + (get_local $1) + ) + (get_local $6) + ) + ) + (get_local $2) + (f64.ne + (tee_local $6 + (get_local $0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $1) + (get_local $0) + ) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $8 + (i32.wrap/i64 + (get_local $7) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $3) + (i32.const 1072693248) + ) + (get_local $8) + ) + ) + (return + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + ) + (set_local $5 + (i32.or + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 30) + ) + (i32.const 2) + ) + ) + ) + (set_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $4 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (i32.wrap/i64 + (get_local $7) + ) + ) + ) + (block $break|0 + (block $case3|0 + (block $case2|0 + (if + (i32.eqz + (i32.or + (i32.eqz + (tee_local $2 + (get_local $5) + ) + ) + (i32.eq + (get_local $2) + (i32.const 1) + ) + ) + ) + (block + (br_if $case2|0 + (i32.eq + (get_local $2) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $2) + (i32.const 3) + ) + ) + (br $break|0) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.const -3.141592653589793) + ) + ) + ) + (br_if $folding-inner0 + (i32.eqz + (i32.or + (get_local $3) + (get_local $8) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 2146435072) + ) + (if + (i32.eq + (get_local $4) + (i32.const 2146435072) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (block $tablify|0 + (br_table $case0|1 $case1|1 $case2|1 $case3|1 $tablify|0 + (get_local $5) + ) + ) + (br $break|1) + ) + (return + (f64.const 0.7853981633974483) + ) + ) + (return + (f64.const -0.7853981633974483) + ) + ) + (return + (f64.const 2.356194490192345) + ) + ) + (return + (f64.const -2.356194490192345) + ) + ) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (block $tablify|00 + (br_table $case0|2 $case1|2 $case2|2 $case3|2 $tablify|00 + (get_local $5) + ) + ) + (br $break|2) + ) + (return + (f64.const 0) + ) + ) + (return + (f64.const -0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.const -3.141592653589793) + ) + ) + ) + ) + (br_if $folding-inner0 + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (i32.add + (get_local $3) + (i32.const 67108864) + ) + (get_local $4) + ) + ) + (get_local $2) + (i32.eq + (get_local $4) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (set_local $0 + (if (result f64) + (if (result i32) + (tee_local $2 + (i32.and + (get_local $5) + (i32.const 2) + ) + ) + (i32.lt_u + (i32.add + (get_local $4) + (i32.const 67108864) + ) + (get_local $3) + ) + (get_local $2) + ) + (f64.const 0) + (call "$(lib)/math/NativeMath.atan" + (f64.abs + (f64.div + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (block $tablify|01 + (br_table $case0|3 $case1|3 $case2|3 $case3|3 $tablify|01 + (get_local $5) + ) + ) + (br $break|3) + ) + (return + (get_local $0) + ) + ) + (return + (f64.neg + (get_local $0) + ) + ) + ) + (return + (f64.sub + (f64.const 3.141592653589793) + (f64.sub + (get_local $0) + (f64.const 1.2246467991473532e-16) + ) + ) + ) + ) + (return + (f64.sub + (f64.sub + (get_local $0) + (f64.const 1.2246467991473532e-16) + ) + (f64.const 3.141592653589793) + ) + ) + ) + (unreachable) + ) + (select + (f64.const -1.5707963267948966) + (f64.const 1.5707963267948966) + (i32.and + (get_local $5) + (i32.const 1) + ) + ) + ) + (func $std/libm/atan2 (; 18 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.atan2" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.cbrt" (; 19 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i64) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 2146435072) + ) + (return + (f64.add + (get_local $0) + (get_local $0) + ) + ) + ) + (set_local $3 + (if (result i32) + (i32.lt_u + (get_local $3) + (i32.const 1048576) + ) + (block (result i32) + (if + (i32.eqz + (tee_local $3 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + ) + (return + (get_local $0) + ) + ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) + ) + (i32.const 696219795) + ) + ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) + ) + (i32.const 715094163) + ) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.or + (i64.and + (get_local $4) + (i64.const -9223372036854775808) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $3) + ) + (i64.const 32) + ) + ) + ) + ) + (get_local $1) + ) + (f64.div + (get_local $1) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (tee_local $2 + (f64.div + (get_local $0) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.add + (i64.reinterpret/f64 + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.const 1.87595182427177) + (f64.mul + (get_local $2) + (f64.add + (f64.const -1.8849797954337717) + (f64.mul + (get_local $2) + (f64.const 1.6214297201053545) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.mul + (get_local $2) + (get_local $2) + ) + (get_local $2) + ) + (f64.add + (f64.const -0.758397934778766) + (f64.mul + (get_local $2) + (f64.const 0.14599619288661245) + ) + ) + ) + ) + ) + ) + (i64.const 2147483648) + ) + (i64.const -1073741824) + ) + ) + ) + (get_local $1) + ) + ) + ) + (get_local $1) + ) + (f64.add + (f64.add + (get_local $1) + (get_local $1) + ) + (get_local $2) + ) + ) + ) + (f64.add + (get_local $1) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (func $std/libm/cbrt (; 20 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.cbrt" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.ceil" (; 21 ;) (type $FF) (param $0 f64) (result f64) + (f64.ceil + (get_local $0) + ) + ) + (func $std/libm/ceil (; 22 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.ceil" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.clz32" (; 23 ;) (type $FF) (param $0 f64) (result f64) + (f64.convert_s/i32 + (i32.clz + (i32.trunc_s/f64 + (get_local $0) + ) + ) + ) + ) + (func $std/libm/clz32 (; 24 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.clz32" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.cos" (; 25 ;) (type $FF) (param $0 f64) (result f64) + (unreachable) + ) + (func $std/libm/cos (; 26 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.cos" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.expm1" (; 27 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 i64) + (local $7 i32) + (local $8 f64) + (set_local $7 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + (i64.const 2147483647) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $6) + (i64.const 63) + ) + ) + ) + (if + (i32.ge_u + (get_local $7) + (i32.const 1078159482) + ) + (block + (if + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $5) + (return + (f64.const -1) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $7) + (i32.const 1071001154) + ) + (block + (if + (i32.lt_u + (get_local $7) + (i32.const 1072734898) + ) + (set_local $3 + (if (result f64) + (get_local $5) + (block (result f64) + (set_local $1 + (f64.const -1.9082149292705877e-10) + ) + (set_local $2 + (i32.const -1) + ) + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (block (result f64) + (set_local $1 + (f64.const 1.9082149292705877e-10) + ) + (set_local $2 + (i32.const 1) + ) + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + ) + ) + (block + (set_local $3 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $1 + (f64.convert_s/i32 + (tee_local $2 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (select + (f64.const -0.5) + (f64.const 0.5) + (get_local $5) + ) + ) + ) + ) + ) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $8 + (f64.sub + (f64.sub + (get_local $3) + (tee_local $0 + (f64.sub + (get_local $3) + (get_local $1) + ) + ) + ) + (get_local $1) + ) + ) + ) + (if + (i32.lt_u + (get_local $7) + (i32.const 1016070144) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $1 + (f64.sub + (f64.const 3) + (f64.mul + (tee_local $3 + (f64.add + (f64.const 1) + (f64.mul + (tee_local $4 + (f64.mul + (get_local $0) + (tee_local $1 + (f64.mul + (f64.const 0.5) + (get_local $0) + ) + ) + ) + ) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $4) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $4) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $4) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $4) + (f64.const -2.0109921818362437e-07) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (get_local $1) + ) + ) + ) + (set_local $1 + (f64.mul + (get_local $4) + (f64.div + (f64.sub + (get_local $3) + (get_local $1) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $2) + ) + (return + (f64.sub + (get_local $0) + (f64.sub + (f64.mul + (get_local $0) + (get_local $1) + ) + (get_local $4) + ) + ) + ) + ) + (set_local $1 + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.sub + (get_local $1) + (get_local $8) + ) + ) + (get_local $8) + ) + (get_local $4) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + (f64.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 1) + ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) + ) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $1) + (f64.add + (get_local $0) + (f64.const 0.5) + ) + ) + ) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 1023) + ) + (i64.const 52) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + ) + (get_local $5) + (i32.gt_s + (get_local $2) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.add + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + ) + (return + (f64.sub + (tee_local $0 + (select + (f64.mul + (f64.mul + (get_local $0) + (f64.const 2) + ) + (f64.const 8988465674311579538646525e283) + ) + (f64.mul + (get_local $0) + (get_local $3) + ) + (i32.eq + (get_local $2) + (i32.const 1024) + ) + ) + ) + (f64.const 1) + ) + ) + ) + ) + (set_local $6 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $2) + ) + ) + (i64.const 52) + ) + ) + (tee_local $0 + (select + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $6) + ) + ) + ) + (get_local $3) + ) + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $1) + (f64.reinterpret/i64 + (get_local $6) + ) + ) + ) + (f64.const 1) + ) + (get_local $3) + ) + (i32.lt_s + (get_local $2) + (i32.const 20) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.scalbn" (; 28 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 + (get_local $1) + ) + (i64.const 1023) + ) + (i64.const 52) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.exp" (; 29 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (set_local $4 + (i32.shr_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (i32.const 1082532651) + ) + (block + (if + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + (return + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + ) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1071001154) + ) + (set_local $0 + (f64.sub + (tee_local $2 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (tee_local $3 + (if (result i32) + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) + ) + ) + ) + (i32.sub + (i32.sub + (i32.const 1) + (get_local $4) + ) + (get_local $4) + ) + ) + ) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (tee_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $3) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1043333120) + ) + (set_local $2 + (get_local $0) + ) + (return + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (set_local $0 + (f64.add + (f64.const 1) + (f64.add + (f64.sub + (f64.div + (f64.mul + (get_local $0) + (tee_local $0 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $0) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $0) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $0) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (f64.const 2) + (get_local $0) + ) + ) + (get_local $5) + ) + (get_local $2) + ) + ) + ) + (if + (i32.eqz + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__expo2" (; 30 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) + ) + ) + (tee_local $1 + (f64.const 2247116418577894884661631e283) + ) + ) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.cosh" (; 31 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i64) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $2 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (i32.const 1072049730) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 1045430272) + ) + (return + (f64.const 1) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (get_local $0) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1082535490) + ) + (return + (f64.mul + (f64.const 0.5) + (f64.add + (tee_local $0 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) + ) + ) + (func $std/libm/cosh (; 32 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.cosh" + (get_local $0) + ) + ) + (func $std/libm/exp (; 33 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (func $std/libm/expm1 (; 34 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.floor" (; 35 ;) (type $FF) (param $0 f64) (result f64) + (f64.floor + (get_local $0) + ) + ) + (func $std/libm/floor (; 36 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.floor" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.fround" (; 37 ;) (type $Ff) (param $0 f64) (result f32) + (f32.demote/f64 + (get_local $0) + ) + ) + (func $std/libm/fround (; 38 ;) (type $Ff) (param $0 f64) (result f32) + (call "$(lib)/math/NativeMath.fround" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.hypot" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i64) + (local $5 i64) + (local $6 f64) + (local $7 i32) + (local $8 i32) + (local $9 i64) + (local $10 i32) + (local $11 f64) + (if + (i64.lt_u + (tee_local $5 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 9223372036854775807) + ) + ) + (tee_local $4 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const 9223372036854775807) + ) + ) + ) + (block + (set_local $9 + (get_local $5) + ) + (set_local $5 + (get_local $4) + ) + (set_local $4 + (get_local $9) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (get_local $4) + ) + ) + (if + (i32.eq + (tee_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 52) + ) + ) + ) + (i32.const 2047) + ) + (return + (get_local $1) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $5) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $10 + (i32.eq + (tee_local $8 + (i32.wrap/i64 + (i64.shr_u + (get_local $5) + (i64.const 52) + ) + ) + ) + (i32.const 2047) + ) + ) + (get_local $10) + (i64.eq + (get_local $4) + (i64.const 0) + ) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (if + (i32.gt_s + (i32.sub + (get_local $8) + (get_local $7) + ) + (i32.const 64) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $6 + (f64.const 1) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1533) + ) + (block + (set_local $6 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 1.90109156629516e-211) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 573) + ) + (block + (set_local $6 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) + ) + ) + ) + ) + ) + (set_local $3 + (f64.sub + (get_local $0) + (tee_local $2 + (f64.add + (f64.sub + (get_local $0) + (tee_local $2 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (set_local $11 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $2) + (get_local $2) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) + ) + ) + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (set_local $3 + (f64.sub + (get_local $1) + (tee_local $2 + (f64.add + (f64.sub + (get_local $1) + (tee_local $2 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (f64.mul + (get_local $6) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $2) + (get_local $2) + ) + (tee_local $1 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) + ) + ) + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (get_local $11) + ) + (get_local $1) + ) + (get_local $0) + ) + ) + ) + ) + (func $std/libm/hypot (; 40 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.hypot" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.imul" (; 41 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (f64.convert_s/i32 + (i32.mul + (i32.trunc_s/f64 + (get_local $0) + ) + (i32.trunc_s/f64 + (get_local $1) + ) + ) + ) + ) + (func $std/libm/imul (; 42 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.imul" + (get_local $0) + (get_local $1) + ) + ) + (func $std/libm/log (; 43 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.log10" (; 44 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 i64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1048576) + ) + ) + (get_local $5) + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $4) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $4) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $5) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $4) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + (get_local $1) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $8) + ) + ) + (set_local $9 + (f64.mul + (tee_local $10 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (f64.const 0.30102999566361177) + ) + ) + (f64.add + (f64.add + (f64.add + (f64.add + (f64.mul + (get_local $10) + (f64.const 3.694239077158931e-13) + ) + (f64.mul + (f64.add + (tee_local $0 + (f64.add + (f64.sub + (f64.sub + (get_local $1) + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.sub + (get_local $1) + (get_local $6) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (get_local $1) + ) + (f64.const 2.5082946711645275e-11) + ) + ) + (f64.mul + (get_local $0) + (f64.const 0.4342944818781689) + ) + ) + (f64.add + (f64.sub + (get_local $9) + (tee_local $0 + (f64.add + (get_local $9) + (tee_local $1 + (f64.mul + (get_local $1) + (f64.const 0.4342944818781689) + ) + ) + ) + ) + ) + (get_local $1) + ) + ) + (get_local $0) + ) + ) + (func $std/libm/log10 (; 45 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.log10" + (get_local $0) + ) + ) + (func $std/libm/log1p (; 46 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.log1p" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.log2" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 i64) + (local $7 f64) + (local $8 i32) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.lt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1048576) + ) + ) + (get_local $8) + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $6) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 54) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $6) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $8) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.sub + (i32.shr_u + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $3 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $6) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + (get_local $3) + ) + ) + (set_local $1 + (f64.mul + (tee_local $0 + (f64.mul + (tee_local $7 + (f64.div + (get_local $3) + (f64.add + (f64.const 2) + (get_local $3) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $0) + ) + ) + (set_local $4 + (f64.add + (f64.sub + (f64.sub + (get_local $3) + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.sub + (get_local $3) + (get_local $4) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $4) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $4) + (f64.add + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $1) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $1) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $1 + (f64.add + (tee_local $7 + (f64.convert_s/i32 + (get_local $5) + ) + ) + (tee_local $0 + (f64.mul + (get_local $3) + (f64.const 1.4426950407214463) + ) + ) + ) + ) + (f64.add + (f64.add + (f64.add + (f64.mul + (f64.add + (get_local $4) + (get_local $3) + ) + (f64.const 1.6751713164886512e-10) + ) + (f64.mul + (get_local $4) + (f64.const 1.4426950407214463) + ) + ) + (f64.add + (f64.sub + (get_local $7) + (get_local $1) + ) + (get_local $0) + ) + ) + (get_local $1) + ) + ) + (func $std/libm/log2 (; 48 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.log2" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.max" (; 49 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (f64.max + (get_local $0) + (get_local $1) + ) + ) + (func $std/libm/max (; 50 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.max" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.min" (; 51 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (f64.min + (get_local $0) + (get_local $1) + ) + ) + (func $std/libm/min (; 52 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.min" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 53 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 f64) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 i32) + (local $14 f64) + (local $15 i32) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 i64) + (block $folding-inner1 + (block $folding-inner0 + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (set_local $5 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $10 + (i32.and + (tee_local $11 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (tee_local $7 + (i32.wrap/i64 + (get_local $19) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 1072693248) + ) + ) + (i32.eqz + (get_local $13) + ) + (get_local $6) + ) + (i32.const 1) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $6) + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $13) + (i32.const 0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $7) + (i32.const 0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1128267776) + ) + (set_local $15 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1072693248) + ) + (if + (i32.gt_s + (tee_local $8 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (i32.const 20) + ) + (if + (i32.eq + (i32.shl + (tee_local $6 + (i32.shr_u + (get_local $7) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + (get_local $7) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $7) + ) + (if + (i32.eq + (i32.shl + (tee_local $6 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + (get_local $10) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $7) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $13) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (get_local $1) + (f64.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f64.const 0) + (f64.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $13) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $6) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $5) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f64.div + (f64.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $15) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (get_local $2) + (get_local $2) + ) + (f64.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + ) + (set_local $12 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $15) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $12 + (f64.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f64) + (i32.gt_s + (get_local $10) + (i32.const 1105199104) + ) + (block (result f64) + (if + (i32.gt_s + (get_local $10) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.mul + (tee_local $3 + (f64.sub + (get_local $2) + (f64.const 1) + ) + ) + (get_local $3) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $3) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $3) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $3) + ) + ) + (tee_local $17 + (f64.sub + (f64.mul + (get_local $3) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $0) + (f64.const 1.4426950408889634) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $17) + (f64.sub + (get_local $9) + (get_local $16) + ) + ) + ) + (block (result f64) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1048576) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 53) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.mul + (get_local $2) + (f64.const 9007199254740992) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $7 + (i32.and + (get_local $5) + (i32.const 1048575) + ) + ) + (i32.const 1072693248) + ) + ) + (set_local $8 + (if (result i32) + (i32.le_s + (get_local $7) + (i32.const 235662) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $7) + (i32.const 767610) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1048576) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $18 + (f64.mul + (tee_local $16 + (f64.sub + (tee_local $2 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $5) + ) + (i64.const 32) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $8) + ) + ) + ) + ) + (tee_local $17 + (f64.div + (f64.const 1) + (f64.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $2 + (f64.sub + (get_local $2) + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $8) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.sub + (tee_local $2 + (f64.add + (f64.mul + (f64.mul + (tee_local $14 + (f64.mul + (get_local $18) + (get_local $18) + ) + ) + (get_local $14) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $14) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $17) + (f64.sub + (f64.sub + (get_local $16) + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (f64.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f64.add + (get_local $3) + (get_local $18) + ) + ) + ) + ) + (f64.sub + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.const 3) + (tee_local $14 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 3) + ) + (get_local $14) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.add + (tee_local $18 + (f64.mul + (f64.const 0.9617967009544373) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (get_local $0) + (get_local $9) + ) + (f64.mul + (get_local $2) + (get_local $18) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + ) + (tee_local $2 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $0) + ) + (f64.mul + (f64.sub + (get_local $17) + (f64.sub + (get_local $0) + (get_local $16) + ) + ) + (f64.const 0.9617966939259756) + ) + ) + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $8) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $8) + ) + ) + ) + (tee_local $3 + (f64.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $2) + (f64.sub + (f64.sub + (f64.sub + (get_local $9) + (get_local $3) + ) + (get_local $0) + ) + (get_local $18) + ) + ) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (tee_local $2 + (f64.add + (tee_local $1 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $9) + ) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $9) + ) + ) + ) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1083179008) + ) + (br_if $folding-inner1 + (i32.or + (i32.or + (i32.sub + (get_local $7) + (i32.const 1083179008) + ) + (get_local $13) + ) + (f64.gt + (f64.add + (get_local $1) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (br_if $folding-inner0 + (i32.or + (i32.or + (i32.sub + (get_local $7) + (i32.const -1064252416) + ) + (get_local $13) + ) + (f64.le + (get_local $1) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (i32.shr_s + (tee_local $13 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $13) + (i32.const 1071644672) + ) + (block + (set_local $8 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $7) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $8) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f64.mul + (get_local $12) + (tee_local $2 + (if (result f64) + (i32.le_s + (i32.shr_s + (tee_local $7 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.sub + (f64.const 1) + (f64.sub + (f64.sub + (f64.div + (f64.mul + (tee_local $2 + (f64.add + (tee_local $16 + (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (get_local $1) + (get_local $0) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 0.6931471824645996) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (f64.sub + (get_local $3) + (get_local $0) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $3) + (f64.const -1.904654299957768e-09) + ) + ) + ) + ) + ) + (tee_local $9 + (f64.sub + (get_local $2) + (f64.mul + (tee_local $3 + (f64.mul + (get_local $2) + (get_local $2) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $3) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $3) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $3) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $3) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (get_local $9) + (f64.const 2) + ) + ) + (f64.add + (tee_local $0 + (f64.sub + (get_local $17) + (f64.sub + (get_local $2) + (get_local $16) + ) + ) + ) + (f64.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.shl + (get_local $4) + (i32.const 20) + ) + ) + ) + (i32.const 20) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $2) + (get_local $4) + ) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + (func $std/libm/pow (; 54 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.round" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (f64.nearest + (get_local $0) + ) + ) + (func $std/libm/round (; 56 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.round" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.sign" (; 57 ;) (type $FF) (param $0 f64) (result f64) + (select + (f64.const 1) + (select + (f64.const -1) + (get_local $0) + (f64.lt + (get_local $0) + (f64.const 0) + ) + ) + (f64.gt + (get_local $0) + (f64.const 0) + ) + ) + ) + (func $std/libm/sign (; 58 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.sign" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i64) + (local $4 i32) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (tee_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 32) + ) + ) + ) + (i32.const 1082535490) + ) + (block + (set_local $1 + (call "$(lib)/math/NativeMath.expm1" + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.const 1045430272) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $1) + ) + (f64.div + (f64.mul + (get_local $1) + (get_local $1) + ) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $1) + (f64.div + (get_local $1) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $1) + ) + ) + ) + (func $std/libm/sinh (; 60 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 61 ;) (type $FF) (param $0 f64) (result f64) + (f64.sqrt + (get_local $0) + ) + ) + (func $std/libm/sqrt (; 62 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (tee_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.gt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (i32.const 1071748074) + ) + (set_local $0 + (if (result f64) + (i32.gt_u + (get_local $2) + (i32.const 1077149696) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + (f64.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1070618798) + ) + (set_local $0 + (f64.div + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (set_local $0 + (f64.div + (f64.neg + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $3) + ) + ) + (func $std/libm/tanh (; 64 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.trunc" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (f64.trunc + (get_local $0) + ) + ) + (func $std/libm/trunc (; 66 ;) (type $FF) (param $0 f64) (result f64) + (call "$(lib)/math/NativeMath.trunc" + (get_local $0) + ) + ) +) diff --git a/tests/compiler/std/libm.ts b/tests/compiler/std/libm.ts new file mode 100644 index 0000000000..6b1c62b656 --- /dev/null +++ b/tests/compiler/std/libm.ts @@ -0,0 +1,144 @@ +export const E = Math.E; +export const LN10 = Math.LN10; +export const LN2 = Math.LN2; +export const LOG10E = Math.LOG10E; +export const LOG2E = Math.LOG2E; +export const PI = Math.PI; +export const SQRT1_2 = Math.SQRT1_2; +export const SQRT2 = Math.SQRT2; + +export function abs(x: f64): f64 { + return Math.abs(x); +} + +export function acos(x: f64): f64 { + return Math.acos(x); +} + +export function acosh(x: f64): f64 { + return Math.acosh(x); +} + +export function asin(x: f64): f64 { + return Math.asin(x); +} + +export function asinh(x: f64): f64 { + return Math.asinh(x); +} + +export function atan(x: f64): f64 { + return Math.atan(x); +} + +export function atanh(x: f64): f64 { + return Math.atanh(x); +} + +export function atan2(y: f64, x: f64): f64 { + return Math.atan2(y, x); +} + +export function cbrt(x: f64): f64 { + return Math.cbrt(x); +} + +export function ceil(x: f64): f64 { + return Math.ceil(x); +} + +export function clz32(x: f64): f64 { + return Math.clz32(x); +} + +export function cos(x: f64): f64 { + return Math.cos(x); +} + +export function cosh(x: f64): f64 { + return Math.cosh(x); +} + +export function exp(x: f64): f64 { + return Math.exp(x); +} + +export function expm1(x: f64): f64 { + return Math.expm1(x); +} + +export function floor(x: f64): f64 { + return Math.floor(x); +} + +export function fround(x: f64): f32 { + return Math.fround(x); +} + +export function hypot(a: f64, b: f64): f64 { + return Math.hypot(a, b); +} + +export function imul(a: f64, b: f64): f64 { + return Math.imul(a, b); +} + +export function log(x: f64): f64 { + return Math.log(x); +} + +export function log10(x: f64): f64 { + return Math.log10(x); +} + +export function log1p(x: f64): f64 { + return Math.log1p(x); +} + +export function log2(x: f64): f64 { + return Math.log2(x); +} + +export function max(a: f64, b: f64): f64 { + return Math.max(a, b); +} + +export function min(a: f64, b: f64): f64 { + return Math.min(a, b); +} + +export function pow(x: f64, y: f64): f64 { + return Math.pow(x, y); +} + +export function round(x: f64): f64 { + return Math.round(x); +} + +export function sign(x: f64): f64 { + return Math.sign(x); +} + +export function sin(x: f64): f64 { + return Math.sin(x); +} + +export function sinh(x: f64): f64 { + return Math.sinh(x); +} + +export function sqrt(x: f64): f64 { + return Math.sqrt(x); +} + +export function tan(x: f64): f64 { + return Math.tan(x); +} + +export function tanh(x: f64): f64 { + return Math.tanh(x); +} + +export function trunc(x: f64): f64 { + return Math.trunc(x); +} diff --git a/tests/compiler/std/libm.untouched.wat b/tests/compiler/std/libm.untouched.wat new file mode 100644 index 0000000000..c1e5e51485 --- /dev/null +++ b/tests/compiler/std/libm.untouched.wat @@ -0,0 +1,7060 @@ +(module + (type $F (func (result f64))) + (type $FF (func (param f64) (result f64))) + (type $f (func (result f32))) + (type $FFF (func (param f64 f64) (result f64))) + (type $i (func (result i32))) + (type $FiF (func (param f64 i32) (result f64))) + (type $Ff (func (param f64) (result f32))) + (global $std/libm/E f64 (f64.const 2.718281828459045)) + (global $std/libm/LN10 f64 (f64.const 2.302585092994046)) + (global $std/libm/LN2 f64 (f64.const 0.6931471805599453)) + (global $std/libm/LOG10E f64 (f64.const 0.4342944819032518)) + (global $std/libm/LOG2E f64 (f64.const 1.4426950408889634)) + (global $std/libm/PI f64 (f64.const 3.141592653589793)) + (global $std/libm/SQRT1_2 f64 (f64.const 0.7071067811865476)) + (global $std/libm/SQRT2 f64 (f64.const 1.4142135623730951)) + (global $HEAP_BASE i32 (i32.const 4)) + (memory $0 1) + (export "E" (global $std/libm/E)) + (export "LN10" (global $std/libm/LN10)) + (export "LN2" (global $std/libm/LN2)) + (export "LOG10E" (global $std/libm/LOG10E)) + (export "LOG2E" (global $std/libm/LOG2E)) + (export "PI" (global $std/libm/PI)) + (export "SQRT1_2" (global $std/libm/SQRT1_2)) + (export "SQRT2" (global $std/libm/SQRT2)) + (export "abs" (func $std/libm/abs)) + (export "acos" (func $std/libm/acos)) + (export "acosh" (func $std/libm/acosh)) + (export "asin" (func $std/libm/asin)) + (export "asinh" (func $std/libm/asinh)) + (export "atan" (func $std/libm/atan)) + (export "atanh" (func $std/libm/atanh)) + (export "atan2" (func $std/libm/atan2)) + (export "cbrt" (func $std/libm/cbrt)) + (export "ceil" (func $std/libm/ceil)) + (export "clz32" (func $std/libm/clz32)) + (export "cos" (func $std/libm/cos)) + (export "cosh" (func $std/libm/cosh)) + (export "exp" (func $std/libm/exp)) + (export "expm1" (func $std/libm/expm1)) + (export "floor" (func $std/libm/floor)) + (export "fround" (func $std/libm/fround)) + (export "hypot" (func $std/libm/hypot)) + (export "imul" (func $std/libm/imul)) + (export "log" (func $std/libm/log)) + (export "log10" (func $std/libm/log10)) + (export "log1p" (func $std/libm/log1p)) + (export "log2" (func $std/libm/log2)) + (export "max" (func $std/libm/max)) + (export "min" (func $std/libm/min)) + (export "pow" (func $std/libm/pow)) + (export "round" (func $std/libm/round)) + (export "sign" (func $std/libm/sign)) + (export "sin" (func $std/libm/sin)) + (export "sinh" (func $std/libm/sinh)) + (export "sqrt" (func $std/libm/sqrt)) + (export "tan" (func $std/libm/tan)) + (export "tanh" (func $std/libm/tanh)) + (export "trunc" (func $std/libm/trunc)) + (export "memory" (memory $0)) + (func "$(lib)/math/NativeMath.abs" (; 0 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.abs + (get_local $0) + ) + ) + ) + (func $std/libm/abs (; 1 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 2 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (nop) + (set_local $1 + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.div + (get_local $1) + (get_local $2) + ) + ) + ) + (func "$(lib)/math/NativeMath.acos" (; 3 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072693248) + ) + (block + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) + ) + (i32.const 0) + ) + (block + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.add + (f64.mul + (f64.const 2) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + ) + (return + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 1012924416) + ) + (return + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + ) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (block + (set_local $6 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) + (set_local $4 + (f64.sqrt + (get_local $6) + ) + ) + (set_local $5 + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) + (get_local $4) + ) + (f64.const 6.123233995736766e-17) + ) + ) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (get_local $4) + (get_local $5) + ) + ) + ) + ) + ) + ) + (set_local $6 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) + (set_local $4 + (f64.sqrt + (get_local $6) + ) + ) + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $4) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $8 + (f64.div + (f64.sub + (get_local $6) + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (f64.add + (get_local $4) + (get_local $7) + ) + ) + ) + (set_local $5 + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) + (get_local $4) + ) + (get_local $8) + ) + ) + (return + (f64.mul + (f64.const 2) + (f64.add + (get_local $7) + (get_local $5) + ) + ) + ) + ) + (func $std/libm/acos (; 4 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.acos" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 5 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 1) + ) + (block + (set_local $4 + (f64.const 0) + ) + (set_local $5 + (f64.const 0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (get_local $2) + (i32.const 1071284858) + ) + ) + (get_local $6) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.ge_u + (get_local $2) + (i32.const -1074790400) + ) + (block + (if + (f64.eq + (get_local $0) + (f64.const -1) + ) + (return + (f64.div + (get_local $0) + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + ) + (if + (i32.lt_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (i32.const 1017118720) + (i32.const 1) + ) + ) + (return + (get_local $0) + ) + ) + (if + (i32.le_u + (get_local $2) + (i32.const -1076707644) + ) + (block + (set_local $3 + (i32.const 0) + ) + (set_local $4 + (f64.const 0) + ) + (set_local $5 + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $3) + (block + (set_local $1 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $6 + (i32.add + (get_local $6) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.sub + (i32.shr_u + (get_local $6) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 54) + ) + (block + (set_local $7 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (if (result f64) + (i32.ge_s + (get_local $3) + (i32.const 2) + ) + (f64.sub + (f64.const 1) + (f64.sub + (get_local $7) + (get_local $0) + ) + ) + (f64.sub + (get_local $0) + (f64.sub + (get_local $7) + (f64.const 1) + ) + ) + ) + ) + (set_local $4 + (f64.div + (get_local $4) + (get_local $7) + ) + ) + ) + (set_local $4 + (f64.const 0) + ) + ) + (set_local $6 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $5 + (f64.sub + (f64.reinterpret/i64 + (get_local $1) + ) + (f64.const 1) + ) + ) + ) + ) + (set_local $8 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $9 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (get_local $9) + ) + ) + (set_local $11 + (f64.mul + (get_local $10) + (get_local $10) + ) + ) + (set_local $12 + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $11) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $13 + (f64.mul + (get_local $10) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $11) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $14 + (f64.add + (get_local $13) + (get_local $12) + ) + ) + (set_local $15 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (return + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $9) + (f64.add + (get_local $8) + (get_local $14) + ) + ) + (f64.add + (f64.mul + (get_local $15) + (f64.const 1.9082149292705877e-10) + ) + (get_local $4) + ) + ) + (get_local $8) + ) + (get_local $5) + ) + (f64.mul + (get_local $15) + (f64.const 0.6931471803691238) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.log" (; 6 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 i32) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_s + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (get_local $3) + ) + (return + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + (get_local $6) + ) + (get_local $5) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.acosh" (; 7 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (nop) + (set_local $1 + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (if + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 1) + ) + ) + (return + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sqrt + (f64.add + (f64.mul + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 26) + ) + ) + (return + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + ) + (func $std/libm/acosh (; 8 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 9 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072693248) + ) + (block + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) + ) + (i32.const 0) + ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) + ) + ) + (f64.const 0.5) + ) + ) + (set_local $5 + (f64.sqrt + (get_local $4) + ) + ) + (set_local $6 + (call "$(lib)/math/NativeMath.__R" + (get_local $4) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (set_local $0 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $5) + (f64.mul + (get_local $5) + (get_local $6) + ) + ) + ) + (f64.const 6.123233995736766e-17) + ) + ) + ) + (block + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $5) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $8 + (f64.div + (f64.sub + (get_local $4) + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (f64.add + (get_local $5) + (get_local $7) + ) + ) + ) + (set_local $0 + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $5) + ) + (get_local $6) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (get_local $8) + ) + ) + ) + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.mul + (f64.const 2) + (get_local $7) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + (func $std/libm/asin (; 10 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.asin" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.asinh" (; 11 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 1) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (if (result f64) + (i64.ne + (get_local $3) + (i64.const 0) + ) + (f64.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/libm/asinh (; 12 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 13 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 i32) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (nop) + (if + (i32.ge_u + (get_local $1) + (i32.const 1141899264) + ) + (block + (if + (f64.ne + (tee_local $4 + (get_local $0) + ) + (get_local $4) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1071382528) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 1044381696) + ) + (return + (get_local $0) + ) + ) + (set_local $5 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1072889856) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1072037888) + ) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $0 + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) + (get_local $0) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1073971200) + ) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f64.div + (f64.const -1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $6 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (set_local $7 + (f64.mul + (get_local $3) + (f64.add + (f64.const 0.3333333333333293) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.14285714272503466) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $6) + (f64.const 0.016285820115365782) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.19999999999876483) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.0769187620504483) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $6) + (f64.const -0.036531572744216916) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (return + (f64.sub + (get_local $0) + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) + ) + ) + (br $case4|0) + ) + (block + (set_local $3 + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 2.2698777452961687e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 3.061616997868383e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 1.3903311031230998e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 6.123233995736766e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (unreachable) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + (func $std/libm/atan (; 14 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.atanh" (; 15 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (local $4 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $4 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (if + (i64.lt_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 1) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 32) + ) + ) + (set_local $4 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.mul + (f64.const 2) + (get_local $4) + ) + (f64.div + (f64.mul + (f64.mul + (f64.const 2) + (get_local $4) + ) + (get_local $4) + ) + (f64.sub + (f64.const 1) + (get_local $4) + ) + ) + ) + ) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.mul + (f64.const 2) + (f64.div + (get_local $4) + (f64.sub + (f64.const 1) + (get_local $4) + ) + ) + ) + ) + ) + ) + ) + (return + (if (result f64) + (i64.ne + (get_local $3) + (i64.const 0) + ) + (f64.neg + (get_local $4) + ) + (get_local $4) + ) + ) + ) + (func $std/libm/atanh (; 16 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.atanh" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.atan2" (; 17 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 i32) + (local $4 i64) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f64) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $3 + (f64.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + ) + (get_local $3) + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $1) + (get_local $0) + ) + ) + ) + (set_local $4 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 32) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (get_local $4) + ) + ) + (set_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 32) + ) + ) + ) + (set_local $8 + (i32.wrap/i64 + (get_local $4) + ) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $6) + ) + (i32.const 0) + ) + (return + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + ) + (set_local $9 + (i32.or + (i32.and + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + (i32.const 1) + ) + (i32.and + (i32.shr_u + (get_local $5) + (i32.const 30) + ) + (i32.const 2) + ) + ) + ) + (set_local $5 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (set_local $7 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $7) + (get_local $8) + ) + (i32.const 0) + ) + (block $break|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $3 + (get_local $9) + ) + (br_if $case0|0 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|0) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.neg + (f64.const 3.141592653589793) + ) + ) + ) + ) + (if + (i32.eq + (i32.or + (get_local $5) + (get_local $6) + ) + (i32.const 0) + ) + (return + (if (result f64) + (i32.and + (get_local $9) + (i32.const 1) + ) + (f64.div + (f64.neg + (f64.const 3.141592653589793) + ) + (f64.const 2) + ) + (f64.div + (f64.const 3.141592653589793) + (f64.const 2) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + (if + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (set_local $3 + (get_local $9) + ) + (br_if $case0|1 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|1 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|1 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|1 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|1) + ) + (return + (f64.div + (f64.const 3.141592653589793) + (f64.const 4) + ) + ) + ) + (return + (f64.div + (f64.neg + (f64.const 3.141592653589793) + ) + (f64.const 4) + ) + ) + ) + (return + (f64.div + (f64.mul + (f64.const 3) + (f64.const 3.141592653589793) + ) + (f64.const 4) + ) + ) + ) + (return + (f64.div + (f64.mul + (f64.const -3) + (f64.const 3.141592653589793) + ) + (f64.const 4) + ) + ) + ) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (set_local $3 + (get_local $9) + ) + (br_if $case0|2 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|2 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|2 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|2 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|2) + ) + (return + (f64.const 0) + ) + ) + (return + (f64.const -0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.neg + (f64.const 3.141592653589793) + ) + ) + ) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (i32.add + (get_local $5) + (i32.shl + (i32.const 64) + (i32.const 20) + ) + ) + (get_local $7) + ) + ) + (get_local $3) + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + (return + (if (result f64) + (i32.and + (get_local $9) + (i32.const 1) + ) + (f64.div + (f64.neg + (f64.const 3.141592653589793) + ) + (f64.const 2) + ) + (f64.div + (f64.const 3.141592653589793) + (f64.const 2) + ) + ) + ) + ) + (if + (if (result i32) + (tee_local $3 + (i32.and + (get_local $9) + (i32.const 2) + ) + ) + (i32.lt_u + (i32.add + (get_local $7) + (i32.shl + (i32.const 64) + (i32.const 20) + ) + ) + (get_local $5) + ) + (get_local $3) + ) + (set_local $10 + (f64.const 0) + ) + (set_local $10 + (call "$(lib)/math/NativeMath.atan" + (f64.abs + (f64.div + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (set_local $3 + (get_local $9) + ) + (br_if $case0|3 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|3 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|3 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|3 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|3) + ) + (return + (get_local $10) + ) + ) + (return + (f64.neg + (get_local $10) + ) + ) + ) + (return + (f64.sub + (f64.const 3.141592653589793) + (f64.sub + (get_local $10) + (f64.const 1.2246467991473532e-16) + ) + ) + ) + ) + (return + (f64.sub + (f64.sub + (get_local $10) + (f64.const 1.2246467991473532e-16) + ) + (f64.const 3.141592653589793) + ) + ) + ) + (unreachable) + (return + (f64.const 0) + ) + ) + (func $std/libm/atan2 (; 18 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.atan2" + (get_local $0) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.cbrt" (; 19 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (f64.add + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + (block + (set_local $1 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (set_local $2 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) + ) + (i32.const 696219795) + ) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) + ) + (i32.const 715094163) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.shl + (i64.const 1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.or + (get_local $1) + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (get_local $3) + (get_local $3) + ) + (f64.div + (get_local $3) + (get_local $0) + ) + ) + ) + (set_local $3 + (f64.mul + (get_local $3) + (f64.add + (f64.add + (f64.const 1.87595182427177) + (f64.mul + (get_local $4) + (f64.add + (f64.const -1.8849797954337717) + (f64.mul + (get_local $4) + (f64.const 1.6214297201053545) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.mul + (get_local $4) + (get_local $4) + ) + (get_local $4) + ) + (f64.add + (f64.const -0.758397934778766) + (f64.mul + (get_local $4) + (f64.const 0.14599619288661245) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.add + (i64.reinterpret/f64 + (get_local $3) + ) + (i64.const 2147483648) + ) + (i64.const -1073741824) + ) + ) + ) + (set_local $5 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (set_local $4 + (f64.div + (get_local $0) + (get_local $5) + ) + ) + (set_local $6 + (f64.add + (get_local $3) + (get_local $3) + ) + ) + (set_local $4 + (f64.div + (f64.sub + (get_local $4) + (get_local $3) + ) + (f64.add + (get_local $6) + (get_local $4) + ) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (f64.mul + (get_local $3) + (get_local $4) + ) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/libm/cbrt (; 20 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.cbrt" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.ceil" (; 21 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.ceil + (get_local $0) + ) + ) + ) + (func $std/libm/ceil (; 22 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.ceil" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.clz32" (; 23 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.convert_s/i32 + (i32.clz + (i32.trunc_s/f64 + (get_local $0) + ) + ) + ) + ) + ) + (func $std/libm/clz32 (; 24 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.clz32" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.cos" (; 25 ;) (type $FF) (param $0 f64) (result f64) + (unreachable) + (return + (f64.const 0) + ) + ) + (func $std/libm/cos (; 26 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.cos" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.expm1" (; 27 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 i32) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + (i64.const 2147483647) + ) + ) + ) + (block + (set_local $3 + (i32.const 0) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1078159482) + ) + (block + (if + (f64.ne + (tee_local $5 + (get_local $0) + ) + (get_local $5) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $4) + (return + (f64.const -1) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) + ) + ) + ) + ) + ) + (set_local $6 + (f64.const 0) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1071001154) + ) + (block + (nop) + (if + (i32.lt_u + (get_local $2) + (i32.const 1072734898) + ) + (if + (i32.eqz + (get_local $4) + ) + (block + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (set_local $8 + (f64.const 1.9082149292705877e-10) + ) + (set_local $3 + (i32.const 1) + ) + ) + (block + (set_local $5 + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (set_local $8 + (f64.neg + (f64.const 1.9082149292705877e-10) + ) + ) + (set_local $3 + (i32.const -1) + ) + ) + ) + (block + (set_local $3 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (if (result f64) + (get_local $4) + (f64.const -0.5) + (f64.const 0.5) + ) + ) + ) + ) + (set_local $7 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.mul + (get_local $7) + (f64.const 0.6931471803691238) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $5) + (get_local $8) + ) + ) + (set_local $6 + (f64.sub + (f64.sub + (get_local $5) + (get_local $0) + ) + (get_local $8) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1016070144) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $9 + (f64.mul + (f64.const 0.5) + (get_local $0) + ) + ) + (set_local $10 + (f64.mul + (get_local $0) + (get_local $9) + ) + ) + (set_local $11 + (f64.add + (f64.const 1) + (f64.mul + (get_local $10) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $10) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $10) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $10) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $10) + (f64.const -2.0109921818362437e-07) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $7 + (f64.sub + (f64.const 3) + (f64.mul + (get_local $11) + (get_local $9) + ) + ) + ) + (set_local $12 + (f64.mul + (get_local $10) + (f64.div + (f64.sub + (get_local $11) + (get_local $7) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $7) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 0) + ) + (return + (f64.sub + (get_local $0) + (f64.sub + (f64.mul + (get_local $0) + (get_local $12) + ) + (get_local $10) + ) + ) + ) + ) + (set_local $12 + (f64.sub + (f64.mul + (get_local $0) + (f64.sub + (get_local $12) + (get_local $6) + ) + ) + (get_local $6) + ) + ) + (set_local $12 + (f64.sub + (get_local $12) + (get_local $10) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.sub + (get_local $0) + (get_local $12) + ) + ) + (f64.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1) + ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) + ) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $12) + (f64.add + (get_local $0) + (f64.const 0.5) + ) + ) + ) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (get_local $12) + ) + ) + ) + ) + ) + ) + (set_local $1 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) + ) + ) + (i64.const 52) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $15 + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + ) + (get_local $15) + (i32.gt_s + (get_local $3) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $14 + (f64.add + (f64.sub + (get_local $0) + (get_local $12) + ) + (f64.const 1) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1024) + ) + (set_local $14 + (f64.mul + (f64.mul + (get_local $14) + (f64.const 2) + ) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $14 + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (return + (f64.sub + (get_local $14) + (f64.const 1) + ) + ) + ) + ) + (set_local $1 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) + ) + ) + (i64.const 52) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 20) + ) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (get_local $12) + ) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + (get_local $13) + ) + ) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $12) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + (f64.const 1) + ) + (get_local $13) + ) + ) + ) + (return + (get_local $14) + ) + ) + (func "$(lib)/math/NativeMath.scalbn" (; 28 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $1) + ) + ) + (i64.const 52) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.exp" (; 29 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1082532651) + ) + (block + (if + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) + ) + ) + ) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $5 + (f64.const 0) + ) + (set_local $6 + (i32.const 0) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1071001154) + ) + (block + (if + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (set_local $6 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) + ) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.sub + (i32.const 1) + (get_local $2) + ) + (get_local $2) + ) + ) + ) + (set_local $4 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (get_local $6) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (set_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $6) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + (set_local $0 + (f64.sub + (get_local $4) + (get_local $5) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1043333120) + ) + (set_local $4 + (get_local $0) + ) + (return + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (set_local $7 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $8 + (f64.sub + (get_local $0) + (f64.mul + (get_local $7) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $7) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $7) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $7) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $7) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.add + (f64.const 1) + (f64.add + (f64.sub + (f64.div + (f64.mul + (get_local $0) + (get_local $8) + ) + (f64.sub + (f64.const 2) + (get_local $8) + ) + ) + (get_local $5) + ) + (get_local $4) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (return + (get_local $9) + ) + ) + (return + (call "$(lib)/math/NativeMath.scalbn" + (get_local $9) + (get_local $6) + ) + ) + ) + (func "$(lib)/math/NativeMath.__expo2" (; 30 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (nop) + (set_local $1 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.shl + (i32.add + (i32.const 1023) + (i32.div_u + (i32.const 2043) + (i32.const 2) + ) + ) + (i32.const 20) + ) + ) + (i64.const 32) + ) + ) + ) + (return + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) + ) + ) + (get_local $1) + ) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.cosh" (; 31 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $2) + (i32.const 1072049730) + ) + (block + (if + (i32.lt_u + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (set_local $3 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (get_local $3) + (get_local $3) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1082535490) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (return + (f64.mul + (f64.const 0.5) + (f64.add + (get_local $3) + (f64.div + (f64.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + (set_local $3 + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/libm/cosh (; 32 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.cosh" + (get_local $0) + ) + ) + ) + (func $std/libm/exp (; 33 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + ) + (func $std/libm/expm1 (; 34 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.floor" (; 35 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.floor + (get_local $0) + ) + ) + ) + (func $std/libm/floor (; 36 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.floor" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.fround" (; 37 ;) (type $Ff) (param $0 f64) (result f32) + (return + (f32.demote/f64 + (get_local $0) + ) + ) + ) + (func $std/libm/fround (; 38 ;) (type $Ff) (param $0 f64) (result f32) + (return + (call "$(lib)/math/NativeMath.fround" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.hypot" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i64) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $2 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + (if + (i64.lt_u + (get_local $2) + (get_local $3) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $2 + (get_local $3) + ) + (set_local $3 + (get_local $4) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (get_local $3) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 2047) + ) + (return + (get_local $1) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $2) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2047) + ) + ) + (get_local $7) + (i64.eq + (get_local $3) + (i64.const 0) + ) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (if + (i32.gt_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 64) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $8 + (f64.const 1) + ) + (if + (i32.gt_s + (get_local $5) + (i32.add + (i32.const 1023) + (i32.const 510) + ) + ) + (block + (set_local $8 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 1.90109156629516e-211) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) + ) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.sub + (i32.const 1023) + (i32.const 450) + ) + ) + (block + (set_local $8 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) + ) + ) + ) + ) + ) + (set_local $9 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $0) + (get_local $9) + ) + (get_local $9) + ) + ) + (set_local $11 + (f64.sub + (get_local $0) + (get_local $10) + ) + ) + (set_local $12 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $13 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) + ) + (get_local $12) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) + ) + (get_local $11) + ) + ) + (f64.mul + (get_local $11) + (get_local $11) + ) + ) + ) + (set_local $9 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $1) + (get_local $9) + ) + (get_local $9) + ) + ) + (set_local $11 + (f64.sub + (get_local $1) + (get_local $10) + ) + ) + (set_local $14 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) + ) + (get_local $14) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) + ) + (get_local $11) + ) + ) + (f64.mul + (get_local $11) + (get_local $11) + ) + ) + ) + (return + (f64.mul + (get_local $8) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (get_local $15) + (get_local $13) + ) + (get_local $14) + ) + (get_local $12) + ) + ) + ) + ) + ) + (func $std/libm/hypot (; 40 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.hypot" + (get_local $0) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.imul" (; 41 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (f64.convert_s/i32 + (i32.mul + (i32.trunc_s/f64 + (get_local $0) + ) + (i32.trunc_s/f64 + (get_local $1) + ) + ) + ) + ) + ) + (func $std/libm/imul (; 42 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.imul" + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/libm/log (; 43 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.log10" (; 44 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f64.sub + (get_local $5) + (get_local $6) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const -4294967296) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $14 + (f64.add + (f64.sub + (f64.sub + (get_local $5) + (get_local $13) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) + ) + ) + ) + (set_local $15 + (f64.mul + (get_local $13) + (f64.const 0.4342944818781689) + ) + ) + (set_local $16 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $17 + (f64.mul + (get_local $16) + (f64.const 0.30102999566361177) + ) + ) + (set_local $18 + (f64.add + (f64.add + (f64.mul + (get_local $16) + (f64.const 3.694239077158931e-13) + ) + (f64.mul + (f64.add + (get_local $14) + (get_local $13) + ) + (f64.const 2.5082946711645275e-11) + ) + ) + (f64.mul + (get_local $14) + (f64.const 0.4342944818781689) + ) + ) + ) + (set_local $9 + (f64.add + (get_local $17) + (get_local $15) + ) + ) + (set_local $18 + (f64.add + (get_local $18) + (f64.add + (f64.sub + (get_local $17) + (get_local $9) + ) + (get_local $15) + ) + ) + ) + (set_local $15 + (get_local $9) + ) + (return + (f64.add + (get_local $18) + (get_local $15) + ) + ) + ) + (func $std/libm/log10 (; 45 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.log10" + (get_local $0) + ) + ) + ) + (func $std/libm/log1p (; 46 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.log1p" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.log2" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f64.sub + (get_local $5) + (get_local $6) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const -4294967296) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $14 + (f64.add + (f64.sub + (f64.sub + (get_local $5) + (get_local $13) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) + ) + ) + ) + (set_local $15 + (f64.mul + (get_local $13) + (f64.const 1.4426950407214463) + ) + ) + (set_local $16 + (f64.add + (f64.mul + (f64.add + (get_local $14) + (get_local $13) + ) + (f64.const 1.6751713164886512e-10) + ) + (f64.mul + (get_local $14) + (f64.const 1.4426950407214463) + ) + ) + ) + (set_local $17 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $9 + (f64.add + (get_local $17) + (get_local $15) + ) + ) + (set_local $16 + (f64.add + (get_local $16) + (f64.add + (f64.sub + (get_local $17) + (get_local $9) + ) + (get_local $15) + ) + ) + ) + (set_local $15 + (get_local $9) + ) + (return + (f64.add + (get_local $16) + (get_local $15) + ) + ) + ) + (func $std/libm/log2 (; 48 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.log2" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.max" (; 49 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (f64.max + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/libm/max (; 50 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.max" + (get_local $0) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.min" (; 51 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (f64.min + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/libm/min (; 52 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.min" + (get_local $0) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 53 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 f64) + (local $20 f64) + (local $21 f64) + (local $22 f64) + (local $23 f64) + (local $24 i32) + (local $25 i32) + (local $26 f64) + (local $27 f64) + (local $28 f64) + (local $29 f64) + (local $30 f64) + (local $31 f64) + (local $32 f64) + (local $33 f64) + (local $34 f64) + (local $35 f64) + (local $36 f64) + (local $37 f64) + (local $38 i32) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $7 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (set_local $8 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $8) + (get_local $6) + ) + (i32.const 0) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $3) + (i32.const 1072693248) + ) + ) + (i32.eq + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + (i32.const 1) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.gt_s + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.gt_s + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $10 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1128267776) + ) + (set_local $10 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1072693248) + ) + (block + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $8) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $11) + (i32.const 20) + ) + (block + (set_local $9 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + (get_local $6) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (set_local $9 + (i32.shr_s + (get_local $8) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + (get_local $8) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $4) + ) + (i32.const 0) + ) + (return + (f64.const 1) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (get_local $1) + (f64.const 0) + ) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (f64.const 0) + (f64.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (set_local $13 + (get_local $12) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.const 1) + (get_local $13) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $10) + ) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.sub + (get_local $13) + (get_local $13) + ) + (f64.sub + (get_local $13) + (get_local $13) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $13 + (f64.neg + (get_local $13) + ) + ) + ) + ) + ) + (return + (get_local $13) + ) + ) + ) + ) + (set_local $14 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 0) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $14 + (f64.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $8) + (i32.const 1105199104) + ) + (block + (if + (i32.gt_s + (get_local $8) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (set_local $20 + (f64.sub + (get_local $12) + (f64.const 1) + ) + ) + (set_local $23 + (f64.mul + (f64.mul + (get_local $20) + (get_local $20) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $20) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $20) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $21 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $20) + ) + ) + (set_local $22 + (f64.sub + (f64.mul + (get_local $20) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $23) + (f64.const 1.4426950408889634) + ) + ) + ) + (set_local $15 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $22) + (f64.sub + (get_local $15) + (get_local $21) + ) + ) + ) + ) + (block + (nop) + (set_local $25 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1048576) + ) + (block + (set_local $12 + (f64.mul + (get_local $12) + (f64.const 9007199254740992) + ) + ) + (set_local $25 + (i32.sub + (get_local $25) + (i32.const 53) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.sub + (i32.shr_s + (get_local $7) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $24 + (i32.and + (get_local $7) + (i32.const 1048575) + ) + ) + (set_local $7 + (i32.or + (get_local $24) + (i32.const 1072693248) + ) + ) + (if + (i32.le_s + (get_local $24) + (i32.const 235662) + ) + (set_local $11 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 767610) + ) + (set_local $11 + (i32.const 1) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.const 1) + ) + ) + (set_local $7 + (i32.sub + (get_local $7) + (i32.const 1048576) + ) + ) + ) + ) + ) + (set_local $12 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + (set_local $32 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $11) + ) + ) + (set_local $21 + (f64.sub + (get_local $12) + (get_local $32) + ) + ) + (set_local $22 + (f64.div + (f64.const 1) + (f64.add + (get_local $12) + (get_local $32) + ) + ) + ) + (set_local $26 + (f64.mul + (get_local $21) + (get_local $22) + ) + ) + (set_local $28 + (get_local $26) + ) + (set_local $28 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $28) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $7) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $11) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $12) + (f64.sub + (get_local $30) + (get_local $32) + ) + ) + ) + (set_local $29 + (f64.mul + (get_local $22) + (f64.sub + (f64.sub + (get_local $21) + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (f64.mul + (get_local $28) + (get_local $31) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $19 + (f64.mul + (f64.mul + (get_local $27) + (get_local $27) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $27) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.add + (get_local $19) + (f64.mul + (get_local $29) + (f64.add + (get_local $28) + (get_local $26) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $28) + (get_local $28) + ) + ) + (set_local $30 + (f64.add + (f64.add + (f64.const 3) + (get_local $27) + ) + (get_local $19) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $30) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $19) + (f64.sub + (f64.sub + (get_local $30) + (f64.const 3) + ) + (get_local $27) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (get_local $29) + (get_local $30) + ) + (f64.mul + (get_local $31) + (get_local $26) + ) + ) + ) + (set_local $17 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $17 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $17) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.sub + (get_local $22) + (f64.sub + (get_local $17) + (get_local $21) + ) + ) + ) + (set_local $33 + (f64.mul + (f64.const 0.9617967009544373) + (get_local $17) + ) + ) + (set_local $34 + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $35 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $17) + ) + (f64.mul + (get_local $18) + (f64.const 0.9617966939259756) + ) + ) + (get_local $34) + ) + ) + (set_local $20 + (f64.convert_s/i32 + (get_local $25) + ) + ) + (set_local $36 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.add + (get_local $33) + (get_local $35) + ) + (get_local $36) + ) + (get_local $20) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $35) + (f64.sub + (f64.sub + (f64.sub + (get_local $15) + (get_local $20) + ) + (get_local $36) + ) + (get_local $33) + ) + ) + ) + ) + ) + (set_local $37 + (get_local $1) + ) + (set_local $37 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $37) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (get_local $37) + ) + (get_local $15) + ) + (f64.mul + (get_local $1) + (get_local $16) + ) + ) + ) + (set_local $17 + (f64.mul + (get_local $37) + (get_local $15) + ) + ) + (set_local $13 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $38 + (i32.wrap/i64 + (get_local $2) + ) + ) + (if + (i32.ge_s + (get_local $24) + (i32.const 1083179008) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const 1083179008) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + (if + (f64.gt + (f64.add + (get_local $18) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const -1064252416) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (if + (f64.le + (get_local $18) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (set_local $38 + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $38) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $25 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $38) + (i32.const 1071644672) + ) + (block + (set_local $25 + (i32.add + (get_local $24) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (i32.and + (get_local $25) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $20 + (f64.const 0) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $25) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $11) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $25 + (i32.shr_s + (i32.or + (i32.and + (get_local $25) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 0) + ) + (set_local $25 + (i32.sub + (i32.const 0) + (get_local $25) + ) + ) + ) + (set_local $17 + (f64.sub + (get_local $17) + (get_local $20) + ) + ) + ) + ) + (set_local $20 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $20) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $20) + (f64.const 0.6931471824645996) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (f64.sub + (get_local $18) + (f64.sub + (get_local $20) + (get_local $17) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $20) + (f64.const -1.904654299957768e-09) + ) + ) + ) + (set_local $13 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $23 + (f64.sub + (get_local $22) + (f64.sub + (get_local $13) + (get_local $21) + ) + ) + ) + (set_local $20 + (f64.mul + (get_local $13) + (get_local $13) + ) + ) + (set_local $15 + (f64.sub + (get_local $13) + (f64.mul + (get_local $20) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $20) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $20) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $20) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $20) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.sub + (f64.div + (f64.mul + (get_local $13) + (get_local $15) + ) + (f64.sub + (get_local $15) + (f64.const 2) + ) + ) + (f64.add + (get_local $23) + (f64.mul + (get_local $13) + (get_local $23) + ) + ) + ) + ) + (set_local $13 + (f64.sub + (f64.const 1) + (f64.sub + (get_local $19) + (get_local $13) + ) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 32) + ) + ) + ) + (set_local $24 + (i32.add + (get_local $24) + (i32.shl + (get_local $25) + (i32.const 20) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $24) + (i32.const 20) + ) + (i32.const 0) + ) + (set_local $13 + (call "$(lib)/math/NativeMath.scalbn" + (get_local $13) + (get_local $25) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $24) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (func $std/libm/pow (; 54 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.round" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.nearest + (get_local $0) + ) + ) + ) + (func $std/libm/round (; 56 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.round" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.sign" (; 57 ;) (type $FF) (param $0 f64) (result f64) + (return + (if (result f64) + (f64.gt + (get_local $0) + (f64.const 0) + ) + (f64.const 1) + (if (result f64) + (f64.lt + (get_local $0) + (f64.const 0) + ) + (f64.const -1) + (get_local $0) + ) + ) + ) + ) + (func $std/libm/sign (; 58 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.sign" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.sin" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (unreachable) + (return + (f64.const 0) + ) + ) + (func $std/libm/sin (; 60 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.sin" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 61 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $4) + (i32.const 1082535490) + ) + (block + (set_local $5 + (call "$(lib)/math/NativeMath.expm1" + (get_local $3) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $5) + ) + (f64.div + (f64.mul + (get_local $5) + (get_local $5) + ) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $5) + (f64.div + (get_local $5) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (set_local $5 + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $3) + ) + ) + ) + (return + (get_local $5) + ) + ) + (func $std/libm/sinh (; 62 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + (func $std/libm/sqrt (; 64 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.tan" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (unreachable) + (return + (f64.const 0) + ) + ) + (func $std/libm/tan (; 66 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.tan" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 67 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.gt_u + (get_local $3) + (i32.const 1071748074) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1077149696) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1070618798) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (get_local $4) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 1048576) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (f64.neg + (get_local $4) + ) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (set_local $4 + (get_local $0) + ) + ) + ) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $4) + ) + (get_local $4) + ) + ) + ) + (func $std/libm/tanh (; 68 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.trunc" (; 69 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.trunc + (get_local $0) + ) + ) + ) + (func $std/libm/trunc (; 70 ;) (type $FF) (param $0 f64) (result f64) + (return + (call "$(lib)/math/NativeMath.trunc" + (get_local $0) + ) + ) + ) +) diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index 21008faae0..49d3241cea 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -1,25 +1,55 @@ (module + (type $F (func (result f64))) (type $iiiiv (func (param i32 i32 i32 i32))) - (type $FFFFiv (func (param f64 f64 f64 f64 i32))) + (type $FFFii (func (param f64 f64 f64 i32) (result i32))) + (type $FFFF (func (param f64 f64 f64) (result f64))) + (type $Fi (func (param f64) (result i32))) + (type $FiF (func (param f64 i32) (result f64))) + (type $Fv (func (param f64))) + (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) + (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) + (type $fif (func (param f32 i32) (result f32))) + (type $fffii (func (param f32 f32 f32 i32) (result i32))) + (type $ffff (func (param f32 f32 f32) (result f32))) + (type $fi (func (param f32) (result i32))) + (type $FFFFii (func (param f64 f64 f64 f64 i32) (result i32))) (type $FFF (func (param f64 f64) (result f64))) - (type $FFFiv (func (param f64 f64 f64 i32))) - (type $ffffiv (func (param f32 f32 f32 f32 i32))) + (type $ffffii (func (param f32 f32 f32 f32 i32) (result i32))) (type $fff (func (param f32 f32) (result f32))) - (type $fffiv (func (param f32 f32 f32 i32))) (type $FF (func (param f64) (result f64))) - (type $F (func (result f64))) (type $ff (func (param f32) (result f32))) - (type $FiF (func (param f64 i32) (result f64))) - (type $fif (func (param f32 i32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) (type $I (func (result i64))) (type $v (func)) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) - (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) - (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) + (import "JSMath" "E" (global $(lib)/math/JSMath.E f64)) + (import "env" "logf" (func $std/math/logf (param f64))) + (import "JSMath" "LN2" (global $(lib)/math/JSMath.LN2 f64)) + (import "JSMath" "LN10" (global $(lib)/math/JSMath.LN10 f64)) + (import "JSMath" "LOG2E" (global $(lib)/math/JSMath.LOG2E f64)) + (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) + (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) + (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) + (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) + (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) + (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) + (import "JSMath" "asin" (func $(lib)/math/JSMath.asin (param f64) (result f64))) + (import "JSMath" "asinh" (func $(lib)/math/JSMath.asinh (param f64) (result f64))) + (import "JSMath" "atan" (func $(lib)/math/JSMath.atan (param f64) (result f64))) (import "JSMath" "cbrt" (func $(lib)/math/JSMath.cbrt (param f64) (result f64))) + (import "JSMath" "cosh" (func $(lib)/math/JSMath.cosh (param f64) (result f64))) + (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) + (import "JSMath" "expm1" (func $(lib)/math/JSMath.expm1 (param f64) (result f64))) + (import "JSMath" "hypot" (func $(lib)/math/JSMath.hypot (param f64 f64) (result f64))) + (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) + (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) + (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) + (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) + (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) + (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) + (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) (global "$(lib)/math/NativeMath.random_seeded" (mut i32) (i32.const 0)) (global "$(lib)/math/NativeMath.random_state0" (mut i64) (i64.const 0)) (global "$(lib)/math/NativeMath.random_state1" (mut i64) (i64.const 0)) @@ -28,658 +58,828 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s") (export "memory" (memory $0)) (start $start) - (func $fmod (; 5 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i32) - (local $4 i64) - (local $5 i64) - (local $6 i32) - (local $7 i32) - (local $8 f64) - (block $folding-inner0 - (set_local $3 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $2 + (func $std/math/signbit (; 21 ;) (type $Fi) (param $0 f64) (result i32) + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 63) + ) + ) + ) + (func $std/math/eulp (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (local $1 i32) + (if + (i32.eqz + (tee_local $1 + (i32.wrap/i64 + (i64.and + (i64.shr_u (i64.reinterpret/f64 (get_local $0) ) + (i64.const 52) ) - (i64.const 52) + (i64.const 2047) ) - (i64.const 2047) ) ) ) - (set_local $6 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $5 - (i64.reinterpret/f64 - (get_local $1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.add + (get_local $1) + (i32.const -1075) + ) + ) + (func "$(lib)/math/NativeMath.scalbn" (; 23 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) ) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) ) - (i64.const 52) ) - (i64.const 2047) ) ) ) (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i64.eq - (i64.shl - (get_local $5) - (i64.const 1) - ) - (i64.const 0) - ) - ) - (get_local $7) - (f64.ne - (tee_local $8 + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add (get_local $1) + (i32.const 1022) ) - (get_local $8) ) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) ) - (i32.const 1) ) ) - (get_local $7) - (i32.eq - (get_local $3) - (i32.const 2047) - ) ) - (i32.const 1) ) - (return - (f64.div - (f64.mul - (get_local $0) + ) + ) + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 (get_local $1) ) - (f64.mul - (get_local $0) + (i64.const 1023) + ) + (i64.const 52) + ) + ) + ) + ) + (func $std/math/ulperr (; 24 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (local $3 f64) + (local $4 i32) + (if + (i32.and + (if (result i32) + (tee_local $4 + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + ) + (f64.ne + (tee_local $3 (get_local $1) ) + (get_local $3) ) + (get_local $4) ) + (i32.const 1) ) - (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) + (return + (f64.const 0) + ) + ) + (if + (f64.eq + (get_local $0) + (get_local $1) + ) + (block + (if + (i32.eq + (call $std/math/signbit + (get_local $0) + ) + (call $std/math/signbit + (get_local $1) + ) ) - (i64.shl - (get_local $5) - (i64.const 1) + (return + (get_local $2) ) ) - (block - (br_if $folding-inner0 - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $5) - (i64.const 1) + (return + (f64.const inf) + ) + ) + ) + (if + (i32.eqz + (select + (f64.ne + (f64.abs + (tee_local $3 + (get_local $0) ) ) + (f64.const inf) ) - (return - (get_local $0) + (i32.const 0) + (f64.eq + (get_local $3) + (get_local $3) ) ) ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) + (block + (set_local $0 + (f64.copysign + (f64.const 8988465674311579538646525e283) + (get_local $0) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 0.5) ) ) ) - (set_local $2 - (if (result i64) - (get_local $3) - (i64.or - (i64.and - (get_local $2) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) + ) + (f64.add + (call "$(lib)/math/NativeMath.scalbn" + (f64.sub + (get_local $0) + (get_local $1) + ) + (i32.sub + (i32.const 0) + (call $std/math/eulp + (get_local $1) ) - (block (result i64) - (set_local $4 - (i64.shl + ) + ) + (get_local $2) + ) + ) + (func $std/math/check (; 25 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 f64) + (if + (f64.ne + (get_local $0) + (get_local $1) + ) + (if + (f64.ge + (f64.abs + (tee_local $4 + (call $std/math/ulperr + (get_local $0) + (get_local $1) (get_local $2) - (i64.const 12) - ) - ) - (loop $continue|0 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) - ) ) ) ) + (f64.const 1.5) ) - ) - (set_local $5 - (if (result i64) - (get_local $6) - (i64.or - (i64.and - (get_local $5) - (i64.const 4503599627370495) + (block + (call $std/math/logf + (f64.abs + (get_local $4) ) - (i64.const 4503599627370496) ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $5) - (i64.const 12) - ) - ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) - ) - ) - (br $continue|1) - ) - ) - ) - (i64.shl - (get_local $5) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $6) - ) - ) - ) + (return + (i32.const 0) ) ) ) - (loop $continue|2 + ) + (i32.const 1) + ) + (func $std/math/test_scalbn (; 26 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 27 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) (if (i32.gt_s - (get_local $3) - (get_local $6) - ) - (block - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) - (set_local $2 - (get_local $4) - ) + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) ) ) + (i32.const 127) + ) + (block (set_local $2 - (i64.shl + (f32.mul (get_local $2) - (i64.const 1) + (f32.const 1701411834604692317316873e14) ) ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) ) ) - (br $continue|2) ) ) ) (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) + (i32.lt_s + (get_local $1) + (i32.const -126) ) (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) (set_local $2 - (get_local $4) - ) - ) - ) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u + (f32.mul (get_local $2) - (i64.const 52) + (f32.const 1.1754943508222875e-38) ) ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) ) + (i32.const -126) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - (return - (f64.reinterpret/i64 - (i64.or - (tee_local $2 - (select - (i64.or - (i64.sub - (get_local $2) - (i64.const 4503599627370496) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) - ) - (i64.const 52) - ) - ) - (i64.shr_u + (block + (set_local $2 + (f32.mul (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) + (f32.const 1.1754943508222875e-38) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) ) ) + (i32.const -126) ) - (i32.gt_s - (get_local $3) - (i32.const 0) + (set_local $1 + (i32.const -126) ) ) ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) - ) - (i64.const 63) - ) ) ) ) ) - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - (func $std/math/check (; 6 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (local $4 f64) - (if - (f64.ne - (tee_local $4 - (get_local $1) - ) - (get_local $4) - ) - (if - (f64.eq - (tee_local $4 - (get_local $0) - ) - (get_local $4) - ) - (unreachable) - ) - (if - (f64.ne - (get_local $0) - (get_local $1) - ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.eqz - (i32.and - (get_local $3) - (i32.const 1) - ) - ) - ) - (get_local $3) - (f64.gt - (f64.abs - (f64.sub - (get_local $0) - (get_local $1) - ) - ) - (f64.abs - (get_local $2) - ) - ) - ) - (i32.const 1) + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (get_local $1) + (i32.const 127) ) - (unreachable) + (i32.const 23) ) ) ) ) - (func $std/math/test_fmod (; 7 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) - (call $std/math/check - (call $fmod + (func $std/math/signbitf (; 28 ;) (type $fi) (param $0 f32) (result i32) + (i32.shr_u + (i32.reinterpret/f32 (get_local $0) - (get_local $1) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 31) ) ) - (func $fmodf (; 8 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (block $folding-inner0 - (set_local $4 - (i32.and - (i32.shr_u - (tee_local $2 + (func $std/math/eulpf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (local $1 i32) + (if + (i32.eqz + (tee_local $1 + (i32.and + (i32.shr_u (i32.reinterpret/f32 (get_local $0) ) + (i32.const 23) ) - (i32.const 23) + (i32.const 255) ) - (i32.const 255) ) ) - (set_local $6 - (i32.and - (i32.shr_u - (tee_local $5 - (i32.reinterpret/f32 - (get_local $1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.add + (get_local $1) + (i32.const -150) + ) + ) + (func $std/math/ulperrf (; 30 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (local $3 f32) + (local $4 i32) + (if + (i32.and + (if (result i32) + (tee_local $4 + (f32.ne + (tee_local $3 + (get_local $0) ) + (get_local $3) ) - (i32.const 23) ) - (i32.const 255) - ) - ) - (if - (i32.and - (if (result i32) + (f32.ne (tee_local $3 - (i32.and - (if (result i32) - (tee_local $3 - (i32.eqz - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - ) - (get_local $3) - (f32.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) - ) + (get_local $1) ) (get_local $3) - (i32.eq - (get_local $4) - (i32.const 255) - ) ) - (i32.const 1) + (get_local $4) ) - (return - (f32.div - (f32.mul + (i32.const 1) + ) + (return + (f32.const 0) + ) + ) + (if + (f32.eq + (get_local $0) + (get_local $1) + ) + (block + (if + (i32.eq + (call $std/math/signbitf (get_local $0) - (get_local $1) ) - (f32.mul - (get_local $0) + (call $std/math/signbitf (get_local $1) ) ) - ) - ) - (if - (i32.le_u - (i32.shl + (return (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $5) - (i32.const 1) ) ) - (block - (br_if $folding-inner0 - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $5) - (i32.const 1) + (return + (f32.const inf) + ) + ) + ) + (if + (i32.eqz + (select + (f32.ne + (f32.abs + (tee_local $3 + (get_local $0) ) ) + (f32.const inf) ) - (return - (get_local $0) + (i32.const 0) + (f32.eq + (get_local $3) + (get_local $3) ) ) ) - (set_local $8 - (i32.and - (get_local $2) - (i32.const -2147483648) + (block + (set_local $0 + (f32.copysign + (f32.const 1701411834604692317316873e14) + (get_local $0) + ) ) - ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 0.5) + ) + ) + ) + ) + (f32.add + (call "$(lib)/math/NativeMathf.scalbn" + (f32.sub + (get_local $0) + (get_local $1) + ) + (i32.sub + (i32.const 0) + (call $std/math/eulpf + (get_local $1) + ) + ) + ) + (get_local $2) + ) + ) + (func $std/math/check (; 31 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (local $4 f32) + (if + (f32.ne + (get_local $0) + (get_local $1) + ) + (if + (f32.ge + (f32.abs + (tee_local $4 + (call $std/math/ulperrf + (get_local $0) + (get_local $1) + (get_local $2) + ) + ) + ) + (f32.const 1.5) + ) + (block + (call $std/math/logf + (f64.promote/f32 + (f32.abs + (get_local $4) + ) + ) + ) + (return + (i32.const 0) + ) + ) + ) + ) + (i32.const 1) + ) + (func $std/math/test_scalbnf (; 32 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func $fmod (; 33 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i64) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (block $folding-inner0 + (set_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $5 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i64.eq + (i64.shl + (get_local $5) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $7) + (f64.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.eq + (get_local $3) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) (set_local $2 - (if (result i32) - (get_local $4) - (i32.or - (i32.and + (if (result i64) + (get_local $3) + (i64.or + (i64.and (get_local $2) - (i32.const 8388607) + (i64.const 4503599627370495) ) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (block (result i32) - (set_local $3 - (i32.shl + (block (result i64) + (set_local $4 + (i64.shl (get_local $2) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|0 (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) ) ) (block - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) (br $continue|0) ) ) ) - (i32.shl + (i64.shl (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) ) ) ) ) ) (set_local $5 - (if (result i32) + (if (result i64) (get_local $6) - (i32.or - (i32.and + (i64.or + (i64.and (get_local $5) - (i32.const 8388607) + (i64.const 4503599627370495) ) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (block (result i32) - (set_local $3 - (i32.shl + (block (result i64) + (set_local $4 + (i64.shl (get_local $5) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|1 (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - ) - (block + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) + ) + ) + (block (set_local $6 (i32.sub (get_local $6) (i32.const 1) ) ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) (br $continue|1) ) ) ) - (i32.shl + (i64.shl (get_local $5) - (i32.sub - (i32.const 1) - (get_local $6) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) ) ) ) @@ -688,42 +888,42 @@ (loop $continue|2 (if (i32.gt_s - (get_local $4) + (get_local $3) (get_local $6) ) (block (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub (get_local $2) (get_local $5) ) ) - (i32.const 31) + (i64.const 63) ) ) (block (br_if $folding-inner0 - (i32.eqz - (get_local $3) + (i64.eqz + (get_local $4) ) ) (set_local $2 - (get_local $3) + (get_local $4) ) ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) @@ -732,47 +932,47 @@ ) ) (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub (get_local $2) (get_local $5) ) ) - (i32.const 31) + (i64.const 63) ) ) (block (br_if $folding-inner0 - (i32.eqz - (get_local $3) + (i64.eqz + (get_local $4) ) ) (set_local $2 - (get_local $3) + (get_local $4) ) ) ) (loop $continue|3 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $2) - (i32.const 23) + (i64.const 52) ) ) (block - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) (br $continue|3) @@ -780,100 +980,55 @@ ) ) (return - (f32.reinterpret/i32 - (i32.or + (f64.reinterpret/i64 + (i64.or (tee_local $2 (select - (i32.or - (i32.sub + (i64.or + (i64.sub (get_local $2) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (i32.shl - (get_local $4) - (i32.const 23) + (i64.shl + (i64.extend_u/i32 + (get_local $3) + ) + (i64.const 52) ) ) - (i32.shr_u + (i64.shr_u (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) ) ) (i32.gt_s - (get_local $4) + (get_local $3) (i32.const 0) ) ) ) - (get_local $8) - ) - ) - ) - ) - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - (func $std/math/check (; 9 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (local $4 f32) - (if - (f32.ne - (tee_local $4 - (get_local $1) - ) - (get_local $4) - ) - (if - (f32.eq - (tee_local $4 - (get_local $0) - ) - (get_local $4) - ) - (unreachable) - ) - (if - (f32.ne - (get_local $0) - (get_local $1) - ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.eqz - (i32.and - (get_local $3) - (i32.const 1) - ) - ) - ) - (get_local $3) - (f32.gt - (f32.abs - (f32.sub - (get_local $0) - (get_local $1) - ) - ) - (f32.abs - (get_local $2) - ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) ) + (i64.const 63) ) - (i32.const 1) ) - (unreachable) ) ) ) + (f64.mul + (f64.const 0) + (get_local $0) + ) ) - (func $std/math/test_fmodf (; 10 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) - (call $std/math/check - (call $fmodf + (func $std/math/test_fmod (; 34 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call $fmod (get_local $0) (get_local $1) ) @@ -882,594 +1037,477 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.log" (; 11 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) + (func $fmodf (; 35 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) - (local $3 i64) - (local $4 f64) + (local $3 i32) + (local $4 i32) (local $5 i32) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.lt_u - (tee_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) - ) - ) - ) - (i32.const 1048576) - ) - ) - (get_local $5) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (block $folding-inner0 + (set_local $4 + (i32.and (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (i32.const 1) - ) - (block - (if - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) - ) - (i64.const 0) - ) - (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) + (tee_local $2 + (i32.reinterpret/f32 (get_local $0) ) ) + (i32.const 23) ) + (i32.const 255) ) - (if + ) + (set_local $6 + (i32.and (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + (tee_local $5 + (i32.reinterpret/f32 + (get_local $1) ) - (f64.const 0) ) + (i32.const 23) ) + (i32.const 255) ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 54) - ) - ) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.and + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (get_local $3) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) ) ) + (i32.const 1) ) - (i64.const 32) + ) + (get_local $3) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) ) ) ) ) (if - (i32.ge_u - (get_local $1) - (i32.const 2146435072) - ) - (return - (get_local $0) + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eq - (get_local $1) - (i32.const 1072693248) - ) + (block + (br_if $folding-inner0 + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) ) - (i64.eq - (i64.shl - (get_local $3) - (i64.const 32) - ) - (i64.const 0) + (i32.shl + (get_local $5) + (i32.const 1) ) - (get_local $5) ) - (i32.const 1) ) (return - (f64.const 0) + (get_local $0) ) ) ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 614242) - ) - ) - (i32.const 20) - ) - (i32.const 1023) + (set_local $8 + (i32.and + (get_local $2) + (i32.const -2147483648) ) ) - ) - (set_local $6 - (f64.mul - (f64.mul - (f64.const 0.5) - (tee_local $4 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $1) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (i64.const 32) - ) - (i64.and - (get_local $3) - (i64.const 4294967295) - ) - ) - ) - (f64.const 1) + (set_local $2 + (if (result i32) + (get_local $4) + (i32.or + (i32.and + (get_local $2) + (i32.const 8388607) ) + (i32.const 8388608) ) - ) - (get_local $4) - ) - ) - (set_local $0 - (f64.mul - (tee_local $8 - (f64.mul - (tee_local $7 - (f64.div - (get_local $4) - (f64.add - (f64.const 2) - (get_local $4) - ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $2) + (i32.const 9) ) ) - (get_local $7) - ) - ) - (get_local $8) - ) - ) - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (f64.add - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $0) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $0) - (f64.const 0.15313837699209373) - ) - ) - ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) ) ) + (br $continue|0) ) ) ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) + (i32.shl + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) ) - (f64.const 1.9082149292705877e-10) ) ) - (get_local $6) - ) - (get_local $4) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) ) - (f64.const 0.6931471803691238) - ) - ) - ) - (func $std/math/test_log (; 12 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.log" - (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - (call $std/math/check - (call "$(lib)/math/JSMath.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMathf.log" (; 13 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 f32) - (local $6 i32) - (if - (i32.and + (set_local $5 (if (result i32) - (tee_local $6 - (i32.lt_u - (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) + (get_local $6) + (i32.or + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $5) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|1) ) ) - (i32.const 8388608) ) - ) - (get_local $6) - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.shl + (get_local $5) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) ) ) - (i32.const 1) ) - (block + (loop $continue|2 (if - (i32.eqz - (i32.shl - (get_local $1) - (i32.const 1) - ) + (i32.gt_s + (get_local $4) + (get_local $6) ) - (return - (f32.div - (f32.const -1) - (f32.mul - (get_local $0) - (get_local $0) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) + (br $continue|2) ) ) - (if + ) + (if + (i32.eqz (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) ) - (f32.const 0) ) + (i32.const 31) ) ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 25) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (f32.mul - (get_local $0) - (f32.const 33554432) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) ) ) + (set_local $2 + (get_local $3) + ) ) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2139095040) - ) - (return - (get_local $0) - ) + (loop $continue|3 (if - (i32.eq - (get_local $1) - (i32.const 1065353216) - ) - (return - (f32.const 0) + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) ) - ) - ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 4913933) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) - (i32.const 23) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) ) - (i32.const 127) ) ) - ) - (set_local $3 - (f32.mul - (tee_local $5 - (f32.mul - (tee_local $4 - (f32.div - (tee_local $0 - (f32.sub - (f32.reinterpret/i32 - (i32.add - (i32.and - (get_local $1) - (i32.const 8388607) - ) - (i32.const 1060439283) - ) - ) - (f32.const 1) + (return + (f32.reinterpret/i32 + (i32.or + (tee_local $2 + (select + (i32.or + (i32.sub + (get_local $2) + (i32.const 8388608) + ) + (i32.shl + (get_local $4) + (i32.const 23) ) ) - (f32.add - (f32.const 2) - (get_local $0) + (i32.shr_u + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + (i32.gt_s + (get_local $4) + (i32.const 0) ) ) ) - (get_local $4) + (get_local $8) ) ) - (get_local $5) ) ) - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $4) - (f32.add - (tee_local $4 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $0) - ) - (get_local $0) - ) - ) - (f32.add - (f32.mul - (get_local $5) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $3) - (f32.const 0.2849878668785095) - ) - ) - ) - (f32.mul - (get_local $3) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $3) - (f32.const 0.24279078841209412) - ) - ) - ) - ) - ) - ) - (f32.mul - (tee_local $3 - (f32.convert_s/i32 - (get_local $2) - ) - ) - (f32.const 9.05800061445916e-06) - ) - ) - (get_local $4) - ) - (get_local $0) - ) - (f32.mul - (get_local $3) - (f32.const 0.6931381225585938) - ) + (f32.mul + (f32.const 0) + (get_local $0) ) ) - (func $std/math/test_logf (; 14 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) + (func $std/math/test_fmodf (; 36 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.log" + (call $fmodf (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 15 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) - (local $2 f64) - (set_local $2 + (func "$(lib)/math/NativeMath.abs" (; 37 ;) (type $FF) (param $0 f64) (result f64) + (f64.abs (get_local $0) ) - (if - (i32.gt_s - (get_local $1) - (i32.const 1023) - ) - (block - (set_local $2 - (f64.mul + ) + (func $std/math/test_abs (; 38 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + (get_local $1) (get_local $2) - (f64.const 8988465674311579538646525e283) + (get_local $3) ) ) - (if - (i32.gt_s - (tee_local $1 - (i32.sub - (get_local $1) - (i32.const 1023) - ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) ) - (i32.const 1023) + (get_local $1) + (get_local $2) + (get_local $3) ) - (block - (set_local $2 + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 39 ;) (type $ff) (param $0 f32) (result f32) + (f32.abs + (get_local $0) + ) + ) + (func $std/math/test_absf (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 41 ;) (type $FF) (param $0 f64) (result f64) + (f64.div + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) (f64.mul - (get_local $2) - (f64.const 8988465674311579538646525e283) - ) - ) - (if - (i32.gt_s - (tee_local $1 - (i32.sub - (get_local $1) - (i32.const 1023) + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) ) ) - (i32.const 1023) - ) - (set_local $1 - (i32.const 1023) ) ) ) ) ) - (if - (i32.lt_s - (get_local $1) - (i32.const -1022) - ) - (block - (set_local $2 + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) (f64.mul - (get_local $2) - (f64.const 2.2250738585072014e-308) - ) - ) - (if - (i32.lt_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1022) - ) - ) - (i32.const -1022) - ) - (block - (set_local $2 + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) (f64.mul - (get_local $2) - (f64.const 2.2250738585072014e-308) - ) - ) - (if - (i32.lt_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1022) + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) ) ) - (i32.const -1022) - ) - (set_local $1 - (i32.const -1022) ) ) ) @@ -1477,344 +1515,337 @@ ) ) ) - (f64.mul - (get_local $2) - (f64.reinterpret/i64 - (i64.shl - (i64.add - (i64.extend_u/i32 - (get_local $1) - ) - (i64.const 1023) - ) - (i64.const 52) - ) - ) - ) ) - (func "$(lib)/math/NativeMath.exp" (; 16 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 f64) + (func "$(lib)/math/NativeMath.acos" (; 42 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) (local $3 f64) + (local $4 i32) (if (i32.ge_u - (tee_local $1 + (tee_local $2 (i32.and - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) ) - (i64.const 32) ) ) (i32.const 2147483647) ) ) - (i32.const 1082532651) + (i32.const 1072693248) ) (block (if - (f64.ne - (tee_local $2 - (get_local $0) + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) ) - (get_local $2) - ) - (return - (get_local $0) ) - ) - (if - (f64.gt - (get_local $0) - (f64.const 709.782712893384) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.const 0) + ) ) - (return - (f64.mul + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) (get_local $0) - (f64.const 8988465674311579538646525e283) ) ) ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block (if - (f64.lt - (get_local $0) - (f64.const -708.3964185322641) + (i32.le_u + (get_local $2) + (i32.const 1012924416) ) - (if - (f64.lt + (return + (f64.const 1.5707963267948966) + ) + ) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub (get_local $0) - (f64.const -745.1332191019411) - ) - (return - (f64.const 0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) ) ) ) ) ) (if - (i32.gt_u - (get_local $1) - (i32.const 1071001154) + (i32.shr_u + (get_local $4) + (i32.const 31) ) - (set_local $0 - (f64.sub - (tee_local $2 - (f64.sub - (get_local $0) - (f64.mul - (f64.convert_s/i32 - (tee_local $1 - (if (result i32) - (i32.ge_u - (get_local $1) - (i32.const 1072734898) - ) - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) - (get_local $0) - ) - (f64.copysign - (f64.const 0.5) - (get_local $0) - ) - ) - ) - (i32.sub - (i32.sub - (i32.const 1) - (tee_local $1 - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - ) - (get_local $1) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) ) + (f64.const 0.5) ) ) ) - (f64.const 0.6931471803691238) ) - ) - ) - (tee_local $3 - (f64.mul - (f64.convert_s/i32 - (get_local $1) + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.const 6.123233995736766e-17) ) - (f64.const 1.9082149292705877e-10) ) ) ) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1043333120) - ) - (block - (set_local $1 - (i32.const 0) - ) - (set_local $2 - (get_local $0) - ) - ) - (return - (f64.add - (f64.const 1) - (get_local $0) - ) - ) - ) ) - (set_local $0 + (f64.mul + (f64.const 2) (f64.add - (f64.const 1) - (f64.add - (f64.sub - (f64.div - (f64.mul - (get_local $0) - (tee_local $0 - (f64.sub - (get_local $0) - (f64.mul - (tee_local $0 - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.sub + (f64.const 1) (get_local $0) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $0) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $0) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $0) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) ) + (f64.const 0.5) ) ) ) ) ) - (f64.sub - (f64.const 2) - (get_local $0) + (i64.const -4294967296) + ) + ) + ) + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.mul + (get_local $3) + (get_local $3) ) ) - (get_local $3) + (f64.add + (get_local $1) + (get_local $3) + ) ) - (get_local $2) ) ) ) - (if - (i32.eqz - (get_local $1) - ) - (return - (get_local $0) + ) + (func $std/math/test_acos (; 43 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) ) - ) - (call "$(lib)/math/NativeMath.scalbn" - (get_local $0) - (get_local $1) + (i32.const 1) ) ) - (func $std/math/test_exp (; 17 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.exp" + (func "$(lib)/math/NativeMathf.__R" (; 44 ;) (type $ff) (param $0 f32) (result f32) + (f32.div + (f32.mul (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul + (get_local $0) + (f32.const -0.008656363002955914) + ) + ) + ) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - (call $std/math/check - (call "$(lib)/math/JSMath.exp" - (get_local $0) + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 18 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) - (local $2 f32) - (set_local $2 - (get_local $0) - ) + (func "$(lib)/math/NativeMathf.acos" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 f32) + (local $4 i32) (if - (i32.gt_s - (get_local $1) - (i32.const 127) - ) - (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1701411834604692317316873e14) + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) ) ) + (i32.const 1065353216) + ) + (block (if - (i32.gt_s - (tee_local $1 - (i32.sub - (get_local $1) - (i32.const 127) - ) - ) - (i32.const 127) + (i32.eq + (get_local $2) + (i32.const 1065353216) ) (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1701411834604692317316873e14) - ) - ) (if - (i32.gt_s - (tee_local $1 - (i32.sub - (get_local $1) - (i32.const 127) - ) - ) - (i32.const 127) + (i32.shr_u + (get_local $4) + (i32.const 31) ) - (set_local $1 - (i32.const 127) + (return + (f32.const 3.141592502593994) ) ) + (return + (f32.const 0) + ) ) ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -126) - ) - (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1.1754943508222875e-38) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) ) ) - (if - (i32.lt_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 126) - ) - ) - (i32.const -126) - ) - (block - (set_local $2 + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1056964608) + ) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 847249408) + ) + (return + (f32.const 1.570796251296997) + ) + ) + (return + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (get_local $0) + (f32.sub + (f32.const 7.549789415861596e-08) (f32.mul - (get_local $2) - (f32.const 1.1754943508222875e-38) - ) - ) - (if - (i32.lt_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 126) + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) ) ) - (i32.const -126) - ) - (set_local $1 - (i32.const -126) ) ) ) @@ -1822,6592 +1853,32466 @@ ) ) ) - (f32.mul - (get_local $2) - (f32.reinterpret/i32 - (i32.shl - (i32.add - (get_local $1) - (i32.const 127) - ) - (i32.const 23) - ) - ) - ) - ) - (func "$(lib)/math/NativeMathf.exp" (; 19 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 i32) - (set_local $2 + (if (i32.shr_u - (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) + (get_local $4) (i32.const 31) ) - ) - (if - (i32.ge_u - (tee_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) + (return + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + ) + ) + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) + ) + (get_local $1) + ) + (f32.const 7.549789415861596e-08) + ) + ) ) ) - (i32.const 1118743632) ) - (block - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.ge_u - (get_local $1) - (i32.const 1118925336) + ) + (f32.mul + (f32.const 2) + (f32.add + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + ) ) ) - (i32.eqz - (get_local $2) - ) - (get_local $5) + (i32.const -4096) ) - (i32.const 1) ) - (return - (f32.mul + ) + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" (get_local $0) - (f32.const 1701411834604692317316873e14) ) + (get_local $1) ) - ) - (if - (get_local $2) - (if - (i32.ge_u - (get_local $1) - (i32.const 1120924085) + (f32.div + (f32.sub + (get_local $0) + (f32.mul + (get_local $3) + (get_local $3) + ) ) - (return - (f32.const 0) + (f32.add + (get_local $1) + (get_local $3) ) ) ) ) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1051816472) + ) + (func $std/math/test_acosf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.acos" + (get_local $0) ) - (set_local $0 - (f32.sub - (tee_local $3 - (f32.sub - (get_local $0) - (f32.mul - (f32.convert_s/i32 - (tee_local $1 - (if (result i32) - (i32.gt_u - (get_local $1) - (i32.const 1065686418) - ) - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) - ) - (f32.copysign - (f32.const 0.5) - (get_local $0) - ) - ) - ) - (i32.sub - (i32.sub - (i32.const 1) - (get_local $2) - ) - (get_local $2) - ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 i64) + (local $8 f64) + (set_local $2 + (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 32) ) ) - (f32.const 0.693145751953125) ) + (i32.const 1071284858) ) ) - (tee_local $4 - (f32.mul - (f32.convert_s/i32 - (get_local $1) - ) - (f32.const 1.428606765330187e-06) - ) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) ) ) + (i32.const 1) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 956301312) + (block + (if + (i32.ge_u + (get_local $3) + (i32.const -1074790400) + ) + (block + (if + (f64.eq + (get_local $0) + (f64.const -1) + ) + (return + (f64.div + (get_local $0) + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) ) - (block - (set_local $1 - (i32.const 0) + (if + (i32.lt_u + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 2034237440) ) - (set_local $3 + (return (get_local $0) ) ) - (return - (f32.add - (f32.const 1) - (get_local $0) + (if + (i32.le_u + (get_local $3) + (i32.const -1076707644) + ) + (block + (set_local $2 + (i32.const 0) + ) + (set_local $1 + (get_local $0) + ) ) ) ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + ) ) - (set_local $0 - (f32.add - (f32.const 1) - (f32.add - (f32.sub - (f32.div - (f32.mul - (get_local $0) - (tee_local $0 - (f32.sub - (get_local $0) - (f32.mul - (tee_local $0 - (f32.mul - (get_local $0) - (get_local $0) + (if + (get_local $2) + (block + (set_local $5 + (if (result f64) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + (i64.const 32) + ) ) + (i32.const 614242) ) - (f32.add - (f32.const 0.16666625440120697) - (f32.mul - (get_local $0) - (f32.const -2.7667332906275988e-03) - ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (i32.const 54) + ) + (f64.div + (select + (f64.sub + (f64.const 1) + (f64.sub + (tee_local $1 + (f64.reinterpret/i64 + (get_local $7) ) ) + (get_local $0) + ) + ) + (f64.sub + (get_local $0) + (f64.sub + (get_local $1) + (f64.const 1) ) ) + (i32.ge_s + (get_local $2) + (i32.const 2) + ) ) - (f32.sub - (f32.const 2) - (get_local $0) + (get_local $1) + ) + (f64.const 0) + ) + ) + (set_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $7) + (i64.const 4294967295) + ) ) ) - (get_local $4) + (f64.const 1) ) - (get_local $3) ) ) ) - (if - (i32.eqz - (get_local $1) - ) - (return - (get_local $0) - ) - ) - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $0) - (get_local $1) - ) - ) - (func $std/math/test_expf (; 20 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.exp" - (get_local $0) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $4 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $8) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.sqrt" (; 21 ;) (type $FF) (param $0 f64) (result f64) - (f64.sqrt - (get_local $0) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $4) + (f64.add + (tee_local $4 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $1) + ) + (get_local $1) + ) + ) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.add + (f64.mul + (tee_local $0 + (f64.convert_s/i32 + (get_local $2) + ) + ) + (f64.const 1.9082149292705877e-10) + ) + (get_local $5) + ) + ) + (get_local $4) + ) + (get_local $1) + ) + (f64.mul + (get_local $0) + (f64.const 0.6931471803691238) + ) ) ) - (func "$(lib)/math/NativeMath.pow" (; 22 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 f64) - (local $3 f64) - (local $4 i32) + (func "$(lib)/math/NativeMath.log" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i64) + (local $4 f64) (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 f64) - (local $10 i32) - (local $11 i32) - (local $12 f64) - (local $13 i32) - (local $14 f64) - (local $15 i32) - (local $16 f64) - (local $17 f64) - (local $18 f64) - (local $19 i64) - (block $folding-inner1 - (block $folding-inner0 - (set_local $4 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (get_local $0) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) ) ) - (i64.const 32) + (i32.const 1048576) ) ) - ) - (set_local $13 - (i32.wrap/i64 - (get_local $19) + (get_local $5) + (i32.shr_u + (get_local $1) + (i32.const 31) ) ) - (set_local $5 - (i32.and - (get_local $4) - (i32.const 2147483647) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) ) ) (if - (i32.eqz - (i32.or - (tee_local $10 - (i32.and - (tee_local $11 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (i64.const 32) - ) - ) - ) - (i32.const 2147483647) - ) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) ) - (tee_local $7 - (i32.wrap/i64 - (get_local $19) + (f64.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 54) + ) + ) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) ) ) + (i64.const 32) ) ) - (return - (f64.const 1) - ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2146435072) + ) + (return + (get_local $0) ) (if (i32.and (if (result i32) - (tee_local $6 + (tee_local $5 (i32.eq - (get_local $4) + (get_local $1) (i32.const 1072693248) ) ) - (i32.eqz - (get_local $13) + (i64.eq + (i64.shl + (get_local $3) + (i64.const 32) + ) + (i64.const 0) ) - (get_local $6) + (get_local $5) ) (i32.const 1) ) (return - (f64.const 1) + (f64.const 0) ) ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.gt_s - (get_local $5) - (i32.const 2146435072) - ) - ) - (get_local $6) - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $5) - (i32.const 2146435072) - ) - ) - (i32.ne - (get_local $13) - (i32.const 0) - ) - (get_local $6) - ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $4 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 1048575) ) - (i32.const 1) + (i32.const 1072079006) ) ) - (get_local $6) - (i32.gt_s - (get_local $10) - (i32.const 2146435072) - ) + (i64.const 32) ) - (i32.const 1) - ) - ) - (get_local $6) - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $10) - (i32.const 2146435072) + (i64.and + (get_local $3) + (i64.const 4294967295) ) ) - (i32.ne - (get_local $7) - (i32.const 0) - ) - (get_local $6) ) + (f64.const 1) ) - (i32.const 1) ) - (return - (f64.add - (get_local $0) - (get_local $1) + ) + (get_local $4) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $4) + (f64.add + (f64.const 2) + (get_local $4) + ) + ) ) + (get_local $7) ) ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1128267776) - ) - (set_local $15 - (i32.const 2) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1072693248) - ) - (if - (i32.gt_s - (tee_local $8 - (i32.sub - (i32.shr_s - (get_local $10) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - (i32.const 20) - ) - (if - (i32.eq - (i32.shl - (tee_local $6 - (i32.shr_u - (get_local $7) - (i32.sub - (i32.const 52) - (get_local $8) + (get_local $8) + ) + ) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) ) ) ) - (i32.sub - (i32.const 52) - (get_local $8) - ) - ) - (get_local $7) - ) - (set_local $15 - (i32.sub - (i32.const 2) - (i32.and - (get_local $6) - (i32.const 1) - ) ) ) - ) - (if - (i32.eqz - (get_local $7) - ) - (if - (i32.eq - (i32.shl - (tee_local $6 - (i32.shr_s - (get_local $10) - (i32.sub - (i32.const 20) - (get_local $8) - ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) ) ) - (i32.sub - (i32.const 20) - (get_local $8) - ) - ) - (get_local $10) - ) - (set_local $15 - (i32.sub - (i32.const 2) - (i32.and - (get_local $6) - (i32.const 1) - ) ) ) ) ) ) ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 1.9082149292705877e-10) + ) ) + (get_local $6) ) - (if - (i32.eqz - (get_local $7) - ) - (block - (if - (i32.eq - (get_local $10) - (i32.const 2146435072) - ) - (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1072693248) - ) - (get_local $13) - ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (get_local $1) - (f64.const 0) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - (return - (select - (f64.const 0) - (f64.neg - (get_local $1) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - (return - (f64.const 1) - ) + (get_local $4) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (func "$(lib)/math/NativeMath.acosh" (; 49 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (if + (i64.lt_u + (tee_local $1 + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 52) ) - (if - (i32.eq - (get_local $10) - (i32.const 1072693248) - ) - (block - (if - (i32.ge_s - (get_local $11) - (i32.const 0) + (i64.const 2047) + ) + ) + (i64.const 1024) + ) + (return + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sqrt + (f64.add + (f64.mul + (f64.sub + (get_local $0) + (f64.const 1) ) - (return + (f64.sub (get_local $0) + (f64.const 1) ) ) - (return - (f64.div - (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub (get_local $0) + (f64.const 1) ) ) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 1073741824) + ) + ) + ) + ) + (if + (i64.lt_u + (get_local $1) + (i64.const 1049) + ) + (return + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) ) - (return - (f64.mul - (get_local $0) + ) + ) + ) + ) + ) + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (func $std/math/test_acosh (; 50 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.log1p" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (set_local $2 + (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.reinterpret/f32 (get_local $0) ) ) + (i32.const 1054086096) ) + ) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.ge_u + (get_local $3) + (i32.const -1082130432) + ) + (block (if - (i32.eq - (get_local $11) - (i32.const 1071644672) + (f32.eq + (get_local $0) + (f32.const -1) ) - (if - (i32.ge_s - (get_local $4) - (i32.const 0) + (return + (f32.div + (get_local $0) + (f32.const 0) ) - (return - (call "$(lib)/math/NativeMath.sqrt" - (get_local $0) - ) + ) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) ) + (f32.const 0) ) ) ) ) - (set_local $2 - (f64.abs + (if + (i32.lt_u + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 1728053248) + ) + (return (get_local $0) ) ) (if - (i32.eqz - (get_local $13) + (i32.le_u + (get_local $3) + (i32.const -1097468391) ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $5) - (i32.const 2146435072) + (block + (set_local $2 + (i32.const 0) + ) + (set_local $1 + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $2) + (block + (set_local $5 + (if (result f32) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.reinterpret/f32 + (tee_local $1 + (f32.add + (f32.const 1) + (get_local $0) + ) + ) ) - ) - (get_local $6) - (i32.eqz - (get_local $5) + (i32.const 4913933) ) ) - (i32.const 1) + (i32.const 23) ) - ) - (get_local $6) - (i32.eq - (get_local $5) - (i32.const 1072693248) + (i32.const 127) ) ) - (i32.const 1) + (i32.const 25) ) - (block - (if - (i32.lt_s - (get_local $11) - (i32.const 0) + (f32.div + (select + (f32.sub + (f32.const 1) + (f32.sub + (get_local $1) + (get_local $0) + ) ) - (set_local $2 - (f64.div - (f64.const 1) - (get_local $2) + (f32.sub + (get_local $0) + (f32.sub + (get_local $1) + (f32.const 1) ) ) + (i32.ge_s + (get_local $2) + (i32.const 2) + ) ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) + (get_local $1) + ) + (f32.const 0) + ) + ) + (set_local $1 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 8388607) ) - (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1072693248) + (i32.const 1060439283) + ) + ) + (f32.const 1) + ) + ) + ) + ) + (set_local $0 + (f32.mul + (tee_local $7 + (f32.mul + (tee_local $4 + (f32.div + (get_local $1) + (f32.add + (f32.const 2) + (get_local $1) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $7) + ) + ) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $1) ) - (get_local $15) + (get_local $1) ) - (if - (i32.eq - (get_local $15) - (i32.const 1) - ) - (set_local $2 - (f64.neg - (get_local $2) + ) + (f32.add + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $0) + (f32.const 0.2849878668785095) ) ) ) - (set_local $2 - (f64.div - (f64.sub - (get_local $2) - (get_local $2) - ) - (f64.sub - (get_local $2) - (get_local $2) + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $0) + (f32.const 0.24279078841209412) ) ) ) ) ) - (return - (get_local $2) + ) + (f32.add + (f32.mul + (tee_local $0 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (f32.const 9.05800061445916e-06) ) + (get_local $5) ) ) + (get_local $4) ) - (set_local $12 - (f64.const 1) + (get_local $1) + ) + (f32.mul + (get_local $0) + (f32.const 0.6931381225585938) + ) + ) + ) + (func "$(lib)/math/NativeMathf.log" (; 52 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 8388608) + ) + ) + (get_local $6) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) ) + (i32.const 1) + ) + (block (if - (i32.lt_s - (get_local $4) - (i32.const 0) + (i32.eqz + (i32.shl + (get_local $1) + (i32.const 1) + ) ) - (block - (if - (i32.eqz - (get_local $15) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.sub - (get_local $0) - (get_local $0) - ) - ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) ) ) - (if - (i32.eq - (get_local $15) - (i32.const 1) - ) - (set_local $12 - (f64.const -1) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) ) + (f32.const 0) ) ) ) (set_local $2 - (if (result f64) - (i32.gt_s - (get_local $10) - (i32.const 1105199104) + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 33554432) ) - (block (result f64) - (if - (i32.gt_s - (get_local $10) - (i32.const 1139802112) - ) - (block - (if - (i32.le_s - (get_local $5) - (i32.const 1072693247) - ) - (return - (select - (f64.const inf) - (f64.const 0) - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (f64.const inf) - (f64.const 0) - (i32.gt_s - (get_local $11) - (i32.const 0) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $3 + (f32.mul + (tee_local $5 + (f32.mul + (tee_local $4 + (f32.div + (tee_local $0 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) ) + (i32.const 1060439283) ) ) + (f32.const 1) ) ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 1072693247) - ) - (return - (select - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - ) + (f32.add + (f32.const 2) + (get_local $0) ) ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - (i32.gt_s - (get_local $11) - (i32.const 0) + ) + (get_local $4) + ) + ) + (get_local $5) + ) + ) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $0) ) + (get_local $0) ) ) - ) - (set_local $0 - (f64.mul - (f64.mul - (tee_local $3 - (f64.sub - (get_local $2) - (f64.const 1) + (f32.add + (f32.mul + (get_local $5) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $3) + (f32.const 0.2849878668785095) ) ) - (get_local $3) ) - (f64.sub - (f64.const 0.5) - (f64.mul - (get_local $3) - (f64.sub - (f64.const 0.3333333333333333) - (f64.mul - (get_local $3) - (f64.const 0.25) - ) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $3) + (f32.const 0.24279078841209412) ) ) ) ) ) - (set_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (tee_local $16 - (f64.mul - (f64.const 1.4426950216293335) - (get_local $3) - ) - ) - (tee_local $17 - (f64.sub - (f64.mul - (get_local $3) - (f64.const 1.9259629911266174) - ) - (f64.mul - (get_local $0) - (f64.const 1.4426950408889634) - ) - ) - ) - ) - ) - (i64.const -4294967296) - ) + ) + (f32.mul + (tee_local $3 + (f32.convert_s/i32 + (get_local $2) ) ) - (f64.sub - (get_local $17) - (f64.sub - (get_local $9) - (get_local $16) + (f32.const 9.05800061445916e-06) + ) + ) + (get_local $4) + ) + (get_local $0) + ) + (f32.mul + (get_local $3) + (f32.const 0.6931381225585938) + ) + ) + ) + (func "$(lib)/math/NativeMathf.acosh" (; 53 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (if + (i32.lt_u + (tee_local $1 + (i32.and + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1073741824) + ) + (return + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) + ) ) ) ) - (block (result f64) - (set_local $4 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 1048576) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 53) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1166016512) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) + (get_local $0) ) + (f32.const 1) ) - (set_local $5 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (tee_local $2 - (f64.mul - (get_local $2) - (f64.const 9007199254740992) - ) - ) - ) - (i64.const 32) - ) - ) + ) + ) + ) + ) + ) + ) + ) + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + (func $std/math/test_acoshf (; 54 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 32) ) ) - (set_local $4 - (i32.add + ) + (i32.const 2147483647) + ) + ) + (i32.const 1072693248) + ) + (block + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.const 7.52316384526264e-37) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f64.sqrt + (tee_local $1 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) + ) + ) + (f64.const 0.5) + ) + ) + ) + ) + (set_local $4 + (call "$(lib)/math/NativeMath.__R" + (get_local $1) + ) + ) + (set_local $0 + (if (result f64) + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $0) + (f64.mul + (get_local $0) (get_local $4) - (i32.sub - (i32.shr_s - (get_local $5) - (i32.const 20) - ) - (i32.const 1023) - ) ) ) - (set_local $5 - (i32.or - (tee_local $7 - (i32.and - (get_local $5) - (i32.const 1048575) - ) - ) - (i32.const 1072693248) + ) + (f64.const 6.123233995736766e-17) + ) + ) + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $0) ) + (get_local $4) ) - (set_local $8 - (if (result i32) - (i32.le_s - (get_local $7) - (i32.const 235662) - ) - (i32.const 0) - (if (result i32) - (i32.lt_s - (get_local $7) - (i32.const 767610) - ) - (i32.const 1) - (block (result i32) - (set_local $4 - (i32.add - (get_local $4) - (i32.const 1) - ) - ) - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1048576) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (f64.div + (f64.sub + (get_local $1) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const -4294967296) + ) + ) ) + (get_local $1) ) - (i32.const 0) + ) + (f64.add + (get_local $0) + (get_local $1) ) ) ) ) - (set_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (tee_local $18 - (f64.mul - (tee_local $16 - (f64.sub - (tee_local $2 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $2) - ) - (i64.const 4294967295) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $5) - ) - (i64.const 32) - ) - ) - ) - ) - (tee_local $0 - (select - (f64.const 1.5) - (f64.const 1) - (get_local $8) - ) - ) - ) - ) - (tee_local $17 - (f64.div - (f64.const 1) - (f64.add - (get_local $2) - (get_local $0) - ) - ) + ) + (f64.sub + (f64.const 0.7853981633974483) + (f64.mul + (f64.const 2) + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) + ) + ) + ) + (get_local $0) + ) + (func $std/math/test_asin (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.asin" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (if + (i32.ge_u + (tee_local $1 + (i32.and + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1065353216) + ) + (block + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.add + (f32.mul + (get_local $0) + (f32.const 1.5707963705062866) + ) + (f32.const 7.52316384526264e-37) + ) + ) + ) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1056964608) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (get_local $1) + (i32.const 964689920) + ) + ) + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (get_local $2) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f32.add + (get_local $0) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.const 1.5707963705062866) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.sqrt + (f64.promote/f32 + (tee_local $0 + (f32.mul + (f32.sub + (f32.const 1) + (f32.abs + (get_local $0) ) ) + (f32.const 0.5) ) ) - (i64.const -4294967296) ) ) ) - (set_local $2 - (f64.sub - (get_local $2) - (f64.sub - (tee_local $9 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.add - (i32.or - (i32.shr_s - (get_local $5) - (i32.const 1) - ) - (i32.const 536870912) - ) - (i32.const 524288) - ) - (i32.shl - (get_local $8) - (i32.const 18) - ) - ) - ) - (i64.const 32) - ) - ) - ) + (f64.mul + (get_local $3) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" (get_local $0) ) ) ) - (set_local $2 - (f64.sub - (tee_local $2 - (f64.add - (f64.mul - (f64.mul - (tee_local $14 - (f64.mul - (get_local $18) - (get_local $18) - ) - ) - (get_local $14) - ) - (f64.add - (f64.const 0.5999999999999946) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.4285714285785502) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.33333332981837743) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.272728123808534) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.23066074577556175) - (f64.mul - (get_local $14) - (f64.const 0.20697501780033842) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f64.mul - (tee_local $0 - (f64.mul - (get_local $17) - (f64.sub - (f64.sub - (get_local $16) - (f64.mul - (get_local $3) - (get_local $9) - ) - ) - (f64.mul - (get_local $3) - (get_local $2) - ) - ) - ) - ) - (f64.add - (get_local $3) - (get_local $18) - ) - ) - ) - ) - (f64.sub - (f64.sub - (tee_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (f64.add - (f64.const 3) - (tee_local $14 - (f64.mul - (get_local $3) - (get_local $3) - ) - ) - ) - (get_local $2) - ) - ) - (i64.const -4294967296) - ) - ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f32.neg + (get_local $0) + ) + ) + ) + (get_local $0) + ) + (func $std/math/test_asinf (; 58 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.asinh" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (set_local $1 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1049) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1024) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) ) - (f64.const 3) + (f64.const 1) ) - (get_local $14) ) + (get_local $0) ) ) - (set_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 997) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt (f64.add - (f64.add - (f64.add - (tee_local $18 - (f64.mul - (f64.const 0.9617967009544373) - (tee_local $0 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (tee_local $16 - (f64.mul - (get_local $3) - (get_local $9) - ) - ) - (tee_local $17 - (f64.add - (f64.mul - (get_local $0) - (get_local $9) - ) - (f64.mul - (get_local $2) - (get_local $18) - ) - ) - ) - ) - ) - (i64.const -4294967296) - ) - ) - ) - ) - ) - (tee_local $2 - (f64.add - (f64.add - (f64.mul - (f64.const -7.028461650952758e-09) - (get_local $0) - ) - (f64.mul - (f64.sub - (get_local $17) - (f64.sub - (get_local $0) - (get_local $16) - ) - ) - (f64.const 0.9617966939259756) - ) - ) - (select - (f64.const 1.350039202129749e-08) - (f64.const 0) - (get_local $8) - ) - ) - ) - ) - (tee_local $0 - (select - (f64.const 0.5849624872207642) - (f64.const 0) - (get_local $8) - ) - ) - ) - (tee_local $3 - (f64.convert_s/i32 - (get_local $4) - ) + (f64.mul + (get_local $0) + (get_local $0) ) + (f64.const 1) ) ) - (i64.const -4294967296) - ) - ) - ) - (f64.sub - (get_local $2) - (f64.sub - (f64.sub - (f64.sub - (get_local $9) - (get_local $3) - ) - (get_local $0) + (f64.const 1) ) - (get_local $18) ) ) ) ) ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (tee_local $2 - (f64.add - (tee_local $1 - (f64.add - (f64.mul - (f64.sub - (get_local $1) - (tee_local $0 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $1) - ) - (i64.const -4294967296) - ) - ) - ) - ) - (get_local $9) - ) - (f64.mul - (get_local $1) - (get_local $2) - ) - ) - ) - (tee_local $0 - (f64.mul - (get_local $0) - (get_local $9) - ) - ) - ) - ) - ) - ) - (i64.const 32) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (i64.ne + (get_local $3) + (i64.const 0) + ) + ) + ) + (func $std/math/test_asinh (; 60 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (set_local $13 - (i32.wrap/i64 - (get_local $19) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.ge_s - (get_local $7) - (i32.const 1083179008) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.asinh" (; 61 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $1 + (i32.and + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) ) - (br_if $folding-inner1 - (i32.or - (i32.or - (i32.sub - (get_local $7) - (i32.const 1083179008) - ) - (get_local $13) + ) + (i32.const 2147483647) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1166016512) + ) + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1073741824) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log" + (f32.add + (f32.mul + (f32.const 2) + (get_local $0) ) - (f64.gt - (f64.add - (get_local $1) - (f64.const 8.008566259537294e-17) - ) - (f64.sub - (get_local $2) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) (get_local $0) ) ) ) ) - (if - (i32.ge_s - (i32.and - (get_local $7) - (i32.const 2147483647) - ) - (i32.const 1083231232) - ) - (br_if $folding-inner0 - (i32.or - (i32.or - (i32.sub - (get_local $7) - (i32.const -1064252416) - ) - (get_local $13) - ) - (f64.le - (get_local $1) - (f64.sub - (get_local $2) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 964689920) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (get_local $0) + (f32.div + (f32.mul + (get_local $0) (get_local $0) ) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (f32.const 1) + ) ) ) ) ) ) - (set_local $8 - (i32.sub - (i32.shr_s - (tee_local $13 - (i32.and - (get_local $7) - (i32.const 2147483647) - ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $2) + ) + ) + (func $std/math/test_asinhf (; 62 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (set_local $4 + (i32.shr_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) - (i32.const 20) + (i64.const 32) ) - (i32.const 1023) ) ) - (set_local $4 - (i32.const 0) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) ) + (i32.const 1141899264) + ) + (block (if - (i32.gt_s - (get_local $13) - (i32.const 1071644672) - ) - (block - (set_local $8 - (i32.sub - (i32.shr_s - (i32.and - (tee_local $4 - (i32.add - (get_local $7) - (i32.shr_s - (i32.const 1048576) - (i32.add - (get_local $8) - (i32.const 1) - ) - ) - ) - ) - (i32.const 2147483647) - ) - (i32.const 20) - ) - (i32.const 1023) - ) + (f64.ne + (tee_local $1 + (get_local $0) ) - (set_local $3 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.and - (get_local $4) - (i32.xor - (i32.shr_s - (i32.const 1048575) - (get_local $8) - ) - (i32.const -1) - ) - ) - ) - (i64.const 32) - ) + (get_local $1) + ) + (return + (get_local $0) + ) + ) + (return + (select + (f64.neg + (tee_local $1 + (f64.const 1.5707963267948966) ) ) - (set_local $4 - (i32.shr_s - (i32.or - (i32.and - (get_local $4) - (i32.const 1048575) - ) - (i32.const 1048576) - ) - (i32.sub - (i32.const 20) - (get_local $8) - ) - ) + (get_local $1) + (get_local $4) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1071382528) + ) + (block + (if + (i32.lt_u + (get_local $3) + (i32.const 1044381696) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f64.abs + (get_local $0) + ) + ) + (set_local $0 + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072889856) ) - (if - (i32.lt_s - (get_local $7) - (i32.const 0) + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072037888) ) - (set_local $4 - (i32.sub + (block (result f64) + (set_local $3 (i32.const 0) - (get_local $4) + ) + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) + (get_local $0) + ) + ) + ) + (block (result f64) + (set_local $3 + (i32.const 1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) ) ) ) - (set_local $0 - (f64.sub - (get_local $0) + (if (result f64) + (i32.lt_u (get_local $3) + (i32.const 1073971200) ) - ) - ) - ) - (return - (f64.mul - (get_local $12) - (tee_local $2 - (if (result f64) - (i32.le_s - (i32.shr_s - (tee_local $7 - (i32.add - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (tee_local $2 - (f64.sub - (f64.const 1) - (f64.sub - (f64.sub - (f64.div - (f64.mul - (tee_local $2 - (f64.add - (tee_local $16 - (f64.mul - (tee_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (get_local $1) - (get_local $0) - ) - ) - (i64.const -4294967296) - ) - ) - ) - (f64.const 0.6931471824645996) - ) - ) - (tee_local $17 - (f64.add - (f64.mul - (f64.sub - (get_local $1) - (f64.sub - (get_local $3) - (get_local $0) - ) - ) - (f64.const 0.6931471805599453) - ) - (f64.mul - (get_local $3) - (f64.const -1.904654299957768e-09) - ) - ) - ) - ) - ) - (tee_local $9 - (f64.sub - (get_local $2) - (f64.mul - (tee_local $3 - (f64.mul - (get_local $2) - (get_local $2) - ) - ) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul - (get_local $3) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $3) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $3) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $3) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f64.sub - (get_local $9) - (f64.const 2) - ) - ) - (f64.add - (tee_local $0 - (f64.sub - (get_local $17) - (f64.sub - (get_local $2) - (get_local $16) - ) - ) - ) - (f64.mul - (get_local $2) - (get_local $0) - ) - ) - ) - (get_local $2) - ) - ) - ) - ) - (i64.const 32) - ) - ) - (i32.shl - (get_local $4) - (i32.const 20) - ) - ) + (block (result f64) + (set_local $3 + (i32.const 2) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) ) - (i32.const 20) ) - (i32.const 0) ) - (call "$(lib)/math/NativeMath.scalbn" - (get_local $2) - (get_local $4) + ) + (block (result f64) + (set_local $3 + (i32.const 3) ) - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $2) - ) - (i64.const 4294967295) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) - ) - (i64.const 32) - ) - ) + (f64.div + (f64.const -1) + (get_local $0) ) ) ) ) ) ) - (return - (f64.mul + ) + (set_local $2 + (f64.mul + (tee_local $1 (f64.mul - (get_local $12) - (f64.const 1e-300) + (get_local $0) + (get_local $0) ) - (f64.const 1e-300) ) + (get_local $1) ) ) - (f64.mul + (set_local $1 (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - ) - (func $std/math/test_pow (; 23 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (func "$(lib)/math/NativeMathf.pow" (; 24 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 f32) - (local $3 f32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (local $9 f32) - (local $10 i32) - (local $11 i32) - (local $12 f32) - (local $13 i32) - (local $14 f32) - (local $15 f32) - (local $16 i32) - (local $17 f32) - (block $folding-inner1 - (block $folding-inner0 - (set_local $5 - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 2147483647) - ) - ) - (if - (i32.eqz - (tee_local $10 - (i32.and - (tee_local $11 - (i32.reinterpret/f32 - (get_local $1) + (f64.add + (f64.const 0.3333333333333293) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.14285714272503466) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $2) + (f64.const 0.016285820115365782) + ) + ) + ) + ) ) ) - (i32.const 2147483647) ) ) ) - (return - (f32.const 1) - ) - ) - (if - (i32.eq - (get_local $4) - (i32.const 1065353216) - ) - (return - (f32.const 1) - ) ) - (if - (i32.and - (if (result i32) - (tee_local $13 - (i32.gt_s - (get_local $5) - (i32.const 2139095040) + ) + ) + (set_local $2 + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.19999999999876483) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.0769187620504483) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $2) + (f64.const -0.036531572744216916) + ) + ) + ) ) ) - (get_local $13) - (i32.gt_s - (get_local $10) - (i32.const 2139095040) - ) ) - (i32.const 1) ) - (return - (f32.add - (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sub + (get_local $0) + (f64.mul + (get_local $0) + (f64.add (get_local $1) + (get_local $2) ) ) ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1266679808) - ) - (set_local $16 - (i32.const 2) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1065353216) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (block $tablify|0 + (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 + (get_local $3) + ) + ) + (br $case4|0) ) - (if - (i32.eq - (i32.shl - (tee_local $6 - (i32.shr_s - (get_local $10) - (i32.sub - (i32.const 23) - (tee_local $8 - (i32.sub - (i32.shr_s - (get_local $10) - (i32.const 23) - ) - (i32.const 127) - ) - ) + (set_local $1 + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) ) ) + (f64.const 2.2698777452961687e-17) ) - (i32.sub - (i32.const 23) - (get_local $8) - ) + (get_local $0) ) - (get_local $10) ) - (set_local $16 - (i32.sub - (i32.const 2) - (i32.and - (get_local $6) - (i32.const 1) + ) + (br $break|0) + ) + (set_local $1 + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) ) + (f64.const 3.061616997868383e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) - ) - (if - (i32.eq - (get_local $10) - (i32.const 2139095040) - ) - (if - (i32.eq - (get_local $5) - (i32.const 1065353216) - ) - (return - (f32.const 1) - ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1065353216) - ) - (return - (select - (get_local $1) - (f32.const 0) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - (return - (select - (f32.const 0) - (f32.neg - (get_local $1) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) + (set_local $1 + (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) ) + (f64.const 1.3903311031230998e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) - (if - (i32.eq - (get_local $10) - (i32.const 1065353216) + (set_local $1 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 6.123233995736766e-17) + ) + (get_local $0) + ) ) - (return - (select + ) + (br $break|0) + ) + (unreachable) + ) + (select + (f64.neg + (get_local $1) + ) + (get_local $1) + (get_local $4) + ) + ) + (func $std/math/test_atan (; 64 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.atan" (get_local $0) - (f32.div - (f32.const 1) - (get_local $0) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 1073741824) + (if (result i32) + (tee_local $4 + (i32.const 0) ) - (return - (f32.mul - (get_local $0) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.atan" (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 1056964608) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.atan" (; 65 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 f32) + (local $4 i32) + (set_local $4 + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) ) - (if - (i32.ge_s - (get_local $4) - (i32.const 0) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (i32.const 1283457024) + ) + (block + (if + (f32.ne + (tee_local $1 + (get_local $0) ) - (return - (f32.sqrt - (get_local $0) + (get_local $1) + ) + (return + (get_local $0) + ) + ) + (return + (select + (f32.neg + (tee_local $1 + (f32.const 1.570796251296997) ) ) + (get_local $1) + (get_local $4) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1054867456) + ) + (block + (if + (i32.lt_u + (get_local $2) + (i32.const 964689920) + ) + (return + (get_local $0) ) ) (set_local $2 + (i32.const -1) + ) + ) + (block + (set_local $0 (f32.abs (get_local $0) ) ) - (if - (i32.and - (if (result i32) - (tee_local $13 - (i32.and - (if (result i32) - (tee_local $13 - (i32.eq - (get_local $5) - (i32.const 2139095040) - ) - ) - (get_local $13) - (i32.eqz - (get_local $5) - ) - ) - (i32.const 1) - ) - ) - (get_local $13) - (i32.eq - (get_local $5) - (i32.const 1065353216) - ) - ) - (i32.const 1) - ) - (block - (if - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - (set_local $2 - (f32.div - (f32.const 1) - (get_local $2) - ) - ) + (set_local $0 + (if (result f32) + (i32.lt_u + (get_local $2) + (i32.const 1066926080) ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) + (if (result f32) + (i32.lt_u + (get_local $2) + (i32.const 1060110336) ) - (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1065353216) - ) - (get_local $16) + (block (result f32) + (set_local $2 + (i32.const 0) ) - (if - (i32.eq - (get_local $16) - (i32.const 1) - ) - (set_local $2 - (f32.neg - (get_local $2) + (f32.div + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) ) + (f32.const 1) + ) + (f32.add + (f32.const 2) + (get_local $0) ) ) + ) + (block (result f32) (set_local $2 - (f32.div - (f32.sub - (get_local $2) - (get_local $2) - ) - (f32.sub - (get_local $2) - (get_local $2) - ) + (i32.const 1) + ) + (f32.div + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.add + (get_local $0) + (f32.const 1) ) ) ) ) - (return - (get_local $2) - ) - ) - ) - (set_local $9 - (f32.const 1) - ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) - ) - (block - (if - (i32.eqz - (get_local $16) + (if (result f32) + (i32.lt_u + (get_local $2) + (i32.const 1075576832) ) - (return + (block (result f32) + (set_local $2 + (i32.const 2) + ) (f32.div (f32.sub (get_local $0) - (get_local $0) + (f32.const 1.5) ) - (f32.sub - (get_local $0) - (get_local $0) + (f32.add + (f32.const 1) + (f32.mul + (f32.const 1.5) + (get_local $0) + ) ) ) ) - ) - (if - (i32.eq - (get_local $16) - (i32.const 1) - ) - (set_local $9 - (f32.const -1) + (block (result f32) + (set_local $2 + (i32.const 3) + ) + (f32.div + (f32.const -1) + (get_local $0) + ) ) ) ) ) - (set_local $2 - (if (result f32) - (i32.gt_s - (get_local $10) - (i32.const 1291845632) + ) + ) + (set_local $3 + (f32.mul + (tee_local $1 + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + (get_local $1) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.add + (f32.const 0.333333283662796) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.14253635704517365) + (f32.mul + (get_local $3) + (f32.const 0.06168760731816292) + ) ) - (block (result f32) - (if - (i32.lt_s - (get_local $5) - (i32.const 1065353208) - ) - (return - (select - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) - ) - (i32.lt_s - (get_local $11) - (i32.const 0) - ) + ) + ) + ) + ) + (set_local $3 + (f32.mul + (get_local $3) + (f32.add + (f32.const -0.19999158382415771) + (f32.mul + (get_local $3) + (f32.const -0.106480173766613) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (return + (f32.sub + (get_local $0) + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (block $tablify|0 + (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 + (get_local $2) ) ) + (br $case4|0) ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1065353223) - ) - (return - (select - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul + (set_local $1 + (f32.sub + (f32.const 0.46364760398864746) + (f32.sub + (f32.sub (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) ) - (f32.const 1.0000000031710769e-30) - ) - (i32.gt_s - (get_local $11) - (i32.const 0) + (f32.const 5.01215824399992e-09) ) + (get_local $0) ) ) ) - (set_local $0 - (f32.mul - (f32.mul - (tee_local $3 - (f32.sub - (get_local $2) - (f32.const 1) - ) - ) - (get_local $3) - ) + (br $break|0) + ) + (set_local $1 + (f32.sub + (f32.const 0.7853981256484985) + (f32.sub (f32.sub - (f32.const 0.5) (f32.mul - (get_local $3) - (f32.sub - (f32.const 0.3333333432674408) - (f32.mul - (get_local $3) - (f32.const 0.25) - ) + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) ) ) + (f32.const 3.774894707930798e-08) ) + (get_local $0) ) ) - (set_local $7 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (tee_local $14 - (f32.mul - (f32.const 1.44268798828125) - (get_local $3) - ) - ) - (tee_local $15 - (f32.sub - (f32.mul - (get_local $3) - (f32.const 7.052607543300837e-06) - ) - (f32.mul - (get_local $0) - (f32.const 1.4426950216293335) - ) - ) - ) - ) + ) + (br $break|0) + ) + (set_local $1 + (f32.sub + (f32.const 0.9827936887741089) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) ) - (i32.const -4096) ) + (f32.const 3.447321716976148e-08) ) + (get_local $0) ) + ) + ) + (br $break|0) + ) + (set_local $1 + (f32.sub + (f32.const 1.570796251296997) + (f32.sub (f32.sub - (get_local $15) - (f32.sub - (get_local $7) - (get_local $14) + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) ) + (f32.const 7.549789415861596e-08) ) + (get_local $0) ) - (block (result f32) - (set_local $4 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 8388608) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 24) - ) - ) - (set_local $5 - (i32.reinterpret/f32 - (f32.mul - (get_local $2) - (f32.const 16777216) - ) - ) + ) + ) + (br $break|0) + ) + (unreachable) + ) + (select + (f32.neg + (get_local $1) + ) + (get_local $1) + (get_local $4) + ) + ) + (func $std/math/test_atanf (; 66 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.cbrt" (; 67 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i64) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) ) ) + (i64.const 32) ) - (set_local $4 - (i32.add - (get_local $4) - (i32.sub - (i32.shr_s - (get_local $5) - (i32.const 23) + ) + (i32.const 2147483647) + ) + ) + (i32.const 2146435072) + ) + (return + (f64.add + (get_local $0) + (get_local $0) + ) + ) + ) + (set_local $3 + (if (result i32) + (i32.lt_u + (get_local $3) + (i32.const 1048576) + ) + (block (result i32) + (if + (i32.eqz + (tee_local $3 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) ) - (i32.const 127) ) + (i32.const 2147483647) ) ) - (set_local $5 - (i32.or - (tee_local $6 - (i32.and - (get_local $5) - (i32.const 8388607) - ) - ) - (i32.const 1065353216) + ) + (return + (get_local $0) + ) + ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) + ) + (i32.const 696219795) + ) + ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) + ) + (i32.const 715094163) + ) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.or + (i64.and + (get_local $4) + (i64.const -9223372036854775808) ) - ) - (set_local $8 - (if (result i32) - (i32.le_s - (get_local $6) - (i32.const 1885297) - ) - (i32.const 0) - (if (result i32) - (i32.lt_s - (get_local $6) - (i32.const 6140887) - ) - (i32.const 1) - (block (result i32) - (set_local $4 - (i32.add - (get_local $4) - (i32.const 1) - ) - ) - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 8388608) - ) - ) - (i32.const 0) - ) + (i64.shl + (i64.extend_u/i32 + (get_local $3) ) + (i64.const 32) ) ) - (set_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (tee_local $17 - (f32.mul - (tee_local $14 - (f32.sub - (tee_local $2 - (f32.reinterpret/i32 - (get_local $5) + ) + ) + (get_local $1) + ) + (f64.div + (get_local $1) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (tee_local $2 + (f64.div + (get_local $0) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.add + (i64.reinterpret/f64 + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.const 1.87595182427177) + (f64.mul + (get_local $2) + (f64.add + (f64.const -1.8849797954337717) + (f64.mul + (get_local $2) + (f64.const 1.6214297201053545) + ) + ) ) ) - (tee_local $0 - (select - (f32.const 1.5) - (f32.const 1) - (get_local $8) + (f64.mul + (f64.mul + (f64.mul + (get_local $2) + (get_local $2) + ) + (get_local $2) ) - ) - ) - ) - (tee_local $15 - (f32.div - (f32.const 1) - (f32.add - (get_local $2) - (get_local $0) - ) - ) - ) - ) - ) - ) - (i32.const -4096) - ) - ) - ) - (set_local $2 - (f32.sub - (get_local $2) - (f32.sub - (tee_local $7 - (f32.reinterpret/i32 - (i32.add - (i32.add - (i32.or - (i32.and - (i32.shr_s - (get_local $5) - (i32.const 1) + (f64.add + (f64.const -0.758397934778766) + (f64.mul + (get_local $2) + (f64.const 0.14599619288661245) + ) ) - (i32.const -4096) ) - (i32.const 536870912) ) - (i32.const 4194304) - ) - (i32.shl - (get_local $8) - (i32.const 21) ) ) + (i64.const 2147483648) ) + (i64.const -1073741824) ) - (get_local $0) ) ) - ) - (set_local $2 - (f32.sub - (tee_local $2 - (f32.add - (f32.mul - (f32.mul - (tee_local $12 - (f32.mul - (get_local $17) - (get_local $17) - ) - ) - (get_local $12) - ) - (f32.add - (f32.const 0.6000000238418579) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.4285714328289032) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.3333333432674408) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.2727281153202057) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.23066075146198273) - (f32.mul - (get_local $12) - (f32.const 0.20697501301765442) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f32.mul - (tee_local $0 - (f32.mul - (get_local $15) - (f32.sub - (f32.sub - (get_local $14) - (f32.mul - (get_local $3) - (get_local $7) - ) - ) - (f32.mul - (get_local $3) - (get_local $2) - ) - ) - ) - ) - (f32.add - (get_local $3) - (get_local $17) - ) - ) - ) - ) - (f32.sub - (f32.sub - (tee_local $7 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (f32.add - (f32.const 3) - (tee_local $12 - (f32.mul - (get_local $3) - (get_local $3) - ) - ) - ) - (get_local $2) - ) - ) - (i32.const -4096) - ) - ) - ) - (f32.const 3) - ) - (get_local $12) - ) - ) - ) - (set_local $7 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (f32.add - (f32.add - (tee_local $17 - (f32.mul - (f32.const 0.9619140625) - (tee_local $0 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (tee_local $14 - (f32.mul - (get_local $3) - (get_local $7) - ) - ) - (tee_local $15 - (f32.add - (f32.mul - (get_local $0) - (get_local $7) - ) - (f32.mul - (get_local $2) - (get_local $17) - ) - ) - ) - ) - ) - (i32.const -4096) - ) - ) - ) - ) - ) - (tee_local $2 - (f32.add - (f32.add - (f32.mul - (f32.const -1.1736857413779944e-04) - (get_local $0) - ) - (f32.mul - (f32.sub - (get_local $15) - (f32.sub - (get_local $0) - (get_local $14) - ) - ) - (f32.const 0.9617967009544373) - ) - ) - (select - (f32.const 1.5632208487659227e-06) - (f32.const 0) - (get_local $8) - ) - ) - ) - ) - (tee_local $0 - (select - (f32.const 0.5849609375) - (f32.const 0) - (get_local $8) - ) - ) - ) - (tee_local $3 - (f32.convert_s/i32 - (get_local $4) - ) - ) - ) - ) - (i32.const -4096) - ) - ) - ) - (f32.sub - (get_local $2) - (f32.sub - (f32.sub - (f32.sub - (get_local $7) - (get_local $3) - ) - (get_local $0) - ) - (get_local $17) - ) + (get_local $1) ) ) ) + (get_local $1) ) - (br_if $folding-inner1 - (i32.gt_s - (tee_local $6 - (i32.reinterpret/f32 - (tee_local $2 - (f32.add - (tee_local $1 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (tee_local $0 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (get_local $1) - ) - (i32.const -4096) - ) - ) - ) - ) - (get_local $7) - ) - (f32.mul - (get_local $1) - (get_local $2) - ) - ) - ) - (tee_local $0 - (f32.mul - (get_local $0) - (get_local $7) - ) - ) - ) - ) - ) + (f64.add + (f64.add + (get_local $1) + (get_local $1) + ) + (get_local $2) + ) + ) + ) + (f64.add + (get_local $1) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (func $std/math/test_cbrt (; 68 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cbrt" + (get_local $0) ) - (i32.const 1124073472) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.eq - (get_local $6) - (i32.const 1124073472) + (if (result i32) + (tee_local $4 + (i32.const 0) ) - (br_if $folding-inner1 - (f32.gt - (f32.add - (get_local $1) - (f32.const 4.299566569443414e-08) - ) - (f32.sub - (get_local $2) - (get_local $0) - ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cbrt" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (if - (i32.gt_s - (i32.and - (get_local $6) - (i32.const 2147483647) - ) - (i32.const 1125515264) - ) - (br $folding-inner0) - (if - (i32.eq - (get_local $6) - (i32.const -1021968384) - ) - (br_if $folding-inner0 - (f32.le - (get_local $1) - (f32.sub - (get_local $2) - (get_local $0) - ) - ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.cbrt" (; 69 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (get_local $0) ) ) + (i32.const 2147483647) ) ) - (set_local $8 - (i32.sub - (i32.shr_s - (tee_local $13 - (i32.and - (get_local $6) - (i32.const 2147483647) + (i32.const 2139095040) + ) + (return + (f32.add + (get_local $0) + (get_local $0) + ) + ) + ) + (set_local $3 + (if (result i32) + (i32.lt_u + (get_local $3) + (i32.const 8388608) + ) + (block (result i32) + (if + (i32.eqz + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (i32.add + (i32.div_u + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 16777216) + ) + ) ) + (i32.const 2147483647) ) - (i32.const 23) + (i32.const 3) ) - (i32.const 127) + (i32.const 642849266) ) ) - (set_local $4 - (i32.const 0) - ) - (if - (i32.gt_s - (get_local $13) - (i32.const 1056964608) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) ) - (block - (set_local $8 - (i32.sub - (i32.shr_s + (i32.const 709958130) + ) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.promote/f32 + (f32.reinterpret/i32 + (i32.or (i32.and - (tee_local $4 - (i32.add - (get_local $6) - (i32.shr_s - (i32.const 8388608) - (i32.add - (get_local $8) - (i32.const 1) - ) - ) - ) - ) - (i32.const 2147483647) + (get_local $4) + (i32.const -2147483648) ) - (i32.const 23) + (get_local $3) ) - (i32.const 127) ) ) - (set_local $3 - (f32.reinterpret/i32 - (i32.and - (get_local $4) - (i32.xor - (i32.shr_s - (i32.const 8388607) - (get_local $8) + ) + (get_local $1) + ) + (get_local $1) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.div + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 + (get_local $0) ) - (i32.const -1) ) + (get_local $2) ) ) - ) - (set_local $4 - (i32.shr_s - (i32.or - (i32.and - (get_local $4) - (i32.const 8388607) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) ) - (i32.const 8388608) - ) - (i32.sub - (i32.const 23) - (get_local $8) + (get_local $2) ) + (get_local $2) ) ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) + ) + (get_local $1) + ) + (get_local $1) + ) + ) + (f32.demote/f64 + (f64.div + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) ) - (set_local $4 - (i32.sub - (i32.const 0) - (get_local $4) - ) + (f64.promote/f32 + (get_local $0) ) ) - (set_local $0 - (f32.sub + (get_local $2) + ) + ) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) + ) + (get_local $2) + ) + (get_local $2) + ) + ) + ) + ) + (func $std/math/test_cbrtf (; 70 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.cbrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.expm1" (; 71 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 i64) + (local $7 i32) + (local $8 f64) + (set_local $7 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 (get_local $0) - (get_local $3) ) ) + (i64.const 32) ) + (i64.const 2147483647) ) - (return - (f32.mul - (get_local $9) - (tee_local $2 - (if (result f32) - (i32.le_s - (i32.shr_s - (tee_local $6 - (i32.add - (i32.reinterpret/f32 - (tee_local $2 - (f32.sub - (f32.const 1) - (f32.sub - (f32.sub - (f32.div - (f32.mul - (tee_local $2 - (f32.add - (tee_local $14 - (f32.mul - (tee_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (get_local $1) - (get_local $0) - ) - ) - (i32.const -32768) - ) - ) - ) - (f32.const 0.693145751953125) - ) - ) - (tee_local $15 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (f32.sub - (get_local $3) - (get_local $0) - ) - ) - (f32.const 0.6931471824645996) - ) - (f32.mul - (get_local $3) - (f32.const 1.4286065379565116e-06) - ) - ) - ) - ) - ) - (tee_local $7 - (f32.sub - (get_local $2) - (f32.mul - (tee_local $3 - (f32.mul - (get_local $2) - (get_local $2) - ) - ) - (f32.add - (f32.const 0.1666666716337204) - (f32.mul - (get_local $3) - (f32.add - (f32.const -2.7777778450399637e-03) - (f32.mul - (get_local $3) - (f32.add - (f32.const 6.61375597701408e-05) - (f32.mul - (get_local $3) - (f32.add - (f32.const -1.6533901998627698e-06) - (f32.mul - (get_local $3) - (f32.const 4.138136944220605e-08) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f32.sub - (get_local $7) - (f32.const 2) - ) - ) - (f32.add - (tee_local $0 - (f32.sub - (get_local $15) - (f32.sub - (get_local $2) - (get_local $14) - ) - ) - ) - (f32.mul - (get_local $2) - (get_local $0) - ) - ) - ) - (get_local $2) - ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $6) + (i64.const 63) + ) + ) + ) + (if + (i32.ge_u + (get_local $7) + (i32.const 1078159482) + ) + (block + (if + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $5) + (return + (f64.const -1) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $7) + (i32.const 1071001154) + ) + (block + (if + (i32.lt_u + (get_local $7) + (i32.const 1072734898) + ) + (set_local $3 + (if (result f64) + (get_local $5) + (block (result f64) + (set_local $1 + (f64.const -1.9082149292705877e-10) + ) + (set_local $2 + (i32.const -1) + ) + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (block (result f64) + (set_local $1 + (f64.const 1.9082149292705877e-10) + ) + (set_local $2 + (i32.const 1) + ) + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + ) + ) + (block + (set_local $3 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $1 + (f64.convert_s/i32 + (tee_local $2 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (select + (f64.const -0.5) + (f64.const 0.5) + (get_local $5) ) ) ) - (i32.shl - (get_local $4) - (i32.const 23) - ) ) ) - (i32.const 23) ) - (i32.const 0) + (f64.const 0.6931471803691238) ) - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $2) - (get_local $4) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $8 + (f64.sub + (f64.sub + (get_local $3) + (tee_local $0 + (f64.sub + (get_local $3) + (get_local $1) ) - (f32.reinterpret/i32 - (get_local $6) + ) + ) + (get_local $1) + ) + ) + ) + (if + (i32.lt_u + (get_local $7) + (i32.const 1016070144) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $1 + (f64.sub + (f64.const 3) + (f64.mul + (tee_local $3 + (f64.add + (f64.const 1) + (f64.mul + (tee_local $4 + (f64.mul + (get_local $0) + (tee_local $1 + (f64.mul + (f64.const 0.5) + (get_local $0) + ) + ) + ) + ) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $4) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $4) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $4) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $4) + (f64.const -2.0109921818362437e-07) + ) + ) + ) + ) + ) + ) + ) ) ) ) ) + (get_local $1) + ) + ) + ) + (set_local $1 + (f64.mul + (get_local $4) + (f64.div + (f64.sub + (get_local $3) + (get_local $1) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $2) + ) + (return + (f64.sub + (get_local $0) + (f64.sub + (f64.mul + (get_local $0) + (get_local $1) + ) + (get_local $4) + ) + ) + ) + ) + (set_local $1 + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.sub + (get_local $1) + (get_local $8) + ) + ) + (get_local $8) + ) + (get_local $4) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + (f64.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 1) + ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) + ) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $1) + (f64.add + (get_local $0) + (f64.const 0.5) + ) + ) + ) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 1023) + ) + (i64.const 52) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + ) + (get_local $5) + (i32.gt_s + (get_local $2) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.add + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + ) + (return + (f64.sub + (tee_local $0 + (select + (f64.mul + (f64.mul + (get_local $0) + (f64.const 2) + ) + (f64.const 8988465674311579538646525e283) + ) + (f64.mul + (get_local $0) + (get_local $3) + ) + (i32.eq + (get_local $2) + (i32.const 1024) + ) + ) + ) + (f64.const 1) + ) + ) + ) + ) + (set_local $6 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $2) + ) + ) + (i64.const 52) + ) + ) + (tee_local $0 + (select + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $6) + ) + ) + ) + (get_local $3) + ) + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $1) + (f64.reinterpret/i64 + (get_local $6) + ) + ) + ) + (f64.const 1) + ) + (get_local $3) + ) + (i32.lt_s + (get_local $2) + (i32.const 20) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.exp" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (set_local $4 + (i32.shr_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (i32.const 1082532651) + ) + (block + (if + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + (return + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + ) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1071001154) + ) + (set_local $0 + (f64.sub + (tee_local $2 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (tee_local $3 + (if (result i32) + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) + ) + ) + ) + (i32.sub + (i32.sub + (i32.const 1) + (get_local $4) + ) + (get_local $4) + ) + ) + ) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (tee_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $3) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1043333120) + ) + (set_local $2 + (get_local $0) + ) + (return + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (set_local $0 + (f64.add + (f64.const 1) + (f64.add + (f64.sub + (f64.div + (f64.mul + (get_local $0) + (tee_local $0 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $0) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $0) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $0) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (f64.const 2) + (get_local $0) + ) + ) + (get_local $5) + ) + (get_local $2) + ) + ) + ) + (if + (i32.eqz + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__expo2" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) + ) + ) + (tee_local $1 + (f64.const 2247116418577894884661631e283) + ) + ) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.cosh" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i64) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $2 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (i32.const 1072049730) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 1045430272) + ) + (return + (f64.const 1) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (get_local $0) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1082535490) + ) + (return + (f64.mul + (f64.const 0.5) + (f64.add + (tee_local $0 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) + ) + ) + (func $std/math/test_cosh (; 75 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.expm1" (; 76 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (set_local $2 + (i32.and + (tee_local $3 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (set_local $3 + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1100331076) + ) + (block + (if + (i32.gt_u + (get_local $2) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $3) + (return + (f32.const -1) + ) + ) + (if + (f32.gt + (get_local $0) + (f32.const 88.7216796875) + ) + (return + (f32.mul + (get_local $0) + (f32.const 1701411834604692317316873e14) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1051816472) + ) + (block + (if + (i32.lt_u + (get_local $2) + (i32.const 1065686418) + ) + (set_local $0 + (if (result f32) + (get_local $3) + (block (result f32) + (set_local $1 + (f32.const -9.05800061445916e-06) + ) + (set_local $2 + (i32.const -1) + ) + (f32.add + (get_local $0) + (f32.const 0.6931381225585938) + ) + ) + (block (result f32) + (set_local $1 + (f32.const 9.05800061445916e-06) + ) + (set_local $2 + (i32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 0.6931381225585938) + ) + ) + ) + ) + (block + (set_local $0 + (f32.sub + (get_local $0) + (f32.mul + (tee_local $1 + (f32.convert_s/i32 + (tee_local $2 + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) + (get_local $0) + ) + (select + (f32.const -0.5) + (f32.const 0.5) + (get_local $3) + ) + ) + ) + ) + ) + ) + (f32.const 0.6931381225585938) + ) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 9.05800061445916e-06) + ) + ) + ) + ) + (set_local $5 + (f32.sub + (f32.sub + (get_local $0) + (tee_local $0 + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + ) + (get_local $1) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 855638016) + ) + (return + (get_local $0) + ) + (set_local $2 + (i32.const 0) + ) + ) + ) + (set_local $1 + (f32.sub + (f32.const 3) + (f32.mul + (tee_local $6 + (f32.add + (f32.const 1) + (f32.mul + (tee_local $4 + (f32.mul + (get_local $0) + (tee_local $1 + (f32.mul + (f32.const 0.5) + (get_local $0) + ) + ) + ) + ) + (f32.add + (f32.const -0.03333321213722229) + (f32.mul + (get_local $4) + (f32.const 1.5807170420885086e-03) + ) + ) + ) + ) + ) + (get_local $1) + ) + ) + ) + (set_local $1 + (f32.mul + (get_local $4) + (f32.div + (f32.sub + (get_local $6) + (get_local $1) + ) + (f32.sub + (f32.const 6) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $2) + ) + (return + (f32.sub + (get_local $0) + (f32.sub + (f32.mul + (get_local $0) + (get_local $1) + ) + (get_local $4) + ) + ) + ) + ) + (set_local $1 + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.sub + (get_local $1) + (get_local $5) + ) + ) + (get_local $5) + ) + (get_local $4) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const -1) + ) + (return + (f32.sub + (f32.mul + (f32.const 0.5) + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + (f32.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 1) + ) + (block + (if + (f32.lt + (get_local $0) + (f32.const -0.25) + ) + (return + (f32.mul + (f32.const -2) + (f32.sub + (get_local $1) + (f32.add + (get_local $0) + (f32.const 0.5) + ) + ) + ) + ) + ) + (return + (f32.add + (f32.const 1) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + ) + (set_local $4 + (f32.reinterpret/i32 + (i32.shl + (i32.add + (get_local $2) + (i32.const 127) + ) + (i32.const 23) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + ) + (get_local $3) + (i32.gt_s + (get_local $2) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f32.add + (f32.sub + (get_local $0) + (get_local $1) + ) + (f32.const 1) + ) + ) + (return + (f32.sub + (tee_local $0 + (select + (f32.mul + (f32.mul + (get_local $0) + (f32.const 2) + ) + (f32.const 1701411834604692317316873e14) + ) + (f32.mul + (get_local $0) + (get_local $4) + ) + (i32.eq + (get_local $2) + (i32.const 128) + ) + ) + ) + (f32.const 1) + ) + ) + ) + ) + (set_local $3 + (i32.shl + (i32.sub + (i32.const 127) + (get_local $2) + ) + (i32.const 23) + ) + ) + (tee_local $0 + (select + (f32.mul + (f32.add + (f32.sub + (get_local $0) + (get_local $1) + ) + (f32.sub + (f32.const 1) + (f32.reinterpret/i32 + (get_local $3) + ) + ) + ) + (get_local $4) + ) + (f32.mul + (f32.add + (f32.sub + (get_local $0) + (f32.add + (get_local $1) + (f32.reinterpret/i32 + (get_local $3) + ) + ) + ) + (f32.const 1) + ) + (get_local $4) + ) + (i32.lt_s + (get_local $2) + (i32.const 23) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.exp" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 i32) + (set_local $2 + (i32.shr_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (i32.const 1118743632) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.ge_u + (get_local $1) + (i32.const 1118925336) + ) + ) + (i32.eqz + (get_local $2) + ) + (get_local $5) + ) + (i32.const 1) + ) + (return + (f32.mul + (get_local $0) + (f32.const 1701411834604692317316873e14) + ) + ) + ) + (if + (select + (i32.ge_u + (get_local $1) + (i32.const 1120924085) + ) + (get_local $2) + (get_local $2) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1051816472) + ) + (set_local $0 + (f32.sub + (tee_local $3 + (f32.sub + (get_local $0) + (f32.mul + (f32.convert_s/i32 + (tee_local $1 + (if (result i32) + (i32.gt_u + (get_local $1) + (i32.const 1065686418) + ) + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) + (get_local $0) + ) + (f32.copysign + (f32.const 0.5) + (get_local $0) + ) + ) + ) + (i32.sub + (i32.sub + (i32.const 1) + (get_local $2) + ) + (get_local $2) + ) + ) + ) + ) + (f32.const 0.693145751953125) + ) + ) + ) + (tee_local $4 + (f32.mul + (f32.convert_s/i32 + (get_local $1) + ) + (f32.const 1.428606765330187e-06) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 956301312) + ) + (block + (set_local $1 + (i32.const 0) + ) + (set_local $3 + (get_local $0) + ) + ) + (return + (f32.add + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (set_local $0 + (f32.add + (f32.const 1) + (f32.add + (f32.sub + (f32.div + (f32.mul + (get_local $0) + (tee_local $0 + (f32.sub + (get_local $0) + (f32.mul + (tee_local $0 + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + (f32.add + (f32.const 0.16666625440120697) + (f32.mul + (get_local $0) + (f32.const -2.7667332906275988e-03) + ) + ) + ) + ) + ) + ) + (f32.sub + (f32.const 2) + (get_local $0) + ) + ) + (get_local $4) + ) + (get_local $3) + ) + ) + ) + (if + (i32.eqz + (get_local $1) + ) + (return + (get_local $0) + ) + ) + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $0) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMathf.__expo2" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (f32.mul + (f32.mul + (call "$(lib)/math/NativeMathf.exp" + (f32.sub + (get_local $0) + (f32.const 162.88958740234375) + ) + ) + (tee_local $1 + (f32.const 1661534994731144841129758e11) + ) + ) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMathf.cosh" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (set_local $0 + (f32.reinterpret/i32 + (tee_local $1 + (i32.and + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1060205079) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 964689920) + ) + (return + (f32.const 1) + ) + ) + (return + (f32.add + (f32.const 1) + (f32.div + (f32.mul + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) + ) + ) + (get_local $0) + ) + (f32.mul + (f32.const 2) + (f32.add + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1118925335) + ) + (return + (f32.mul + (f32.const 0.5) + (f32.add + (tee_local $0 + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) + ) + ) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + ) + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $0) + ) + ) + (func $std/math/test_coshf (; 80 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $std/math/test_exp (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func $std/math/test_expf (; 82 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $std/math/test_expm1 (; 83 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func $std/math/test_expm1f (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.hypot" (; 85 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i64) + (local $5 i64) + (local $6 f64) + (local $7 i32) + (local $8 i32) + (local $9 i64) + (local $10 i32) + (local $11 f64) + (if + (i64.lt_u + (tee_local $5 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 9223372036854775807) + ) + ) + (tee_local $4 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const 9223372036854775807) + ) + ) + ) + (block + (set_local $9 + (get_local $5) + ) + (set_local $5 + (get_local $4) + ) + (set_local $4 + (get_local $9) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (get_local $4) + ) + ) + (if + (i32.eq + (tee_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 52) + ) + ) + ) + (i32.const 2047) + ) + (return + (get_local $1) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $5) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $10 + (i32.eq + (tee_local $8 + (i32.wrap/i64 + (i64.shr_u + (get_local $5) + (i64.const 52) + ) + ) + ) + (i32.const 2047) + ) + ) + (get_local $10) + (i64.eq + (get_local $4) + (i64.const 0) + ) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (if + (i32.gt_s + (i32.sub + (get_local $8) + (get_local $7) + ) + (i32.const 64) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $6 + (f64.const 1) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1533) + ) + (block + (set_local $6 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 1.90109156629516e-211) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 573) + ) + (block + (set_local $6 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) + ) + ) + ) + ) + ) + (set_local $3 + (f64.sub + (get_local $0) + (tee_local $2 + (f64.add + (f64.sub + (get_local $0) + (tee_local $2 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (set_local $11 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $2) + (get_local $2) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) + ) + ) + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (set_local $3 + (f64.sub + (get_local $1) + (tee_local $2 + (f64.add + (f64.sub + (get_local $1) + (tee_local $2 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (f64.mul + (get_local $6) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $2) + (get_local $2) + ) + (tee_local $1 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) + ) + ) + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (get_local $11) + ) + (get_local $1) + ) + (get_local $0) + ) + ) + ) + ) + (func $std/math/test_hypot (; 86 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.hypot" (; 87 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f32) + (if + (i32.lt_u + (tee_local $3 + (i32.and + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 2147483647) + ) + ) + (tee_local $2 + (i32.and + (i32.reinterpret/f32 + (get_local $1) + ) + (i32.const 2147483647) + ) + ) + ) + (block + (set_local $4 + (get_local $3) + ) + (set_local $3 + (get_local $2) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $3) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (get_local $2) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 2139095040) + ) + (return + (get_local $1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i32.ge_u + (get_local $3) + (i32.const 2139095040) + ) + ) + (get_local $4) + (i32.eqz + (get_local $2) + ) + ) + (i32.const 1) + ) + ) + (get_local $4) + (i32.ge_u + (i32.sub + (get_local $3) + (get_local $2) + ) + (i32.const 209715200) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $5 + (f32.const 1) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 1568669696) + ) + (block + (set_local $5 + (f32.const 1237940039285380274899124e3) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 8.077935669463161e-28) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 8.077935669463161e-28) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 562036736) + ) + (block + (set_local $5 + (f32.const 8.077935669463161e-28) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1237940039285380274899124e3) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 1237940039285380274899124e3) + ) + ) + ) + ) + ) + (f32.mul + (get_local $5) + (f32.sqrt + (f32.demote/f64 + (f64.add + (f64.mul + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 + (get_local $0) + ) + ) + (f64.mul + (f64.promote/f32 + (get_local $1) + ) + (f64.promote/f32 + (get_local $1) + ) + ) + ) + ) + ) + ) + ) + (func $std/math/test_hypotf (; 88 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func $std/math/test_log (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func $std/math/test_logf (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.log10" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 i64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1048576) + ) + ) + (get_local $5) + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $4) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $4) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $5) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $4) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + (get_local $1) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $8) + ) + ) + (set_local $9 + (f64.mul + (tee_local $10 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (f64.const 0.30102999566361177) + ) + ) + (f64.add + (f64.add + (f64.add + (f64.add + (f64.mul + (get_local $10) + (f64.const 3.694239077158931e-13) + ) + (f64.mul + (f64.add + (tee_local $0 + (f64.add + (f64.sub + (f64.sub + (get_local $1) + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.sub + (get_local $1) + (get_local $6) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (get_local $1) + ) + (f64.const 2.5082946711645275e-11) + ) + ) + (f64.mul + (get_local $0) + (f64.const 0.4342944818781689) + ) + ) + (f64.add + (f64.sub + (get_local $9) + (tee_local $0 + (f64.add + (get_local $9) + (tee_local $1 + (f64.mul + (get_local $1) + (f64.const 0.4342944818781689) + ) + ) + ) + ) + ) + (get_local $1) + ) + ) + (get_local $0) + ) + ) + (func $std/math/test_log10 (; 92 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.log10" (; 93 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 i32) + (local $8 f32) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.lt_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 8388608) + ) + ) + (get_local $7) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.eqz + (i32.shl + (get_local $1) + (i32.const 1) + ) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_u + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $3 + (f32.mul + (tee_local $5 + (f32.mul + (tee_local $4 + (f32.div + (tee_local $0 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (f32.const 1) + ) + ) + (f32.add + (f32.const 2) + (get_local $0) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $5) + ) + ) + (f32.add + (f32.add + (f32.add + (f32.add + (f32.mul + (tee_local $8 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (f32.const 7.903415166765626e-07) + ) + (f32.mul + (f32.add + (tee_local $3 + (f32.add + (f32.sub + (f32.sub + (get_local $0) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.sub + (get_local $0) + (tee_local $6 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $0) + ) + (get_local $0) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $6) + ) + (f32.mul + (get_local $4) + (f32.add + (get_local $6) + (f32.add + (f32.mul + (get_local $5) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $3) + (f32.const 0.2849878668785095) + ) + ) + ) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $3) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + ) + ) + ) + ) + (get_local $0) + ) + (f32.const -3.168997136526741e-05) + ) + ) + (f32.mul + (get_local $3) + (f32.const 0.434326171875) + ) + ) + (f32.mul + (get_local $0) + (f32.const 0.434326171875) + ) + ) + (f32.mul + (get_local $8) + (f32.const 0.3010292053222656) + ) + ) + ) + (func $std/math/test_log10f (; 94 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $std/math/test_log1p (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func $std/math/test_log1pf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.log2" (; 97 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 i64) + (local $7 f64) + (local $8 i32) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.lt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 1048576) + ) + ) + (get_local $8) + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $6) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 54) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $6) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $8) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.sub + (i32.shr_u + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 614242) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $3 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $6) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) + ) + ) + ) + (get_local $3) + ) + ) + (set_local $1 + (f64.mul + (tee_local $0 + (f64.mul + (tee_local $7 + (f64.div + (get_local $3) + (f64.add + (f64.const 2) + (get_local $3) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $0) + ) + ) + (set_local $4 + (f64.add + (f64.sub + (f64.sub + (get_local $3) + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.sub + (get_local $3) + (get_local $4) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $4) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $4) + (f64.add + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $1) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $1) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $1) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $1 + (f64.add + (tee_local $7 + (f64.convert_s/i32 + (get_local $5) + ) + ) + (tee_local $0 + (f64.mul + (get_local $3) + (f64.const 1.4426950407214463) + ) + ) + ) + ) + (f64.add + (f64.add + (f64.add + (f64.mul + (f64.add + (get_local $4) + (get_local $3) + ) + (f64.const 1.6751713164886512e-10) + ) + (f64.mul + (get_local $4) + (f64.const 1.4426950407214463) + ) + ) + (f64.add + (f64.sub + (get_local $7) + (get_local $1) + ) + (get_local $0) + ) + ) + (get_local $1) + ) + ) + (func $std/math/test_log2 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.log2" (; 99 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 i32) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.lt_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 8388608) + ) + ) + (get_local $7) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.eqz + (i32.shl + (get_local $1) + (i32.const 1) + ) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_u + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $3 + (f32.mul + (tee_local $5 + (f32.mul + (tee_local $4 + (f32.div + (tee_local $0 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (f32.const 1) + ) + ) + (f32.add + (f32.const 2) + (get_local $0) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $5) + ) + ) + (f32.add + (f32.add + (f32.add + (f32.mul + (f32.add + (tee_local $3 + (f32.add + (f32.sub + (f32.sub + (get_local $0) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.sub + (get_local $0) + (tee_local $6 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $0) + ) + (get_local $0) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $6) + ) + (f32.mul + (get_local $4) + (f32.add + (get_local $6) + (f32.add + (f32.mul + (get_local $5) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $3) + (f32.const 0.2849878668785095) + ) + ) + ) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $3) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + ) + ) + ) + ) + (get_local $0) + ) + (f32.const -1.7605285393074155e-04) + ) + (f32.mul + (get_local $3) + (f32.const 1.44287109375) + ) + ) + (f32.mul + (get_local $0) + (f32.const 1.44287109375) + ) + ) + (f32.convert_s/i32 + (get_local $2) + ) + ) + ) + (func $std/math/test_log2f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 101 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 f64) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 i32) + (local $14 f64) + (local $15 i32) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 i64) + (block $folding-inner1 + (block $folding-inner0 + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (set_local $5 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $10 + (i32.and + (tee_local $11 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (tee_local $7 + (i32.wrap/i64 + (get_local $19) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 1072693248) + ) + ) + (i32.eqz + (get_local $13) + ) + (get_local $6) + ) + (i32.const 1) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $6) + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $13) + (i32.const 0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $7) + (i32.const 0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1128267776) + ) + (set_local $15 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1072693248) + ) + (if + (i32.gt_s + (tee_local $8 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (i32.const 20) + ) + (if + (i32.eq + (i32.shl + (tee_local $6 + (i32.shr_u + (get_local $7) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + (get_local $7) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $7) + ) + (if + (i32.eq + (i32.shl + (tee_local $6 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + (get_local $10) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $7) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $13) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (get_local $1) + (f64.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f64.const 0) + (f64.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $13) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $6) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $5) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f64.div + (f64.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $15) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (get_local $2) + (get_local $2) + ) + (f64.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + ) + (set_local $12 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $15) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $12 + (f64.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f64) + (i32.gt_s + (get_local $10) + (i32.const 1105199104) + ) + (block (result f64) + (if + (i32.gt_s + (get_local $10) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.mul + (tee_local $3 + (f64.sub + (get_local $2) + (f64.const 1) + ) + ) + (get_local $3) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $3) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $3) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $3) + ) + ) + (tee_local $17 + (f64.sub + (f64.mul + (get_local $3) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $0) + (f64.const 1.4426950408889634) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $17) + (f64.sub + (get_local $9) + (get_local $16) + ) + ) + ) + (block (result f64) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1048576) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 53) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.mul + (get_local $2) + (f64.const 9007199254740992) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $7 + (i32.and + (get_local $5) + (i32.const 1048575) + ) + ) + (i32.const 1072693248) + ) + ) + (set_local $8 + (if (result i32) + (i32.le_s + (get_local $7) + (i32.const 235662) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $7) + (i32.const 767610) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1048576) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $18 + (f64.mul + (tee_local $16 + (f64.sub + (tee_local $2 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $5) + ) + (i64.const 32) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $8) + ) + ) + ) + ) + (tee_local $17 + (f64.div + (f64.const 1) + (f64.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $2 + (f64.sub + (get_local $2) + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $8) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.sub + (tee_local $2 + (f64.add + (f64.mul + (f64.mul + (tee_local $14 + (f64.mul + (get_local $18) + (get_local $18) + ) + ) + (get_local $14) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $14) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $17) + (f64.sub + (f64.sub + (get_local $16) + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (f64.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f64.add + (get_local $3) + (get_local $18) + ) + ) + ) + ) + (f64.sub + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.const 3) + (tee_local $14 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 3) + ) + (get_local $14) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.add + (tee_local $18 + (f64.mul + (f64.const 0.9617967009544373) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (get_local $0) + (get_local $9) + ) + (f64.mul + (get_local $2) + (get_local $18) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + ) + (tee_local $2 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $0) + ) + (f64.mul + (f64.sub + (get_local $17) + (f64.sub + (get_local $0) + (get_local $16) + ) + ) + (f64.const 0.9617966939259756) + ) + ) + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $8) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $8) + ) + ) + ) + (tee_local $3 + (f64.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $2) + (f64.sub + (f64.sub + (f64.sub + (get_local $9) + (get_local $3) + ) + (get_local $0) + ) + (get_local $18) + ) + ) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (tee_local $2 + (f64.add + (tee_local $1 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $9) + ) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $9) + ) + ) + ) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1083179008) + ) + (br_if $folding-inner1 + (i32.or + (i32.or + (i32.sub + (get_local $7) + (i32.const 1083179008) + ) + (get_local $13) + ) + (f64.gt + (f64.add + (get_local $1) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (br_if $folding-inner0 + (i32.or + (i32.or + (i32.sub + (get_local $7) + (i32.const -1064252416) + ) + (get_local $13) + ) + (f64.le + (get_local $1) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (i32.shr_s + (tee_local $13 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $13) + (i32.const 1071644672) + ) + (block + (set_local $8 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $7) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $8) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f64.mul + (get_local $12) + (tee_local $2 + (if (result f64) + (i32.le_s + (i32.shr_s + (tee_local $7 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.sub + (f64.const 1) + (f64.sub + (f64.sub + (f64.div + (f64.mul + (tee_local $2 + (f64.add + (tee_local $16 + (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (get_local $1) + (get_local $0) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 0.6931471824645996) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (f64.sub + (get_local $3) + (get_local $0) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $3) + (f64.const -1.904654299957768e-09) + ) + ) + ) + ) + ) + (tee_local $9 + (f64.sub + (get_local $2) + (f64.mul + (tee_local $3 + (f64.mul + (get_local $2) + (get_local $2) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $3) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $3) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $3) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $3) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (get_local $9) + (f64.const 2) + ) + ) + (f64.add + (tee_local $0 + (f64.sub + (get_local $17) + (f64.sub + (get_local $2) + (get_local $16) + ) + ) + ) + (f64.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.shl + (get_local $4) + (i32.const 20) + ) + ) + ) + (i32.const 20) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $2) + (get_local $4) + ) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + (func $std/math/test_pow (; 102 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 103 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 f32) + (local $10 i32) + (local $11 i32) + (local $12 f32) + (local $13 i32) + (local $14 f32) + (local $15 f32) + (local $16 i32) + (local $17 f32) + (block $folding-inner1 + (block $folding-inner0 + (set_local $5 + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (tee_local $10 + (i32.and + (tee_local $11 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 2147483647) + ) + ) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $13 + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $13) + (i32.gt_s + (get_local $10) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1266679808) + ) + (set_local $16 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1065353216) + ) + (if + (i32.eq + (i32.shl + (tee_local $6 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 23) + (tee_local $8 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + ) + ) + (i32.sub + (i32.const 23) + (get_local $8) + ) + ) + (get_local $10) + ) + (set_local $16 + (i32.sub + (i32.const 2) + (i32.and + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (f32.const 1) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353216) + ) + (return + (select + (get_local $1) + (f32.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f32.const 0) + (f32.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1065353216) + ) + (return + (select + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $2 + (f32.abs + (get_local $0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $13 + (i32.and + (if (result i32) + (tee_local $13 + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $13) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $13) + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f32.div + (f32.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1065353216) + ) + (get_local $16) + ) + (if + (i32.eq + (get_local $16) + (i32.const 1) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f32.div + (f32.sub + (get_local $2) + (get_local $2) + ) + (f32.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + (set_local $9 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $16) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $16) + (i32.const 1) + ) + (set_local $9 + (f32.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f32) + (i32.gt_s + (get_local $10) + (i32.const 1291845632) + ) + (block (result f32) + (if + (i32.lt_s + (get_local $5) + (i32.const 1065353208) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353223) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f32.mul + (f32.mul + (tee_local $3 + (f32.sub + (get_local $2) + (f32.const 1) + ) + ) + (get_local $3) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $3) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $3) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $7 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $14 + (f32.mul + (f32.const 1.44268798828125) + (get_local $3) + ) + ) + (tee_local $15 + (f32.sub + (f32.mul + (get_local $3) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $0) + (f32.const 1.4426950216293335) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $15) + (f32.sub + (get_local $7) + (get_local $14) + ) + ) + ) + (block (result f32) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 8388608) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 24) + ) + ) + (set_local $5 + (i32.reinterpret/f32 + (f32.mul + (get_local $2) + (f32.const 16777216) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $6 + (i32.and + (get_local $5) + (i32.const 8388607) + ) + ) + (i32.const 1065353216) + ) + ) + (set_local $8 + (if (result i32) + (i32.le_s + (get_local $6) + (i32.const 1885297) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $6) + (i32.const 6140887) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 8388608) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $17 + (f32.mul + (tee_local $14 + (f32.sub + (tee_local $2 + (f32.reinterpret/i32 + (get_local $5) + ) + ) + (tee_local $0 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $8) + ) + ) + ) + ) + (tee_local $15 + (f32.div + (f32.const 1) + (f32.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (set_local $2 + (f32.sub + (get_local $2) + (f32.sub + (tee_local $7 + (f32.reinterpret/i32 + (i32.add + (i32.add + (i32.or + (i32.and + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + (i32.const 4194304) + ) + (i32.shl + (get_local $8) + (i32.const 21) + ) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f32.sub + (tee_local $2 + (f32.add + (f32.mul + (f32.mul + (tee_local $12 + (f32.mul + (get_local $17) + (get_local $17) + ) + ) + (get_local $12) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $12) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (tee_local $0 + (f32.mul + (get_local $15) + (f32.sub + (f32.sub + (get_local $14) + (f32.mul + (get_local $3) + (get_local $7) + ) + ) + (f32.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f32.add + (get_local $3) + (get_local $17) + ) + ) + ) + ) + (f32.sub + (f32.sub + (tee_local $7 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.const 3) + (tee_local $12 + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.const 3) + ) + (get_local $12) + ) + ) + ) + (set_local $7 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.add + (tee_local $17 + (f32.mul + (f32.const 0.9619140625) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $14 + (f32.mul + (get_local $3) + (get_local $7) + ) + ) + (tee_local $15 + (f32.add + (f32.mul + (get_local $0) + (get_local $7) + ) + (f32.mul + (get_local $2) + (get_local $17) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + ) + (tee_local $2 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $0) + ) + (f32.mul + (f32.sub + (get_local $15) + (f32.sub + (get_local $0) + (get_local $14) + ) + ) + (f32.const 0.9617967009544373) + ) + ) + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $8) + ) + ) + ) + ) + (tee_local $0 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $8) + ) + ) + ) + (tee_local $3 + (f32.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $2) + (f32.sub + (f32.sub + (f32.sub + (get_local $7) + (get_local $3) + ) + (get_local $0) + ) + (get_local $17) + ) + ) + ) + ) + ) + (br_if $folding-inner1 + (i32.gt_s + (tee_local $6 + (i32.reinterpret/f32 + (tee_local $2 + (f32.add + (tee_local $1 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (get_local $1) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $7) + ) + (f32.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f32.mul + (get_local $0) + (get_local $7) + ) + ) + ) + ) + ) + ) + (i32.const 1124073472) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 1124073472) + ) + (br_if $folding-inner1 + (f32.gt + (f32.add + (get_local $1) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (br $folding-inner0) + (if + (i32.eq + (get_local $6) + (i32.const -1021968384) + ) + (br_if $folding-inner0 + (f32.le + (get_local $1) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (i32.shr_s + (tee_local $13 + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $13) + (i32.const 1056964608) + ) + (block + (set_local $8 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $6) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $8) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $8) + ) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f32.mul + (get_local $9) + (tee_local $2 + (if (result f32) + (i32.le_s + (i32.shr_s + (tee_local $6 + (i32.add + (i32.reinterpret/f32 + (tee_local $2 + (f32.sub + (f32.const 1) + (f32.sub + (f32.sub + (f32.div + (f32.mul + (tee_local $2 + (f32.add + (tee_local $14 + (f32.mul + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (get_local $1) + (get_local $0) + ) + ) + (i32.const -32768) + ) + ) + ) + (f32.const 0.693145751953125) + ) + ) + (tee_local $15 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (f32.sub + (get_local $3) + (get_local $0) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $3) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + ) + ) + (tee_local $7 + (f32.sub + (get_local $2) + (f32.mul + (tee_local $3 + (f32.mul + (get_local $2) + (get_local $2) + ) + ) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $3) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $3) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $3) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $3) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.sub + (get_local $7) + (f32.const 2) + ) + ) + (f32.add + (tee_local $0 + (f32.sub + (get_local $15) + (f32.sub + (get_local $2) + (get_local $14) + ) + ) + ) + (f32.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + (i32.const 23) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $2) + (get_local $4) + ) + (f32.reinterpret/i32 + (get_local $6) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (func $std/math/test_powf (; 104 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.__murmurHash3" (; 105 ;) (type $II) (param $0 i64) (result i64) + (i64.xor + (tee_local $0 + (i64.mul + (i64.xor + (tee_local $0 + (i64.mul + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + (i64.const -49064778989728563) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + (i64.const -4265267296055464877) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (func "$(lib)/math/NativeMath.seedRandom" (; 106 ;) (type $Iv) (param $0 i64) + (if + (i64.eqz + (get_local $0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 32) + (i32.const 1055) + (i32.const 4) + ) + (unreachable) + ) + ) + (set_global "$(lib)/math/NativeMath.random_seeded" + (i32.const 1) + ) + (set_global "$(lib)/math/NativeMath.random_state0" + (call "$(lib)/math/NativeMath.__murmurHash3" + (get_local $0) + ) + ) + (set_global "$(lib)/math/NativeMath.random_state1" + (call "$(lib)/math/NativeMath.__murmurHash3" + (get_global "$(lib)/math/NativeMath.random_state0") + ) + ) + ) + (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 107 ;) (type $I) (result i64) + (local $0 i64) + (local $1 i64) + (set_local $0 + (get_global "$(lib)/math/NativeMath.random_state0") + ) + (set_global "$(lib)/math/NativeMath.random_state0" + (tee_local $1 + (get_global "$(lib)/math/NativeMath.random_state1") + ) + ) + (set_global "$(lib)/math/NativeMath.random_state1" + (tee_local $0 + (i64.xor + (i64.xor + (i64.xor + (tee_local $0 + (i64.xor + (get_local $0) + (i64.shl + (get_local $0) + (i64.const 23) + ) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 17) + ) + ) + (get_local $1) + ) + (i64.shr_u + (get_local $1) + (i64.const 26) + ) + ) + ) + ) + (i64.add + (get_local $1) + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.random" (; 108 ;) (type $F) (result f64) + (if + (i32.eqz + (get_global "$(lib)/math/NativeMath.random_seeded") + ) + (unreachable) + ) + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.and + (call "$(lib)/math/NativeMath.__xorShift128Plus") + (i64.const 4503599627370495) + ) + (i64.const 4607182418800017408) + ) + ) + (f64.const 1) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 109 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i64) + (local $4 i32) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (tee_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 32) + ) + ) + ) + (i32.const 1082535490) + ) + (block + (set_local $1 + (call "$(lib)/math/NativeMath.expm1" + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.const 1045430272) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $1) + ) + (f64.div + (f64.mul + (get_local $1) + (get_local $1) + ) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $1) + (f64.div + (get_local $1) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $1) + ) + ) + ) + (func $std/math/test_sinh (; 110 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.sinh" (; 111 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 f32) + (local $3 i32) + (set_local $2 + (f32.const 0.5) + ) + (if + (i32.shr_u + (tee_local $3 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1118925335) + ) + (block + (set_local $1 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1065353216) + ) + (block + (if + (i32.lt_u + (get_local $3) + (i32.const 964689920) + ) + (return + (get_local $0) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.sub + (f32.mul + (f32.const 2) + (get_local $1) + ) + (f32.div + (f32.mul + (get_local $1) + (get_local $1) + ) + (f32.add + (get_local $1) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.add + (get_local $1) + (f32.div + (get_local $1) + (f32.add + (get_local $1) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (f32.mul + (f32.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $1) + ) + ) + ) + (func $std/math/test_sinhf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (f64.sqrt + (get_local $0) + ) + ) + (func $std/math/test_sqrt (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.sqrt" (; 115 ;) (type $ff) (param $0 f32) (result f32) + (f32.sqrt + (get_local $0) + ) + ) + (func $std/math/test_sqrtf (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 117 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (tee_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.gt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (i32.const 1071748074) + ) + (set_local $0 + (if (result f64) + (i32.gt_u + (get_local $2) + (i32.const 1077149696) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + (f64.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1070618798) + ) + (set_local $0 + (f64.div + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (set_local $0 + (f64.div + (f64.neg + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $3) + ) + ) + (func $std/math/test_tanh (; 118 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.tanh" (; 119 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $2 + (i32.shr_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1057791828) + ) + (set_local $0 + (if (result f32) + (i32.gt_u + (get_local $1) + (i32.const 1092616192) + ) + (f32.add + (f32.const 1) + (f32.div + (f32.const 0) + (get_local $0) + ) + ) + (f32.sub + (f32.const 1) + (f32.div + (f32.const 2) + (f32.add + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + (f32.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1048757624) + ) + (set_local $0 + (f32.div + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (set_local $0 + (f32.div + (f32.neg + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const -2) + (get_local $0) + ) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $2) + ) + ) + (func $std/math/test_tanhf (; 120 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $start (; 121 ;) (type $v) + (local $0 i32) + (local $1 f64) + (local $2 i32) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 99) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 100) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 101) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 102) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 103) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 104) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 2147483647) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 2147483647) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 192) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 193) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -2) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 221) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 222) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const -inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 223) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 224) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const -inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 249) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 250) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 251) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 263) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 271) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 272) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 275) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 276) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 277) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 278) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 279) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 280) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 281) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 282) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 283) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 284) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 285) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 286) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 288) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 289) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 291) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 292) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 293) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 294) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 295) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 296) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -2) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 297) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 298) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 299) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 301) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 302) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 303) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 304) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 305) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 306) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 307) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 308) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const -inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 309) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 310) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 311) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 312) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 313) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 314) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 315) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 317) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 318) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 319) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 320) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 321) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 322) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 323) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 324) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 325) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 326) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 327) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 328) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 329) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 331) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 332) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const -inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 333) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const -inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 334) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 335) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -inf) + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 336) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 337) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 338) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 339) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 340) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.06684839057968) + (f64.const 8.06684839057968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 350) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 4.345239849338305) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 351) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.38143342755525) + (f64.const 8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 352) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -6.531673581913484) + (f64.const 6.531673581913484) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 353) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 9.267056966972586) + (f64.const 9.267056966972586) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 354) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.6619858980995045) + (f64.const 0.6619858980995045) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 355) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.4066039223853553) + (f64.const 0.4066039223853553) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 356) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.5617597462207241) + (f64.const 0.5617597462207241) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 357) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.7741522965913037) + (f64.const 0.7741522965913037) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 358) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.6787637026394024) + (f64.const 0.6787637026394024) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 359) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 362) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 363) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 364) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 365) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 366) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 367) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 368) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.066848754882812) + (f32.const 8.066848754882812) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 377) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 4.345239639282227) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 378) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.381433486938477) + (f32.const 8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 379) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -6.531673431396484) + (f32.const 6.531673431396484) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 380) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 9.267057418823242) + (f32.const 9.267057418823242) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 381) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.6619858741760254) + (f32.const 0.6619858741760254) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 382) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.40660393238067627) + (f32.const 0.40660393238067627) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 383) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.5617597699165344) + (f32.const 0.5617597699165344) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 384) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.7741522789001465) + (f32.const 0.7741522789001465) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 385) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.6787636876106262) + (f32.const 0.6787636876106262) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 386) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 389) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 390) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 391) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 392) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 393) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 394) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 395) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 405) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 406) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 407) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 408) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 409) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.6619858980995045) + (f64.const 0.8473310828433507) + (f64.const -0.41553276777267456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 410) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.4066039223853553) + (f64.const 1.989530071088669) + (f64.const 0.4973946213722229) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 411) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.5617597462207241) + (f64.const 0.9742849645674904) + (f64.const -0.4428897500038147) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 412) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.7741522965913037) + (f64.const 0.6854215158636222) + (f64.const -0.12589527666568756) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 413) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.6787637026394024) + (f64.const 2.316874138205964) + (f64.const -0.17284949123859406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 414) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 417) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 418) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 419) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 420) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 421) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 422) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 423) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 424) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.5309227209592985) + (f64.const 2.1304853799705463) + (f64.const 0.1391008496284485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 425) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.4939556746399746) + (f64.const 1.0541629875851946) + (f64.const 0.22054767608642578) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 426) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 435) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 436) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 437) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 438) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 439) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.6619858741760254) + (f32.const 0.8473311066627502) + (f32.const -0.13588131964206696) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 440) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.40660393238067627) + (f32.const 1.989530086517334) + (f32.const 0.03764917701482773) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 441) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.5617597699165344) + (f32.const 0.9742849469184875) + (f32.const 0.18443739414215088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 442) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.7741522789001465) + (f32.const 0.6854215264320374) + (f32.const -0.29158344864845276) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 443) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.6787636876106262) + (f32.const 2.3168740272521973) + (f32.const -0.3795364499092102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 444) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 447) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 448) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 449) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 450) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 451) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 452) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 453) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 454) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.49965065717697144) + (f32.const 1.0476008653640747) + (f32.const -0.21161814033985138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 455) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5051405429840088) + (f32.const 2.1003410816192627) + (f32.const -0.20852705836296082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 456) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5189794898033142) + (f32.const 2.116452932357788) + (f32.const -0.14600826799869537) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 457) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 467) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 4.345239849338305) + (f64.const 2.1487163980597503) + (f64.const -0.291634738445282) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 468) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 469) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 470) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 9.267056966972586) + (f64.const 2.91668914109908) + (f64.const -0.24191908538341522) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 471) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.6619858980995045) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 472) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 473) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.5617597462207241) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 474) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.7741522965913037) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 475) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 476) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 479) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 480) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 481) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.9999923706054688) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 482) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 483) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 484) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 485) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1060831199926429) + (f64.const 0.4566373404384803) + (f64.const -0.29381608963012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 501) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1089809557628658) + (f64.const 0.4627246859959428) + (f64.const -0.3990095555782318) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 503) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1169429159875521) + (f64.const 0.47902433134075284) + (f64.const -0.321674108505249) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 504) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 513) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 4.345239639282227) + (f32.const 2.148716449737549) + (f32.const 0.4251045286655426) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 514) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 515) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 516) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 9.267057418823242) + (f32.const 2.916689157485962) + (f32.const -0.1369788944721222) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 517) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.6619858741760254) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 518) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 519) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.5617597699165344) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 520) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.7741522789001465) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 521) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 522) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 525) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 526) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 527) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.9999923706054688) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 528) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 529) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 530) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 531) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -1125899906842624) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 532) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 542) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 543) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 544) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 545) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 546) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.6619858980995045) + (f64.const 0.7234652439515459) + (f64.const -0.13599912822246552) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 547) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.4066039223853553) + (f64.const -0.41873374429377225) + (f64.const -0.09264230728149414) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 548) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5617597462207241) + (f64.const 0.5965113622274062) + (f64.const -0.10864213854074478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 549) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.7741522965913037) + (f64.const 0.8853748109312743) + (f64.const -0.4256366193294525) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 550) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.6787637026394024) + (f64.const -0.7460778114110673) + (f64.const 0.13986606895923615) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 551) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 554) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 555) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 556) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 557) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 558) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 559) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 560) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 561) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 562) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5073043929119148) + (f64.const 0.5320538997772349) + (f64.const -0.16157317161560059) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 563) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 572) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 573) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 574) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 575) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 576) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.6619858741760254) + (f32.const 0.7234652042388916) + (f32.const -0.1307632476091385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 577) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.40660393238067627) + (f32.const -0.41873374581336975) + (f32.const 0.3161141574382782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 578) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5617597699165344) + (f32.const 0.5965113639831543) + (f32.const -0.4510819613933563) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 579) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.7741522789001465) + (f32.const 0.8853747844696045) + (f32.const 0.02493886835873127) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 580) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.6787636876106262) + (f32.const -0.7460777759552002) + (f32.const 0.2515012323856354) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 581) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 584) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 585) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 586) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 587) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 588) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 589) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 590) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 591) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 592) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5004770159721375) + (f32.const 0.5241496562957764) + (f32.const -0.29427099227905273) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 593) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.06684839057968) + (f64.const -2.784729878387861) + (f64.const -0.4762189984321594) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 603) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 4.345239849338305) + (f64.const 2.175213389013164) + (f64.const -0.02728751301765442) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 604) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.38143342755525) + (f64.const -2.822706083697696) + (f64.const 0.20985257625579834) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 605) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -6.531673581913484) + (f64.const -2.575619446591922) + (f64.const 0.3113134205341339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 606) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 9.267056966972586) + (f64.const 2.9225114951048674) + (f64.const 0.4991756081581116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 607) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.6619858980995045) + (f64.const 0.6212462762707166) + (f64.const -0.4697347581386566) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 608) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.4066039223853553) + (f64.const -0.39615990393192035) + (f64.const -0.40814438462257385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 609) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.5617597462207241) + (f64.const 0.5357588870255474) + (f64.const 0.3520713150501251) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 610) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.7741522965913037) + (f64.const 0.7123571263197349) + (f64.const 0.13371451199054718) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 611) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.6787637026394024) + (f64.const -0.635182348903198) + (f64.const 0.04749670997262001) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 612) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 615) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 616) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 617) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 618) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 619) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.066848754882812) + (f32.const -2.7847299575805664) + (f32.const -0.14418013393878937) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 648) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 4.345239639282227) + (f32.const 2.17521333694458) + (f32.const -0.020796965807676315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 649) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.381433486938477) + (f32.const -2.8227059841156006) + (f32.const 0.44718533754348755) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 650) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -6.531673431396484) + (f32.const -2.5756194591522217) + (f32.const -0.14822272956371307) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 651) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 9.267057418823242) + (f32.const 2.922511577606201) + (f32.const 0.14270681142807007) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 652) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.6619858741760254) + (f32.const 0.6212462782859802) + (f32.const 0.3684912919998169) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 653) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.40660393238067627) + (f32.const -0.39615991711616516) + (f32.const -0.13170306384563446) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 654) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.5617597699165344) + (f32.const 0.535758912563324) + (f32.const 0.08184859901666641) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 655) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.7741522789001465) + (f32.const 0.7123571038246155) + (f32.const -0.14270737767219543) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 656) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.6787636876106262) + (f32.const -0.6351823210716248) + (f32.const 0.2583143711090088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 657) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 660) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 661) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 662) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 663) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 664) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.06684839057968) + (f64.const -1.4474613762633468) + (f64.const 0.14857111871242523) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 674) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 4.345239849338305) + (f64.const 1.344597927114538) + (f64.const -0.08170335739850998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 675) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.38143342755525) + (f64.const -1.4520463463295539) + (f64.const -0.07505480200052261) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 676) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -6.531673581913484) + (f64.const -1.4188758658752532) + (f64.const -0.057633496820926666) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 677) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 9.267056966972586) + (f64.const 1.463303145448706) + (f64.const 0.1606956422328949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 678) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6619858980995045) + (f64.const 0.5847550670238325) + (f64.const 0.4582556486129761) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 679) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.4066039223853553) + (f64.const -0.3861864177552131) + (f64.const -0.2574281692504883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 680) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.5617597462207241) + (f64.const 0.5118269531628881) + (f64.const -0.11444277316331863) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 681) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.7741522965913037) + (f64.const 0.6587802431653822) + (f64.const -0.11286488175392151) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 682) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.6787637026394024) + (f64.const -0.5963307826973472) + (f64.const -0.2182842344045639) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 683) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 686) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 687) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 1) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 688) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -1) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 689) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const inf) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 690) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -inf) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 691) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 692) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6929821535674624) + (f64.const 0.6060004555152562) + (f64.const -0.17075790464878082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 693) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.066848754882812) + (f32.const -1.4474613666534424) + (f32.const 0.12686480581760406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 702) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 4.345239639282227) + (f32.const 1.3445979356765747) + (f32.const 0.16045434772968292) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 703) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.381433486938477) + (f32.const -1.4520463943481445) + (f32.const -0.39581751823425293) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 704) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -6.531673431396484) + (f32.const -1.418875813484192) + (f32.const 0.410570353269577) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 705) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 9.267057418823242) + (f32.const 1.4633032083511353) + (f32.const 0.48403501510620117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 706) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.6619858741760254) + (f32.const 0.5847550630569458) + (f32.const 0.2125193476676941) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 707) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.40660393238067627) + (f32.const -0.386186420917511) + (f32.const 0.18169628083705902) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 708) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.5617597699165344) + (f32.const 0.5118269920349121) + (f32.const 0.3499770760536194) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 709) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.7741522789001465) + (f32.const 0.6587802171707153) + (f32.const -0.2505330741405487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 710) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.6787636876106262) + (f32.const -0.5963307619094849) + (f32.const 0.17614826560020447) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 711) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 714) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 715) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 1) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 716) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -1) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 717) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const inf) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 718) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -inf) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 719) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 720) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.06684839057968) + (f64.const -2.0055552545020245) + (f64.const 0.46667951345443726) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 730) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 4.345239849338305) + (f64.const 1.6318162410515635) + (f64.const -0.08160271495580673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 731) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.38143342755525) + (f64.const -2.031293910673361) + (f64.const -0.048101816326379776) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 732) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -6.531673581913484) + (f64.const -1.8692820012204925) + (f64.const 0.08624018728733063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 733) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.267056966972586) + (f64.const 2.100457720859702) + (f64.const -0.2722989022731781) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 734) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.6619858980995045) + (f64.const 0.8715311470455973) + (f64.const 0.4414918124675751) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 735) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.4066039223853553) + (f64.const -0.740839030300223) + (f64.const 0.016453813761472702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 736) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.5617597462207241) + (f64.const 0.8251195400559286) + (f64.const 0.30680638551712036) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 737) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.7741522965913037) + (f64.const 0.9182102478959914) + (f64.const 0.06543998420238495) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 738) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.6787637026394024) + (f64.const -0.8788326906580094) + (f64.const -0.2016713172197342) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 739) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 742) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 743) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 744) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 745) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 746) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.313225746154785e-10) + (f64.const 0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 747) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -9.313225746154785e-10) + (f64.const -0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 748) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 749) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 750) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 8) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 751) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.066848754882812) + (f32.const -2.0055553913116455) + (f32.const -0.44719240069389343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 760) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 4.345239639282227) + (f32.const 1.6318162679672241) + (f32.const 0.44636252522468567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 761) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.381433486938477) + (f32.const -2.0312938690185547) + (f32.const 0.19483426213264465) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 762) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -6.531673431396484) + (f32.const -1.8692820072174072) + (f32.const -0.17075514793395996) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 763) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.267057418823242) + (f32.const 2.1004576683044434) + (f32.const -0.36362043023109436) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 764) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.6619858741760254) + (f32.const 0.8715311288833618) + (f32.const -0.12857209146022797) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 765) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.40660393238067627) + (f32.const -0.7408390641212463) + (f32.const -0.4655757546424866) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 766) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.5617597699165344) + (f32.const 0.8251195549964905) + (f32.const 0.05601907894015312) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 767) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.7741522789001465) + (f32.const 0.9182102680206299) + (f32.const 0.45498204231262207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 768) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.6787636876106262) + (f32.const -0.8788326978683472) + (f32.const -0.22978967428207397) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 769) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 772) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 773) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 774) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 775) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 776) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.313225746154785e-10) + (f32.const 0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 777) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -9.313225746154785e-10) + (f32.const -0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 778) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 779) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 780) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 8) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 781) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.06684839057968) + (f64.const 1593.5209938862329) + (f64.const -0.38098856806755066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 893) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 4.345239849338305) + (f64.const 38.56174928426729) + (f64.const -0.2712278366088867) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 894) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.38143342755525) + (f64.const 2182.630979595893) + (f64.const 0.0817827582359314) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 895) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -6.531673581913484) + (f64.const 343.273849250879) + (f64.const -0.429940402507782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 896) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 9.267056966972586) + (f64.const 5291.779170005587) + (f64.const -0.1592995822429657) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 897) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.6619858980995045) + (f64.const 1.2272321957342842) + (f64.const 0.23280741274356842) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 898) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.4066039223853553) + (f64.const 1.083808541871197) + (f64.const -0.3960916996002197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 899) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.5617597462207241) + (f64.const 1.1619803583175077) + (f64.const 0.37748390436172485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 900) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.7741522965913037) + (f64.const 1.3149236876276706) + (f64.const 0.43587008118629456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 901) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.6787637026394024) + (f64.const 1.2393413245934533) + (f64.const 0.10201606154441833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 902) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 905) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 906) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 907) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 908) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 909) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.066848754882812) + (f32.const 1593.5216064453125) + (f32.const 0.26242581009864807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 918) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 4.345239639282227) + (f32.const 38.56174087524414) + (f32.const -0.08168885856866837) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 919) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.381433486938477) + (f32.const 2182.631103515625) + (f32.const -0.02331414446234703) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 920) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -6.531673431396484) + (f32.const 343.2738037109375) + (f32.const 0.20081493258476257) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 921) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 9.267057418823242) + (f32.const 5291.78173828125) + (f32.const 0.36286723613739014) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 922) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.6619858741760254) + (f32.const 1.2272322177886963) + (f32.const 0.32777416706085205) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 923) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.40660393238067627) + (f32.const 1.0838085412979126) + (f32.const -0.039848703891038895) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 924) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.5617597699165344) + (f32.const 1.161980390548706) + (f32.const 0.15274477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 925) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.7741522789001465) + (f32.const 1.314923644065857) + (f32.const -0.2387111485004425) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 926) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.6787636876106262) + (f32.const 1.2393412590026855) + (f32.const -0.45791932940483093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 927) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 930) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 931) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 932) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 933) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 934) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.06684839057968) + (f64.const 3.137706068161745e-04) + (f64.const -0.2599197328090668) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 944) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 4.345239849338305) + (f64.const 77.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 945) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.38143342755525) + (f64.const 2.290813384916323e-04) + (f64.const -0.24974334239959717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 946) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -6.531673581913484) + (f64.const 1.4565661260931588e-03) + (f64.const -0.4816822409629822) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 947) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 9.267056966972586) + (f64.const 10583.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 948) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.6619858980995045) + (f64.const 1.9386384525571998) + (f64.const -0.4964246451854706) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 949) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.4066039223853553) + (f64.const 0.6659078892838025) + (f64.const -0.10608318448066711) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 950) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.5617597462207241) + (f64.const 1.7537559518626311) + (f64.const -0.39162111282348633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 951) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.7741522965913037) + (f64.const 2.1687528885129246) + (f64.const -0.2996125817298889) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 952) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.6787637026394024) + (f64.const 0.5072437089402843) + (f64.const 0.47261738777160645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 953) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 956) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 957) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1) + (f64.const 2.718281828459045) + (f64.const -0.3255307376384735) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 958) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1) + (f64.const 0.36787944117144233) + (f64.const 0.22389651834964752) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 959) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 960) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 961) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 962) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526365) + (f64.const 2.828429155876411) + (f64.const 0.18803080916404724) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 963) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1.0397214889526365) + (f64.const 0.35355313670217847) + (f64.const 0.2527272403240204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 964) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397210121154785) + (f64.const 2.8284278071766122) + (f64.const -0.4184139370918274) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 965) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526367) + (f64.const 2.8284291558764116) + (f64.const -0.22618377208709717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 966) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.066848754882812) + (f32.const 3.1377049162983894e-04) + (f32.const -0.030193336308002472) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 975) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 4.345239639282227) + (f32.const 77.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 976) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.381433486938477) + (f32.const 2.2908132814336568e-04) + (f32.const 0.2237040400505066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 977) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -6.531673431396484) + (f32.const 1.4565663877874613e-03) + (f32.const 0.36469703912734985) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 978) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 9.267057418823242) + (f32.const 10583.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 979) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.6619858741760254) + (f32.const 1.93863844871521) + (f32.const 0.3568260967731476) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 980) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.40660393238067627) + (f32.const 0.6659078598022461) + (f32.const -0.38294991850852966) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 981) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.5617597699165344) + (f32.const 1.753756046295166) + (f32.const 0.44355490803718567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 982) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.7741522789001465) + (f32.const 2.168752908706665) + (f32.const 0.24562469124794006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 983) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.6787636876106262) + (f32.const 0.5072436928749084) + (f32.const -0.3974292278289795) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 984) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 987) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 988) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 1) + (f32.const 2.7182817459106445) + (f32.const -0.3462330996990204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 989) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -1) + (f32.const 0.3678794503211975) + (f32.const 0.3070148527622223) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 990) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 991) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 992) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 993) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283172607422) + (f32.const 340279851902147610656242e15) + (f32.const -0.09067153930664062) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 994) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283935546875) + (f32.const inf) + (f32.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 995) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97207641601562) + (f32.const 1.401298464324817e-45) + (f32.const 0.49999967217445374) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 996) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97208404541016) + (f32.const 0) + (f32.const -0.49999651312828064) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 997) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735614299774) + (f32.const 1.4142135381698608) + (f32.const 0.13922421634197235) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 998) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735912322998) + (f32.const 1.4142135381698608) + (f32.const -0.21432916820049286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 999) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465736210346222) + (f32.const 1.4142136573791504) + (f32.const 0.43211743235588074) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1000) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.06684839057968) + (f64.const -0.9996862293931839) + (f64.const -0.2760058343410492) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1010) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 4.345239849338305) + (f64.const 76.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1011) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.38143342755525) + (f64.const -0.9997709186615084) + (f64.const 0.10052496194839478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1012) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -6.531673581913484) + (f64.const -0.9985434338739069) + (f64.const -0.27437829971313477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1013) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 9.267056966972586) + (f64.const 10582.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1014) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.6619858980995045) + (f64.const 0.9386384525571999) + (f64.const 0.007150684483349323) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1015) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.4066039223853553) + (f64.const -0.3340921107161975) + (f64.const -0.21216636896133423) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1016) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.5617597462207241) + (f64.const 0.7537559518626312) + (f64.const 0.21675777435302734) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1017) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.7741522965913037) + (f64.const 1.1687528885129248) + (f64.const 0.4007748067378998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1018) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.6787637026394024) + (f64.const -0.4927562910597158) + (f64.const -0.05476519837975502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1019) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1022) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1023) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 1) + (f64.const 1.7182818284590453) + (f64.const 0.348938524723053) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1024) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -1) + (f64.const -0.6321205588285577) + (f64.const 0.11194825917482376) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1025) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1026) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1027) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1028) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 2.225073858507201e-308) + (f64.const 2.225073858507201e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1029) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -2.225073858507201e-308) + (f64.const -2.225073858507201e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1030) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.066848754882812) + (f32.const -0.9996862411499023) + (f32.const -0.19532723724842072) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1039) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 4.345239639282227) + (f32.const 76.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1040) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.381433486938477) + (f32.const -0.9997709393501282) + (f32.const -0.34686920046806335) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1041) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -6.531673431396484) + (f32.const -0.9985434412956238) + (f32.const -0.1281939446926117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1042) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 9.267057418823242) + (f32.const 10582.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1043) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.6619858741760254) + (f32.const 0.9386383891105652) + (f32.const -0.28634780645370483) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1044) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.40660393238067627) + (f32.const -0.3340921103954315) + (f32.const 0.23410017788410187) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1045) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.5617597699165344) + (f32.const 0.7537559866905212) + (f32.const -0.11289017647504807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1046) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.7741522789001465) + (f32.const 1.168752908706665) + (f32.const 0.4912493824958801) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1047) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.6787636876106262) + (f32.const -0.49275627732276917) + (f32.const 0.20514154434204102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1048) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1051) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1052) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 1) + (f32.const 1.718281865119934) + (f32.const 0.3075338304042816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1053) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -1) + (f32.const -0.6321205496788025) + (f32.const 0.15350742638111115) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1054) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1055) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1056) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1057) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const 9.25452742288464) + (f64.const -0.31188681721687317) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1067) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 9.893305808328252) + (f64.const 0.4593673348426819) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1068) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const 8.825301797432132) + (f64.const -0.1701754331588745) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1069) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const 7.970265885519092) + (f64.const -0.3176782727241516) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1070) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 10.441639651824575) + (f64.const -0.2693633437156677) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1071) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const 6.483936052542593) + (f64.const 0.35618898272514343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1072) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 7.859063309581766) + (f64.const 0.08044655621051788) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1073) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const 7.717156764899584) + (f64.const 0.05178084969520569) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1074) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 2.104006123874314) + (f64.const -0.0918039008975029) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1075) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const 0.5596880129062913) + (f64.const 0.1383407711982727) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1076) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 3) + (f64.const 4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1079) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -3) + (f64.const 4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1080) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4) + (f64.const 3) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1081) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4) + (f64.const -3) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1082) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -3) + (f64.const -4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1083) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1084) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const -0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1085) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const 0) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1086) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const -0) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1087) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1088) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1089) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1090) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1091) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1092) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1093) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1094) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1095) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1096) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1097) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 9.254528045654297) + (f32.const 0.2735958993434906) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 9.893305778503418) + (f32.const 0.4530770778656006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const 8.825302124023438) + (f32.const 0.30755728483200073) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const 7.970265865325928) + (f32.const 0.06785223633050919) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1109) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 10.44163990020752) + (f32.const -0.26776307821273804) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 6.483936309814453) + (f32.const 0.48381292819976807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 7.859063148498535) + (f32.const 0.07413065433502197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const 7.717156887054443) + (f32.const 0.4940592646598816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 2.104006052017212) + (f32.const -0.287089467048645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const 0.5596880316734314) + (f32.const 0.4191940724849701) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3) + (f32.const 4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -3) + (f32.const 4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4) + (f32.const 3) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4) + (f32.const -3) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -3) + (f32.const -4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const -0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const 0) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const -0) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1134) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 4.345239849338305) + (f64.const 1.4690809584224322) + (f64.const -0.3412533402442932) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 9.267056966972586) + (f64.const 2.2264658498795615) + (f64.const 0.3638114035129547) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.6619858980995045) + (f64.const -0.4125110252365137) + (f64.const -0.29108747839927673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.5617597462207241) + (f64.const -0.5766810183195862) + (f64.const -0.10983199626207352) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.7741522965913037) + (f64.const -0.2559866591263865) + (f64.const -0.057990044355392456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1174) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1175) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1176) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 4.345239849338305) + (f64.const 0.6380137537120029) + (f64.const -0.2088824063539505) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 9.267056966972586) + (f64.const 0.9669418327487274) + (f64.const -0.06120431795716286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.6619858980995045) + (f64.const -0.17915126198447093) + (f64.const 0.39090874791145325) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.5617597462207241) + (f64.const -0.25044938407454437) + (f64.const -0.3046841621398926) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.7741522965913037) + (f64.const -0.11117359349943837) + (f64.const -0.31503361463546753) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 4.345239639282227) + (f32.const 0.6380137205123901) + (f32.const -0.20476758480072021) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 9.267057418823242) + (f32.const 0.9669418334960938) + (f32.const -0.34273025393486023) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.6619858741760254) + (f32.const -0.1791512817144394) + (f32.const -0.27078554034233093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.5617597699165344) + (f32.const -0.25044935941696167) + (f32.const 0.2126826047897339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.7741522789001465) + (f32.const -0.1111735999584198) + (f32.const 0.46515095233917236) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 4.345239849338305) + (f64.const 1.6762064170601734) + (f64.const 0.46188199520111084) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1260) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1261) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 9.267056966972586) + (f64.const 2.3289404168523826) + (f64.const -0.411114901304245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1262) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.6619858980995045) + (f64.const 0.5080132114992477) + (f64.const -0.29306045174598694) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1263) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0.4066039223853553) + (f64.const -0.5218931811663979) + (f64.const -0.25825726985931396) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.5617597462207241) + (f64.const 0.4458132279488102) + (f64.const -0.13274887204170227) + (i32.const 1) ) ) - (return - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1265) + (i32.const 0) ) + (unreachable) ) ) - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.7741522965913037) + (f64.const 0.5733227294648414) + (f64.const 0.02716583013534546) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1266) + (i32.const 0) + ) + (unreachable) ) - (f32.const 1000000015047466219876688e6) ) - ) - (func $std/math/test_powf (; 25 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.pow" - (get_local $0) - (get_local $1) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0.6787637026394024) + (f64.const -1.1355782978128564) + (f64.const 0.2713092863559723) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1267) + (i32.const 0) + ) + (unreachable) ) - (get_local $2) - (get_local $3) - (get_local $4) ) - ) - (func "$(lib)/math/NativeMath.cbrt" (; 26 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 f64) - (local $3 i32) - (local $4 i64) (if - (i32.ge_u - (tee_local $3 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) - ) - ) - (i32.const 2147483647) - ) + (i32.eqz + (call $std/math/test_log1p + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) - (i32.const 2146435072) ) - (return - (f64.add - (get_local $0) - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1270) + (i32.const 0) ) + (unreachable) ) ) - (set_local $3 - (if (result i32) - (i32.lt_u - (get_local $3) - (i32.const 1048576) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) - (block (result i32) - (if - (i32.eqz - (tee_local $3 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) - ) - ) - ) - (i64.const 32) - ) - ) - (i32.const 2147483647) - ) - ) - ) - (return - (get_local $0) - ) - ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) - ) - (i32.const 696219795) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1271) + (i32.const 0) ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) - ) - (i32.const 715094163) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -7.888609052210118e-31) + (f64.const -7.888609052210118e-31) + (f64.const 1.7763568394002505e-15) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1272) + (i32.const 0) ) + (unreachable) ) ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.or - (i64.and - (get_local $4) - (i64.const -9223372036854775808) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) - ) - (i64.const 32) - ) - ) - ) - ) - (get_local $1) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 1) + (f64.const 0.6931471805599453) + (f64.const -0.2088811695575714) + (i32.const 1) ) - (f64.div - (get_local $1) - (get_local $0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1273) + (i32.const 0) ) + (unreachable) ) ) - (set_local $2 - (f64.div - (f64.sub - (tee_local $2 - (f64.div - (get_local $0) - (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.and - (i64.add - (i64.reinterpret/f64 - (f64.mul - (get_local $1) - (f64.add - (f64.add - (f64.const 1.87595182427177) - (f64.mul - (get_local $2) - (f64.add - (f64.const -1.8849797954337717) - (f64.mul - (get_local $2) - (f64.const 1.6214297201053545) - ) - ) - ) - ) - (f64.mul - (f64.mul - (f64.mul - (get_local $2) - (get_local $2) - ) - (get_local $2) - ) - (f64.add - (f64.const -0.758397934778766) - (f64.mul - (get_local $2) - (f64.const 0.14599619288661245) - ) - ) - ) - ) - ) - ) - (i64.const 2147483648) - ) - (i64.const -1073741824) - ) - ) - ) - (get_local $1) - ) - ) - ) - (get_local $1) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -1) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) - (f64.add - (f64.add - (get_local $1) - (get_local $1) - ) - (get_local $2) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1274) + (i32.const 0) ) + (unreachable) ) ) - (f64.add - (get_local $1) - (f64.mul - (get_local $1) - (get_local $2) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) ) - ) - ) - (func $std/math/test_cbrt (; 27 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.cbrt" - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1275) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - (call $std/math/check - (call "$(lib)/math/JSMath.cbrt" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1276) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMathf.cbrt" (; 28 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f64) - (local $2 f64) - (local $3 i32) - (local $4 i32) (if - (i32.ge_u - (tee_local $3 - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 2147483647) - ) + (i32.eqz + (call $std/math/test_log1p + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) - (i32.const 2139095040) ) - (return - (f32.add - (get_local $0) - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1277) + (i32.const 0) ) + (unreachable) ) ) - (set_local $3 - (if (result i32) - (i32.lt_u - (get_local $3) - (i32.const 8388608) - ) - (block (result i32) - (if - (i32.eqz - (get_local $3) - ) - (return - (get_local $0) - ) - ) - (i32.add - (i32.div_u - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (f32.mul - (get_local $0) - (f32.const 16777216) - ) - ) - ) - (i32.const 2147483647) - ) - (i32.const 3) - ) - (i32.const 642849266) - ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) - ) - (i32.const 709958130) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1286) + (i32.const 0) ) + (unreachable) ) ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.promote/f32 - (f32.reinterpret/i32 - (i32.or - (i32.and - (get_local $4) - (i32.const -2147483648) - ) - (get_local $3) - ) - ) - ) - ) - (get_local $1) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 4.345239639282227) + (f32.const 1.676206350326538) + (f32.const -0.23014859855175018) + (i32.const 1) ) - (get_local $1) ) - ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.div - (f64.mul - (get_local $1) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (get_local $2) - ) - ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (get_local $2) - ) - (get_local $2) - ) - ) - ) - (get_local $1) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1287) + (i32.const 0) ) - (get_local $1) + (unreachable) ) ) - (f32.demote/f64 - (f64.div - (f64.mul - (get_local $1) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (get_local $2) - ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (get_local $2) - ) - (get_local $2) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1288) + (i32.const 0) ) + (unreachable) ) ) - ) - (func $std/math/test_cbrtf (; 29 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.cbrt" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1289) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.murmurHash3" (; 30 ;) (type $II) (param $0 i64) (result i64) - (i64.xor - (tee_local $0 - (i64.mul - (i64.xor - (tee_local $0 - (i64.mul - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) - ) - ) - (i64.const -49064778989728563) - ) - ) - (i64.shr_u - (get_local $0) - (i64.const 33) - ) - ) - (i64.const -4265267296055464877) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 9.267057418823242) + (f32.const 2.3289403915405273) + (f32.const -0.29075589776039124) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1290) + (i32.const 0) ) - ) - (i64.shr_u - (get_local $0) - (i64.const 33) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMath.seedRandom" (; 31 ;) (type $Iv) (param $0 i64) (if - (i64.eqz - (get_local $0) + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0.6619858741760254) + (f32.const 0.5080131888389587) + (f32.const -0.1386766880750656) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) - (i32.const 32) - (i32.const 613) (i32.const 4) + (i32.const 1291) + (i32.const 0) ) (unreachable) ) ) - (set_global "$(lib)/math/NativeMath.random_seeded" - (i32.const 1) - ) - (set_global "$(lib)/math/NativeMath.random_state0" - (call "$(lib)/math/NativeMath.murmurHash3" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0.40660393238067627) + (f32.const -0.5218932032585144) + (f32.const -0.08804433047771454) + (i32.const 1) + ) ) - ) - (set_global "$(lib)/math/NativeMath.random_state1" - (call "$(lib)/math/NativeMath.murmurHash3" - (get_global "$(lib)/math/NativeMath.random_state0") + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1292) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMath.xorShift128Plus" (; 32 ;) (type $I) (result i64) - (local $0 i64) - (local $1 i64) - (set_local $0 - (get_global "$(lib)/math/NativeMath.random_state0") - ) - (set_global "$(lib)/math/NativeMath.random_state0" - (tee_local $1 - (get_global "$(lib)/math/NativeMath.random_state1") + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0.5617597699165344) + (f32.const 0.44581323862075806) + (f32.const -0.15101368725299835) + (i32.const 1) + ) ) - ) - (set_global "$(lib)/math/NativeMath.random_state1" - (tee_local $0 - (i64.xor - (i64.xor - (i64.xor - (tee_local $0 - (i64.xor - (get_local $0) - (i64.shl - (get_local $0) - (i64.const 23) - ) - ) - ) - (i64.shr_u - (get_local $0) - (i64.const 17) - ) - ) - (get_local $1) - ) - (i64.shr_u - (get_local $1) - (i64.const 26) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1293) + (i32.const 0) ) + (unreachable) ) ) - (i64.add - (get_local $1) - (get_local $0) - ) - ) - (func "$(lib)/math/NativeMath.random" (; 33 ;) (type $F) (result f64) (if (i32.eqz - (get_global "$(lib)/math/NativeMath.random_seeded") + (call $std/math/test_log1pf + (f32.const 0.7741522789001465) + (f32.const 0.5733227133750916) + (f32.const -0.10264533013105392) + (i32.const 1) + ) ) - (unreachable) - ) - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.and - (call "$(lib)/math/NativeMath.xorShift128Plus") - (i64.const 4503599627370495) - ) - (i64.const 4607182418800017408) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1294) + (i32.const 0) ) + (unreachable) ) - (f64.const 1) - ) - ) - (func $start (; 34 ;) (type $v) - (local $0 i32) - (local $1 f64) - (local $2 i32) - (call $std/math/test_fmod - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const -3.531185829902812) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 4.345239849338305) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 4.45566488261279) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const -0.792054511984896) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 2) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -2) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0.5) - (f64.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1.5) - (f64.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 2) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -2) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const -inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const inf) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const -inf) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0.6787636876106262) + (f32.const -1.1355782747268677) + (f32.const -0.19879481196403503) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1295) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1298) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1299) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -7.888609052210118e-31) + (f32.const -7.888609052210118e-31) + (f32.const 3.308722450212111e-24) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1300) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 1) + (f32.const 0.6931471824645996) + (f32.const 0.031954795122146606) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1301) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -1) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1302) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1303) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1304) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1305) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -1.1754942106924411e-38) + (f32.const -1.1754942106924411e-38) + (f32.const 4.930380657631324e-32) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1306) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1316) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 4.345239849338305) + (f64.const 2.1194358133804485) + (f64.const -0.10164877772331238) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1317) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1318) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1319) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 9.267056966972586) + (f64.const 3.2121112403298744) + (f64.const -0.15739446878433228) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1320) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.6619858980995045) + (f64.const -0.5951276104207402) + (f64.const 0.3321485221385956) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1321) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1322) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.5617597462207241) + (f64.const -0.8319748453044644) + (f64.const 0.057555437088012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1323) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const -inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.7741522965913037) + (f64.const -0.36931068365537134) + (f64.const -0.19838279485702515) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1324) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const -inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1325) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1328) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -inf) - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1329) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1.75) - (f64.const 0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1330) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1.75) - (f64.const 0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1331) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1.75) - (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1332) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1.75) - (f64.const -0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1333) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const -3.531186103820801) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1334) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 4.345239639282227) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1335) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1344) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 4.345239639282227) + (f32.const 2.1194357872009277) + (f32.const 0.18271538615226746) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1345) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 4.455665111541748) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1346) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1347) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 9.267057418823242) + (f32.const 3.212111234664917) + (f32.const -0.3188050389289856) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1348) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.6619858741760254) + (f32.const -0.5951276421546936) + (f32.const 0.34231460094451904) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1349) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1350) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.5617597699165344) + (f32.const -0.8319748044013977) + (f32.const -0.33473604917526245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1351) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.7741522789001465) + (f32.const -0.3693107068538666) + (f32.const 0.3278401792049408) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1352) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1353) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1356) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1357) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1358) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1359) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1360) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1361) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 2) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1362) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -2) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1363) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1374) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.1347118825587285e-06) + (f64.const 0.3250160217285156) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1375) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1376) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1377) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 44909.29941512966) + (f64.const -0.26659080386161804) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1378) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1379) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.1135177413458652) + (f64.const -0.37168607115745544) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1380) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1381) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.37690773521380183) + (f64.const 0.32473301887512207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1382) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1383) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1386) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 2) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1387) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -2) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 3) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1388) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1389) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1390) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1391) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1392) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1393) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1394) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -1) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1395) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1396) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -3) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1397) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1398) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const inf) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1399) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const -inf) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1400) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1401) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 3) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1402) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1403) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1404) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1405) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1406) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1407) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1408) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -1) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1409) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1410) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -3) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1411) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1412) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1413) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1414) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1415) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1416) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1417) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1418) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1419) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1420) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const inf) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1421) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1422) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1423) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const -inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1424) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const -inf) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1425) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1426) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -inf) - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1427) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1.75) - (f32.const 0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1428) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1.75) - (f32.const 0.5) - (f32.const -0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 2) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1429) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1.75) - (f32.const -0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1430) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1.75) - (f32.const -0.5) - (f32.const -0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -2) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1431) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -3) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1432) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 4.345239849338305) - (f64.const 1.4690809584224322) - (f64.const -0.3412533402442932) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1433) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1434) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1435) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 9.267056966972586) - (f64.const 2.2264658498795615) - (f64.const 0.3638114035129547) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1436) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.6619858980995045) - (f64.const -0.4125110252365137) - (f64.const -0.29108747839927673) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 3) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1437) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1438) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.5617597462207241) - (f64.const -0.5766810183195862) - (f64.const -0.10983199626207352) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1439) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.7741522965913037) - (f64.const -0.2559866591263865) - (f64.const -0.057990044355392456) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -3) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1440) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1441) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1442) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 2) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1443) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 3) + (f64.const -0.125) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1444) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1445) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1446) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1447) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1448) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1449) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const 0) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1450) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -0) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1451) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1452) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1453) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1454) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1455) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1456) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 3) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1457) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const 0) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1458) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -0) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1459) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1460) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1461) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1462) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1463) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1464) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_logf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1465) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -8.06684839057968) - (f64.const 3.137706068161745e-04) - (f64.const -0.2599197328090668) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1466) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 4.345239849338305) - (f64.const 77.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const 3) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1467) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -8.38143342755525) - (f64.const 2.290813384916323e-04) - (f64.const -0.24974334239959717) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1468) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -6.531673581913484) - (f64.const 1.4565661260931588e-03) - (f64.const -0.4816822409629822) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const 1) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1469) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 9.267056966972586) - (f64.const 10583.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1470) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 0.6619858980995045) - (f64.const 1.9386384525571998) - (f64.const -0.4964246451854706) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const -0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1471) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -0.4066039223853553) - (f64.const 0.6659078892838025) - (f64.const -0.10608318448066711) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1472) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 0.5617597462207241) - (f64.const 1.7537559518626311) - (f64.const -0.39162111282348633) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -inf) + (f64.const -2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1473) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 0.7741522965913037) - (f64.const 2.1687528885129246) - (f64.const -0.2996125817298889) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1474) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -0.6787637026394024) - (f64.const 0.5072437089402843) - (f64.const 0.47261738777160645) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1475) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -2) + (f64.const 1) + (f64.const -2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1476) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -2) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1477) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 1) - (f64.const 2.718281828459045) - (f64.const -0.3255307376384735) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1486) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -1) - (f64.const 0.36787944117144233) - (f64.const 0.22389651834964752) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 2.134714122803416e-06) + (f32.const 0.1436440795660019) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1487) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1488) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1489) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 44909.33203125) + (f32.const -0.05356409028172493) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1490) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 1.0397214889526365) - (f64.const 2.828429155876411) - (f64.const 0.18803080916404724) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1491) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const -1.0397214889526365) - (f64.const 0.35355313670217847) - (f64.const 0.2527272403240204) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 1.1135177612304688) + (f32.const 0.19122089445590973) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1492) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 1.0397210121154785) - (f64.const 2.8284278071766122) - (f64.const -0.4184139370918274) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1493) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 1.0397214889526367) - (f64.const 2.8284291558764116) - (f64.const -0.22618377208709717) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.3769077658653259) + (f32.const 0.337149053812027) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1494) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -8.066848754882812) - (f32.const 3.1377049162983894e-04) - (f32.const -0.030193336308002472) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1495) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 4.345239639282227) - (f32.const 77.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1498) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -8.381433486938477) - (f32.const 2.2908132814336568e-04) - (f32.const 0.2237040400505066) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1499) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -6.531673431396484) - (f32.const 1.4565663877874613e-03) - (f32.const 0.36469703912734985) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 3) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1500) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 9.267057418823242) - (f32.const 10583.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1501) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.6619858741760254) - (f32.const 1.93863844871521) - (f32.const 0.3568260967731476) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1502) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0.40660393238067627) - (f32.const 0.6659078598022461) - (f32.const -0.38294991850852966) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1503) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.5617597699165344) - (f32.const 1.753756046295166) - (f32.const 0.44355490803718567) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1504) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.7741522789001465) - (f32.const 2.168752908706665) - (f32.const 0.24562469124794006) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1505) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0.6787636876106262) - (f32.const 0.5072436928749084) - (f32.const -0.3974292278289795) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1506) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -1) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1507) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1508) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 1) - (f32.const 2.7182817459106445) - (f32.const -0.3462330996990204) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -3) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1509) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -1) - (f32.const 0.3678794503211975) - (f32.const 0.3070148527622223) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1510) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1511) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1512) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1513) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 88.72283172607422) - (f32.const 340279851902147610656242e15) - (f32.const -0.09067153930664062) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 3) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1514) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 88.72283935546875) - (f32.const inf) - (f32.const 0) - (i32.const 17) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1515) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -103.97207641601562) - (f32.const 1.401298464324817e-45) - (f32.const 0.49999967217445374) - (i32.const 9) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1516) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -103.97208404541016) - (f32.const 0) - (f32.const -0.49999651312828064) - (i32.const 9) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1517) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.3465735614299774) - (f32.const 1.4142135381698608) - (f32.const 0.13922421634197235) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1518) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.3465735912322998) - (f32.const 1.4142135381698608) - (f32.const -0.21432916820049286) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1519) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.3465736210346222) - (f32.const 1.4142136573791504) - (f32.const 0.43211743235588074) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1520) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -1) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1521) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 2.1347118825587285e-06) - (f64.const 0.3250160217285156) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1522) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -3) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1523) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1524) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 44909.29941512966) - (f64.const -0.26659080386161804) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1525) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1526) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 1.1135177413458652) - (f64.const -0.37168607115745544) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1527) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1528) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.37690773521380183) - (f64.const 0.32473301887512207) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1529) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1530) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1531) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1532) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 3) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1533) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1534) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1535) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1536) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1537) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1538) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1539) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -1) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1540) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -2) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 2) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1541) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -3) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1542) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -4) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -2) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1543) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -3) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1544) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1545) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1546) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 3) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1547) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1548) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 3) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1549) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1550) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -0.5) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1551) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -3) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1552) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1553) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -1) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1554) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -2) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 2) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1555) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -3) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 3) + (f32.const -0.125) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1556) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -4) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1557) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1558) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1559) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1560) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1561) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1562) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1563) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1564) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1565) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1566) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1567) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1568) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 3) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1569) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1570) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1571) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1572) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1573) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 2) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1574) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -1) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1575) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -2) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1576) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -3) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1577) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1578) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const 3) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1579) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1580) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const 1) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1581) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 3) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1582) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 0.5) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1583) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -0.5) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1584) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -3) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -inf) + (f32.const -2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1585) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1586) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1587) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 2) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -2) + (f32.const 1) + (f32.const -2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1588) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 3) - (f64.const -0.125) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -2) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1589) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call "$(lib)/math/NativeMath.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (loop $continue|0 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e7) + ) + (block + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $2 + (f64.ge + (tee_local $1 + (call "$(lib)/math/NativeMath.random") + ) + (f64.const 0) + ) + ) + (f64.lt + (get_local $1) + (f64.const 1) + ) + (get_local $2) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1596) + (i32.const 2) + ) + (unreachable) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -8.06684839057968) + (f64.const -1593.5206801156262) + (f64.const -0.2138727605342865) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1666) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 4.345239849338305) + (f64.const 38.54878088685412) + (f64.const 0.21537430584430695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1667) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.const -inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -8.38143342755525) + (f64.const -2182.6307505145546) + (f64.const 0.16213826835155487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1668) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -6.531673581913484) + (f64.const -343.2723926847529) + (f64.const 0.20479513704776764) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1669) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 9.267056966972586) + (f64.const 5291.7790755194055) + (f64.const -0.48676517605781555) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1670) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.const -inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.6619858980995045) + (f64.const 0.7114062568229157) + (f64.const -0.4584641456604004) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1671) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0.4066039223853553) + (f64.const -0.41790065258739445) + (f64.const 0.37220045924186707) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1672) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.5617597462207241) + (f64.const 0.5917755935451237) + (f64.const 0.46178996562957764) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1673) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.7741522965913037) + (f64.const 0.8538292008852542) + (f64.const -0.07019051909446716) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1674) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0.6787637026394024) + (f64.const -0.732097615653169) + (f64.const 0.26858529448509216) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1675) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 3) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1678) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1679) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 1) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1680) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1681) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1682) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -8.066848754882812) + (f32.const -1593.521240234375) + (f32.const 0.1671663224697113) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1691) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 4.345239639282227) + (f32.const 38.548770904541016) + (f32.const -0.49340328574180603) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1692) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -8.381433486938477) + (f32.const -2182.630859375) + (f32.const 0.0849970355629921) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1693) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -6.531673431396484) + (f32.const -343.2723388671875) + (f32.const 0.0704190656542778) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1694) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const -inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 9.267057418823242) + (f32.const 5291.78125) + (f32.const -0.44362515211105347) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1695) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const 3) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.6619858741760254) + (f32.const 0.7114062309265137) + (f32.const 0.058103885501623154) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1696) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0.40660393238067627) + (f32.const -0.4179006516933441) + (f32.const 0.39349499344825745) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1697) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const 1) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.5617597699165344) + (f32.const 0.5917755961418152) + (f32.const -0.4183797240257263) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1698) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.7741522789001465) + (f32.const 0.8538292050361633) + (f32.const 0.45992106199264526) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1699) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0.6787636876106262) + (f32.const -0.7320976257324219) + (f32.const -0.48159059882164) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1700) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1703) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1704) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1705) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1706) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -2) - (f64.const 1) - (f64.const -2) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1707) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -2) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1717) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4.345239849338305) + (f64.const 2.0845238903256313) + (f64.const -0.07180261611938477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1718) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 2.134714122803416e-06) - (f32.const 0.1436440795660019) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1719) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1720) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 9.267056966972586) + (f64.const 3.0441841217266385) + (f64.const -0.01546262577176094) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1721) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 44909.33203125) - (f32.const -0.05356409028172493) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.6619858980995045) + (f64.const 0.8136251582267503) + (f64.const -0.08618157356977463) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1722) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1723) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 1.1135177612304688) - (f32.const 0.19122089445590973) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.5617597462207241) + (f64.const 0.7495063350104014) + (f64.const -0.0981396734714508) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1724) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.7741522965913037) + (f64.const 0.879859248170583) + (f64.const -0.37124353647232056) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1725) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.3769077658653259) - (f32.const 0.337149053812027) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1726) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1729) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1730) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1731) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1732) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 3) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1733) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1734) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1735) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1736) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1e-323) + (f64.const 3.1434555694052576e-162) + (f64.const 0.43537619709968567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1737) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.5e-323) + (f64.const 3.849931087076416e-162) + (f64.const -0.45194002985954285) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1738) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5e-324) + (f64.const 2.2227587494850775e-162) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1739) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -1) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -5e-324) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1740) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -2) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1741) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -3) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.9999999999999998) + (f64.const 1.414213562373095) + (f64.const -0.21107041835784912) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1742) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -4) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1743) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.0000000000000004) + (f64.const 1.4142135623730951) + (f64.const -0.27173060178756714) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1744) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1745) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1746) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 3) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -1797693134862315708145274e284) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1747) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862315708145274e284) + (f64.const 1340780792994259561100831e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1748) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 179769313486231490980915e285) + (f64.const 134078079299425926338769e131) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1749) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862314111473026e284) + (f64.const 1340780792994258965674548e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1750) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862313313136902e284) + (f64.const 1340780792994258667961407e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1751) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862312514800778e284) + (f64.const 1340780792994258370248265e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1752) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862311716464655e284) + (f64.const 1340780792994258072535124e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1753) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -1) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862310918128531e284) + (f64.const 1340780792994257774821982e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1754) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -2) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862310119792407e284) + (f64.const 1340780792994257477108841e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1755) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -3) - (f32.const -inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862309321456283e284) + (f64.const 1340780792994257179395699e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1756) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -4) - (f32.const inf) - (f32.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862308523120159e284) + (f64.const 1340780792994256881682558e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1757) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862307724784036e284) + (f64.const 1340780792994256583969417e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1758) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507203e-308) + (f64.const 1.4916681462400417e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1759) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507205e-308) + (f64.const 1.4916681462400423e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1760) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507207e-308) + (f64.const 1.491668146240043e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1761) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507209e-308) + (f64.const 1.4916681462400437e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1762) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507211e-308) + (f64.const 1.4916681462400443e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1763) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072127e-308) + (f64.const 1.491668146240045e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1764) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072147e-308) + (f64.const 1.4916681462400457e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1765) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072167e-308) + (f64.const 1.4916681462400463e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1766) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072187e-308) + (f64.const 1.491668146240047e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1767) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072207e-308) + (f64.const 1.4916681462400476e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1768) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072226e-308) + (f64.const 1.4916681462400483e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1769) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072246e-308) + (f64.const 1.491668146240049e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1770) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072266e-308) + (f64.const 1.4916681462400496e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1771) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072286e-308) + (f64.const 1.4916681462400503e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1772) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 92.35130391890645) + (f64.const 9.609958580499006) + (f64.const 0.4998137056827545) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1773) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 93.3599596388916) + (f64.const 9.662295774757238) + (f64.const -0.49979978799819946) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1774) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 95.42049628886124) + (f64.const 9.76834153215689) + (f64.const -0.49997270107269287) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1775) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 95.87916941885449) + (f64.const 9.791790919890728) + (f64.const 0.4998766779899597) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1776) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -3) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 96.84804174884022) + (f64.const 9.841140266698785) + (f64.const 0.499801903963089) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1777) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.43639050883155) + (f64.const 9.87098731175517) + (f64.const 0.4997696280479431) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1778) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.50957979883047) + (f64.const 9.874693909120955) + (f64.const 0.49999818205833435) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1779) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.80496893882612) + (f64.const 9.88963947466368) + (f64.const -0.4999580681324005) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1780) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 98.2751822888192) + (f64.const 9.913383997849534) + (f64.const 0.49979931116104126) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1781) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 3) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 99.47293564880155) + (f64.const 9.973611966023219) + (f64.const -0.4999540448188782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1782) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.57047130878539) + (f64.const 10.028483001370914) + (f64.const -0.49996453523635864) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1783) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.60954608878481) + (f64.const 10.030431002144665) + (f64.const 0.49975672364234924) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1784) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -3) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.67909109878379) + (f64.const 10.033897104255344) + (f64.const -0.4997771382331848) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1785) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 101.12268095877725) + (f64.const 10.055977374615422) + (f64.const 0.49988678097724915) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1786) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 101.3027691287746) + (f64.const 10.064927676281366) + (f64.const 0.4999105632305145) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1787) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 2) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.45932313565507e-307) + (f64.const 4.9591563149945874e-154) + (f64.const -0.4998999834060669) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1788) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 3) - (f32.const -0.125) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5.610957305180409e-307) + (f64.const 7.490632353266584e-154) + (f64.const -0.4999343752861023) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1789) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5.8073887977408524e-307) + (f64.const 7.62062254526548e-154) + (f64.const -0.49989569187164307) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1790) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 7.026137080471427e-307) + (f64.const 8.382205605013174e-154) + (f64.const 0.49980640411376953) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1791) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 8.438697769194972e-307) + (f64.const 9.186238495268328e-154) + (f64.const -0.4999065697193146) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1792) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.1607792515836795e-306) + (f64.const 1.0773946591586944e-153) + (f64.const -0.49997684359550476) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1793) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.2827413827423193e-306) + (f64.const 1.1325817333606962e-153) + (f64.const -0.4999513030052185) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1794) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.7116604596087457e-306) + (f64.const 1.3083044216117078e-153) + (f64.const -0.49986395239830017) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1795) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.038173251686994e-306) + (f64.const 1.4276460526639628e-153) + (f64.const 0.4998403787612915) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1796) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.171572060856931e-306) + (f64.const 1.4736254818836879e-153) + (f64.const 0.4999290406703949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1797) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.4681399631804094e-306) + (f64.const 1.5710314965589996e-153) + (f64.const 0.49989044666290283) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1798) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.5175533964200588e-306) + (f64.const 1.5866799918131124e-153) + (f64.const -0.4997701048851013) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1799) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.6461505468829625e-306) + (f64.const 1.6266992797941982e-153) + (f64.const 0.4998672902584076) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1800) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 3.8167076367720413e-306) + (f64.const 1.9536395872248397e-153) + (f64.const 0.49983471632003784) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1801) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 3) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4.5743220778562766e-306) + (f64.const 2.1387664851161936e-153) + (f64.const 0.49985939264297485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1802) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1811) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 1) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4.345239639282227) + (f32.const 2.084523916244507) + (f32.const 0.3200402557849884) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1812) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1813) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1814) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 9.267057418823242) + (f32.const 3.0441842079162598) + (f32.const 0.05022354796528816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1815) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.6619858741760254) + (f32.const 0.813625156879425) + (f32.const 0.2240506112575531) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1816) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1817) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.5617597699165344) + (f32.const 0.7495063543319702) + (f32.const 0.05895441770553589) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1818) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.7741522789001465) + (f32.const 0.879859209060669) + (f32.const -0.4874873757362366) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1819) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const 3) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1820) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1823) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const 1) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1824) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1825) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1826) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1827) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1828) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1829) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1830) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -2) - (f32.const 1) - (f32.const -2) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.802596928649634e-45) + (f32.const 5.293955920339377e-23) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1831) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -2) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4.203895392974451e-45) + (f32.const 6.483745598763743e-23) + (f32.const 0.37388554215431213) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1832) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -8.06684839057968) - (f64.const -2.0055552545020245) - (f64.const 0.46667951345443726) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.401298464324817e-45) + (f32.const 3.743392066509216e-23) + (f32.const -0.20303145051002502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1833) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 4.345239849338305) - (f64.const 1.6318162410515635) - (f64.const -0.08160271495580673) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -1.401298464324817e-45) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1834) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -8.38143342755525) - (f64.const -2.031293910673361) - (f64.const -0.048101816326379776) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 3402823466385288598117041e14) + (f32.const 18446742974197923840) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1835) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -6.531673581913484) - (f64.const -1.8692820012204925) - (f64.const 0.08624018728733063) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -3402823466385288598117041e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1836) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 9.267056966972586) - (f64.const 2.100457720859702) - (f64.const -0.2722989022731781) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.9999998807907104) + (f32.const 0.9999999403953552) + (f32.const 2.980232594040899e-08) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1837) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 0.6619858980995045) - (f64.const 0.8715311470455973) - (f64.const 0.4414918124675751) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.9999999403953552) + (f32.const 0.9999999403953552) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1838) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -0.4066039223853553) - (f64.const -0.740839030300223) - (f64.const 0.016453813761472702) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.999999761581421) + (f32.const 1.4142134189605713) + (f32.const -0.4959246516227722) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1839) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 0.5617597462207241) - (f64.const 0.8251195400559286) - (f64.const 0.30680638551712036) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.9999998807907104) + (f32.const 1.4142135381698608) + (f32.const 0.15052194893360138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1840) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 0.7741522965913037) - (f64.const 0.9182102478959914) - (f64.const 0.06543998420238495) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.0000001192092896) + (f32.const 1) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1841) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -0.6787637026394024) - (f64.const -0.8788326906580094) - (f64.const -0.2016713172197342) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.000000238418579) + (f32.const 1.0000001192092896) + (f32.const 5.960463766996327e-08) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1842) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.000000238418579) + (f32.const 1.4142136573791504) + (f32.const 0.08986179530620575) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1843) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.000000476837158) + (f32.const 1.41421377658844) + (f32.const 0.3827550709247589) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1844) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -inf) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -8.06684839057968) + (f64.const -0.999999803096032) + (f64.const 0.012793331407010555) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1913) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 4.345239849338305) + (f64.const 0.9996636978961307) + (f64.const 0.1573508232831955) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1914) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -8.38143342755525) + (f64.const -0.9999998950434862) + (f64.const 0.27985066175460815) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1915) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 9.313225746154785e-10) - (f64.const 0.0009765625) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -6.531673581913484) + (f64.const -0.9999957568392429) + (f64.const -0.44285574555397034) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1916) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -9.313225746154785e-10) - (f64.const -0.0009765625) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 9.267056966972586) + (f64.const 0.9999999821447234) + (f64.const 0.4462755024433136) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1917) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 1) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.6619858980995045) + (f64.const 0.5796835018635275) + (f64.const 0.4892043173313141) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1918) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const -1) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0.4066039223853553) + (f64.const -0.3855853099901652) + (f64.const 0.35993871092796326) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1919) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrt - (f64.const 8) - (f64.const 2) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.5617597462207241) + (f64.const 0.5092819248700439) + (f64.const -0.39436522126197815) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1920) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -8.066848754882812) - (f32.const -2.0055553913116455) - (f32.const -0.44719240069389343) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.7741522965913037) + (f64.const 0.6493374550318555) + (f64.const -0.4899396002292633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1921) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 4.345239639282227) - (f32.const 1.6318162679672241) - (f32.const 0.44636252522468567) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0.6787637026394024) + (f64.const -0.590715084799841) + (f64.const -0.0145387789234519) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1922) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -8.381433486938477) - (f32.const -2.0312938690185547) - (f32.const 0.19483426213264465) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1925) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -6.531673431396484) - (f32.const -1.8692820072174072) - (f32.const -0.17075514793395996) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1926) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 9.267057418823242) - (f32.const 2.1004576683044434) - (f32.const -0.36362043023109436) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1927) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0.6619858741760254) - (f32.const 0.8715311288833618) - (f32.const -0.12857209146022797) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1928) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0.40660393238067627) - (f32.const -0.7408390641212463) - (f32.const -0.4655757546424866) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1929) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0.5617597699165344) - (f32.const 0.8251195549964905) - (f32.const 0.05601907894015312) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -8.066848754882812) + (f32.const -0.9999998211860657) + (f32.const -0.3034979999065399) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1938) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0.7741522789001465) - (f32.const 0.9182102680206299) - (f32.const 0.45498204231262207) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 4.345239639282227) + (f32.const 0.9996637105941772) + (f32.const 0.2154078334569931) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1939) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0.6787636876106262) - (f32.const -0.8788326978683472) - (f32.const -0.22978967428207397) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -8.381433486938477) + (f32.const -0.9999998807907104) + (f32.const 0.23912210762500763) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1940) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -6.531673431396484) + (f32.const -0.999995768070221) + (f32.const -0.18844597041606903) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1941) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 9.267057418823242) + (f32.const 1) + (f32.const 0.1497807800769806) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1942) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -inf) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.6619858741760254) + (f32.const 0.5796834826469421) + (f32.const -0.05590476095676422) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1943) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0.40660393238067627) + (f32.const -0.38558530807495117) + (f32.const 0.349787175655365) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1944) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.5617597699165344) + (f32.const 0.5092819333076477) + (f32.const -0.1528785079717636) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1945) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 9.313225746154785e-10) - (f32.const 0.0009765625) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.7741522789001465) + (f32.const 0.6493374705314636) + (f32.const 0.4317026138305664) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1946) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -9.313225746154785e-10) - (f32.const -0.0009765625) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0.6787636876106262) + (f32.const -0.5907150506973267) + (f32.const 0.4079873859882355) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1947) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1950) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1951) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 8) - (f32.const 2) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1952) + (i32.const 0) + ) + (unreachable) + ) ) - (call "$(lib)/math/NativeMath.seedRandom" - (i64.reinterpret/f64 - (call "$(lib)/math/JSMath.random") + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1953) + (i32.const 0) + ) + (unreachable) ) ) - (loop $continue|0 - (if - (f64.lt - (f64.convert_s/i32 - (get_local $0) - ) - (f64.const 1e7) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) - (block - (if - (i32.eqz - (i32.and - (if (result i32) - (tee_local $2 - (f64.ge - (tee_local $1 - (call "$(lib)/math/NativeMath.random") - ) - (f64.const 0) - ) - ) - (f64.lt - (get_local $1) - (f64.const 1) - ) - (get_local $2) - ) - (i32.const 1) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 601) - (i32.const 2) - ) - (unreachable) - ) - ) - (set_local $0 - (i32.add - (get_local $0) - (i32.const 1) - ) - ) - (br $continue|0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1954) + (i32.const 0) ) + (unreachable) ) ) ) diff --git a/tests/compiler/std/math.ts b/tests/compiler/std/math.ts index ed0095f785..34403022fe 100644 --- a/tests/compiler/std/math.ts +++ b/tests/compiler/std/math.ts @@ -1,7 +1,7 @@ // based on http://nsz.repo.hu/git/?p=libc-test // mostly generated from their tests using scripts/hexfloat.html -assert(Math.E == NativeMath.E); // global alias should exist +const JS = true; const INEXACT = 1 << 0; const INVALID = 1 << 1; @@ -9,594 +9,1946 @@ const DIVBYZERO = 1 << 2; const UNDERFLOW = 1 << 3; const OVERFLOW = 1 << 4; -function check(actual: T, expected: T, error: T, flags: i32): void { // TODO: is this correct? -0? - if (isNaN(expected)) { - if (!isNaN(actual)) unreachable(); - } else if (actual != expected) { - if (!(flags & INEXACT) || abs(actual - expected) > abs(error)) unreachable(); +function signbit(d: f64): i32 { + return (reinterpret(d) >> 63); +} + +function eulp(x: f64): i32 { + var u = reinterpret(x); + var e = (u >> 52 & 0x7ff); + if (!e) e++; + return e - 0x3ff - 52; +} + +function ulperr(got: f64, want: f64, dwant: f64): f64 { + const Ox1p1023 = reinterpret(0x7FE0000000000000); + if (isNaN(got) && isNaN(want)) return 0; + if (got == want) { + if (signbit(got) == signbit(want)) return dwant; + return Infinity; + } + if (!isFinite(got)) { + got = copysign(Ox1p1023, got); + want *= 0.5; + } + return NativeMath.scalbn(got - want, -eulp(want)) + dwant; +} + +function signbitf(f: f32): i32 { + return (reinterpret(f) >> 31); +} + +function eulpf(x: f32): i32 { + var u = reinterpret(x); + var e = (u >> 23 & 0xff); + if (!e) e++; + return e - 0x7f - 23; +} + +function ulperrf(got: f32, want: f32, dwant: f32): f32 { + const Ox1p127f = reinterpret(0x7F000000); + if (isNaN(got) && isNaN(want)) return 0; + if (got == want) { + if (signbitf(got) == signbitf(want)) return dwant; + return Infinity; } + if (!isFinite(got)) { + got = copysign(Ox1p127f, got); + want *= 0.5; + } + return NativeMathf.scalbn(got - want, -eulpf(want)) + dwant; +} + +declare function logf(f: f64): void; + +function check(actual: T, expected: T, dy: T, flags: i32): bool { + if (actual != expected) { + let d: T; + if (sizeof() == 8) d = ulperr(actual, expected, dy); + else if (sizeof() == 4) d = ulperrf(actual, expected, dy); + else return false; + if (abs(d) >= 1.5) { + logf(abs(d)); + return false; + } + } + return true; +} + +// === global alias ================================ + +assert(Math.E == NativeMath.E); // should exist + +// === constants ================================ + +assert(check(NativeMath.E, JSMath.E, 0.0, 0)); +assert(check(NativeMath.LN2, JSMath.LN2, 0.0, 0)); +assert(check(NativeMath.LN10, JSMath.LN10, 0.0, 0)); +assert(check(NativeMath.LOG2E, JSMath.LOG2E, 0.0, 0)); +assert(check(NativeMath.PI, JSMath.PI, 0.0, 0)); +assert(check(NativeMath.SQRT1_2, JSMath.SQRT1_2, 0.0, 0)); +assert(check(NativeMath.SQRT2, JSMath.SQRT2, 0.0, 0)); + +// === internal scalbn ================================ + +function test_scalbn(value: f64, n: i32, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.scalbn(value, n), expected, error, flags); +} + +// sanity +assert(test_scalbn(-8.06684839057968084, -2, -2.01671209764492021, 0.0, 0)); +assert(test_scalbn(4.34523984933830487, -1, 2.17261992466915244, 0.0, 0)); +assert(test_scalbn(-8.38143342755524934, 0, -8.38143342755524934, 0.0, 0)); +assert(test_scalbn(-6.53167358191348413, 1, -13.0633471638269683, 0.0, 0)); +assert(test_scalbn(9.26705696697258574, 2, 37.0682278678903430, 0.0, 0)); +assert(test_scalbn(0.661985898099504477, 3, 5.29588718479603582, 0.0, 0)); +assert(test_scalbn(-0.406603922385355310, 4, -6.50566275816568496, 0.0, 0)); +assert(test_scalbn(0.561759746220724110, 5, 17.9763118790631715, 0.0, 0)); +assert(test_scalbn(0.774152296591303690, 6, 49.5457469818434362, 0.0, 0)); +assert(test_scalbn(-0.678763702639402444, 7, -86.8817539378435129, 0.0, 0)); + +// special +assert(test_scalbn(0.0, 2147483647, 0.0, 0.0, 0)); +assert(test_scalbn(0.0, -2147483647, 0.0, 0.0, 0)); +assert(test_scalbn(-0.0, 2147483647, -0.0, 0.0, 0)); +assert(test_scalbn(NaN, 0, NaN, 0.0, 0)); +assert(test_scalbn(Infinity, 0, Infinity, 0.0, 0)); +assert(test_scalbn(-Infinity, 0, -Infinity, 0.0, 0)); +assert(test_scalbn(1.0, 0, 1.0, 0.0, 0)); +assert(test_scalbn(1.0, 1, 2.0, 0.0, 0)); +assert(test_scalbn(1.0, -1, 0.5, 0.0, 0)); +assert(test_scalbn(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); +assert(test_scalbn(NaN, 1, NaN, 0.0, 0)); +assert(test_scalbn(Infinity, 2147483647, Infinity, 0.0, 0)); +assert(test_scalbn(Infinity, -2147483647, Infinity, 0.0, 0)); +assert(test_scalbn(-Infinity, 2147483647, -Infinity, 0.0, 0)); +assert(test_scalbn(8.98846567431157954e+307, -2097, 4.94065645841246544e-324, 0.0, 0)); +assert(test_scalbn(4.94065645841246544e-324, 2097, 8.98846567431157954e+307, 0.0, 0)); +assert(test_scalbn(1.000244140625, -1074, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbn(0.749999999999999889, -1073, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbn(0.500000000000001221, -1024, 2.78134232313400667e-309, 0.0, INEXACT | UNDERFLOW)); + +// === internal scalbnf ================================ + +function test_scalbnf(value: f32, n: i32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.scalbn(value, n), expected, error, flags); } -// ================================ built-in fmod ================================ - -function test_fmod(left: f64, right: f64, expected: f64, error: f64, flags: i32): void { - check(left % right, expected, error, flags); -} - -// sanity -test_fmod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0); -test_fmod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0); -test_fmod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0); -test_fmod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0); -test_fmod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0); -test_fmod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0); -test_fmod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0); -test_fmod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0); -test_fmod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0); -test_fmod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0); - -// special -test_fmod(0.0, 1.0, 0.0, 0.0, 0); -test_fmod(-0.0, 1.0, -0.0, 0.0, 0); -test_fmod(0.5, 1.0, 0.5, 0.0, 0); -test_fmod(-0.5, 1.0, -0.5, 0.0, 0); -test_fmod(1.0, 1.0, 0.0, 0.0, 0); -test_fmod(-1.0, 1.0, -0.0, 0.0, 0); -test_fmod(1.5, 1.0, 0.5, 0.0, 0); -test_fmod(-1.5, 1.0, -0.5, 0.0, 0); -test_fmod(2.0, 1.0, 0.0, 0.0, 0); -test_fmod(-2.0, 1.0, -0.0, 0.0, 0); -test_fmod(Infinity, 1.0, NaN, 0.0, INVALID); -test_fmod(-Infinity, 1.0, NaN, 0.0, INVALID); -test_fmod(NaN, 1.0, NaN, 0.0, 0); -test_fmod(0.0, -1.0, 0.0, 0.0, 0); -test_fmod(-0.0, -1.0, -0.0, 0.0, 0); -test_fmod(0.5, -1.0, 0.5, 0.0, 0); -test_fmod(-0.5, -1.0, -0.5, 0.0, 0); -test_fmod(1.0, -1.0, 0.0, 0.0, 0); -test_fmod(-1.0, -1.0, -0.0, 0.0, 0); -test_fmod(1.5, -1.0, 0.5, 0.0, 0); -test_fmod(-1.5, -1.0, -0.5, 0.0, 0); -test_fmod(2.0, -1.0, 0.0, 0.0, 0); -test_fmod(-2.0, -1.0, -0.0, 0.0, 0); -test_fmod(Infinity, -1.0, NaN, 0.0, INVALID); -test_fmod(-Infinity, -1.0, NaN, 0.0, INVALID); -test_fmod(NaN, -1.0, NaN, 0.0, 0); -test_fmod(0.0, 0.0, NaN, 0.0, INVALID); -test_fmod(0.0, -0.0, NaN, 0.0, INVALID); -test_fmod(0.0, Infinity, 0.0, 0.0, 0); -test_fmod(0.0, -Infinity, 0.0, 0.0, 0); -test_fmod(0.0, NaN, NaN, 0.0, 0); -test_fmod(-0.0, 0.0, NaN, 0.0, INVALID); -test_fmod(-0.0, -0.0, NaN, 0.0, INVALID); -test_fmod(-0.0, Infinity, -0.0, 0.0, 0); -test_fmod(-0.0, -Infinity, -0.0, 0.0, 0); -test_fmod(-0.0, NaN, NaN, 0.0, 0); -test_fmod(1.0, 0.0, NaN, 0.0, INVALID); -test_fmod(-1.0, 0.0, NaN, 0.0, INVALID); -test_fmod(Infinity, 0.0, NaN, 0.0, INVALID); -test_fmod(-Infinity, 0.0, NaN, 0.0, INVALID); -test_fmod(NaN, 0.0, NaN, 0.0, 0); -test_fmod(-1.0, -0.0, NaN, 0.0, INVALID); -test_fmod(Infinity, -0.0, NaN, 0.0, INVALID); -test_fmod(-Infinity, -0.0, NaN, 0.0, INVALID); -test_fmod(NaN, -0.0, NaN, 0.0, 0); -test_fmod(Infinity, 2.0, NaN, 0.0, INVALID); -test_fmod(Infinity, -0.5, NaN, 0.0, INVALID); -test_fmod(Infinity, NaN, NaN, 0.0, 0); -test_fmod(-Infinity, 2.0, NaN, 0.0, INVALID); -test_fmod(-Infinity, -0.5, NaN, 0.0, INVALID); -test_fmod(-Infinity, NaN, NaN, 0.0, 0); -test_fmod(NaN, NaN, NaN, 0.0, 0); -test_fmod(1.0, NaN, NaN, 0.0, 0); -test_fmod(-1.0, NaN, NaN, 0.0, 0); -test_fmod(1.0, Infinity, 1.0, 0.0, 0); -test_fmod(-1.0, Infinity, -1.0, 0.0, 0); -test_fmod(Infinity, Infinity, NaN, 0.0, INVALID); -test_fmod(-Infinity, Infinity, NaN, 0.0, INVALID); -test_fmod(1.0, -Infinity, 1.0, 0.0, 0); -test_fmod(-1.0, -Infinity, -1.0, 0.0, 0); -test_fmod(Infinity, -Infinity, NaN, 0.0, INVALID); -test_fmod(-Infinity, -Infinity, NaN, 0.0, INVALID); -test_fmod(1.75, 0.5, 0.25, 0.0, 0); -test_fmod(-1.75, 0.5, -0.25, 0.0, 0); -test_fmod(1.75, -0.5, 0.25, 0.0, 0); -test_fmod(-1.75, -0.5, -0.25, 0.0, 0); - -// ================================ built-in fmodf ================================ - -function test_fmodf(left: f32, right: f32, expected: f32, error: f32, flags: i32): void { - check(left % right, expected, error, flags); -} - -// sanity -test_fmodf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0); -test_fmodf(4.345239639, -8.887990952, 4.345239639, 0.0, 0); -test_fmodf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0); -test_fmodf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0); -test_fmodf(9.267057419, 4.811392307, 4.455665112, 0.0, 0); -test_fmodf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0); -test_fmodf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0); -test_fmodf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0); -test_fmodf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0); -test_fmodf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0); - -// special -test_fmodf(0.0, 1.0, 0.0, 0.0, 0); -test_fmodf(-0.0, 1.0, -0.0, 0.0, 0); -test_fmodf(0.5, 1.0, 0.5, 0.0, 0); -test_fmodf(-0.5, 1.0, -0.5, 0.0, 0); -test_fmodf(1.0, 1.0, 0.0, 0.0, 0); -test_fmodf(-1.0, 1.0, -0.0, 0.0, 0); -test_fmodf(1.5, 1.0, 0.5, 0.0, 0); -test_fmodf(-1.5, 1.0, -0.5, 0.0, 0); -test_fmodf(2.0, 1.0, 0.0, 0.0, 0); -test_fmodf(-2.0, 1.0, -0.0, 0.0, 0); -test_fmodf(Infinity, 1.0, NaN, 0.0, INVALID); -test_fmodf(-Infinity, 1.0, NaN, 0.0, INVALID); -test_fmodf(NaN, 1.0, NaN, 0.0, 0); -test_fmodf(0.0, -1.0, 0.0, 0.0, 0); -test_fmodf(-0.0, -1.0, -0.0, 0.0, 0); -test_fmodf(0.5, -1.0, 0.5, 0.0, 0); -test_fmodf(-0.5, -1.0, -0.5, 0.0, 0); -test_fmodf(1.0, -1.0, 0.0, 0.0, 0); -test_fmodf(-1.0, -1.0, -0.0, 0.0, 0); -test_fmodf(1.5, -1.0, 0.5, 0.0, 0); -test_fmodf(-1.5, -1.0, -0.5, 0.0, 0); -test_fmodf(2.0, -1.0, 0.0, 0.0, 0); -test_fmodf(-2.0, -1.0, -0.0, 0.0, 0); -test_fmodf(Infinity, -1.0, NaN, 0.0, INVALID); -test_fmodf(-Infinity, -1.0, NaN, 0.0, INVALID); -test_fmodf(NaN, -1.0, NaN, 0.0, 0); -test_fmodf(0.0, 0.0, NaN, 0.0, INVALID); -test_fmodf(0.0, -0.0, NaN, 0.0, INVALID); -test_fmodf(0.0, Infinity, 0.0, 0.0, 0); -test_fmodf(0.0, -Infinity, 0.0, 0.0, 0); -test_fmodf(0.0, NaN, NaN, 0.0, 0); -test_fmodf(-0.0, 0.0, NaN, 0.0, INVALID); -test_fmodf(-0.0, -0.0, NaN, 0.0, INVALID); -test_fmodf(-0.0, Infinity, -0.0, 0.0, 0); -test_fmodf(-0.0, -Infinity, -0.0, 0.0, 0); -test_fmodf(-0.0, NaN, NaN, 0.0, 0); -test_fmodf(1.0, 0.0, NaN, 0.0, INVALID); -test_fmodf(-1.0, 0.0, NaN, 0.0, INVALID); -test_fmodf(Infinity, 0.0, NaN, 0.0, INVALID); -test_fmodf(-Infinity, 0.0, NaN, 0.0, INVALID); -test_fmodf(NaN, 0.0, NaN, 0.0, 0); -test_fmodf(-1.0, -0.0, NaN, 0.0, INVALID); -test_fmodf(Infinity, -0.0, NaN, 0.0, INVALID); -test_fmodf(-Infinity, -0.0, NaN, 0.0, INVALID); -test_fmodf(NaN, -0.0, NaN, 0.0, 0); -test_fmodf(Infinity, 2.0, NaN, 0.0, INVALID); -test_fmodf(Infinity, -0.5, NaN, 0.0, INVALID); -test_fmodf(Infinity, NaN, NaN, 0.0, 0); -test_fmodf(-Infinity, 2.0, NaN, 0.0, INVALID); -test_fmodf(-Infinity, -0.5, NaN, 0.0, INVALID); -test_fmodf(-Infinity, NaN, NaN, 0.0, 0); -test_fmodf(NaN, NaN, NaN, 0.0, 0); -test_fmodf(1.0, NaN, NaN, 0.0, 0); -test_fmodf(-1.0, NaN, NaN, 0.0, 0); -test_fmodf(1.0, Infinity, 1.0, 0.0, 0); -test_fmodf(-1.0, Infinity, -1.0, 0.0, 0); -test_fmodf(Infinity, Infinity, NaN, 0.0, INVALID); -test_fmodf(-Infinity, Infinity, NaN, 0.0, INVALID); -test_fmodf(1.0, -Infinity, 1.0, 0.0, 0); -test_fmodf(-1.0, -Infinity, -1.0, 0.0, 0); -test_fmodf(Infinity, -Infinity, NaN, 0.0, INVALID); -test_fmodf(-Infinity, -Infinity, NaN, 0.0, INVALID); -test_fmodf(1.75, 0.5, 0.25, 0.0, 0); -test_fmodf(-1.75, 0.5, -0.25, 0.0, 0); -test_fmodf(1.75, -0.5, 0.25, 0.0, 0); -test_fmodf(-1.75, -0.5, -0.25, 0.0, 0); - -// ================================ Math.log ================================ - -function test_log(value: f64, expected: f64, error: f64, flags: i32): void { - check(NativeMath.log(value), expected, error, flags); - check(JSMath.log(value), expected, error, flags); -} - -// sanity -test_log(-8.06684839057968084, NaN, 0.0, INVALID); -test_log(4.34523984933830487, 1.46908095842243225, -0.341253340244293213, INEXACT); -test_log(-8.38143342755524934, NaN, 0.0, INVALID); -test_log(-6.53167358191348413, NaN, 0.0, INVALID); -test_log(9.26705696697258574, 2.22646584987956153, 0.363811403512954712, INEXACT); -test_log(0.661985898099504477, -0.412511025236513673, -0.291087478399276733, INEXACT); -test_log(-0.406603922385355310, NaN, 0.0, INVALID); -test_log(0.561759746220724110, -0.576681018319586181, -0.109831996262073517, INEXACT); -test_log(0.774152296591303690, -0.255986659126386518, -0.0579900443553924561, INEXACT); -test_log(-0.678763702639402444, NaN, 0.0, INVALID); - -// special -test_log(0.0, -Infinity, 0.0, DIVBYZERO); -test_log(-0.0, -Infinity, 0.0, DIVBYZERO); -test_log(-7.88860905221011805e-31, NaN, 0.0, INVALID); -test_log(1.0, 0.0, 0.0, 0); -test_log(-1.0, NaN, 0.0, INVALID); -test_log(Infinity, Infinity, 0.0, 0); -test_log(-Infinity, NaN, 0.0, INVALID); -test_log(NaN, NaN, 0.0, 0); - -// ================================ Mathf.log ================================ - -function test_logf(value: f32, expected: f32, error: f32, flags: i32): void { - check(NativeMathf.log(value), expected, error, flags); -} - -// sanity -test_logf(0.0, -Infinity, 0.0, DIVBYZERO); -test_logf(-0.0, -Infinity, 0.0, DIVBYZERO); -test_logf(-7.888609052e-31, NaN, 0.0, INVALID); -test_logf(1.0, 0.0, 0.0, 0); -test_logf(-1.0, NaN, 0.0, INVALID); -test_logf(Infinity, Infinity, 0.0, 0); -test_logf(-Infinity, NaN, 0.0, INVALID); -test_logf(NaN, NaN, 0.0, 0); - -// special -test_logf(0.0, -Infinity, 0.0, DIVBYZERO); -test_logf(-0.0, -Infinity, 0.0, DIVBYZERO); -test_logf(-7.888609052e-31, NaN, 0.0, INVALID); -test_logf(1.0, 0.0, 0.0, 0); -test_logf(-1.0, NaN, 0.0, INVALID); -test_logf(Infinity, Infinity, 0.0, 0); -test_logf(-Infinity, NaN, 0.0, INVALID); -test_logf(NaN, NaN, 0.0, 0); - -// ================================ Math.exp ================================ - -function test_exp(value: f64, expected: f64, error: f64, flags: i32): void { - check(NativeMath.exp(value), expected, error, flags); - check(JSMath.exp(value), expected, error, flags); -} - -// sanity -test_exp(-8.06684839057968084, 0.000313770606816174511, -0.259919732809066772, INEXACT); -test_exp(4.34523984933830487, 77.1105301711214111, -0.0279267579317092896, INEXACT); -test_exp(-8.38143342755524934, 0.000229081338491632304, -0.249743342399597168, INEXACT); -test_exp(-6.53167358191348413, 0.00145656612609315877, -0.481682240962982178, INEXACT); -test_exp(9.26705696697258574, 10583.5582455249933, 0.176967620849609375, INEXACT); -test_exp(0.661985898099504477, 1.93863845255719980, -0.496424645185470581, INEXACT); -test_exp(-0.406603922385355310, 0.665907889283802512, -0.106083184480667114, INEXACT); -test_exp(0.561759746220724110, 1.75375595186263111, -0.391621112823486328, INEXACT); -test_exp(0.774152296591303690, 2.16875288851292458, -0.299612581729888916, INEXACT); -test_exp(-0.678763702639402444, 0.507243708940284255, 0.472617387771606445, INEXACT); - -// special -test_exp(0.0, 1.0, 0.0, 0); -test_exp(-0.0, 1.0, 0.0, 0); -test_exp(1.0, 2.71828182845904509, -0.325530737638473511, INEXACT); -test_exp(-1.0, 0.367879441171442334, 0.223896518349647522, INEXACT); -test_exp(Infinity, Infinity, 0.0, 0); -test_exp(-Infinity, 0.0, 0.0, 0); -test_exp(NaN, NaN, 0.0, 0); -test_exp(1.03972148895263650, 2.82842915587641119, 0.188030809164047241, INEXACT); -test_exp(-1.03972148895263650, 0.353553136702178472, 0.252727240324020386, INEXACT); -test_exp(1.03972101211547852, 2.82842780717661224, -0.418413937091827393, INEXACT); -test_exp(1.03972148895263672, 2.82842915587641164, -0.226183772087097168, INEXACT); - -// ================================ Mathf.exp ================================ - -function test_expf(value: f32, expected: f32, error: f32, flags: i32): void { - check(NativeMathf.exp(value), expected, error, flags); -} - -// sanity -test_expf(-8.066848755, 0.0003137704916, -0.03019333631, INEXACT); -test_expf(4.345239639, 77.11051178, -0.2875460684, INEXACT); -test_expf(-8.381433487, 0.0002290813281, 0.2237040401, INEXACT); -test_expf(-6.531673431, 0.001456566388, 0.3646970391, INEXACT); -test_expf(9.267057419, 10583.56348, 0.4596210420, INEXACT); -test_expf(0.6619858742, 1.938638449, 0.3568260968, INEXACT); -test_expf(-0.4066039324, 0.6659078598, -0.3829499185, INEXACT); -test_expf(0.5617597699, 1.753756046, 0.4435549080, INEXACT); -test_expf(0.7741522789, 2.168752909, 0.2456246912, INEXACT); -test_expf(-0.6787636876, 0.5072436929, -0.3974292278, INEXACT); - -// special -test_expf(0.0, 1.0, 0.0, 0); -test_expf(-0.0, 1.0, 0.0, 0); -test_expf(1.0, 2.718281746, -0.3462330997, INEXACT); -test_expf(-1.0, 0.3678794503, 0.3070148528, INEXACT); -test_expf(Infinity, Infinity, 0.0, 0); -test_expf(-Infinity, 0.0, 0.0, 0); -test_expf(NaN, NaN, 0.0, 0); -test_expf(88.72283173, 3.402798519e+38, -0.09067153931, INEXACT); -test_expf(88.72283936, Infinity, 0.0, INEXACT|OVERFLOW); -test_expf(-103.9720764, 1.401298464e-45, 0.4999996722, INEXACT|UNDERFLOW); -test_expf(-103.9720840, 0.0, -0.4999965131, INEXACT|UNDERFLOW); -test_expf(0.3465735614, 1.414213538, 0.1392242163, INEXACT); -test_expf(0.3465735912, 1.414213538, -0.2143291682, INEXACT); -test_expf(0.3465736210, 1.414213657, 0.4321174324, INEXACT); - -// ================================ Math.pow ================================ - -function test_pow(left: f64, right: f64, expected: f64, error: f64, flags: i32): void { - check(NativeMath.pow(left, right), expected, error, flags); -} - -// sanity -test_pow(-8.06684839057968084, 4.53566256067686879, NaN, 0.0, INVALID); -test_pow(4.34523984933830487, -8.88799136300345083, 0.00000213471188255872853, 0.325016021728515625, INEXACT); -test_pow(-8.38143342755524934, -2.76360733737958819, NaN, 0.0, INVALID); -test_pow(-6.53167358191348413, 4.56753527684274374, NaN, 0.0, INVALID); -test_pow(9.26705696697258574, 4.81139208435979615, 44909.2994151296589, -0.266590803861618042, INEXACT); -test_pow(-6.45004555606023633, 0.662071792337673881, NaN, 0.0, INVALID); -test_pow(7.85889025304169664, 0.0521545267500622481, 1.11351774134586523, -0.371686071157455444, INEXACT); -test_pow(-0.792054511984895959, 7.67640268511753998, NaN, 0.0, INVALID); -test_pow(0.615702673197924044, 2.01190257903248026, 0.376907735213801831, 0.324733018875122070, INEXACT); -test_pow(-0.558758682360915193, 0.0322398306026380407, NaN, 0.0, INVALID); -// special -test_pow(0.0, NaN, NaN, 0.0, 0); -test_pow(0.0, Infinity, 0.0, 0.0, 0); -test_pow(0.0, 3.0, 0.0, 0.0, 0); -test_pow(0.0, 2.0, 0.0, 0.0, 0); -test_pow(0.0, 1.0, 0.0, 0.0, 0); -test_pow(0.0, 0.5, 0.0, 0.0, 0); -test_pow(0.0, 0.0, 1.0, 0.0, 0); -test_pow(0.0, -0.0, 1.0, 0.0, 0); -test_pow(0.0, -0.5, Infinity, 0.0, DIVBYZERO); -test_pow(0.0, -1.0, Infinity, 0.0, DIVBYZERO); -test_pow(0.0, -2.0, Infinity, 0.0, DIVBYZERO); -test_pow(0.0, -3.0, Infinity, 0.0, DIVBYZERO); -test_pow(0.0, -4.0, Infinity, 0.0, DIVBYZERO); -test_pow(0.0, -Infinity, Infinity, 0.0, 0); -test_pow(-0.0, NaN, NaN, 0.0, 0); -test_pow(-0.0, Infinity, 0.0, 0.0, 0); -test_pow(-0.0, 3.0, -0.0, 0.0, 0); -test_pow(-0.0, 2.0, 0.0, 0.0, 0); -test_pow(-0.0, 1.0, -0.0, 0.0, 0); -test_pow(-0.0, 0.5, 0.0, 0.0, 0); -test_pow(-0.0, 0.0, 1.0, 0.0, 0); -test_pow(-0.0, -0.0, 1.0, 0.0, 0); -test_pow(-0.0, -0.5, Infinity, 0.0, DIVBYZERO); -test_pow(-0.0, -1.0, -Infinity, 0.0, DIVBYZERO); -test_pow(-0.0, -2.0, Infinity, 0.0, DIVBYZERO); -test_pow(-0.0, -3.0, -Infinity, 0.0, DIVBYZERO); -test_pow(-0.0, -4.0, Infinity, 0.0, DIVBYZERO); -test_pow(-0.0, -Infinity, Infinity, 0.0, 0); -test_pow(NaN, 0.0, 1.0, 0.0, 0); -test_pow(Infinity, 0.0, 1.0, 0.0, 0); -test_pow(-Infinity, 0.0, 1.0, 0.0, 0); -test_pow(1.0, 0.0, 1.0, 0.0, 0); -test_pow(-1.0, 0.0, 1.0, 0.0, 0); -test_pow(-0.5, 0.0, 1.0, 0.0, 0); -test_pow(NaN, -0.0, 1.0, 0.0, 0); -test_pow(Infinity, -0.0, 1.0, 0.0, 0); -test_pow(-Infinity, -0.0, 1.0, 0.0, 0); -test_pow(1.0, -0.0, 1.0, 0.0, 0); -test_pow(-1.0, -0.0, 1.0, 0.0, 0); -test_pow(-0.5, -0.0, 1.0, 0.0, 0); -test_pow(-1.0, NaN, NaN, 0.0, 0); -test_pow(-1.0, Infinity, 1.0, 0.0, 0); -test_pow(-1.0, -Infinity, 1.0, 0.0, 0); -test_pow(-1.0, 2.0, 1.0, 0.0, 0); -test_pow(-1.0, -1.0, -1.0, 0.0, 0); -test_pow(-1.0, -2.0, 1.0, 0.0, 0); -test_pow(-1.0, -3.0, -1.0, 0.0, 0); -test_pow(-1.0, 0.5, NaN, 0.0, INVALID); -test_pow(1.0, NaN, 1.0, 0.0, 0); -test_pow(1.0, Infinity, 1.0, 0.0, 0); -test_pow(1.0, -Infinity, 1.0, 0.0, 0); -test_pow(1.0, 3.0, 1.0, 0.0, 0); -test_pow(1.0, 0.5, 1.0, 0.0, 0); -test_pow(1.0, -0.5, 1.0, 0.0, 0); -test_pow(1.0, -3.0, 1.0, 0.0, 0); -test_pow(-0.5, 0.5, NaN, 0.0, INVALID); -test_pow(-0.5, 1.5, NaN, 0.0, INVALID); -test_pow(-0.5, 2.0, 0.25, 0.0, 0); -test_pow(-0.5, 3.0, -0.125, 0.0, 0); -test_pow(-0.5, Infinity, 0.0, 0.0, 0); -test_pow(-0.5, -Infinity, Infinity, 0.0, 0); -test_pow(-0.5, NaN, NaN, 0.0, 0); -test_pow(0.5, Infinity, 0.0, 0.0, 0); -test_pow(0.5, -Infinity, Infinity, 0.0, 0); -test_pow(0.5, NaN, NaN, 0.0, 0); -test_pow(1.5, Infinity, Infinity, 0.0, 0); -test_pow(1.5, -Infinity, 0.0, 0.0, 0); -test_pow(1.5, NaN, NaN, 0.0, 0); -test_pow(Infinity, NaN, NaN, 0.0, 0); -test_pow(Infinity, Infinity, Infinity, 0.0, 0); -test_pow(Infinity, -Infinity, 0.0, 0.0, 0); -test_pow(Infinity, 3.0, Infinity, 0.0, 0); -test_pow(Infinity, 2.0, Infinity, 0.0, 0); -test_pow(Infinity, 1.0, Infinity, 0.0, 0); -test_pow(Infinity, 0.5, Infinity, 0.0, 0); -test_pow(Infinity, -0.5, 0.0, 0.0, 0); -test_pow(Infinity, -1.0, 0.0, 0.0, 0); -test_pow(Infinity, -2.0, 0.0, 0.0, 0); -test_pow(-Infinity, NaN, NaN, 0.0, 0); -test_pow(-Infinity, Infinity, Infinity, 0.0, 0); -test_pow(-Infinity, -Infinity, 0.0, 0.0, 0); -test_pow(-Infinity, 3.0, -Infinity, 0.0, 0); -test_pow(-Infinity, 2.0, Infinity, 0.0, 0); -test_pow(-Infinity, 1.0, -Infinity, 0.0, 0); -test_pow(-Infinity, 0.5, Infinity, 0.0, 0); -test_pow(-Infinity, -0.5, 0.0, 0.0, 0); -test_pow(-Infinity, -1.0, -0.0, 0.0, 0); -test_pow(-Infinity, -2.0, 0.0, 0.0, 0); -test_pow(NaN, 1.0, NaN, 0.0, 0); -test_pow(NaN, -1.0, NaN, 0.0, 0); -test_pow(-2.0, 1.0, -2.0, 0.0, 0); -test_pow(-2.0, -1.0, -0.5, 0.0, 0); - -// ================================ Mathf.pow ================================ - -function test_powf(left: f32, right: f32, expected: f32, error: f32, flags: i32): void { - check(NativeMathf.pow(left, right), expected, error, flags); -} - -// sanity -test_powf(-8.066848755, 4.535662651, NaN, 0.0, INVALID); -test_powf(4.345239639, -8.887990952, 0.000002134714123, 0.1436440796, INEXACT); -test_powf(-8.381433487, -2.763607264, NaN, 0.0, INVALID); -test_powf(-6.531673431, 4.567535400, NaN, 0.0, INVALID); -test_powf(9.267057419, 4.811392307, 44909.33203, -0.05356409028, INEXACT); -test_powf(-6.450045586, 0.6620717645, NaN, 0.0, INVALID); -test_powf(7.858890057, 0.05215452611, 1.113517761, 0.1912208945, INEXACT); -test_powf(-0.7920545340, 7.676402569, NaN, 0.0, INVALID); -test_powf(0.6157026887, 2.011902571, 0.3769077659, 0.3371490538, INEXACT); -test_powf(-0.5587586761, 0.03223983198, NaN, 0.0, INVALID); -// special -test_powf(0.0, NaN, NaN, 0.0, 0); -test_powf(0.0, Infinity, 0.0, 0.0, 0); -test_powf(0.0, 3.0, 0.0, 0.0, 0); -test_powf(0.0, 2.0, 0.0, 0.0, 0); -test_powf(0.0, 1.0, 0.0, 0.0, 0); -test_powf(0.0, 0.5, 0.0, 0.0, 0); -test_powf(0.0, 0.0, 1.0, 0.0, 0); -test_powf(0.0, -0.0, 1.0, 0.0, 0); -test_powf(0.0, -0.5, Infinity, 0.0, DIVBYZERO); -test_powf(0.0, -1.0, Infinity, 0.0, DIVBYZERO); -test_powf(0.0, -2.0, Infinity, 0.0, DIVBYZERO); -test_powf(0.0, -3.0, Infinity, 0.0, DIVBYZERO); -test_powf(0.0, -4.0, Infinity, 0.0, DIVBYZERO); -test_powf(0.0, -Infinity, Infinity, 0.0, 0); -test_powf(-0.0, NaN, NaN, 0.0, 0); -test_powf(-0.0, Infinity, 0.0, 0.0, 0); -test_powf(-0.0, 3.0, -0.0, 0.0, 0); -test_powf(-0.0, 2.0, 0.0, 0.0, 0); -test_powf(-0.0, 1.0, -0.0, 0.0, 0); -test_powf(-0.0, 0.5, 0.0, 0.0, 0); -test_powf(-0.0, 0.0, 1.0, 0.0, 0); -test_powf(-0.0, -0.0, 1.0, 0.0, 0); -test_powf(-0.0, -0.5, Infinity, 0.0, DIVBYZERO); -test_powf(-0.0, -1.0, -Infinity, 0.0, DIVBYZERO); -test_powf(-0.0, -2.0, Infinity, 0.0, DIVBYZERO); -test_powf(-0.0, -3.0, -Infinity, 0.0, DIVBYZERO); -test_powf(-0.0, -4.0, Infinity, 0.0, DIVBYZERO); -test_powf(-0.0, -Infinity, Infinity, 0.0, 0); -test_powf(NaN, 0.0, 1.0, 0.0, 0); -test_powf(Infinity, 0.0, 1.0, 0.0, 0); -test_powf(-Infinity, 0.0, 1.0, 0.0, 0); -test_powf(1.0, 0.0, 1.0, 0.0, 0); -test_powf(-1.0, 0.0, 1.0, 0.0, 0); -test_powf(-0.5, 0.0, 1.0, 0.0, 0); -test_powf(NaN, -0.0, 1.0, 0.0, 0); -test_powf(Infinity, -0.0, 1.0, 0.0, 0); -test_powf(-Infinity, -0.0, 1.0, 0.0, 0); -test_powf(1.0, -0.0, 1.0, 0.0, 0); -test_powf(-1.0, -0.0, 1.0, 0.0, 0); -test_powf(-0.5, -0.0, 1.0, 0.0, 0); -test_powf(-1.0, NaN, NaN, 0.0, 0); -test_powf(-1.0, Infinity, 1.0, 0.0, 0); -test_powf(-1.0, -Infinity, 1.0, 0.0, 0); -test_powf(-1.0, 2.0, 1.0, 0.0, 0); -test_powf(-1.0, -1.0, -1.0, 0.0, 0); -test_powf(-1.0, -2.0, 1.0, 0.0, 0); -test_powf(-1.0, -3.0, -1.0, 0.0, 0); -test_powf(-1.0, 0.5, NaN, 0.0, INVALID); -test_powf(1.0, NaN, 1.0, 0.0, 0); -test_powf(1.0, Infinity, 1.0, 0.0, 0); -test_powf(1.0, -Infinity, 1.0, 0.0, 0); -test_powf(1.0, 3.0, 1.0, 0.0, 0); -test_powf(1.0, 0.5, 1.0, 0.0, 0); -test_powf(1.0, -0.5, 1.0, 0.0, 0); -test_powf(1.0, -3.0, 1.0, 0.0, 0); -test_powf(-0.5, 0.5, NaN, 0.0, INVALID); -test_powf(-0.5, 1.5, NaN, 0.0, INVALID); -test_powf(-0.5, 2.0, 0.25, 0.0, 0); -test_powf(-0.5, 3.0, -0.125, 0.0, 0); -test_powf(-0.5, Infinity, 0.0, 0.0, 0); -test_powf(-0.5, -Infinity, Infinity, 0.0, 0); -test_powf(-0.5, NaN, NaN, 0.0, 0); -test_powf(0.5, Infinity, 0.0, 0.0, 0); -test_powf(0.5, -Infinity, Infinity, 0.0, 0); -test_powf(0.5, NaN, NaN, 0.0, 0); -test_powf(1.5, Infinity, Infinity, 0.0, 0); -test_powf(1.5, -Infinity, 0.0, 0.0, 0); -test_powf(1.5, NaN, NaN, 0.0, 0); -test_powf(Infinity, NaN, NaN, 0.0, 0); -test_powf(Infinity, Infinity, Infinity, 0.0, 0); -test_powf(Infinity, -Infinity, 0.0, 0.0, 0); -test_powf(Infinity, 3.0, Infinity, 0.0, 0); -test_powf(Infinity, 2.0, Infinity, 0.0, 0); -test_powf(Infinity, 1.0, Infinity, 0.0, 0); -test_powf(Infinity, 0.5, Infinity, 0.0, 0); -test_powf(Infinity, -0.5, 0.0, 0.0, 0); -test_powf(Infinity, -1.0, 0.0, 0.0, 0); -test_powf(Infinity, -2.0, 0.0, 0.0, 0); -test_powf(-Infinity, NaN, NaN, 0.0, 0); -test_powf(-Infinity, Infinity, Infinity, 0.0, 0); -test_powf(-Infinity, -Infinity, 0.0, 0.0, 0); -test_powf(-Infinity, 3.0, -Infinity, 0.0, 0); -test_powf(-Infinity, 2.0, Infinity, 0.0, 0); -test_powf(-Infinity, 1.0, -Infinity, 0.0, 0); -test_powf(-Infinity, 0.5, Infinity, 0.0, 0); -test_powf(-Infinity, -0.5, 0.0, 0.0, 0); -test_powf(-Infinity, -1.0, -0.0, 0.0, 0); -test_powf(-Infinity, -2.0, 0.0, 0.0, 0); -test_powf(NaN, 1.0, NaN, 0.0, 0); -test_powf(NaN, -1.0, NaN, 0.0, 0); -test_powf(-2.0, 1.0, -2.0, 0.0, 0); -test_powf(-2.0, -1.0, -0.5, 0.0, 0); - -// ================================ Math.cbrt ================================ - -function test_cbrt(value: f64, expected: f64, error: f64, flags: i32): void { - check(NativeMath.cbrt(value), expected, error, flags); - check(JSMath.cbrt(value), expected, error, flags); -} - -// sanity -test_cbrt(-8.06684839057968084, -2.00555525450202454, 0.466679513454437256, INEXACT); -test_cbrt(4.34523984933830487, 1.63181624105156353, -0.0816027149558067322, INEXACT); -test_cbrt(-8.38143342755524934, -2.03129391067336096, -0.0481018163263797760, INEXACT); -test_cbrt(-6.53167358191348413, -1.86928200122049248, 0.0862401872873306274, INEXACT); -test_cbrt(9.26705696697258574, 2.10045772085970217, -0.272298902273178101, INEXACT); -test_cbrt(0.661985898099504477, 0.871531147045597310, 0.441491812467575073, INEXACT); -test_cbrt(-0.406603922385355310, -0.740839030300223023, 0.0164538137614727020, INEXACT); -test_cbrt(0.561759746220724110, 0.825119540055928580, 0.306806385517120361, INEXACT); -test_cbrt(0.774152296591303690, 0.918210247895991372, 0.0654399842023849487, INEXACT); -test_cbrt(-0.678763702639402444, -0.878832690658009397, -0.201671317219734192, INEXACT); - -// special -test_cbrt(NaN, NaN, 0.0, 0); -test_cbrt(Infinity, Infinity, 0.0, 0); -test_cbrt(-Infinity, -Infinity, 0.0, 0); -test_cbrt(0.0, 0.0, 0.0, 0); -test_cbrt(-0.0, -0.0, 0.0, 0); -test_cbrt(9.31322574615478516e-10, 0.0009765625, 0.0, 0); -test_cbrt(-9.31322574615478516e-10, -0.0009765625, 0.0, 0); -test_cbrt(1.0, 1.0, 0.0, 0); -test_cbrt(-1.0, -1.0, 0.0, 0); -test_cbrt(8.0, 2.0, 0.0, 0); - -// ================================ Mathf.cbrt ================================ - -function test_cbrtf(value: f32, expected: f32, error: f32, flags: i32): void { - check(NativeMathf.cbrt(value), expected, error, flags); -} - -// sanity -test_cbrtf(-8.066848755, -2.005555391, -0.4471924007, INEXACT); -test_cbrtf(4.345239639, 1.631816268, 0.4463625252, INEXACT); -test_cbrtf(-8.381433487, -2.031293869, 0.1948342621, INEXACT); -test_cbrtf(-6.531673431, -1.869282007, -0.1707551479, INEXACT); -test_cbrtf(9.267057419, 2.100457668, -0.3636204302, INEXACT); -test_cbrtf(0.6619858742, 0.8715311289, -0.1285720915, INEXACT); -test_cbrtf(-0.4066039324, -0.7408390641, -0.4655757546, INEXACT); -test_cbrtf(0.5617597699, 0.8251195550, 0.05601907894, INEXACT); -test_cbrtf(0.7741522789, 0.9182102680, 0.4549820423, INEXACT); -test_cbrtf(-0.6787636876, -0.8788326979, -0.2297896743, INEXACT); - -// special -test_cbrtf(NaN, NaN, 0.0, 0); -test_cbrtf(Infinity, Infinity, 0.0, 0); -test_cbrtf(-Infinity, -Infinity, 0.0, 0); -test_cbrtf(0.0, 0.0, 0.0, 0); -test_cbrtf(-0.0, -0.0, 0.0, 0); -test_cbrtf(9.313225746e-10, 0.0009765625, 0.0, 0); -test_cbrtf(-9.313225746e-10, -0.0009765625, 0.0, 0); -test_cbrtf(1.0, 1.0, 0.0, 0); -test_cbrtf(-1.0, -1.0, 0.0, 0); -test_cbrtf(8.0, 2.0, 0.0, 0); - -// ================================ Mathf.random ================================ +// sanity +assert(test_scalbnf(-8.066848755, -2, -2.016712189, 0.0, 0)); +assert(test_scalbnf(4.345239639, -1, 2.172619820, 0.0, 0)); +assert(test_scalbnf(-8.381433487, 0, -8.381433487, 0.0, 0)); +assert(test_scalbnf(-6.531673431, 1, -13.06334686, 0.0, 0)); +assert(test_scalbnf(9.267057419, 2, 37.06822968, 0.0, 0)); +assert(test_scalbnf(0.6619858742, 3, 5.295886993, 0.0, 0)); +assert(test_scalbnf(-0.4066039324, 4, -6.505662918, 0.0, 0)); +assert(test_scalbnf(0.5617597699, 5, 17.97631264, 0.0, 0)); +assert(test_scalbnf(0.7741522789, 6, 49.54574585, 0.0, 0)); +assert(test_scalbnf(-0.6787636876, 7, -86.88175201, 0.0, 0)); + +// special +assert(test_scalbnf(0.0, 2147483647, 0.0, 0.0, 0)); +assert(test_scalbnf(0.0, -2147483647, 0.0, 0.0, 0)); +assert(test_scalbnf(-0.0, 2147483647, -0.0, 0.0, 0)); +assert(test_scalbnf(NaN, 0, NaN, 0.0, 0)); +assert(test_scalbnf(Infinity, 0, Infinity, 0.0, 0)); +assert(test_scalbnf(-Infinity, 0, -Infinity, 0.0, 0)); +assert(test_scalbnf(1.0, 0, 1.0, 0.0, 0)); +assert(test_scalbnf(1.0, 1, 2.0, 0.0, 0)); +assert(test_scalbnf(1.0, -1, 0.5, 0.0, 0)); +assert(test_scalbnf(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); +assert(test_scalbnf(NaN, 1, NaN, 0.0, 0)); +assert(test_scalbnf(Infinity, 2147483647, Infinity, 0.0, 0)); +assert(test_scalbnf(Infinity, -2147483647, Infinity, 0.0, 0)); +assert(test_scalbnf(-Infinity, 2147483647, -Infinity, 0.0, 0)); +assert(test_scalbnf(1.701411835e+38, -276, 1.401298464e-45, 0.0, 0)); +assert(test_scalbnf(1.401298464e-45, 276, 1.701411835e+38, 0.0, 0)); +assert(test_scalbnf(1.000244141, -149, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbnf(0.7499999404, -148, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbnf(0.5000006557, -128, 1.469369340e-39, 0.0, INEXACT | UNDERFLOW)); + +// === built-in fmod ================================ + +function test_fmod(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(left % right, expected, error, flags); +} + +// sanity +assert(test_fmod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0)); +assert(test_fmod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_fmod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); +assert(test_fmod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); +assert(test_fmod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0)); +assert(test_fmod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0)); +assert(test_fmod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0)); +assert(test_fmod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_fmod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_fmod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); + +// special +assert(test_fmod(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmod(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmod(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_fmod(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_fmod(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmod(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmod(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_fmod(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_fmod(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmod(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmod(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_fmod(NaN, 1.0, NaN, 0.0, 0)); +assert(test_fmod(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmod(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmod(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_fmod(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_fmod(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmod(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmod(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_fmod(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_fmod(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmod(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmod(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_fmod(NaN, -1.0, NaN, 0.0, 0)); +assert(test_fmod(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmod(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_fmod(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_fmod(0.0, NaN, NaN, 0.0, 0)); +assert(test_fmod(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmod(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_fmod(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_fmod(-0.0, NaN, NaN, 0.0, 0)); +assert(test_fmod(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_fmod(NaN, 0.0, NaN, 0.0, 0)); +assert(test_fmod(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmod(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_fmod(NaN, -0.0, NaN, 0.0, 0)); +assert(test_fmod(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_fmod(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_fmod(Infinity, NaN, NaN, 0.0, 0)); +assert(test_fmod(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_fmod(NaN, NaN, NaN, 0.0, 0)); +assert(test_fmod(1.0, NaN, NaN, 0.0, 0)); +assert(test_fmod(-1.0, NaN, NaN, 0.0, 0)); +assert(test_fmod(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_fmod(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_fmod(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_fmod(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_fmod(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_fmod(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_fmod(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_fmod(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_fmod(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_fmod(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_fmod(-1.75, -0.5, -0.25, 0.0, 0)); + +// === built-in fmodf ================================ + +function test_fmodf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(left % right, expected, error, flags); +} + +// sanity +assert(test_fmodf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0)); +assert(test_fmodf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_fmodf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); +assert(test_fmodf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); +assert(test_fmodf(9.267057419, 4.811392307, 4.455665112, 0.0, 0)); +assert(test_fmodf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0)); +assert(test_fmodf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0)); +assert(test_fmodf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); +assert(test_fmodf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_fmodf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); + +// special +assert(test_fmodf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmodf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_fmodf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_fmodf(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmodf(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_fmodf(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_fmodf(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_fmodf(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_fmodf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_fmodf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmodf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_fmodf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_fmodf(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmodf(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_fmodf(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_fmodf(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_fmodf(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_fmodf(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_fmodf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_fmodf(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_fmodf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_fmodf(0.0, NaN, NaN, 0.0, 0)); +assert(test_fmodf(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_fmodf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_fmodf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_fmodf(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(NaN, 0.0, NaN, 0.0, 0)); +assert(test_fmodf(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_fmodf(NaN, -0.0, NaN, 0.0, 0)); +assert(test_fmodf(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_fmodf(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_fmodf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_fmodf(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_fmodf(NaN, NaN, NaN, 0.0, 0)); +assert(test_fmodf(1.0, NaN, NaN, 0.0, 0)); +assert(test_fmodf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_fmodf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_fmodf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_fmodf(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_fmodf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_fmodf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_fmodf(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_fmodf(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_fmodf(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_fmodf(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_fmodf(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_fmodf(-1.75, -0.5, -0.25, 0.0, 0)); + +// === Math.abs ================================ + +function test_abs(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.abs(value), expected, error, flags) && + (!JS || check( JSMath.abs(value), expected, error, flags)); +} + +// sanity +assert(test_abs(-8.06684839057968084, 8.06684839057968084, 0.0, 0)); +assert(test_abs(4.34523984933830487, 4.34523984933830487, 0.0, 0)); +assert(test_abs(-8.38143342755524934, 8.38143342755524934, 0.0, 0)); +assert(test_abs(-6.53167358191348413, 6.53167358191348413, 0.0, 0)); +assert(test_abs(9.26705696697258574, 9.26705696697258574, 0.0, 0)); +assert(test_abs(0.661985898099504477, 0.661985898099504477, 0.0, 0)); +assert(test_abs(-0.406603922385355310, 0.406603922385355310, 0.0, 0)); +assert(test_abs(0.561759746220724110, 0.561759746220724110, 0.0, 0)); +assert(test_abs(0.774152296591303690, 0.774152296591303690, 0.0, 0)); +assert(test_abs(-0.678763702639402444, 0.678763702639402444, 0.0, 0)); + +// special +assert(test_abs(0.0, 0.00, 0.0, 0)); +assert(test_abs(-0.0, 0.0, 0.0, 0)); +assert(test_abs(1.0, 1.0, 0.0, 0)); +assert(test_abs(-1.0, 1.0, 0.0, 0)); +assert(test_abs(Infinity, Infinity, 0.0, 0)); +assert(test_abs(-Infinity, Infinity, 0.0, 0)); +assert(test_abs(NaN, NaN, 0.0, 0)); + +// === Mathf.abs ================================ + +function test_absf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.abs(value), expected, error, flags); +} + +// sanity +assert(test_absf(-8.066848755, 8.066848755, 0.0, 0)); +assert(test_absf(4.345239639, 4.345239639, 0.0, 0)); +assert(test_absf(-8.381433487, 8.381433487, 0.0, 0)); +assert(test_absf(-6.531673431, 6.531673431, 0.0, 0)); +assert(test_absf(9.267057419, 9.267057419, 0.0, 0)); +assert(test_absf(0.6619858742, 0.6619858742, 0.0, 0)); +assert(test_absf(-0.4066039324, 0.4066039324, 0.0, 0)); +assert(test_absf(0.5617597699, 0.5617597699, 0.0, 0)); +assert(test_absf(0.7741522789, 0.7741522789, 0.0, 0)); +assert(test_absf(-0.6787636876, 0.6787636876, 0.0, 0)); + +// special +assert(test_absf(0.0, 0.0, 0.0, 0)); +assert(test_absf(-0.0, 0.0, 0.0, 0)); +assert(test_absf(1.0, 1.0, 0.0, 0)); +assert(test_absf(-1.0, 1.0, 0.0, 0)); +assert(test_absf(Infinity, Infinity, 0.0, 0)); +assert(test_absf(-Infinity, Infinity, 0.0, 0)); +assert(test_absf(NaN, NaN, 0.0, 0)); + +// === Math.acos ================================ + +function test_acos(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.acos(value), expected, error, flags) && + (!JS || check( JSMath.acos(value), expected, error, flags)); +} + +// sanity +assert(test_acos(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_acos(4.34523984933830487, NaN, 0.0, INVALID)); +assert(test_acos(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_acos(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_acos(9.26705696697258574, NaN, 0.0, INVALID)); +assert(test_acos(0.661985898099504477, 0.847331082843350680, -0.415532767772674561, INEXACT)); +assert(test_acos(-0.406603922385355310, 1.98953007108866897, 0.497394621372222900, INEXACT)); +assert(test_acos(0.561759746220724110, 0.974284964567490364, -0.442889750003814697, INEXACT)); +assert(test_acos(0.774152296591303690, 0.685421515863622210, -0.125895276665687561, INEXACT)); +assert(test_acos(-0.678763702639402444, 2.31687413820596388, -0.172849491238594055, INEXACT)); + +// special +assert(test_acos(0.0, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_acos(-1.0, 3.14159265358979312, -0.275765955448150635, INEXACT)); +assert(test_acos(1.0, 0.0, 0.0, 0)); +assert(test_acos(1.00000000000000022, NaN, 0.0, INVALID)); +assert(test_acos(-1.00000000000000022, NaN, 0.0, INVALID)); +assert(test_acos(Infinity, NaN, 0.0, INVALID)); +assert(test_acos(-Infinity, NaN, 0.0, INVALID)); +assert(test_acos(NaN, NaN, 0.0, 0)); +assert(test_acos(-0.530922720959298489, 2.13048537997054632, 0.139100849628448486, INEXACT)); +assert(test_acos(0.493955674639974585, 1.05416298758519456, 0.220547676086425781, INEXACT)); + +// === Mathf.acos ================================ + +function test_acosf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.acos(value), expected, error, flags); +} + +// sanity +assert(test_acosf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_acosf(4.345239639, NaN, 0.0, INVALID)); +assert(test_acosf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_acosf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_acosf(9.267057419, NaN, 0.0, INVALID)); +assert(test_acosf(0.6619858742, 0.8473311067, -0.1358813196, INEXACT)); +assert(test_acosf(-0.4066039324, 1.989530087, 0.03764917701, INEXACT)); +assert(test_acosf(0.5617597699, 0.9742849469, 0.1844373941, INEXACT)); +assert(test_acosf(0.7741522789, 0.6854215264, -0.2915834486, INEXACT)); +assert(test_acosf(-0.6787636876, 2.316874027, -0.3795364499, INEXACT)); + +// special +assert(test_acosf(0.0, 1.570796371, 0.3666777015, INEXACT)); +assert(test_acosf(-1.0, 3.141592741, 0.3666777015, INEXACT)); +assert(test_acosf(1.0, 0.0, 0.0, 0)); +assert(test_acosf(1.000000119, NaN, 0.0, INVALID)); +assert(test_acosf(-1.000000119, NaN, 0.0, INVALID)); +assert(test_acosf(Infinity, NaN, 0.0, INVALID)); +assert(test_acosf(-Infinity, NaN, 0.0, INVALID)); +assert(test_acosf(NaN, NaN, 0.0, 0)); +assert(test_acosf(0.4996506572, 1.047600865, -0.2116181403, INEXACT)); +assert(test_acosf(-0.5051405430, 2.100341082, -0.2085270584, INEXACT)); +assert(test_acosf(-0.5189794898, 2.116452932, -0.1460082680, INEXACT)); + +// === Math.acosh ================================ + +function test_acosh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.acosh(value), expected, error, flags) && + (!JS || check( JSMath.acosh(value), expected, error, flags)); +} + +// sanity +assert(test_acosh(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_acosh(4.34523984933830487, 2.14871639805975034, -0.291634738445281982, INEXACT)); +assert(test_acosh(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_acosh(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_acosh(9.26705696697258574, 2.91668914109907984, -0.241919085383415222, INEXACT)); +assert(test_acosh(0.661985898099504477, NaN, 0.0, INVALID)); +assert(test_acosh(-0.406603922385355310, NaN, 0.0, INVALID)); +assert(test_acosh(0.561759746220724110, NaN, 0.0, INVALID)); +assert(test_acosh(0.774152296591303690, NaN, 0.0, INVALID)); +assert(test_acosh(-0.678763702639402444, NaN, 0.0, INVALID)); + +// special +assert(test_acosh(NaN, NaN, 0.0, 0)); +assert(test_acosh(Infinity, Infinity, 0.0, 0)); +assert(test_acosh(1.0, 0.0, 0.0, 0)); +assert(test_acosh(0.999992370605468750, NaN, 0.0, INVALID)); +assert(test_acosh(0.0, NaN, 0.0, INVALID)); +assert(test_acosh(-0.0, NaN, 0.0, INVALID)); +assert(test_acosh(-Infinity, NaN, 0.0, INVALID)); + +// TODO: hard cases close to 1 +// assert(test_acosh(1.00047471439683111, 0.0308115836212692340, -0.147202208638191223, INEXACT)); +// assert(test_acosh(1.00183940730320464, 0.0606439391272710696, -0.276413351297378540, INEXACT)); +// assert(test_acosh(1.00188411580836734, 0.0613762895053152624, 0.144539892673492432, INEXACT)); +// assert(test_acosh(1.00710219219241903, 0.119111722533103620, -0.0701267644762992859, INEXACT)); +// assert(test_acosh(1.00721657615236126, 0.120065923465338800, 0.348167449235916138, INEXACT)); +// assert(test_acosh(1.00755889036240331, 0.122877066266470714, 0.238077804446220398, INEXACT)); +// assert(test_acosh(1.02542398474864016, 0.225019907470933367, -0.326139897108078003, INEXACT)); +// assert(test_acosh(1.02566252207476860, 0.226068601206439679, -0.0386677794158458710, INEXACT)); +// assert(test_acosh(1.02583916511391160, 0.226842008792436378, -0.214941442012786865, INEXACT)); +// assert(test_acosh(1.02779264167821971, 0.235222655703679978, -0.181946381926536560, INEXACT)); +// assert(test_acosh(1.02795793845257588, 0.235917895367856345, -0.210223436355590820, INEXACT)); +// assert(test_acosh(1.03023030515918168, 0.245272131775117419, -0.281468182802200317, INEXACT)); +// assert(test_acosh(1.10422493637863384, 0.452687876797022049, 0.276559263467788696, INEXACT)); +assert(test_acosh(1.10608311999264286, 0.456637340438480310, -0.293816089630126953, INEXACT)); +// assert(test_acosh(1.10669650280664866, 0.457933064962976033, -0.261756330728530884, INEXACT)); +assert(test_acosh(1.10898095576286582, 0.462724685995942797, -0.399009555578231812, INEXACT)); +assert(test_acosh(1.11694291598755213, 0.479024331340752840, -0.321674108505249023, INEXACT)); + +// === Mathf.acosh ================================ + +function test_acoshf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.acosh(value), expected, error, flags); +} + +// sanity +assert(test_acoshf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_acoshf(4.345239639, 2.148716450, 0.4251045287, INEXACT)); +assert(test_acoshf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_acoshf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_acoshf(9.267057419, 2.916689157, -0.1369788945, INEXACT)); +assert(test_acoshf(0.6619858742, NaN, 0.0, INVALID)); +assert(test_acoshf(-0.4066039324, NaN, 0.0, INVALID)); +assert(test_acoshf(0.5617597699, NaN, 0.0, INVALID)); +assert(test_acoshf(0.7741522789, NaN, 0.0, INVALID)); +assert(test_acoshf(-0.6787636876, NaN, 0.0, INVALID)); + +// special +assert(test_acoshf(NaN, NaN, 0.0, 0)); +assert(test_acoshf(Infinity, Infinity, 0.0, 0)); +assert(test_acoshf(1.0, 0.0, 0.0, 0)); +assert(test_acoshf(0.9999923706, NaN, 0.0, INVALID)); +assert(test_acoshf(0.0, NaN, 0.0, INVALID)); +assert(test_acoshf(-0.0, NaN, 0.0, INVALID)); +assert(test_acoshf(-Infinity, NaN, 0.0, INVALID)); +assert(test_acoshf(-1.125899907e+15, NaN, 0.0, INVALID)); + +// === Math.asin ================================ + +function test_asin(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.asin(value), expected, error, flags) && + (!JS || check( JSMath.asin(value), expected, error, flags)); +} + +// sanity +assert(test_asin(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_asin(4.34523984933830487, NaN, 0.0, INVALID)); +assert(test_asin(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_asin(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_asin(9.26705696697258574, NaN, 0.0, INVALID)); +assert(test_asin(0.661985898099504477, 0.723465243951545878, -0.135999128222465515, INEXACT)); +assert(test_asin(-0.406603922385355310, -0.418733744293772248, -0.0926423072814941406, INEXACT)); +assert(test_asin(0.561759746220724110, 0.596511362227406194, -0.108642138540744781, INEXACT)); +assert(test_asin(0.774152296591303690, 0.885374810931274348, -0.425636619329452515, INEXACT)); +assert(test_asin(-0.678763702639402444, -0.746077811411067326, 0.139866068959236145, INEXACT)); + +// special +assert(test_asin(1.0, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_asin(-1.0, -1.57079632679489656, 0.275765955448150635, INEXACT)); +assert(test_asin(0.0, 0.0, 0.0, 0)); +assert(test_asin(-0.0, -0.0, 0.0, 0)); +assert(test_asin(1.00000000000000022, NaN, 0.0, INVALID)); +assert(test_asin(-1.00000000000000022, NaN, 0.0, INVALID)); +assert(test_asin(Infinity, NaN, 0.0, INVALID)); +assert(test_asin(-Infinity, NaN, 0.0, INVALID)); +assert(test_asin(NaN, NaN, 0.0, 0)); +assert(test_asin(0.507304392911914759, 0.532053899777234940, -0.161573171615600586, INEXACT)); + +// === Mathf.asin ================================ + +function test_asinf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.asin(value), expected, error, flags); +} + +// sanity +assert(test_asinf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_asinf(4.345239639, NaN, 0.0, INVALID)); +assert(test_asinf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_asinf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_asinf(9.267057419, NaN, 0.0, INVALID)); +assert(test_asinf(0.6619858742, 0.7234652042, -0.1307632476, INEXACT)); +assert(test_asinf(-0.4066039324, -0.4187337458, 0.3161141574, INEXACT)); +assert(test_asinf(0.5617597699, 0.5965113640, -0.4510819614, INEXACT)); +assert(test_asinf(0.7741522789, 0.8853747845, 0.02493886836, INEXACT)); +assert(test_asinf(-0.6787636876, -0.7460777760, 0.2515012324, INEXACT)); + +// special +assert(test_asinf(1.0, 1.570796371, 0.3666777015, INEXACT)); +assert(test_asinf(-1.0, -1.570796371, -0.3666777015, INEXACT)); +assert(test_asinf(0.0, 0.0, 0.0, 0)); +assert(test_asinf(-0.0, -0.0, 0.0, 0)); +assert(test_asinf(1.000000119, NaN, 0.0, INVALID)); +assert(test_asinf(-1.000000119, NaN, 0.0, INVALID)); +assert(test_asinf(Infinity, NaN, 0.0, INVALID)); +assert(test_asinf(-Infinity, NaN, 0.0, INVALID)); +assert(test_asinf(NaN, NaN, 0.0, 0)); +assert(test_asinf(0.5004770160, 0.5241496563, -0.2942709923, INEXACT)); + +// === Math.asinh ================================ + +function test_asinh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.asinh(value), expected, error, flags) && + (!JS || check( JSMath.asinh(value), expected, error, flags)); +} + +// sanity +assert(test_asinh(-8.06684839057968084, -2.78472987838786112, -0.476218998432159424, INEXACT)); +assert(test_asinh(4.34523984933830487, 2.17521338901316419, -0.0272875130176544189, INEXACT)); +assert(test_asinh(-8.38143342755524934, -2.82270608369769604, 0.209852576255798340, INEXACT)); +assert(test_asinh(-6.53167358191348413, -2.57561944659192221, 0.311313420534133911, INEXACT)); +assert(test_asinh(9.26705696697258574, 2.92251149510486741, 0.499175608158111572, INEXACT)); +assert(test_asinh(0.661985898099504477, 0.621246276270716602, -0.469734758138656616, INEXACT)); +assert(test_asinh(-0.406603922385355310, -0.396159903931920354, -0.408144384622573853, INEXACT)); +assert(test_asinh(0.561759746220724110, 0.535758887025547414, 0.352071315050125122, INEXACT)); +assert(test_asinh(0.774152296591303690, 0.712357126319734912, 0.133714511990547180, INEXACT)); +assert(test_asinh(-0.678763702639402444, -0.635182348903198024, 0.0474967099726200104, INEXACT)); + +// special +assert(test_asinh(NaN, NaN, 0.0, 0)); +assert(test_asinh(Infinity, Infinity, 0.0, 0)); +assert(test_asinh(-Infinity, -Infinity, 0.0, 0)); +assert(test_asinh(0.0, 0.0, 0.0, 0)); +assert(test_asinh(-0.0, -0.0, 0.0, 0)); + +// TODO: hard cases around 0.125? +// assert(test_asinh(0.247980229031791038, 0.245506531315820731, -0.487455964088439941, INEXACT)); +// assert(test_asinh(0.233961368245165308, 0.231877865394494953, 0.448774427175521851, INEXACT)); +// assert(test_asinh(0.241896364059492580, 0.239597351837045336, -0.432244122028350830, INEXACT)); +// assert(test_asinh(0.242977050175132520, 0.240647613714979003, 0.464605927467346191, INEXACT)); +// assert(test_asinh(0.243009640747287647, 0.240679282734723166, 0.474347352981567383, INEXACT)); +// assert(test_asinh(0.243762819057833202, 0.241411097647160899, -0.471239805221557617, INEXACT)); +// assert(test_asinh(0.244209582852871615, 0.241845129387203428, 0.357721567153930664, INEXACT)); +// assert(test_asinh(0.245142613572556872, 0.242751426027184358, 0.488074928522109985, INEXACT)); +// assert(test_asinh(0.248925886656024803, 0.246424287018607635, 0.423774600028991699, INEXACT)); +// assert(test_asinh(0.249687050136605942, 0.247162844410159732, 0.467378854751586914, INEXACT)); +// assert(test_asinh(0.252496955340698215, 0.249888150492394823, -0.330307126045227051, INEXACT)); +// assert(test_asinh(0.465276618378783480, 0.449940706126732537, 0.415301203727722168, INEXACT)); +// assert(test_asinh(0.467958660300663964, 0.452371172681032996, 0.495325148105621338, INEXACT)); +// assert(test_asinh(0.479083566135035333, 0.462425786301167263, 0.421210944652557373, INEXACT)); +// assert(test_asinh(0.481281048969517788, 0.464406726694242211, -0.483110427856445313, INEXACT)); +// assert(test_asinh(0.487328868799273951, 0.469849798263134111, -0.424072027206420898, INEXACT)); +// assert(test_asinh(0.489993198082535886, 0.472243604962259256, -0.437918633222579956, INEXACT)); +// assert(test_asinh(0.519085143365399015, 0.498216616337933904, -0.420524448156356812, INEXACT)); + +// === Mathf.asinh ================================ + +function test_asinhf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.asinh(value), expected, error, flags); +} + +// sanity +assert(test_asinhf(-8.066848755, -2.784729958, -0.1441801339, INEXACT)); +assert(test_asinhf(4.345239639, 2.175213337, -0.02079696581, INEXACT)); +assert(test_asinhf(-8.381433487, -2.822705984, 0.4471853375, INEXACT)); +assert(test_asinhf(-6.531673431, -2.575619459, -0.1482227296, INEXACT)); +assert(test_asinhf(9.267057419, 2.922511578, 0.1427068114, INEXACT)); +assert(test_asinhf(0.6619858742, 0.6212462783, 0.3684912920, INEXACT)); +assert(test_asinhf(-0.4066039324, -0.3961599171, -0.1317030638, INEXACT)); +assert(test_asinhf(0.5617597699, 0.5357589126, 0.08184859902, INEXACT)); +assert(test_asinhf(0.7741522789, 0.7123571038, -0.1427073777, INEXACT)); +assert(test_asinhf(-0.6787636876, -0.6351823211, 0.2583143711, INEXACT)); + +// special +assert(test_asinhf(NaN, NaN, 0.0, 0)); +assert(test_asinhf(Infinity, Infinity, 0.0, 0)); +assert(test_asinhf(-Infinity, -Infinity, 0.0, 0)); +assert(test_asinhf(0.0, 0.0, 0.0, 0)); +assert(test_asinhf(-0.0, -0.0, 0.0, 0)); + +// === Math.atan ================================ + +function test_atan(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.atan(value), expected, error, flags) && + (!JS || check( JSMath.atan(value), expected, error, flags)); +} + +// sanity +assert(test_atan(-8.06684839057968084, -1.44746137626334681, 0.148571118712425232, INEXACT)); +assert(test_atan(4.34523984933830487, 1.34459792711453807, -0.0817033573985099792, INEXACT)); +assert(test_atan(-8.38143342755524934, -1.45204634632955387, -0.0750548020005226135, INEXACT)); +assert(test_atan(-6.53167358191348413, -1.41887586587525316, -0.0576334968209266663, INEXACT)); +assert(test_atan(9.26705696697258574, 1.46330314544870599, 0.160695642232894897, INEXACT)); +assert(test_atan(0.661985898099504477, 0.584755067023832509, 0.458255648612976074, INEXACT)); +assert(test_atan(-0.406603922385355310, -0.386186417755213118, -0.257428169250488281, INEXACT)); +assert(test_atan(0.561759746220724110, 0.511826953162888065, -0.114442773163318634, INEXACT)); +assert(test_atan(0.774152296591303690, 0.658780243165382196, -0.112864881753921509, INEXACT)); +assert(test_atan(-0.678763702639402444, -0.596330782697347184, -0.218284234404563904, INEXACT)); + +// special +assert(test_atan(0.0, 0.0, 0.0, 0)); +assert(test_atan(-0.0, -0.0, 0.0, 0)); +assert(test_atan(1.0, 0.785398163397448279, -0.275765955448150635, INEXACT)); +assert(test_atan(-1.0, -0.785398163397448279, 0.275765955448150635, INEXACT)); +assert(test_atan(Infinity, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_atan(-Infinity, -1.57079632679489656, 0.275765955448150635, INEXACT)); +assert(test_atan(NaN, NaN, 0.0, 0)); +assert(test_atan(0.692982153567462400, 0.606000455515256164, -0.170757904648780823, INEXACT)); + +// === Mathf.atan ================================ + +function test_atanf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.atan(value), expected, error, flags); +} + +// sanity +assert(test_atanf(-8.066848755, -1.447461367, 0.1268648058, INEXACT)); +assert(test_atanf(4.345239639, 1.344597936, 0.1604543477, INEXACT)); +assert(test_atanf(-8.381433487, -1.452046394, -0.3958175182, INEXACT)); +assert(test_atanf(-6.531673431, -1.418875813, 0.4105703533, INEXACT)); +assert(test_atanf(9.267057419, 1.463303208, 0.4840350151, INEXACT)); +assert(test_atanf(0.6619858742, 0.5847550631, 0.2125193477, INEXACT)); +assert(test_atanf(-0.4066039324, -0.3861864209, 0.1816962808, INEXACT)); +assert(test_atanf(0.5617597699, 0.5118269920, 0.3499770761, INEXACT)); +assert(test_atanf(0.7741522789, 0.6587802172, -0.2505330741, INEXACT)); +assert(test_atanf(-0.6787636876, -0.5963307619, 0.1761482656, INEXACT)); + +// special +assert(test_atanf(0.0, 0.0, 0.0, 0)); +assert(test_atanf(-0.0, -0.0, 0.0, 0)); +assert(test_atanf(1.0, 0.7853981853, 0.3666777015, INEXACT)); +assert(test_atanf(-1.0, -0.7853981853, -0.3666777015, INEXACT)); +assert(test_atanf(Infinity, 1.570796371, 0.3666777015, INEXACT)); +assert(test_atanf(-Infinity, -1.570796371, -0.3666777015, INEXACT)); +assert(test_atanf(NaN, NaN, 0.0, 0)); + +// === Math.cbrt ================================ + +function test_cbrt(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.cbrt(value), expected, error, flags) && + (!JS || check( JSMath.cbrt(value), expected, error, flags)); +} + +// sanity +assert(test_cbrt(-8.06684839057968084, -2.00555525450202454, 0.466679513454437256, INEXACT)); +assert(test_cbrt(4.34523984933830487, 1.63181624105156353, -0.0816027149558067322, INEXACT)); +assert(test_cbrt(-8.38143342755524934, -2.03129391067336096, -0.0481018163263797760, INEXACT)); +assert(test_cbrt(-6.53167358191348413, -1.86928200122049248, 0.0862401872873306274, INEXACT)); +assert(test_cbrt(9.26705696697258574, 2.10045772085970217, -0.272298902273178101, INEXACT)); +assert(test_cbrt(0.661985898099504477, 0.871531147045597310, 0.441491812467575073, INEXACT)); +assert(test_cbrt(-0.406603922385355310, -0.740839030300223023, 0.0164538137614727020, INEXACT)); +assert(test_cbrt(0.561759746220724110, 0.825119540055928580, 0.306806385517120361, INEXACT)); +assert(test_cbrt(0.774152296591303690, 0.918210247895991372, 0.0654399842023849487, INEXACT)); +assert(test_cbrt(-0.678763702639402444, -0.878832690658009397, -0.201671317219734192, INEXACT)); + +// special +assert(test_cbrt(NaN, NaN, 0.0, 0)); +assert(test_cbrt(Infinity, Infinity, 0.0, 0)); +assert(test_cbrt(-Infinity, -Infinity, 0.0, 0)); +assert(test_cbrt(0.0, 0.0, 0.0, 0)); +assert(test_cbrt(-0.0, -0.0, 0.0, 0)); +assert(test_cbrt(9.31322574615478516e-10, 0.0009765625, 0.0, 0)); +assert(test_cbrt(-9.31322574615478516e-10, -0.0009765625, 0.0, 0)); +assert(test_cbrt(1.0, 1.0, 0.0, 0)); +assert(test_cbrt(-1.0, -1.0, 0.0, 0)); +assert(test_cbrt(8.0, 2.0, 0.0, 0)); + +// === Mathf.cbrt ================================ + +function test_cbrtf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.cbrt(value), expected, error, flags); +} + +// sanity +assert(test_cbrtf(-8.066848755, -2.005555391, -0.4471924007, INEXACT)); +assert(test_cbrtf(4.345239639, 1.631816268, 0.4463625252, INEXACT)); +assert(test_cbrtf(-8.381433487, -2.031293869, 0.1948342621, INEXACT)); +assert(test_cbrtf(-6.531673431, -1.869282007, -0.1707551479, INEXACT)); +assert(test_cbrtf(9.267057419, 2.100457668, -0.3636204302, INEXACT)); +assert(test_cbrtf(0.6619858742, 0.8715311289, -0.1285720915, INEXACT)); +assert(test_cbrtf(-0.4066039324, -0.7408390641, -0.4655757546, INEXACT)); +assert(test_cbrtf(0.5617597699, 0.8251195550, 0.05601907894, INEXACT)); +assert(test_cbrtf(0.7741522789, 0.9182102680, 0.4549820423, INEXACT)); +assert(test_cbrtf(-0.6787636876, -0.8788326979, -0.2297896743, INEXACT)); + +// special +assert(test_cbrtf(NaN, NaN, 0.0, 0)); +assert(test_cbrtf(Infinity, Infinity, 0.0, 0)); +assert(test_cbrtf(-Infinity, -Infinity, 0.0, 0)); +assert(test_cbrtf(0.0, 0.0, 0.0, 0)); +assert(test_cbrtf(-0.0, -0.0, 0.0, 0)); +assert(test_cbrtf(9.313225746e-10, 0.0009765625, 0.0, 0)); +assert(test_cbrtf(-9.313225746e-10, -0.0009765625, 0.0, 0)); +assert(test_cbrtf(1.0, 1.0, 0.0, 0)); +assert(test_cbrtf(-1.0, -1.0, 0.0, 0)); +assert(test_cbrtf(8.0, 2.0, 0.0, 0)); + +// === Math.cos ================================ + +function test_cos(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.cos(value), expected, error, flags) && + (!JS || check( JSMath.cos(value), expected, error, flags)); +} + +/* TODO + +// sanity +assert(test_cos(-8.06684839057968084, -0.211262815998871367, -0.109624691307544708, INEXACT)); +assert(test_cos(4.34523984933830487, -0.358956022975789546, -0.107598282396793365, INEXACT)); +assert(test_cos(-8.38143342755524934, -0.503333091765515994, -0.0214304737746715546, INEXACT)); +assert(test_cos(-6.53167358191348413, 0.969285321250328291, -0.478787630796432495, INEXACT)); +assert(test_cos(9.26705696697258574, -0.987587806478862684, 0.488066881895065308, INEXACT)); +assert(test_cos(0.661985898099504477, 0.788773086924857592, 0.127086669206619263, INEXACT)); +assert(test_cos(-0.406603922385355310, 0.918469239700729356, -0.261207133531570435, INEXACT)); +assert(test_cos(0.561759746220724110, 0.846319046741589642, -0.302586168050765991, INEXACT)); +assert(test_cos(0.774152296591303690, 0.715013928995238301, -0.0853774622082710266, INEXACT)); +assert(test_cos(-0.678763702639402444, 0.778349499475744722, 0.308907508850097656, INEXACT)); + +// special +assert(test_cos(0.0, 1.0, 0.0, 0)); +assert(test_cos(-0.0, 1.0, 0.0, 0)); +assert(test_cos(Infinity, NaN, 0.0, INVALID)); +assert(test_cos(-Infinity, NaN, 0.0, INVALID)); +assert(test_cos(NaN, NaN, 0.0, 0)); +assert(test_cos(1.0, 0.540302305868139765, 0.428828656673431396, INEXACT)); +assert(test_cos(2.0, -0.416146836547142407, -0.358593970537185669, INEXACT)); +assert(test_cos(3.0, -0.989992496600445415, 0.378845155239105225, INEXACT)); +assert(test_cos(4.0, -0.653643620863611940, -0.232805609703063965, INEXACT)); +assert(test_cos(5.0, 0.283662185463226246, -0.327735781669616699, INEXACT)); +assert(test_cos(0.100000000000000006, 0.995004165278025821, 0.495585262775421143, INEXACT)); +assert(test_cos(0.200000000000000011, 0.980066577841241626, -0.0240764096379280090, INEXACT)); +assert(test_cos(0.299999999999999989, 0.955336489125605981, -0.377722293138504028, INEXACT)); +assert(test_cos(0.400000000000000022, 0.921060994002885103, 0.258184850215911865, INEXACT)); +assert(test_cos(0.500000000000000000, 0.877582561890372759, 0.383915215730667114, INEXACT)); +assert(test_cos(2.36414097466390147e-308, 1.0, 0.0, INEXACT)); +assert(test_cos(1.18207048733195073e-308, 1.0, 0.0, INEXACT)); +assert(test_cos(4.94065645841246544e-324, 1.0, 0.0, INEXACT)); +assert(test_cos(-4.94065645841246544e-324, 1.0, 0.0, INEXACT)); +assert(test_cos(-3.14000000000000012, -0.999998731727539503, 0.385551601648330688, INEXACT)); +assert(test_cos(8.98846567431157954e+307, -0.826369834614148036, -0.369596511125564575, INEXACT)); +assert(test_cos(1.79769313486231571e+308, -0.999987689426559911, 0.234483435750007629, INEXACT)); +assert(test_cos(-8.98846567431157954e+307, -0.826369834614148036, -0.369596511125564575, INEXACT)); +assert(test_cos(3.14000000000000012, -0.999998731727539503, 0.385551601648330688, INEXACT)); +assert(test_cos(3.14150000000000018, -0.999999995707656186, -0.306089758872985840, INEXACT)); +assert(test_cos(3.14159200000000016, -0.999999999999786393, 0.154033288359642029, INEXACT)); +assert(test_cos(3.14159265000000021, -1.0, -0.0290180742740631104, INEXACT)); +assert(test_cos(3.14159265350000005, -1.0, -0.0000181558480107923970, INEXACT)); +assert(test_cos(3.14159265358899997, -1.0, -1.41699141309459264e-9, INEXACT)); +assert(test_cos(3.14159265358979001, -1.0, -2.35086489798518386e-14, INEXACT)); +assert(test_cos(3.14159265358979312, -1.0, -3.37715874188331791e-17, INEXACT)); +assert(test_cos(1.57000000000000006, 0.000796326710733263345, 0.296815931797027588, INEXACT)); +assert(test_cos(1.57079600000000008, 3.26794896538138351e-7, -0.325708955526351929, INEXACT)); +assert(test_cos(1.57079632670000002, 9.48965963067801342e-11, -0.272456467151641846, INEXACT)); +assert(test_cos(1.57079632679488990, 6.72257048770830682e-15, -0.107476837933063507, INEXACT)); +assert(test_cos(1.57079632679489656, 6.12323399573676604e-17, 0.121482297778129578, INEXACT)); +assert(test_cos(0.670063519948610575, 0.783782219301615846, -0.0727850273251533508, INEXACT)); +assert(test_cos(0.534389018943755345, 0.860579971903951746, -0.484340280294418335, INEXACT)); +assert(test_cos(0.439997027548900854, 0.904752929300197573, 0.0297774728387594223, INEXACT)); +assert(test_cos(0.990284084468731285, 0.548452336448076783, 0.197652801871299744, INEXACT)); +assert(test_cos(0.453814475343389145, 0.898781390226378263, -0.0177248660475015640, INEXACT)); +assert(test_cos(0.460988881358358915, 0.895613047471305657, 0.364498198032379150, INEXACT)); +assert(test_cos(0.928543409795642205, 0.599000979429298419, -0.289941638708114624, INEXACT)); +assert(test_cos(0.910909212448835159, 0.613027669277437792, -0.493531346321105957, INEXACT)); +assert(test_cos(0.832860065035955555, 0.672762471004635709, -0.366060882806777954, INEXACT)); +assert(test_cos(0.953620125220343340, 0.578734618348708429, -0.170898333191871643, INEXACT)); +assert(test_cos(0.872659006545769889, 0.642791914425904665, -0.274498611688613892, INEXACT)); +assert(test_cos(0.181004475359684475, 0.983663365688489333, 0.00301952729932963848, INEXACT)); +assert(test_cos(2.35619449034983885, -0.707106781297912601, -0.482787460088729858, INEXACT)); +assert(test_cos(2.35619449037227202, -0.707106781313775246, -0.486605018377304077, INEXACT)); +assert(test_cos(2.35619449022511152, -0.707106781209717039, -0.353395223617553711, INEXACT)); +assert(test_cos(2.35619449031499961, -0.707106781273277529, -0.419119864702224731, INEXACT)); +assert(test_cos(2.35619449036035267, -0.707106781305346987, -0.470620006322860718, INEXACT)); +assert(test_cos(2.35619449038261974, -0.707106781321092170, -0.306183516979217529, INEXACT)); +assert(test_cos(2.35619449037180306, -0.707106781313443622, -0.305648207664489746, INEXACT)); +assert(test_cos(2.35619449039993079, -0.707106781333332934, -0.388455718755722046, INEXACT)); +assert(test_cos(2.35619449026019101, -0.707106781234521975, -0.237968519330024719, INEXACT)); +assert(test_cos(2.35619449040431528, -0.707106781336433232, -0.327458947896957397, INEXACT)); +assert(test_cos(2.09439510247594463, -0.500000000071662898, -0.417113423347473145, INEXACT)); +assert(test_cos(2.09439510243324012, -0.500000000034679704, -0.356616497039794922, INEXACT)); +assert(test_cos(2.09439510251338845, -0.500000000104090181, -0.225348591804504395, INEXACT)); +assert(test_cos(2.09439510254667072, -0.500000000132913458, -0.129822596907615662, INEXACT)); +assert(test_cos(2.09439510241389604, -0.500000000017927215, -0.158867642283439636, INEXACT)); +assert(test_cos(2.09439510242234039, -0.500000000025240254, -0.266656756401062012, INEXACT)); +assert(test_cos(2.09439510249604766, -0.500000000089072638, -0.465207785367965698, INEXACT)); +assert(test_cos(2.09439510251733152, -0.500000000107505005, -0.467109948396682739, INEXACT)); +assert(test_cos(2.09439510240592419, -0.500000000011023404, -0.246960371732711792, INEXACT)); +assert(test_cos(2.09439510242855809, -0.500000000030624947, -0.379944115877151489, INEXACT)); +assert(test_cos(8.51321077086405609, -0.612507693998775915, 0.498996615409851074, INEXACT)); +assert(test_cos(6.80288612980101703, 0.867967796134545222, 0.497216552495956421, INEXACT)); +assert(test_cos(9.17192539308640775, -0.968202744042454433, -0.498275846242904663, INEXACT)); +assert(test_cos(8.85469011288857288, -0.841853566381852714, 0.497497975826263428, INEXACT)); +assert(test_cos(9.21351081385960846, -0.977765980283850644, -0.499560445547103882, INEXACT)); +assert(test_cos(7.78244908154215143, 0.0714715638129333891, 0.498581260442733765, INEXACT)); +assert(test_cos(7.50026133227361580, 0.346390176334581135, -0.499621003866195679, INEXACT)); +assert(test_cos(9.12173941873158789, -0.954434129754181071, 0.498281508684158325, INEXACT)); +assert(test_cos(6.78495402047631568, 0.876733223316664589, -0.498808383941650391, INEXACT)); +assert(test_cos(8.77084654266666419, -0.793698411740070497, 0.499968290328979492, INEXACT)); + +*/ + +// === Math.cosh ================================ + +function test_cosh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.cosh(value), expected, error, flags) && + (!JS || check( JSMath.cosh(value), expected, error, flags)); +} +// sanity +assert(test_cosh(-8.06684839057968084, 1593.52099388623287, -0.380988568067550659, INEXACT)); +assert(test_cosh(4.34523984933830487, 38.5617492842672931, -0.271227836608886719, INEXACT)); +assert(test_cosh(-8.38143342755524934, 2182.63097959589322, 0.0817827582359313965, INEXACT)); +assert(test_cosh(-6.53167358191348413, 343.273849250878982, -0.429940402507781982, INEXACT)); +assert(test_cosh(9.26705696697258574, 5291.77917000558682, -0.159299582242965698, INEXACT)); +assert(test_cosh(0.661985898099504477, 1.22723219573428421, 0.232807412743568420, INEXACT)); +assert(test_cosh(-0.406603922385355310, 1.08380854187119691, -0.396091699600219727, INEXACT)); +assert(test_cosh(0.561759746220724110, 1.16198035831750768, 0.377483904361724854, INEXACT)); +assert(test_cosh(0.774152296591303690, 1.31492368762767065, 0.435870081186294556, INEXACT)); +assert(test_cosh(-0.678763702639402444, 1.23934132459345325, 0.102016061544418335, INEXACT)); + +// special +assert(test_cosh(0.0, 1.0, 0.0, 0)); +assert(test_cosh(-0.0, 1.0, 0.0, 0)); +assert(test_cosh(Infinity, Infinity, 0.0, 0)); +assert(test_cosh(-Infinity, Infinity, 0.0, 0)); +assert(test_cosh(NaN, NaN, 0.0, 0)); + +// === Mathf.cosh ================================ + +function test_coshf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.cosh(value), expected, error, flags); +} + +// sanity +assert(test_coshf(-8.066848755, 1593.521606, 0.2624258101, INEXACT)); +assert(test_coshf(4.345239639, 38.56174088, -0.08168885857, INEXACT)); +assert(test_coshf(-8.381433487, 2182.631104, -0.02331414446, INEXACT)); +assert(test_coshf(-6.531673431, 343.2738037, 0.2008149326, INEXACT)); +assert(test_coshf(9.267057419, 5291.781738, 0.3628672361, INEXACT)); +assert(test_coshf(0.6619858742, 1.227232218, 0.3277741671, INEXACT)); +assert(test_coshf(-0.4066039324, 1.083808541, -0.03984870389, INEXACT)); +assert(test_coshf(0.5617597699, 1.161980391, 0.1527447701, INEXACT)); +assert(test_coshf(0.7741522789, 1.314923644, -0.2387111485, INEXACT)); +assert(test_coshf(-0.6787636876, 1.239341259, -0.4579193294, INEXACT)); + +// special +assert(test_coshf(0.0, 1.0, 0.0, 0)); +assert(test_coshf(-0.0, 1.0, 0.0, 0)); +assert(test_coshf(Infinity, Infinity, 0.0, 0)); +assert(test_coshf(-Infinity, Infinity, 0.0, 0)); +assert(test_coshf(NaN, NaN, 0.0, 0)); + +// === Math.exp ================================ + +function test_exp(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.exp(value), expected, error, flags) && + (!JS || check( JSMath.exp(value), expected, error, flags)); +} + +// sanity +assert(test_exp(-8.06684839057968084, 0.000313770606816174511, -0.259919732809066772, INEXACT)); +assert(test_exp(4.34523984933830487, 77.1105301711214111, -0.0279267579317092896, INEXACT)); +assert(test_exp(-8.38143342755524934, 0.000229081338491632304, -0.249743342399597168, INEXACT)); +assert(test_exp(-6.53167358191348413, 0.00145656612609315877, -0.481682240962982178, INEXACT)); +assert(test_exp(9.26705696697258574, 10583.5582455249933, 0.176967620849609375, INEXACT)); +assert(test_exp(0.661985898099504477, 1.93863845255719980, -0.496424645185470581, INEXACT)); +assert(test_exp(-0.406603922385355310, 0.665907889283802512, -0.106083184480667114, INEXACT)); +assert(test_exp(0.561759746220724110, 1.75375595186263111, -0.391621112823486328, INEXACT)); +assert(test_exp(0.774152296591303690, 2.16875288851292458, -0.299612581729888916, INEXACT)); +assert(test_exp(-0.678763702639402444, 0.507243708940284255, 0.472617387771606445, INEXACT)); + +// special +assert(test_exp(0.0, 1.0, 0.0, 0)); +assert(test_exp(-0.0, 1.0, 0.0, 0)); +assert(test_exp(1.0, 2.71828182845904509, -0.325530737638473511, INEXACT)); +assert(test_exp(-1.0, 0.367879441171442334, 0.223896518349647522, INEXACT)); +assert(test_exp(Infinity, Infinity, 0.0, 0)); +assert(test_exp(-Infinity, 0.0, 0.0, 0)); +assert(test_exp(NaN, NaN, 0.0, 0)); +assert(test_exp(1.03972148895263650, 2.82842915587641119, 0.188030809164047241, INEXACT)); +assert(test_exp(-1.03972148895263650, 0.353553136702178472, 0.252727240324020386, INEXACT)); +assert(test_exp(1.03972101211547852, 2.82842780717661224, -0.418413937091827393, INEXACT)); +assert(test_exp(1.03972148895263672, 2.82842915587641164, -0.226183772087097168, INEXACT)); + +// === Mathf.exp ================================ + +function test_expf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.exp(value), expected, error, flags); +} + +// sanity +assert(test_expf(-8.066848755, 0.0003137704916, -0.03019333631, INEXACT)); +assert(test_expf(4.345239639, 77.11051178, -0.2875460684, INEXACT)); +assert(test_expf(-8.381433487, 0.0002290813281, 0.2237040401, INEXACT)); +assert(test_expf(-6.531673431, 0.001456566388, 0.3646970391, INEXACT)); +assert(test_expf(9.267057419, 10583.56348, 0.4596210420, INEXACT)); +assert(test_expf(0.6619858742, 1.938638449, 0.3568260968, INEXACT)); +assert(test_expf(-0.4066039324, 0.6659078598, -0.3829499185, INEXACT)); +assert(test_expf(0.5617597699, 1.753756046, 0.4435549080, INEXACT)); +assert(test_expf(0.7741522789, 2.168752909, 0.2456246912, INEXACT)); +assert(test_expf(-0.6787636876, 0.5072436929, -0.3974292278, INEXACT)); + +// special +assert(test_expf(0.0, 1.0, 0.0, 0)); +assert(test_expf(-0.0, 1.0, 0.0, 0)); +assert(test_expf(1.0, 2.718281746, -0.3462330997, INEXACT)); +assert(test_expf(-1.0, 0.3678794503, 0.3070148528, INEXACT)); +assert(test_expf(Infinity, Infinity, 0.0, 0)); +assert(test_expf(-Infinity, 0.0, 0.0, 0)); +assert(test_expf(NaN, NaN, 0.0, 0)); +assert(test_expf(88.72283173, 3.402798519e+38, -0.09067153931, INEXACT)); +assert(test_expf(88.72283936, Infinity, 0.0, INEXACT | OVERFLOW)); +assert(test_expf(-103.9720764, 1.401298464e-45, 0.4999996722, INEXACT | UNDERFLOW)); +assert(test_expf(-103.9720840, 0.0, -0.4999965131, INEXACT | UNDERFLOW)); +assert(test_expf(0.3465735614, 1.414213538, 0.1392242163, INEXACT)); +assert(test_expf(0.3465735912, 1.414213538, -0.2143291682, INEXACT)); +assert(test_expf(0.3465736210, 1.414213657, 0.4321174324, INEXACT)); + +// === Math.expm1 ================================ + +function test_expm1(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.expm1(value), expected, error, flags) && + (!JS || check( JSMath.expm1(value), expected, error, flags)); +} + +// sanity +assert(test_expm1(-8.06684839057968084, -0.999686229393183856, -0.276005834341049194, INEXACT)); +assert(test_expm1(4.34523984933830487, 76.1105301711214111, -0.0279267579317092896, INEXACT)); +assert(test_expm1(-8.38143342755524934, -0.999770918661508357, 0.100524961948394775, INEXACT)); +assert(test_expm1(-6.53167358191348413, -0.998543433873906872, -0.274378299713134766, INEXACT)); +assert(test_expm1(9.26705696697258574, 10582.5582455249933, 0.176967620849609375, INEXACT)); +assert(test_expm1(0.661985898099504477, 0.938638452557199909, 0.00715068448334932327, INEXACT)); +assert(test_expm1(-0.406603922385355310, -0.334092110716197488, -0.212166368961334229, INEXACT)); +assert(test_expm1(0.561759746220724110, 0.753755951862631224, 0.216757774353027344, INEXACT)); +assert(test_expm1(0.774152296591303690, 1.16875288851292480, 0.400774806737899780, INEXACT)); +assert(test_expm1(-0.678763702639402444, -0.492756291059715801, -0.0547651983797550201, INEXACT)); + +// special +assert(test_expm1(0.0, 0.0, 0.0, 0)); +assert(test_expm1(-0.0, -0.0, 0.0, 0)); +assert(test_expm1(1.0, 1.71828182845904531, 0.348938524723052979, INEXACT)); +assert(test_expm1(-1.0, -0.632120558828557666, 0.111948259174823761, INEXACT)); +assert(test_expm1(Infinity, Infinity, 0.0, 0)); +assert(test_expm1(-Infinity, -1.0, 0.0, 0)); +assert(test_expm1(NaN, NaN, 0.0, 0)); +assert(test_expm1(2.22507385850720089e-308, 2.22507385850720089e-308, 0.0, INEXACT | UNDERFLOW)); +assert(test_expm1(-2.22507385850720089e-308,-2.22507385850720089e-308, 0.0, INEXACT | UNDERFLOW)); + +// === Mathf.expm1 ================================ + +function test_expm1f(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.expm1(value), expected, error, flags); +} + +// sanity +assert(test_expm1f(-8.066848755, -0.9996862411, -0.1953272372, INEXACT)); +assert(test_expm1f(4.345239639, 76.11051178, -0.2875460684, INEXACT)); +assert(test_expm1f(-8.381433487, -0.9997709394, -0.3468692005, INEXACT)); +assert(test_expm1f(-6.531673431, -0.9985434413, -0.1281939447, INEXACT)); +assert(test_expm1f(9.267057419, 10582.56348, 0.4596210420, INEXACT)); +assert(test_expm1f(0.6619858742, 0.9386383891, -0.2863478065, INEXACT)); +assert(test_expm1f(-0.4066039324, -0.3340921104, 0.2341001779, INEXACT)); +assert(test_expm1f(0.5617597699, 0.7537559867, -0.1128901765, INEXACT)); +assert(test_expm1f(0.7741522789, 1.168752909, 0.4912493825, INEXACT)); +assert(test_expm1f(-0.6787636876, -0.4927562773, 0.2051415443, INEXACT)); + +// special +assert(test_expm1f(0.0, 0.0, 0.0, 0)); +assert(test_expm1f(-0.0, -0.0, 0.0, 0)); +assert(test_expm1f(1.0, 1.718281865, 0.3075338304, INEXACT)); +assert(test_expm1f(-1.0, -0.6321205497, 0.1535074264, INEXACT)); +assert(test_expm1f(Infinity, Infinity, 0.0, 0)); +assert(test_expm1f(-Infinity, -1.0, 0.0, 0)); +assert(test_expm1f(NaN, NaN, 0.0, 0)); + +// === Math.hypot ================================ + +function test_hypot(value1: f64, value2: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.hypot(value1, value2), expected, error, flags) && + (!JS || check( JSMath.hypot(value1, value2), expected, error, flags)); +} + +// sanity +assert(test_hypot(-8.06684839057968084, 4.53566256067686879, 9.25452742288464059, -0.311886817216873169, INEXACT)); +assert(test_hypot(4.34523984933830487, -8.88799136300345083, 9.89330580832825213, 0.459367334842681885, INEXACT)); +assert(test_hypot(-8.38143342755524934, -2.76360733737958819, 8.82530179743213239, -0.170175433158874512, INEXACT)); +assert(test_hypot(-6.53167358191348413, 4.56753527684274374, 7.97026588551909221, -0.317678272724151611, INEXACT)); +assert(test_hypot(9.26705696697258574, 4.81139208435979615, 10.4416396518245751, -0.269363343715667725, INEXACT)); +assert(test_hypot(-6.45004555606023633, 0.662071792337673881, 6.48393605254259331, 0.356188982725143433, INEXACT)); +assert(test_hypot(7.85889025304169664, 0.0521545267500622481, 7.85906330958176635, 0.0804465562105178833, INEXACT)); +assert(test_hypot(-0.792054511984895959, 7.67640268511753998, 7.71715676489958380, 0.0517808496952056885, INEXACT)); +assert(test_hypot(0.615702673197924044, 2.01190257903248026, 2.10400612387431396, -0.0918039008975028992, INEXACT)); +assert(test_hypot(-0.558758682360915193, 0.0322398306026380407, 0.559688012906291332, 0.138340771198272705, INEXACT)); + +// special +assert(test_hypot(3.0, 4.0, 5.0, 0.0, 0)); +assert(test_hypot(-3.0, 4.0, 5.0, 0.0, 0)); +assert(test_hypot(4.0, 3.0, 5.0, 0.0, 0)); +assert(test_hypot(4.0, -3.0, 5.0, 0.0, 0)); +assert(test_hypot(-3.0, -4.0, 5.0, 0.0, 0)); +assert(test_hypot(1.79769313486231571e+308, 0.0, 1.79769313486231571e+308, 0.0, 0)); +assert(test_hypot(1.79769313486231571e+308, -0.0, 1.79769313486231571e+308, 0.0, 0)); +assert(test_hypot(4.94065645841246544e-324, 0.0, 4.94065645841246544e-324, 0.0, 0)); +assert(test_hypot(4.94065645841246544e-324, -0.0, 4.94065645841246544e-324, 0.0, 0)); +assert(test_hypot(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_hypot(1.0, Infinity, Infinity, 0.0, 0)); +assert(test_hypot(Infinity, NaN, Infinity, 0.00, 0)); +assert(test_hypot(NaN, Infinity, Infinity, 0.0, 0)); +assert(test_hypot(-Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_hypot(1.0, -Infinity, Infinity, 0.0, 0)); +assert(test_hypot(-Infinity, NaN, Infinity, 0.0, 0)); +assert(test_hypot(NaN, -Infinity, Infinity, 0.0, 0)); +assert(test_hypot(NaN, 1.0, NaN, 0.0, 0)); +assert(test_hypot(1.0, NaN, NaN, 0.0, 0)); + +// === Mathf.hypot ================================ + +function test_hypotf(value1: f32, value2: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.hypot(value1, value2), expected, error, flags); +} + +// sanity +assert(test_hypotf(-8.066848755, 4.535662651, 9.254528046, 0.2735958993, INEXACT)); +assert(test_hypotf(4.345239639, -8.887990952, 9.893305779, 0.4530770779, INEXACT)); +assert(test_hypotf(-8.381433487, -2.763607264, 8.825302124, 0.3075572848, INEXACT)); +assert(test_hypotf(-6.531673431, 4.567535400, 7.970265865, 0.06785223633, INEXACT)); +assert(test_hypotf(9.267057419, 4.811392307, 10.44163990, -0.2677630782, INEXACT)); +assert(test_hypotf(-6.450045586, 0.6620717645, 6.483936310, 0.4838129282, INEXACT)); +assert(test_hypotf(7.858890057, 0.05215452611, 7.859063148, 0.07413065434, INEXACT)); +assert(test_hypotf(-0.7920545340, 7.676402569, 7.717156887, 0.4940592647, INEXACT)); +assert(test_hypotf(0.6157026887, 2.011902571, 2.104006052, -0.2870894670, INEXACT)); +assert(test_hypotf(-0.5587586761, 0.03223983198, 0.5596880317, 0.4191940725, INEXACT)); + +// special +assert(test_hypotf(3.0, 4.0, 5.0, 0.0, 0)); +assert(test_hypotf(-3.0, 4.0, 5.0, 0.0, 0)); +assert(test_hypotf(4.0, 3.0, 5.0, 0.0, 0)); +assert(test_hypotf(4.0, -3.0, 5.0, 0.0, 0)); +assert(test_hypotf(-3.0, -4.0, 5.0, 0.0, 0)); +assert(test_hypotf(3.402823466e+38, 0.0, 3.402823466e+38, 0.0, 0)); +assert(test_hypotf(3.402823466e+38, -0.0, 3.402823466e+38, 0.0, 0)); +assert(test_hypotf(1.401298464e-45, 0.0, 1.401298464e-45, 0.0, 0)); +assert(test_hypotf(1.401298464e-45, -0.0, 1.401298464e-45, 0.0, 0)); +assert(test_hypotf(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_hypotf(1.0, Infinity, Infinity, 0.0, 0)); +assert(test_hypotf(Infinity, NaN, Infinity, 0.0, 0)); +assert(test_hypotf(NaN, Infinity, Infinity, 0.0, 0)); +assert(test_hypotf(-Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_hypotf(1.0, -Infinity, Infinity, 0.0, 0)); +assert(test_hypotf(-Infinity, NaN, Infinity, 0.0, 0)); +assert(test_hypotf(NaN, -Infinity, Infinity, 0.0, 0)); +assert(test_hypotf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_hypotf(1.0, NaN, NaN, 0.0, 0)); + +// === Math.log ================================ + +function test_log(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.log(value), expected, error, flags) && + (!JS || check( JSMath.log(value), expected, error, flags)); +} + +// sanity +assert(test_log(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_log(4.34523984933830487, 1.46908095842243225, -0.341253340244293213, INEXACT)); +assert(test_log(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_log(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_log(9.26705696697258574, 2.22646584987956153, 0.363811403512954712, INEXACT)); +assert(test_log(0.661985898099504477, -0.412511025236513673, -0.291087478399276733, INEXACT)); +assert(test_log(-0.406603922385355310, NaN, 0.0, INVALID)); +assert(test_log(0.561759746220724110, -0.576681018319586181, -0.109831996262073517, INEXACT)); +assert(test_log(0.774152296591303690, -0.255986659126386518, -0.0579900443553924561, INEXACT)); +assert(test_log(-0.678763702639402444, NaN, 0.0, INVALID)); + +// special +assert(test_log(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log(-7.88860905221011805e-31, NaN, 0.0, INVALID)); +assert(test_log(1.0, 0.0, 0.0, 0)); +assert(test_log(-1.0, NaN, 0.0, INVALID)); +assert(test_log(Infinity, Infinity, 0.0, 0)); +assert(test_log(-Infinity, NaN, 0.0, INVALID)); +assert(test_log(NaN, NaN, 0.0, 0)); + +// === Mathf.log ================================ + +function test_logf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.log(value), expected, error, flags); +} + +// sanity +assert(test_logf(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_logf(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_logf(-7.888609052e-31, NaN, 0.0, INVALID)); +assert(test_logf(1.0, 0.0, 0.0, 0)); +assert(test_logf(-1.0, NaN, 0.0, INVALID)); +assert(test_logf(Infinity, Infinity, 0.0, 0)); +assert(test_logf(-Infinity, NaN, 0.0, INVALID)); +assert(test_logf(NaN, NaN, 0.0, 0)); + +// special +assert(test_logf(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_logf(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_logf(-7.888609052e-31, NaN, 0.0, INVALID)); +assert(test_logf(1.0, 0.0, 0.0, 0)); +assert(test_logf(-1.0, NaN, 0.0, INVALID)); +assert(test_logf(Infinity, Infinity, 0.0, 0)); +assert(test_logf(-Infinity, NaN, 0.0, INVALID)); +assert(test_logf(NaN, NaN, 0.0, 0)); + +// === Math.log10 ================================ + +function test_log10(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.log10(value), expected, error, flags) && + (!JS || check( JSMath.log10(value), expected, error, flags)); +} + +// sanity +assert(test_log10(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_log10(4.34523984933830487, 0.638013753712002862, -0.208882406353950500, INEXACT)); +assert(test_log10(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_log10(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_log10(9.26705696697258574, 0.966941832748727359, -0.0612043179571628571, INEXACT)); +assert(test_log10(0.661985898099504477, -0.179151261984470928, 0.390908747911453247, INEXACT)); +assert(test_log10(-0.406603922385355310, NaN, 0.0, INVALID)); +assert(test_log10(0.561759746220724110, -0.250449384074544368, -0.304684162139892578, INEXACT)); +assert(test_log10(0.774152296591303690, -0.111173593499438367, -0.315033614635467529, INEXACT)); +assert(test_log10(-0.678763702639402444, NaN, 0.0, INVALID)); + +// special +assert(test_log10(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log10(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log10(-7.88860905221011805e-31, NaN, 0.0, INVALID)); +assert(test_log10(1.0, 0.0, 0.0, 0)); +assert(test_log10(-1.0, NaN, 0.0, INVALID)); +assert(test_log10(Infinity, Infinity, 0.0, 0)); +assert(test_log10(-Infinity, NaN, 0.0, INVALID)); +assert(test_log10(NaN, NaN, 0.0, 0)); + +// === Mathf.log10 ================================ + +function test_log10f(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.log10(value), expected, error, flags); +} + +// sanity +assert(test_log10f(-8.066848755, NaN, 0.0, INVALID)); +assert(test_log10f(4.345239639, 0.6380137205, -0.2047675848, INEXACT)); +assert(test_log10f(-8.381433487, NaN, 0.0, INVALID)); +assert(test_log10f(-6.531673431, NaN, 0.0, INVALID)); +assert(test_log10f(9.267057419, 0.9669418335, -0.3427302539, INEXACT)); +assert(test_log10f(0.6619858742, -0.1791512817, -0.2707855403, INEXACT)); +assert(test_log10f(-0.4066039324, NaN, 0.0, INVALID)); +assert(test_log10f(0.5617597699, -0.2504493594, 0.2126826048, INEXACT)); +assert(test_log10f(0.7741522789, -0.1111736, 0.4651509523, INEXACT)); +assert(test_log10f(-0.6787636876, NaN, 0.0, INVALID)); + +// special +assert(test_log10f(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log10f(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log10f(-7.888609052e-31, NaN, 0.0, INVALID)); +assert(test_log10f(1.0, 0.0, 0.0, 0)); +assert(test_log10f(-1.0, NaN, 0.0, INVALID)); +assert(test_log10f(Infinity, Infinity, 0.0, 0)); +assert(test_log10f(-Infinity, NaN, 0.0, INVALID)); +assert(test_log10f(NaN, NaN, 0.0, 0)); + +// === Math.log1p ================================ + +function test_log1p(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.log1p(value), expected, error, flags) && + (!JS || check( JSMath.log1p(value), expected, error, flags)); +} + +// sanity +assert(test_log1p(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_log1p(4.34523984933830487, 1.67620641706017337, 0.461881995201110840, INEXACT)); +assert(test_log1p(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_log1p(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_log1p(9.26705696697258574, 2.32894041685238262, -0.411114901304244995, INEXACT)); +assert(test_log1p(0.661985898099504477, 0.508013211499247719, -0.293060451745986938, INEXACT)); +assert(test_log1p(-0.406603922385355310, -0.521893181166397935, -0.258257269859313965, INEXACT)); +assert(test_log1p(0.561759746220724110, 0.445813227948810176, -0.132748872041702271, INEXACT)); +assert(test_log1p(0.774152296591303690, 0.573322729464841419, 0.0271658301353454590, INEXACT)); +assert(test_log1p(-0.678763702639402444, -1.13557829781285635, 0.271309286355972290, INEXACT)); + +// special +assert(test_log1p(0.0, 0.0, 0.0, 0)); +assert(test_log1p(-0.0, -0.0, 0.0, 0)); +assert(test_log1p(-7.88860905221011805e-31, -7.88860905221011805e-31, 1.77635683940025046e-15, INEXACT)); +assert(test_log1p(1.0, 0.693147180559945286, -0.208881169557571411, INEXACT)); +assert(test_log1p(-1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log1p(Infinity, Infinity, 0.0, 0)); +assert(test_log1p(-Infinity, NaN, 0.0, INVALID)); +assert(test_log1p(NaN, NaN, 0.0, 0)); + +// === Mathf.log1p ================================ + +function test_log1pf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.log1p(value), expected, error, flags); +} + +// sanity +assert(test_log1pf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_log1pf(4.345239639, 1.676206350, -0.2301485986, INEXACT)); +assert(test_log1pf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_log1pf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_log1pf(9.267057419, 2.328940392, -0.2907558978, INEXACT)); +assert(test_log1pf(0.6619858742, 0.5080131888, -0.1386766881, INEXACT)); +assert(test_log1pf(-0.4066039324, -0.5218932033, -0.08804433048, INEXACT)); +assert(test_log1pf(0.5617597699, 0.4458132386, -0.1510136873, INEXACT)); +assert(test_log1pf(0.7741522789, 0.5733227134, -0.1026453301, INEXACT)); +assert(test_log1pf(-0.6787636876, -1.135578275, -0.1987948120, INEXACT)); + +// special +assert(test_log1pf(0.0, 0.0, 0.0, 0)); +assert(test_log1pf(-0.0, -0.0, 0.0, 0)); +assert(test_log1pf(-7.888609052e-31, -7.888609052e-31, 3.308722450e-24, INEXACT)); +assert(test_log1pf(1.0, 0.6931471825, 0.03195479512, INEXACT)); +assert(test_log1pf(-1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log1pf(Infinity, Infinity, 0.0, 0)); +assert(test_log1pf(-Infinity, NaN, 0.0, INVALID)); +assert(test_log1pf(NaN, NaN, 0.0, 0)); +assert(test_log1pf(-1.175494211e-38,-1.175494211e-38, 4.930380658e-32, INEXACT | UNDERFLOW)); + +// === Math.log2 ================================ + +function test_log2(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.log2(value), expected, error, flags) && + (!JS || check( JSMath.log2(value), expected, error, flags)); +} + +// sanity +assert(test_log2(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_log2(4.34523984933830487, 2.11943581338044851, -0.101648777723312378, INEXACT)); +assert(test_log2(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_log2(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_log2(9.26705696697258574, 3.21211124032987438, -0.157394468784332275, INEXACT)); +assert(test_log2(0.661985898099504477, -0.595127610420740250, 0.332148522138595581, INEXACT)); +assert(test_log2(-0.406603922385355310, NaN, 0.0, INVALID)); +assert(test_log2(0.561759746220724110, -0.831974845304464417, 0.0575554370880126953, INEXACT)); +assert(test_log2(0.774152296591303690, -0.369310683655371341, -0.198382794857025146, INEXACT)); +assert(test_log2(-0.678763702639402444, NaN, 0.0, INVALID)); + +// special +assert(test_log2(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log2(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log2(-7.88860905221011805e-31, NaN, 0.0, INVALID)); +assert(test_log2(1.0, 0.0, 0.0, 0)); +assert(test_log2(-1.0, NaN, 0.0, INVALID)); +assert(test_log2(Infinity, Infinity, 0.0, 0)); +assert(test_log2(-Infinity, NaN, 0.0, INVALID)); +assert(test_log2(NaN, NaN, 0.0, 0)); + +// === Mathf.log2 ================================ + +function test_log2f(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.log2(value), expected, error, flags); +} + +// sanity +assert(test_log2f(-8.066848755, NaN, 0.0, INVALID)); +assert(test_log2f(4.345239639, 2.119435787, 0.1827153862, INEXACT)); +assert(test_log2f(-8.381433487, NaN, 0.0, INVALID)); +assert(test_log2f(-6.531673431, NaN, 0.0, INVALID)); +assert(test_log2f(9.267057419, 3.212111235, -0.3188050389, INEXACT)); +assert(test_log2f(0.6619858742, -0.5951276422, 0.3423146009, INEXACT)); +assert(test_log2f(-0.4066039324, NaN, 0.0, INVALID)); +assert(test_log2f(0.5617597699, -0.8319748044, -0.3347360492, INEXACT)); +assert(test_log2f(0.7741522789, -0.3693107069, 0.3278401792, INEXACT)); +assert(test_log2f(-0.6787636876, NaN, 0.0, INVALID)); + +// special +assert(test_log2f(0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log2f(-0.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_log2f(-7.888609052e-31, NaN, 0.0, INVALID)); +assert(test_log2f(1.0, 0.0, 0.0, 0)); +assert(test_log2f(-1.0, NaN, 0.0, INVALID)); +assert(test_log2f(Infinity, Infinity, 0.0, 0)); +assert(test_log2f(-Infinity, NaN, 0.0, INVALID)); +assert(test_log2f(NaN, NaN, 0.0, 0)); + +// === Math.pow ================================ + +function test_pow(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.pow(left, right), expected, error, flags); + // FIXME: JS (node 8) has different results in the tests marked below + // (!JS || check( JSMath.pow(left, right), expected, error, flags)); +} + +// sanity +assert(test_pow(-8.06684839057968084, 4.53566256067686879, NaN, 0.0, INVALID)); +assert(test_pow(4.34523984933830487, -8.88799136300345083, 0.00000213471188255872853, 0.325016021728515625, INEXACT)); +assert(test_pow(-8.38143342755524934, -2.76360733737958819, NaN, 0.0, INVALID)); +assert(test_pow(-6.53167358191348413, 4.56753527684274374, NaN, 0.0, INVALID)); +assert(test_pow(9.26705696697258574, 4.81139208435979615, 44909.2994151296589, -0.266590803861618042, INEXACT)); +assert(test_pow(-6.45004555606023633, 0.662071792337673881, NaN, 0.0, INVALID)); +assert(test_pow(7.85889025304169664, 0.0521545267500622481, 1.11351774134586523, -0.371686071157455444, INEXACT)); +assert(test_pow(-0.792054511984895959, 7.67640268511753998, NaN, 0.0, INVALID)); +assert(test_pow(0.615702673197924044, 2.01190257903248026, 0.376907735213801831, 0.324733018875122070, INEXACT)); +assert(test_pow(-0.558758682360915193, 0.0322398306026380407, NaN, 0.0, INVALID)); + +// special +assert(test_pow(0.0, NaN, NaN, 0.0, 0)); +assert(test_pow(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_pow(0.0, 3.0, 0.0, 0.0, 0)); +assert(test_pow(0.0, 2.0, 0.0, 0.0, 0)); +assert(test_pow(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_pow(0.0, 0.5, 0.0, 0.0, 0)); +assert(test_pow(0.0, 0.0, 1.0, 0.0, 0)); +assert(test_pow(0.0, -0.0, 1.0, 0.0, 0)); +assert(test_pow(0.0, -0.5, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(0.0, -1.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(0.0, -2.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(0.0, -3.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(0.0, -4.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(0.0, -Infinity, Infinity, 0.0, 0)); +assert(test_pow(-0.0, NaN, NaN, 0.0, 0)); +assert(test_pow(-0.0, Infinity, 0.0, 0.0, 0)); +assert(test_pow(-0.0, 3.0, -0.0, 0.0, 0)); +assert(test_pow(-0.0, 2.0, 0.0, 0.0, 0)); +assert(test_pow(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_pow(-0.0, 0.5, 0.0, 0.0, 0)); +assert(test_pow(-0.0, 0.0, 1.0, 0.0, 0)); +assert(test_pow(-0.0, -0.0, 1.0, 0.0, 0)); +assert(test_pow(-0.0, -0.5, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(-0.0, -1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_pow(-0.0, -2.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(-0.0, -3.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_pow(-0.0, -4.0, Infinity, 0.0, DIVBYZERO)); +assert(test_pow(-0.0, -Infinity, Infinity, 0.0, 0)); +assert(test_pow(NaN, 0.0, 1.0, 0.0, 0)); +assert(test_pow(Infinity, 0.0, 1.0, 0.0, 0)); +assert(test_pow(-Infinity, 0.0, 1.0, 0.0, 0)); +assert(test_pow(1.0, 0.0, 1.0, 0.0, 0)); +assert(test_pow(-1.0, 0.0, 1.0, 0.0, 0)); +assert(test_pow(-0.5, 0.0, 1.0, 0.0, 0)); +assert(test_pow(NaN, -0.0, 1.0, 0.0, 0)); +assert(test_pow(Infinity, -0.0, 1.0, 0.0, 0)); +assert(test_pow(-Infinity, -0.0, 1.0, 0.0, 0)); +assert(test_pow(1.0, -0.0, 1.0, 0.0, 0)); +assert(test_pow(-1.0, -0.0, 1.0, 0.0, 0)); +assert(test_pow(-0.5, -0.0, 1.0, 0.0, 0)); +assert(test_pow(-1.0, NaN, NaN, 0.0, 0)); +assert(test_pow(-1.0, Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(-1.0, -Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(-1.0, 2.0, 1.0, 0.0, 0)); +assert(test_pow(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_pow(-1.0, -2.0, 1.0, 0.0, 0)); +assert(test_pow(-1.0, -3.0, -1.0, 0.0, 0)); +assert(test_pow(-1.0, 0.5, NaN, 0.0, INVALID)); +assert(test_pow(1.0, NaN, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(1.0, Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(1.0, -Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(1.0, 3.0, 1.0, 0.0, 0)); +assert(test_pow(1.0, 0.5, 1.0, 0.0, 0)); +assert(test_pow(1.0, -0.5, 1.0, 0.0, 0)); +assert(test_pow(1.0, -3.0, 1.0, 0.0, 0)); +assert(test_pow(-0.5, 0.5, NaN, 0.0, INVALID)); +assert(test_pow(-0.5, 1.5, NaN, 0.0, INVALID)); +assert(test_pow(-0.5, 2.0, 0.25, 0.0, 0)); +assert(test_pow(-0.5, 3.0, -0.125, 0.0, 0)); +assert(test_pow(-0.5, Infinity, 0.0, 0.0, 0)); +assert(test_pow(-0.5, -Infinity, Infinity, 0.0, 0)); +assert(test_pow(-0.5, NaN, NaN, 0.0, 0)); +assert(test_pow(0.5, Infinity, 0.0, 0.0, 0)); +assert(test_pow(0.5, -Infinity, Infinity, 0.0, 0)); +assert(test_pow(0.5, NaN, NaN, 0.0, 0)); +assert(test_pow(1.5, Infinity, Infinity, 0.0, 0)); +assert(test_pow(1.5, -Infinity, 0.0, 0.0, 0)); +assert(test_pow(1.5, NaN, NaN, 0.0, 0)); +assert(test_pow(Infinity, NaN, NaN, 0.0, 0)); +assert(test_pow(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_pow(Infinity, -Infinity, 0.0, 0.0, 0)); +assert(test_pow(Infinity, 3.0, Infinity, 0.0, 0)); +assert(test_pow(Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_pow(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_pow(Infinity, 0.5, Infinity, 0.0, 0)); +assert(test_pow(Infinity, -0.5, 0.0, 0.0, 0)); +assert(test_pow(Infinity, -1.0, 0.0, 0.0, 0)); +assert(test_pow(Infinity, -2.0, 0.0, 0.0, 0)); +assert(test_pow(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_pow(-Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_pow(-Infinity, -Infinity, 0.0, 0.0, 0)); +assert(test_pow(-Infinity, 3.0, -Infinity, 0.0, 0)); +assert(test_pow(-Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_pow(-Infinity, 1.0, -Infinity, 0.0, 0)); +assert(test_pow(-Infinity, 0.5, Infinity, 0.0, 0)); +assert(test_pow(-Infinity, -0.5, 0.0, 0.0, 0)); +assert(test_pow(-Infinity, -1.0, -0.0, 0.0, 0)); +assert(test_pow(-Infinity, -2.0, 0.0, 0.0, 0)); +assert(test_pow(NaN, 1.0, NaN, 0.0, 0)); +assert(test_pow(NaN, -1.0, NaN, 0.0, 0)); +assert(test_pow(-2.0, 1.0, -2.0, 0.0, 0)); +assert(test_pow(-2.0, -1.0, -0.5, 0.0, 0)); + +// === Mathf.pow ================================ + +function test_powf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.pow(left, right), expected, error, flags); +} + +// sanity +assert(test_powf(-8.066848755, 4.535662651, NaN, 0.0, INVALID)); +assert(test_powf(4.345239639, -8.887990952, 0.000002134714123, 0.1436440796, INEXACT)); +assert(test_powf(-8.381433487, -2.763607264, NaN, 0.0, INVALID)); +assert(test_powf(-6.531673431, 4.567535400, NaN, 0.0, INVALID)); +assert(test_powf(9.267057419, 4.811392307, 44909.33203, -0.05356409028, INEXACT)); +assert(test_powf(-6.450045586, 0.6620717645, NaN, 0.0, INVALID)); +assert(test_powf(7.858890057, 0.05215452611, 1.113517761, 0.1912208945, INEXACT)); +assert(test_powf(-0.7920545340, 7.676402569, NaN, 0.0, INVALID)); +assert(test_powf(0.6157026887, 2.011902571, 0.3769077659, 0.3371490538, INEXACT)); +assert(test_powf(-0.5587586761, 0.03223983198, NaN, 0.0, INVALID)); + +// special +assert(test_powf(0.0, NaN, NaN, 0.0, 0)); +assert(test_powf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_powf(0.0, 3.0, 0.0, 0.0, 0)); +assert(test_powf(0.0, 2.0, 0.0, 0.0, 0)); +assert(test_powf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_powf(0.0, 0.5, 0.0, 0.0, 0)); +assert(test_powf(0.0, 0.0, 1.0, 0.0, 0)); +assert(test_powf(0.0, -0.0, 1.0, 0.0, 0)); +assert(test_powf(0.0, -0.5, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(0.0, -1.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(0.0, -2.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(0.0, -3.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(0.0, -4.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(0.0, -Infinity, Infinity, 0.0, 0)); +assert(test_powf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_powf(-0.0, Infinity, 0.0, 0.0, 0)); +assert(test_powf(-0.0, 3.0, -0.0, 0.0, 0)); +assert(test_powf(-0.0, 2.0, 0.0, 0.0, 0)); +assert(test_powf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_powf(-0.0, 0.5, 0.0, 0.0, 0)); +assert(test_powf(-0.0, 0.0, 1.0, 0.0, 0)); +assert(test_powf(-0.0, -0.0, 1.0, 0.0, 0)); +assert(test_powf(-0.0, -0.5, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(-0.0, -1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_powf(-0.0, -2.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(-0.0, -3.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_powf(-0.0, -4.0, Infinity, 0.0, DIVBYZERO)); +assert(test_powf(-0.0, -Infinity, Infinity, 0.0, 0)); +assert(test_powf(NaN, 0.0, 1.0, 0.0, 0)); +assert(test_powf(Infinity, 0.0, 1.0, 0.0, 0)); +assert(test_powf(-Infinity, 0.0, 1.0, 0.0, 0)); +assert(test_powf(1.0, 0.0, 1.0, 0.0, 0)); +assert(test_powf(-1.0, 0.0, 1.0, 0.0, 0)); +assert(test_powf(-0.5, 0.0, 1.0, 0.0, 0)); +assert(test_powf(NaN, -0.0, 1.0, 0.0, 0)); +assert(test_powf(Infinity, -0.0, 1.0, 0.0, 0)); +assert(test_powf(-Infinity, -0.0, 1.0, 0.0, 0)); +assert(test_powf(1.0, -0.0, 1.0, 0.0, 0)); +assert(test_powf(-1.0, -0.0, 1.0, 0.0, 0)); +assert(test_powf(-0.5, -0.0, 1.0, 0.0, 0)); +assert(test_powf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_powf(-1.0, Infinity, 1.0, 0.0, 0)); +assert(test_powf(-1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_powf(-1.0, 2.0, 1.0, 0.0, 0)); +assert(test_powf(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_powf(-1.0, -2.0, 1.0, 0.0, 0)); +assert(test_powf(-1.0, -3.0, -1.0, 0.0, 0)); +assert(test_powf(-1.0, 0.5, NaN, 0.0, INVALID)); +assert(test_powf(1.0, NaN, 1.0, 0.0, 0)); +assert(test_powf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_powf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_powf(1.0, 3.0, 1.0, 0.0, 0)); +assert(test_powf(1.0, 0.5, 1.0, 0.0, 0)); +assert(test_powf(1.0, -0.5, 1.0, 0.0, 0)); +assert(test_powf(1.0, -3.0, 1.0, 0.0, 0)); +assert(test_powf(-0.5, 0.5, NaN, 0.0, INVALID)); +assert(test_powf(-0.5, 1.5, NaN, 0.0, INVALID)); +assert(test_powf(-0.5, 2.0, 0.25, 0.0, 0)); +assert(test_powf(-0.5, 3.0, -0.125, 0.0, 0)); +assert(test_powf(-0.5, Infinity, 0.0, 0.0, 0)); +assert(test_powf(-0.5, -Infinity, Infinity, 0.0, 0)); +assert(test_powf(-0.5, NaN, NaN, 0.0, 0)); +assert(test_powf(0.5, Infinity, 0.0, 0.0, 0)); +assert(test_powf(0.5, -Infinity, Infinity, 0.0, 0)); +assert(test_powf(0.5, NaN, NaN, 0.0, 0)); +assert(test_powf(1.5, Infinity, Infinity, 0.0, 0)); +assert(test_powf(1.5, -Infinity, 0.0, 0.0, 0)); +assert(test_powf(1.5, NaN, NaN, 0.0, 0)); +assert(test_powf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_powf(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_powf(Infinity, -Infinity, 0.0, 0.0, 0)); +assert(test_powf(Infinity, 3.0, Infinity, 0.0, 0)); +assert(test_powf(Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_powf(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_powf(Infinity, 0.5, Infinity, 0.0, 0)); +assert(test_powf(Infinity, -0.5, 0.0, 0.0, 0)); +assert(test_powf(Infinity, -1.0, 0.0, 0.0, 0)); +assert(test_powf(Infinity, -2.0, 0.0, 0.0, 0)); +assert(test_powf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_powf(-Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_powf(-Infinity, -Infinity, 0.0, 0.0, 0)); +assert(test_powf(-Infinity, 3.0, -Infinity, 0.0, 0)); +assert(test_powf(-Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_powf(-Infinity, 1.0, -Infinity, 0.0, 0)); +assert(test_powf(-Infinity, 0.5, Infinity, 0.0, 0)); +assert(test_powf(-Infinity, -0.5, 0.0, 0.0, 0)); +assert(test_powf(-Infinity, -1.0, -0.0, 0.0, 0)); +assert(test_powf(-Infinity, -2.0, 0.0, 0.0, 0)); +assert(test_powf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_powf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_powf(-2.0, 1.0, -2.0, 0.0, 0)); +assert(test_powf(-2.0, -1.0, -0.5, 0.0, 0)); + +// === Mathf.random ================================ NativeMath.seedRandom(reinterpret(JSMath.random())); for (let i = 0; i < 1e7; ++i) { let r = NativeMath.random(); assert(r >= 0.0 && r < 1.0); } + +// === Math.sin ================================ + +function test_sin(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.sin(value), expected, error, flags) && + (!JS || check( JSMath.sin(value), expected, error, flags)); +} + +/* TODO + +// sanity +assert(test_sin(-8.06684839057968084, -0.977429292878122746, -0.145649120211601257, INEXACT)); +assert(test_sin(4.34523984933830487, -0.933354473696571763, -0.0881374701857566833, INEXACT)); +assert(test_sin(-8.38143342755524934, -0.864092471170630372, -0.117438830435276031, INEXACT)); +assert(test_sin(-6.53167358191348413, -0.245938947726153739, -0.126978516578674316, INEXACT)); +assert(test_sin(9.26705696697258574, 0.157067897720280070, -0.0295501593500375748, INEXACT)); +assert(test_sin(0.661985898099504477, 0.614684486011344733, -0.0997673794627189636, INEXACT)); +assert(test_sin(-0.406603922385355310, -0.395492421828236962, -0.366877496242523193, INEXACT)); +assert(test_sin(0.561759746220724110, 0.532676328667237575, -0.355040758848190308, INEXACT)); +assert(test_sin(0.774152296591303690, 0.699110206864977934, -0.427672415971755981, INEXACT)); +assert(test_sin(-0.678763702639402444, -0.627831232630121527, -0.382811546325683594, INEXACT)); + +// special +assert(test_sin(0.0, 0.0, 0.0, 0)); +assert(test_sin(-0.0, -0.0, 0.0, 0)); +assert(test_sin(Infinity, NaN, 0.0, INVALID)); +assert(test_sin(-Infinity, NaN, 0.0, INVALID)); +assert(test_sin(NaN, NaN, 0.0, 0)); + +*/ + +// === Mathf.sin ================================ + +function test_sinf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.sin(value), expected, error, flags); +} + +/* TODO + +// sanity +assert(test_sinf(-8.066848755, -0.9774292111, 0.08010572940, INEXACT)); +assert(test_sinf(4.345239639, -0.9333543777, 0.3447562754, INEXACT)); +assert(test_sinf(-8.381433487, -0.8640924692, -0.4686599076, INEXACT)); +assert(test_sinf(-6.531673431, -0.2459388077, -0.3955177665, INEXACT)); +assert(test_sinf(9.267057419, 0.1570674479, -0.2400680929, INEXACT)); +assert(test_sinf(0.6619858742, 0.6146844625, -0.07707194239, INEXACT)); +assert(test_sinf(-0.4066039324, -0.3954924345, -0.1172061712, INEXACT)); +assert(test_sinf(0.5617597699, 0.5326763391, -0.1605911404, INEXACT)); +assert(test_sinf(0.7741522789, 0.6991102099, 0.2638436854, INEXACT)); +assert(test_sinf(-0.6787636876, -0.6278312206, 0.005127954297, INEXACT)); + +// special +assert(test_sinf(0.0, 0.0, 0.0, 0)); +assert(test_sinf(-0.0, -0.0, 0.0, 0)); +assert(test_sinf(Infinity, NaN, 0.0, INVALID)); +assert(test_sinf(-Infinity, NaN, 0.0, INVALID)); +assert(test_sinf(NaN, NaN, 0.0, 0)); + +*/ + +// === Math.sinh ================================ + +function test_sinh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.sinh(value), expected, error, flags) && + (!JS || check( JSMath.sinh(value), expected, error, flags)); +} + +// sanity +assert(test_sinh(-8.06684839057968084, -1593.52068011562619, -0.213872760534286499, INEXACT)); +assert(test_sinh(4.34523984933830487, 38.5487808868541180, 0.215374305844306946, INEXACT)); +assert(test_sinh(-8.38143342755524934, -2182.63075051455462, 0.162138268351554871, INEXACT)); +assert(test_sinh(-6.53167358191348413, -343.272392684752901, 0.204795137047767639, INEXACT)); +assert(test_sinh(9.26705696697258574, 5291.77907551940552, -0.486765176057815552, INEXACT)); +assert(test_sinh(0.661985898099504477, 0.711406256822915695, -0.458464145660400391, INEXACT)); +assert(test_sinh(-0.406603922385355310, -0.417900652587394450, 0.372200459241867065, INEXACT)); +assert(test_sinh(0.561759746220724110, 0.591775593545123657, 0.461789965629577637, INEXACT)); +assert(test_sinh(0.774152296591303690, 0.853829200885254158, -0.0701905190944671631, INEXACT)); +assert(test_sinh(-0.678763702639402444, -0.732097615653168998, 0.268585294485092163, INEXACT)); + +// special +assert(test_sinh(0.0, 0.0, 0.0, 0)); +assert(test_sinh(-0.0, -0.0, 0.0, 0)); +assert(test_sinh(Infinity, Infinity, 0.0, 0)); +assert(test_sinh(-Infinity, -Infinity, 0.0, 0)); +assert(test_sinh(NaN, NaN, 0.00, 0)); + +// === Mathf.sinh ================================ + +function test_sinhf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.sinh(value), expected, error, flags); +} + +// sanity +assert(test_sinhf(-8.066848755, -1593.521240, 0.1671663225, INEXACT)); +assert(test_sinhf(4.345239639, 38.54877090, -0.4934032857, INEXACT)); +assert(test_sinhf(-8.381433487, -2182.630859, 0.08499703556, INEXACT)); +assert(test_sinhf(-6.531673431, -343.2723389, 0.07041906565, INEXACT)); +assert(test_sinhf(9.267057419, 5291.781250, -0.4436251521, INEXACT)); +assert(test_sinhf(0.6619858742, 0.7114062309, 0.05810388550, INEXACT)); +assert(test_sinhf(-0.4066039324, -0.4179006517, 0.3934949934, INEXACT)); +assert(test_sinhf(0.5617597699, 0.5917755961, -0.4183797240, INEXACT)); +assert(test_sinhf(0.7741522789, 0.8538292050, 0.4599210620, INEXACT)); +assert(test_sinhf(-0.6787636876, -0.7320976257, -0.4815905988, INEXACT)); + +// special +assert(test_sinhf(0.0, 0.0, 0.0, 0)); +assert(test_sinhf(-0.0, -0.0, 0.0, 0)); +assert(test_sinhf(Infinity, Infinity, 0.0, 0)); +assert(test_sinhf(-Infinity, -Infinity, 0.0, 0)); +assert(test_sinhf(NaN, NaN, 0.0, 0)); + +// === (built-in) Math.sqrt ================================ + +function test_sqrt(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.sqrt(value), expected, error, flags) && + (!JS || check( JSMath.sqrt(value), expected, error, flags)); +} + +// sanity +assert(test_sqrt(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_sqrt(4.34523984933830487, 2.08452389032563135, -0.0718026161193847656, INEXACT)); +assert(test_sqrt(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_sqrt(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_sqrt(9.26705696697258574, 3.04418412172663855, -0.0154626257717609406, INEXACT)); +assert(test_sqrt(0.661985898099504477, 0.813625158226750300, -0.0861815735697746277, INEXACT)); +assert(test_sqrt(-0.406603922385355310, NaN, 0.0, INVALID)); +assert(test_sqrt(0.561759746220724110, 0.749506335010401425, -0.0981396734714508057, INEXACT)); +assert(test_sqrt(0.774152296591303690, 0.879859248170583030, -0.371243536472320557, INEXACT)); +assert(test_sqrt(-0.678763702639402444, NaN, 0.0, INVALID)); + +// special +assert(test_sqrt(NaN, NaN, 0.0, 0)); +assert(test_sqrt(Infinity, Infinity, 0.0, 0)); +assert(test_sqrt(-Infinity, NaN, 0.0, INVALID)); +assert(test_sqrt(0.0, 0.0, 0.0, 0)); +assert(test_sqrt(-0.0, -0.0, 0.0, 0)); +assert(test_sqrt(1.0, 1.0, 0.0, 0)); +assert(test_sqrt(-1.0, NaN, 0.0, INVALID)); +assert(test_sqrt(4.0, 2.0, 0.0, 0)); +assert(test_sqrt(9.88131291682493088e-324, 3.14345556940525759e-162, 0.435376197099685669, INEXACT)); +assert(test_sqrt(1.48219693752373963e-323, 3.84993108707641605e-162, -0.451940029859542847, INEXACT)); +assert(test_sqrt(4.94065645841246544e-324, 2.22275874948507748e-162, 0.0, 0)); +assert(test_sqrt(-4.94065645841246544e-324, NaN, 0.0, INVALID)); +assert(test_sqrt(0.999999999999999889, 0.999999999999999889, -0.5, INEXACT)); +assert(test_sqrt(1.99999999999999978, 1.41421356237309492, -0.211070418357849121, INEXACT)); +assert(test_sqrt(1.00000000000000022, 1.0, -0.5, INEXACT)); +assert(test_sqrt(2.00000000000000044, 1.41421356237309515, -0.271730601787567139, INEXACT)); +assert(test_sqrt(1.00000000000000022, 1.0, -0.5, INEXACT)); +assert(test_sqrt(0.999999999999999889, 0.999999999999999889, -0.5, INEXACT)); +assert(test_sqrt(-1.79769313486231571e+308, NaN, 0.0, INVALID)); +assert(test_sqrt(1.79769313486231571e+308, 1.34078079299425956e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231491e+308, 1.34078079299425926e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231411e+308, 1.34078079299425897e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231331e+308, 1.34078079299425867e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231251e+308, 1.34078079299425837e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231172e+308, 1.34078079299425807e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231092e+308, 1.34078079299425777e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486231012e+308, 1.34078079299425748e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486230932e+308, 1.34078079299425718e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486230852e+308, 1.34078079299425688e+154, -0.5, INEXACT)); +assert(test_sqrt(1.79769313486230772e+308, 1.34078079299425658e+154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850720287e-308, 1.49166814624004168e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850720484e-308, 1.49166814624004234e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850720682e-308, 1.49166814624004300e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850720879e-308, 1.49166814624004367e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850721077e-308, 1.49166814624004433e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850721275e-308, 1.49166814624004499e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850721472e-308, 1.49166814624004565e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850721670e-308, 1.49166814624004632e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850721868e-308, 1.49166814624004698e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850722065e-308, 1.49166814624004764e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850722263e-308, 1.49166814624004830e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850722460e-308, 1.49166814624004897e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850722658e-308, 1.49166814624004963e-154, -0.5, INEXACT)); +assert(test_sqrt(2.22507385850722856e-308, 1.49166814624005029e-154, -0.5, INEXACT)); +assert(test_sqrt(92.3513039189064529, 9.60995858049900598, 0.499813705682754517, INEXACT)); +assert(test_sqrt(93.3599596388915955, 9.66229577475723822, -0.499799787998199463, INEXACT)); +assert(test_sqrt(95.4204962888612442, 9.76834153215689049, -0.499972701072692871, INEXACT)); +assert(test_sqrt(95.8791694188544881, 9.79179091989072781, 0.499876677989959717, INEXACT)); +assert(test_sqrt(96.8480417488402168, 9.84114026669878506, 0.499801903963088989, INEXACT)); +assert(test_sqrt(97.4363905088315505, 9.87098731175517052, 0.499769628047943115, INEXACT)); +assert(test_sqrt(97.5095797988304724, 9.87469390912095513, 0.499998182058334351, INEXACT)); +assert(test_sqrt(97.8049689388261214, 9.88963947466367976, -0.499958068132400513, INEXACT)); +assert(test_sqrt(98.2751822888191953, 9.91338399784953417, 0.499799311161041260, INEXACT)); +assert(test_sqrt(99.4729356488015526, 9.97361196602321876, -0.499954044818878174, INEXACT)); +assert(test_sqrt(100.570471308785386, 10.0284830013709136, -0.499964535236358643, INEXACT)); +assert(test_sqrt(100.609546088784811, 10.0304310021446650, 0.499756723642349243, INEXACT)); +assert(test_sqrt(100.679091098783786, 10.0338971042553435, -0.499777138233184814, INEXACT)); +assert(test_sqrt(101.122680958777252, 10.0559773746154217, 0.499886780977249146, INEXACT)); +assert(test_sqrt(101.302769128774599, 10.0649276762813660, 0.499910563230514526, INEXACT)); +assert(test_sqrt(2.45932313565506984e-307, 4.95915631499458737e-154, -0.499899983406066895, INEXACT)); +assert(test_sqrt(5.61095730518040884e-307, 7.49063235326658376e-154, -0.499934375286102295, INEXACT)); +assert(test_sqrt(5.80738879774085241e-307, 7.62062254526547942e-154, -0.499895691871643066, INEXACT)); +assert(test_sqrt(7.02613708047142671e-307, 8.38220560501317447e-154, 0.499806404113769531, INEXACT)); +assert(test_sqrt(8.43869776919497201e-307, 9.18623849526832761e-154, -0.499906569719314575, INEXACT)); +assert(test_sqrt(1.16077925158367949e-306, 1.07739465915869443e-153, -0.499976843595504761, INEXACT)); +assert(test_sqrt(1.28274138274231934e-306, 1.13258173336069622e-153, -0.499951303005218506, INEXACT)); +assert(test_sqrt(1.71166045960874567e-306, 1.30830442161170782e-153, -0.499863952398300171, INEXACT)); +assert(test_sqrt(2.03817325168699409e-306, 1.42764605266396281e-153, 0.499840378761291504, INEXACT)); +assert(test_sqrt(2.17157206085693087e-306, 1.47362548188368786e-153, 0.499929040670394897, INEXACT)); +assert(test_sqrt(2.46813996318040945e-306, 1.57103149655899957e-153, 0.499890446662902832, INEXACT)); +assert(test_sqrt(2.51755339642005881e-306, 1.58667999181311239e-153, -0.499770104885101318, INEXACT)); +assert(test_sqrt(2.64615054688296253e-306, 1.62669927979419815e-153, 0.499867290258407593, INEXACT)); +assert(test_sqrt(3.81670763677204135e-306, 1.95363958722483965e-153, 0.499834716320037842, INEXACT)); +assert(test_sqrt(4.57432207785627658e-306, 2.13876648511619359e-153, 0.499859392642974854, INEXACT)); + +// === (built-in) Mathf.sqrt ================================ + +function test_sqrtf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.sqrt(value), expected, error, flags); +} + +// sanity +assert(test_sqrtf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_sqrtf(4.345239639, 2.084523916, 0.3200402558, INEXACT)); +assert(test_sqrtf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_sqrtf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_sqrtf(9.267057419, 3.044184208, 0.05022354797, INEXACT)); +assert(test_sqrtf(0.6619858742, 0.8136251569, 0.2240506113, INEXACT)); +assert(test_sqrtf(-0.4066039324, NaN, 0.0, INVALID)); +assert(test_sqrtf(0.5617597699, 0.7495063543, 0.05895441771, INEXACT)); +assert(test_sqrtf(0.7741522789, 0.8798592091, -0.4874873757, INEXACT)); +assert(test_sqrtf(-0.6787636876, NaN, 0.0, INVALID)); + +// special +assert(test_sqrtf(NaN, NaN, 0.0, 0)); +assert(test_sqrtf(Infinity, Infinity, 0.0, 0)); +assert(test_sqrtf(-Infinity, NaN, 0.0, INVALID)); +assert(test_sqrtf(0.0, 0.0, 0.0, 0)); +assert(test_sqrtf(-0.0, -0.0, 0.0, 0)); +assert(test_sqrtf(1.0, 1.0, 0.0, 0)); +assert(test_sqrtf(-1.0, NaN, 0.0, INVALID)); +assert(test_sqrtf(4.0, 2.0, 0.0, 0)); +assert(test_sqrtf(2.802596929e-45, 5.293955920e-23, 0.0, 0)); +assert(test_sqrtf(4.203895393e-45, 6.483745599e-23, 0.3738855422, INEXACT)); +assert(test_sqrtf(1.401298464e-45, 3.743392067e-23, -0.2030314505, INEXACT)); +assert(test_sqrtf(-1.401298464e-45, NaN, 0.0, INVALID)); +assert(test_sqrtf(3.402823466e+38, 1.844674297e+19, -0.5, INEXACT)); +assert(test_sqrtf(-3.402823466e+38, NaN, 0.0, INVALID)); +assert(test_sqrtf(0.9999998808, 0.9999999404, 2.980232594e-8, INEXACT)); +assert(test_sqrtf(0.9999999404, 0.9999999404, -0.5, INEXACT)); +assert(test_sqrtf(1.999999762, 1.414213419, -0.4959246516, INEXACT)); +assert(test_sqrtf(1.999999881, 1.414213538, 0.1505219489, INEXACT)); +assert(test_sqrtf(1.000000119, 1.0, -0.5, INEXACT)); +assert(test_sqrtf(1.000000238, 1.000000119, 5.960463767e-8, INEXACT)); +assert(test_sqrtf(2.000000238, 1.414213657, 0.08986179531, INEXACT)); +assert(test_sqrtf(2.000000477, 1.414213777, 0.3827550709, INEXACT)); + +// === Math.tan ================================ + +function test_tan(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.tan(value), expected, error, flags) && + (!JS || check( JSMath.tan(value), expected, error, flags)); +} + +/* TODO + +// sanity +assert(test_tan(-8.06684839057968084, 4.62660354240163318, -0.272760331630706787, INEXACT)); +assert(test_tan(4.34523984933830487, 2.60019170582220216, 0.265100330114364624, INEXACT)); +assert(test_tan(-8.38143342755524934, 1.71674083287410517, -0.246875196695327759, INEXACT)); +assert(test_tan(-6.53167358191348413, -0.253732252345372500, -0.467970371246337891, INEXACT)); +assert(test_tan(9.26705696697258574, -0.159041957271919582, -0.0670407786965370178, INEXACT)); +assert(test_tan(0.661985898099504477, 0.779291910691043421, -0.0380561351776123047, INEXACT)); +assert(test_tan(-0.406603922385355310, -0.430599528795436559, -0.0924271419644355774, INEXACT)); +assert(test_tan(0.561759746220724110, 0.629403687318739968, -0.321913480758666992, INEXACT)); +assert(test_tan(0.774152296591303690, 0.977757465294964545, -0.196665182709693909, INEXACT)); +assert(test_tan(-0.678763702639402444, -0.806618663020912341, -0.0676656961441040039, INEXACT)); + +// special +assert(test_tan(0.0, 0.0, 0.0, 0)); +assert(test_tan(-0.0, -0.0, 0.0, 0)); +assert(test_tan(Infinity, NaN, 0.0, INVALID)); +assert(test_tan(-Infinity, NaN, 0.0, INVALID)); +assert(test_tan(NaN, NaN, 0.0, 0)); + +*/ + +// === Mathf.tan ================================ + +function test_tanf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.tan(value), expected, error, flags); +} + +/* TODO + +// sanity +assert(test_tanf(-8.066848755, 4.626595497, 0.2455666959, INEXACT)); +assert(test_tanf(4.345239639, 2.600190163, 0.3652407229, INEXACT)); +assert(test_tanf(-8.381433487, 1.716740608, 0.08169349283, INEXACT)); +assert(test_tanf(-6.531673431, -0.2537320852, 0.2318651378, INEXACT)); +assert(test_tanf(9.267057419, -0.1590414941, -0.009332014248, INEXACT)); +assert(test_tanf(0.6619858742, 0.7792918682, -0.06759700924, INEXACT)); +assert(test_tanf(-0.4066039324, -0.4305995405, 0.005771996453, INEXACT)); +assert(test_tanf(0.5617597699, 0.6294037104, -0.1683816314, INEXACT)); +assert(test_tanf(0.7741522789, 0.9777574539, 0.3896938860, INEXACT)); +assert(test_tanf(-0.6787636876, -0.8066186309, 0.1229405999, INEXACT)); + +// special +assert(test_tanf(0.0, 0.0, 0.0, 0)); +assert(test_tanf(-0.0, -0.0, 0.0, 0)); +assert(test_tanf(Infinity, NaN, 0.0, INVALID)); +assert(test_tanf(-Infinity, NaN, 0.0, INVALID)); +assert(test_tanf(NaN, NaN, 0.0, 0)); + +*/ + +// === Math.tanh ================================ + +function test_tanh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.tanh(value), expected, error, flags) && + (!JS || check( JSMath.tanh(value), expected, error, flags)); +} + +// sanity +assert(test_tanh(-8.06684839057968084, -0.999999803096031981, 0.0127933314070105553, INEXACT)); +assert(test_tanh(4.34523984933830487, 0.999663697896130743, 0.157350823283195496, INEXACT)); +assert(test_tanh(-8.38143342755524934, -0.999999895043486187, 0.279850661754608154, INEXACT)); +assert(test_tanh(-6.53167358191348413, -0.999995756839242911, -0.442855745553970337, INEXACT)); +assert(test_tanh(9.26705696697258574, 0.999999982144723409, 0.446275502443313599, INEXACT)); +assert(test_tanh(0.661985898099504477, 0.579683501863527462, 0.489204317331314087, INEXACT)); +assert(test_tanh(-0.406603922385355310, -0.385585309990165215, 0.359938710927963257, INEXACT)); +assert(test_tanh(0.561759746220724110, 0.509281924870043867, -0.394365221261978149, INEXACT)); +assert(test_tanh(0.774152296591303690, 0.649337455031855471, -0.489939600229263306, INEXACT)); +assert(test_tanh(-0.678763702639402444, -0.590715084799841028, -0.0145387789234519005, INEXACT)); + +// special +assert(test_tanh(0.0, 0.0, 0.0, 0)); +assert(test_tanh(-0.0, -0.0, 0.0, 0)); +assert(test_tanh(Infinity, 1.0, 0.0, 0)); +assert(test_tanh(-Infinity, -1.0, 0.0, 0)); +assert(test_tanh(NaN, NaN, 0.0, 0)); + +// === Mathf.tanh ================================ + +function test_tanhf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.tanh(value), expected, error, flags); +} + +// sanity +assert(test_tanhf(-8.066848755, -0.9999998212, -0.3034979999, INEXACT)); +assert(test_tanhf(4.345239639, 0.9996637106, 0.2154078335, INEXACT)); +assert(test_tanhf(-8.381433487, -0.9999998808, 0.2391221076, INEXACT)); +assert(test_tanhf(-6.531673431, -0.9999957681, -0.1884459704, INEXACT)); +assert(test_tanhf(9.267057419, 1.0, 0.1497807801, INEXACT)); +assert(test_tanhf(0.6619858742, 0.5796834826, -0.05590476096, INEXACT)); +assert(test_tanhf(-0.4066039324, -0.3855853081, 0.3497871757, INEXACT)); +assert(test_tanhf(0.5617597699, 0.5092819333, -0.1528785080, INEXACT)); +assert(test_tanhf(0.7741522789, 0.6493374705, 0.4317026138, INEXACT)); +assert(test_tanhf(-0.6787636876, -0.5907150507, 0.4079873860, INEXACT)); + +// special +assert(test_tanhf(0.0, 0.0, 0.0, 0)); +assert(test_tanhf(-0.0, -0.0, 0.0, 0)); +assert(test_tanhf(Infinity, 1.0, 0.0, 0)); +assert(test_tanhf(-Infinity, -1.0, 0.0, 0)); +assert(test_tanhf(NaN, NaN, 0.0, 0)); diff --git a/tests/compiler/std/math.untouched.wat b/tests/compiler/std/math.untouched.wat index fecace8340..f308258d0d 100644 --- a/tests/compiler/std/math.untouched.wat +++ b/tests/compiler/std/math.untouched.wat @@ -1,27 +1,58 @@ (module - (type $iiiiv (func (param i32 i32 i32 i32))) (type $i (func (result i32))) - (type $FFFFiv (func (param f64 f64 f64 f64 i32))) + (type $F (func (result f64))) + (type $iiiiv (func (param i32 i32 i32 i32))) + (type $FFFii (func (param f64 f64 f64 i32) (result i32))) + (type $FFFF (func (param f64 f64 f64) (result f64))) + (type $Fi (func (param f64) (result i32))) + (type $FiF (func (param f64 i32) (result f64))) + (type $Fv (func (param f64))) + (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) + (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) + (type $fif (func (param f32 i32) (result f32))) + (type $f (func (result f32))) + (type $fffii (func (param f32 f32 f32 i32) (result i32))) + (type $ffff (func (param f32 f32 f32) (result f32))) + (type $fi (func (param f32) (result i32))) + (type $FFFFii (func (param f64 f64 f64 f64 i32) (result i32))) (type $FFF (func (param f64 f64) (result f64))) - (type $FFFiv (func (param f64 f64 f64 i32))) - (type $ffffiv (func (param f32 f32 f32 f32 i32))) + (type $ffffii (func (param f32 f32 f32 f32 i32) (result i32))) (type $fff (func (param f32 f32) (result f32))) - (type $fffiv (func (param f32 f32 f32 i32))) (type $FF (func (param f64) (result f64))) - (type $F (func (result f64))) (type $ff (func (param f32) (result f32))) - (type $f (func (result f32))) - (type $FiF (func (param f64 i32) (result f64))) - (type $fif (func (param f32 i32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) (type $I (func (result i64))) (type $v (func)) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) - (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) - (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) + (import "JSMath" "E" (global $(lib)/math/JSMath.E f64)) + (import "env" "logf" (func $std/math/logf (param f64))) + (import "JSMath" "LN2" (global $(lib)/math/JSMath.LN2 f64)) + (import "JSMath" "LN10" (global $(lib)/math/JSMath.LN10 f64)) + (import "JSMath" "LOG2E" (global $(lib)/math/JSMath.LOG2E f64)) + (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) + (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) + (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) + (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) + (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) + (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) + (import "JSMath" "asin" (func $(lib)/math/JSMath.asin (param f64) (result f64))) + (import "JSMath" "asinh" (func $(lib)/math/JSMath.asinh (param f64) (result f64))) + (import "JSMath" "atan" (func $(lib)/math/JSMath.atan (param f64) (result f64))) (import "JSMath" "cbrt" (func $(lib)/math/JSMath.cbrt (param f64) (result f64))) + (import "JSMath" "cosh" (func $(lib)/math/JSMath.cosh (param f64) (result f64))) + (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) + (import "JSMath" "expm1" (func $(lib)/math/JSMath.expm1 (param f64) (result f64))) + (import "JSMath" "hypot" (func $(lib)/math/JSMath.hypot (param f64 f64) (result f64))) + (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) + (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) + (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) + (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) + (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) + (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) + (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) + (global $std/math/JS i32 (i32.const 1)) (global $std/math/INEXACT i32 (i32.const 1)) (global $std/math/INVALID i32 (i32.const 2)) (global $std/math/DIVBYZERO i32 (i32.const 4)) @@ -36,613 +67,752 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s\00") (export "memory" (memory $0)) (start $start) - (func $fmod (; 5 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i64) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f64) - (local $8 i32) - (local $9 i64) - (set_local $2 - (i64.reinterpret/f64 - (get_local $0) + (func $std/math/signbit (; 21 ;) (type $Fi) (param $0 f64) (result i32) + (return + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 63) + ) ) ) - (set_local $3 + ) + (func $std/math/eulp (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (local $1 i64) + (local $2 i32) + (set_local $1 (i64.reinterpret/f64 - (get_local $1) + (get_local $0) ) ) - (set_local $4 + (set_local $2 (i32.wrap/i64 (i64.and (i64.shr_u - (get_local $2) + (get_local $1) (i64.const 52) ) (i64.const 2047) ) ) ) - (set_local $5 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $3) - (i64.const 52) - ) - (i64.const 2047) + (if + (i32.eqz + (get_local $2) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.const 1) ) ) ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u + (return + (i32.sub + (i32.sub (get_local $2) - (i64.const 63) + (i32.const 1023) ) + (i32.const 52) ) ) + ) + (func "$(lib)/math/NativeMath.scalbn" (; 23 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (nop) + (set_local $2 + (get_local $0) + ) (if - (i32.and - (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) - ) - (i64.const 0) - ) - ) - (get_local $8) - (f64.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) - ) - ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 2047) - ) - ) - (i32.const 1) + (i32.gt_s + (get_local $1) + (i32.const 1023) ) - (return - (f64.div + (block + (set_local $2 (f64.mul - (get_local $0) - (get_local $1) + (get_local $2) + (f64.const 8988465674311579538646525e283) ) - (f64.mul - (get_local $0) + ) + (set_local $1 + (i32.sub (get_local $1) + (i32.const 1023) ) ) - ) - ) - (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (block (if - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) ) - (i64.shl - (get_local $3) - (i64.const 1) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) ) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) ) ) ) - (return - (get_local $0) - ) - ) - ) - (nop) - (if - (i32.eqz - (get_local $4) ) - (block - (block $break|0 - (set_local $9 - (i64.shl + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul (get_local $2) - (i64.const 12) + (f64.const 2.2250738585072014e-308) ) ) - (loop $continue|0 - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) ) ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) - ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) ) - (br $continue|0) ) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) ) - (i32.const 1) ) ) ) ) ) - (block - (set_local $2 - (i64.and - (get_local $2) - (i64.shr_u - (i64.const -1) - (i64.const 12) + ) + (return + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $1) + ) ) + (i64.const 52) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) + ) + ) + ) + (func $std/math/ulperr (; 24 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (local $3 f64) + (local $4 i32) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $4 + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + ) + (f64.ne + (tee_local $3 + (get_local $1) ) + (get_local $3) ) + (get_local $4) ) + (i32.const 1) + ) + (return + (f64.const 0) ) ) (if - (i32.eqz - (get_local $5) + (f64.eq + (get_local $0) + (get_local $1) ) (block - (block $break|1 - (set_local $9 - (i64.shl - (get_local $3) - (i64.const 12) + (if + (i32.eq + (call $std/math/signbit + (get_local $0) ) - ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) - ) - ) - (br $continue|1) - ) + (call $std/math/signbit + (get_local $1) ) ) + (return + (get_local $2) + ) ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) - ) - (i32.const 1) + (return + (f64.const inf) + ) + ) + ) + (if + (i32.eqz + (select + (f64.ne + (f64.abs + (tee_local $3 + (get_local $0) ) ) + (f64.const inf) + ) + (i32.const 0) + (f64.eq + (get_local $3) + (get_local $3) ) ) ) (block - (set_local $3 - (i64.and - (get_local $3) - (i64.shr_u - (i64.const -1) - (i64.const 12) - ) + (set_local $0 + (f64.copysign + (f64.const 8988465674311579538646525e283) + (get_local $0) ) ) - (set_local $3 - (i64.or - (get_local $3) - (i64.shl - (i64.const 1) - (i64.const 52) - ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 0.5) ) ) ) ) - (block $break|2 - (nop) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $5) + (return + (f64.add + (call "$(lib)/math/NativeMath.scalbn" + (f64.sub + (get_local $0) + (get_local $1) ) - (block - (block - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) + (i32.sub + (i32.const 0) + (call $std/math/eulp + (get_local $1) ) - (br $continue|2) ) ) - ) - ) - (set_local $9 - (i64.sub (get_local $2) - (get_local $3) ) ) + ) + (func $std/math/check (; 25 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 f64) (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) + (f64.ne + (get_local $0) + (get_local $1) ) (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) + (nop) + (set_local $4 + (call $std/math/ulperr + (get_local $0) + (get_local $1) + (get_local $2) ) ) - (set_local $2 - (get_local $9) - ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) + (f64.ge + (f64.abs + (get_local $4) ) + (f64.const 1.5) ) (block - (set_local $4 - (i32.sub + (call $std/math/logf + (f64.abs (get_local $4) - (i32.const 1) ) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) + (return + (i32.const 0) ) - (br $continue|3) ) ) ) ) - (if - (i32.gt_s + (return + (i32.const 1) + ) + ) + (func $std/math/test_scalbn (; 26 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) (get_local $4) - (i32.const 0) + ) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 27 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) ) (block (set_local $2 - (i64.sub + (f32.mul (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) - ) + (f32.const 1701411834604692317316873e14) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $4) - ) - (i64.const 52) - ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 127) ) ) - ) - (set_local $2 - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.add + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $1 (i32.sub - (i32.const 0) - (get_local $4) + (get_local $1) + (i32.const 127) ) - (i32.const 1) ) - ) - ) - ) - ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $6) - ) - (i64.const 63) - ) - ) - ) - (return - (f64.reinterpret/i64 - (get_local $2) - ) - ) - ) - (func $std/math/check (; 6 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (local $4 f64) - (local $5 i32) - (if - (f64.ne - (tee_local $4 - (get_local $1) - ) - (get_local $4) - ) - (if - (i32.eqz - (f64.ne - (tee_local $4 - (get_local $0) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) + ) ) - (get_local $4) ) ) - (unreachable) ) (if - (f64.ne - (get_local $0) + (i32.lt_s (get_local $1) + (i32.const -126) ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eqz - (i32.and - (get_local $3) - (i32.const 1) - ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) ) ) - (get_local $5) - (f64.gt - (f64.abs - (f64.sub - (get_local $0) - (get_local $1) - ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) ) - (f64.abs - (get_local $2) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (set_local $1 + (i32.const -126) ) ) ) - (i32.const 1) ) - (unreachable) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (i32.const 127) + (get_local $1) + ) + (i32.const 23) + ) ) ) ) ) - (func $std/math/test_fmod (; 7 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) - (call $std/math/check - (call $fmod - (get_local $0) - (get_local $1) + (func $std/math/signbitf (; 28 ;) (type $fi) (param $0 f32) (result i32) + (return + (i32.shr_u + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 31) ) - (get_local $2) - (get_local $3) - (get_local $4) ) ) - (func $fmodf (; 8 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func $std/math/eulpf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (local $1 i32) (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (local $9 i32) - (set_local $2 + (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $4 + (set_local $2 (i32.and (i32.shr_u - (get_local $2) + (get_local $1) (i32.const 23) ) (i32.const 255) ) ) - (set_local $5 - (i32.and - (i32.shr_u - (get_local $3) - (i32.const 23) + (if + (i32.eqz + (get_local $2) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.const 1) ) - (i32.const 255) ) ) - (set_local $6 - (i32.and - (get_local $2) - (i32.const -2147483648) + (return + (i32.sub + (i32.sub + (get_local $2) + (i32.const 127) + ) + (i32.const 23) ) ) + ) + (func $std/math/ulperrf (; 30 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (local $3 f32) + (local $4 i32) + (nop) (if (i32.and (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i32.eq - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 0) - ) - ) - (get_local $8) - (f32.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) + (tee_local $4 + (f32.ne + (tee_local $3 + (get_local $0) ) - (i32.const 1) + (get_local $3) ) ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 255) + (f32.ne + (tee_local $3 + (get_local $1) + ) + (get_local $3) ) + (get_local $4) ) (i32.const 1) ) (return - (f32.div + (f32.const 0) + ) + ) + (if + (f32.eq + (get_local $0) + (get_local $1) + ) + (block + (if + (i32.eq + (call $std/math/signbitf + (get_local $0) + ) + (call $std/math/signbitf + (get_local $1) + ) + ) + (return + (get_local $2) + ) + ) + (return + (f32.const inf) + ) + ) + ) + (if + (i32.eqz + (select + (f32.ne + (f32.abs + (tee_local $3 + (get_local $0) + ) + ) + (f32.const inf) + ) + (i32.const 0) + (f32.eq + (get_local $3) + (get_local $3) + ) + ) + ) + (block + (set_local $0 + (f32.copysign + (f32.const 1701411834604692317316873e14) + (get_local $0) + ) + ) + (set_local $1 (f32.mul + (get_local $1) + (f32.const 0.5) + ) + ) + ) + ) + (return + (f32.add + (call "$(lib)/math/NativeMathf.scalbn" + (f32.sub (get_local $0) (get_local $1) ) - (f32.mul + (i32.sub + (i32.const 0) + (call $std/math/eulpf + (get_local $1) + ) + ) + ) + (get_local $2) + ) + ) + ) + (func $std/math/check (; 31 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (local $4 f32) + (if + (f32.ne + (get_local $0) + (get_local $1) + ) + (block + (nop) + (set_local $4 + (call $std/math/ulperrf + (get_local $0) + (get_local $1) + (get_local $2) + ) + ) + (if + (f32.ge + (f32.abs + (get_local $4) + ) + (f32.const 1.5) + ) + (block + (call $std/math/logf + (f64.promote/f32 + (f32.abs + (get_local $4) + ) + ) + ) + (return + (i32.const 0) + ) + ) + ) + ) + ) + (return + (i32.const 1) + ) + ) + (func $std/math/test_scalbnf (; 32 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func $fmod (; 33 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f64) + (local $8 i32) + (local $9 i64) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $8) + (f64.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul (get_local $0) (get_local $1) ) @@ -650,31 +820,31 @@ ) ) (if - (i32.le_u - (i32.shl + (i64.le_u + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $3) - (i32.const 1) + (i64.const 1) ) ) (block (if - (i32.eq - (i32.shl + (i64.eq + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $3) - (i32.const 1) + (i64.const 1) ) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -692,17 +862,17 @@ (block (block $break|0 (set_local $9 - (i32.shl + (i64.shl (get_local $2) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|0 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block @@ -713,9 +883,9 @@ ) ) (set_local $9 - (i32.shl + (i64.shl (get_local $9) - (i32.const 1) + (i64.const 1) ) ) (br $continue|0) @@ -724,34 +894,36 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (block (set_local $2 - (i32.and + (i64.and (get_local $2) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (i64.shr_u + (i64.const -1) + (i64.const 12) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) @@ -764,17 +936,17 @@ (block (block $break|1 (set_local $9 - (i32.shl + (i64.shl (get_local $3) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|1 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block @@ -785,9 +957,9 @@ ) ) (set_local $9 - (i32.shl + (i64.shl (get_local $9) - (i32.const 1) + (i64.const 1) ) ) (br $continue|1) @@ -796,34 +968,36 @@ ) ) (set_local $3 - (i32.shl + (i64.shl (get_local $3) - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (block (set_local $3 - (i32.and + (i64.and (get_local $3) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (i64.shr_u + (i64.const -1) + (i64.const 12) ) ) ) (set_local $3 - (i32.or + (i64.or (get_local $3) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) @@ -840,26 +1014,26 @@ (block (block (set_local $9 - (i32.sub + (i64.sub (get_local $2) (get_local $3) ) ) (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block (if - (i32.eqz + (i64.eqz (get_local $9) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -870,9 +1044,9 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) ) @@ -888,26 +1062,26 @@ ) ) (set_local $9 - (i32.sub + (i64.sub (get_local $2) (get_local $3) ) ) (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block (if - (i32.eqz + (i64.eqz (get_local $9) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -921,10 +1095,10 @@ (nop) (loop $continue|3 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $2) - (i32.const 23) + (i64.const 52) ) ) (block @@ -935,9 +1109,9 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) (br $continue|3) @@ -952,848 +1126,979 @@ ) (block (set_local $2 - (i32.sub + (i64.sub (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (i32.shl - (get_local $4) - (i32.const 23) + (i64.shl + (i64.extend_u/i32 + (get_local $4) + ) + (i64.const 52) ) ) ) ) (set_local $2 - (i32.shr_u + (i64.shr_u (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (get_local $6) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 63) + ) ) ) (return - (f32.reinterpret/i32 + (f64.reinterpret/i64 (get_local $2) ) ) ) - (func $std/math/check (; 9 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (local $4 f32) - (local $5 i32) - (if - (f32.ne - (tee_local $4 - (get_local $1) - ) - (get_local $4) - ) - (if - (i32.eqz - (f32.ne - (tee_local $4 - (get_local $0) - ) - (get_local $4) - ) - ) - (unreachable) - ) - (if - (f32.ne + (func $std/math/test_fmod (; 34 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (return + (call $std/math/check + (call $fmod (get_local $0) (get_local $1) ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eqz - (i32.and - (get_local $3) - (i32.const 1) - ) - ) - ) - (get_local $5) - (f32.gt - (f32.abs - (f32.sub - (get_local $0) - (get_local $1) - ) - ) - (f32.abs - (get_local $2) - ) - ) - ) - (i32.const 1) - ) - (unreachable) - ) - ) - ) - ) - (func $std/math/test_fmodf (; 10 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) - (call $std/math/check - (call $fmodf - (get_local $0) - (get_local $1) + (get_local $2) + (get_local $3) + (get_local $4) ) - (get_local $2) - (get_local $3) - (get_local $4) ) ) - (func "$(lib)/math/NativeMath.log" (; 11 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func $fmodf (; 35 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 i32) - (nop) - (set_local $1 - (i64.reinterpret/f64 + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 i32) + (set_local $2 + (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) ) + (i32.const 255) ) ) - (set_local $3 - (i32.const 0) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) ) (if (i32.and (if (result i32) - (tee_local $4 - (i32.lt_u - (get_local $2) - (i32.const 1048576) - ) - ) - (get_local $4) - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 31) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $8) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) ) - (i32.const 1) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 255) ) ) (i32.const 1) ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) (block (if - (i64.eq - (i64.shl - (get_local $1) - (i64.const 1) + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) ) - (i64.const 0) ) (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) - ) + (f32.mul + (f32.const 0) + (get_local $0) ) ) ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i32.shl + (get_local $2) + (i32.const 9) + ) ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|0) ) - (f64.const 0) ) ) ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 54) - ) - ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) + (set_local $2 + (i32.shl + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) ) ) - (set_local $1 - (i64.reinterpret/f64 - (get_local $0) + ) + (block + (set_local $2 + (i32.and + (get_local $2) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) ) ) (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (i32.or + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) ) ) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.eq - (get_local $2) - (i32.const 1072693248) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i32.shl + (get_local $3) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) ) ) - (i64.eq - (i64.shl - (get_local $1) - (i64.const 32) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) ) - (i64.const 0) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|1) ) - (get_local $4) ) - (i32.const 1) - ) - (return - (f64.const 0) ) ) - ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) - ) - ) - ) - (set_local $3 - (i32.add - (get_local $3) - (i32.sub - (i32.shr_s - (get_local $2) - (i32.const 20) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) ) - (i32.const 1023) ) ) - ) - (set_local $2 - (i32.add - (i32.and - (get_local $2) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $2) + (block + (set_local $3 + (i32.and + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) ) - (i64.const 32) - ) - (i64.and - (get_local $1) - (i64.const 4294967295) ) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) - ) - ) - (set_local $5 - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (set_local $6 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $5) + (set_local $3 + (i32.or + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) ) - (get_local $5) ) ) - (set_local $7 - (f64.div - (get_local $5) - (f64.add - (f64.const 2) - (get_local $5) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) ) ) ) - (set_local $8 - (f64.mul - (get_local $7) - (get_local $7) - ) - ) (set_local $9 - (f64.mul - (get_local $8) - (get_local $8) + (i32.sub + (get_local $2) + (get_local $3) ) ) - (set_local $10 - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz (get_local $9) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $9) - (f64.const 0.15313837699209373) - ) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) ) ) ) + (set_local $2 + (get_local $9) + ) ) ) - (set_local $11 - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $9) - (f64.const 0.14798198605116586) - ) - ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) ) ) + (br $continue|3) ) ) ) ) - (set_local $12 - (f64.add - (get_local $11) - (get_local $10) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) ) - ) - (set_local $13 - (get_local $3) - ) - (return - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (get_local $12) - ) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) - ) - (f64.const 1.9082149292705877e-10) - ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) ) - (get_local $6) ) - (get_local $5) ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (get_local $4) + (i32.const 23) + ) ) - (f64.const 0.6931471803691238) ) ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (get_local $6) + ) + ) + (return + (f32.reinterpret/i32 + (get_local $2) + ) ) ) - (func $std/math/test_log (; 12 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - (call $std/math/check - (call "$(lib)/math/JSMath.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMathf.log" (; 13 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) + (func $std/math/test_fmodf (; 36 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call $fmodf + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (set_local $2 - (i32.const 0) + ) + (func "$(lib)/math/NativeMath.abs" (; 37 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.abs + (get_local $0) + ) ) - (if + ) + (func $std/math/test_abs (; 38 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return (i32.and (if (result i32) - (tee_local $3 - (i32.lt_u + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) (get_local $1) - (i32.const 8388608) + (get_local $2) + (get_local $3) ) ) - (get_local $3) - (i32.and - (i32.shr_u + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) + ) (get_local $1) - (i32.const 31) + (get_local $2) + (get_local $3) ) - (i32.const 1) ) + (get_local $4) ) (i32.const 1) ) - (block - (if - (i32.eq - (i32.shl - (get_local $1) - (i32.const 1) - ) - (i32.const 0) - ) - (return - (f32.div - (f32.const -1) - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) + ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 39 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.abs + (get_local $0) + ) + ) + ) + (func $std/math/test_absf (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.div - (f32.sub - (get_local $0) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 41 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (nop) + (set_local $1 + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) + ) + ) ) - (f32.const 0) ) ) ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 25) - ) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 33554432) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2139095040) - ) - (return + ) + (set_local $2 + (f64.add + (f64.const 1) + (f64.mul (get_local $0) - ) - (if - (i32.eq - (get_local $1) - (i32.const 1065353216) - ) - (return - (f32.const 0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) + ) + ) + ) + ) ) ) ) ) - (set_local $1 - (i32.add + (return + (f64.div (get_local $1) - (i32.sub - (i32.const 1065353216) - (i32.const 1060439283) - ) - ) - ) - (set_local $2 - (i32.add (get_local $2) - (i32.sub - (i32.shr_s - (get_local $1) - (i32.const 23) - ) - (i32.const 127) - ) ) ) + ) + (func "$(lib)/math/NativeMath.acos" (; 42 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (nop) (set_local $1 - (i32.add - (i32.and - (get_local $1) - (i32.const 8388607) + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) ) - (i32.const 1060439283) ) ) - (set_local $0 - (f32.reinterpret/i32 + (set_local $2 + (i32.and (get_local $1) + (i32.const 2147483647) ) ) - (set_local $4 - (f32.sub - (get_local $0) - (f32.const 1) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072693248) ) - ) - (set_local $5 - (f32.div - (get_local $4) - (f32.add - (f32.const 2) - (get_local $4) + (block + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) + ) + (i32.const 0) + ) + (block + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.add + (f64.mul + (f64.const 2) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + ) + (return + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 1012924416) + ) + (return + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + ) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (block + (set_local $6 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) + (set_local $4 + (f64.sqrt + (get_local $6) + ) + ) + (set_local $5 + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) + (get_local $4) + ) + (f64.const 6.123233995736766e-17) + ) + ) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (get_local $4) + (get_local $5) + ) + ) + ) ) ) ) (set_local $6 - (f32.mul - (get_local $5) - (get_local $5) + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) ) ) - (set_local $7 - (f32.mul - (get_local $6) + (set_local $4 + (f64.sqrt (get_local $6) ) ) - (set_local $8 - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $7) - (f32.const 0.24279078841209412) + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $4) ) + (i64.const -4294967296) ) ) ) - (set_local $9 - (f32.mul - (get_local $6) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul + (set_local $8 + (f64.div + (f64.sub + (get_local $6) + (f64.mul + (get_local $7) (get_local $7) - (f32.const 0.2849878668785095) ) ) + (f64.add + (get_local $4) + (get_local $7) + ) ) ) - (set_local $10 - (f32.add - (get_local $9) - (get_local $8) - ) - ) - (set_local $11 - (f32.mul - (f32.mul - (f32.const 0.5) + (set_local $5 + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) (get_local $4) ) - (get_local $4) + (get_local $8) ) ) - (set_local $12 - (f32.convert_s/i32 - (get_local $2) + (return + (f64.mul + (f64.const 2) + (f64.add + (get_local $7) + (get_local $5) + ) ) ) + ) + (func $std/math/test_acos (; 43 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (return - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $5) - (f32.add - (get_local $11) - (get_local $10) - ) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acos" + (get_local $0) ) - (f32.mul - (get_local $12) - (f32.const 9.05800061445916e-06) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) ) - (get_local $11) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) (get_local $4) ) - (f32.mul - (get_local $12) - (f32.const 0.6931381225585938) - ) + (i32.const 1) ) ) ) - (func $std/math/test_logf (; 14 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.log" + (func "$(lib)/math/NativeMathf.__R" (; 44 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 f32) + (nop) + (set_local $1 + (f32.mul (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul + (get_local $0) + (f32.const -0.008656363002955914) + ) + ) + ) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.scalbn" (; 15 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) - (local $2 f64) - (nop) (set_local $2 - (get_local $0) - ) - (if - (i32.gt_s - (get_local $1) - (i32.const 1023) - ) - (block - (set_local $2 - (f64.mul - (get_local $2) - (f64.const 8988465674311579538646525e283) - ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (i32.const 1023) - ) - ) - (if - (i32.gt_s - (get_local $1) - (i32.const 1023) - ) - (block - (set_local $2 - (f64.mul - (get_local $2) - (f64.const 8988465674311579538646525e283) - ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (i32.const 1023) - ) - ) - (if - (i32.gt_s - (get_local $1) - (i32.const 1023) - ) - (set_local $1 - (i32.const 1023) - ) - ) - ) - ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -1022) - ) - (block - (set_local $2 - (f64.mul - (get_local $2) - (f64.const 2.2250738585072014e-308) - ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1022) - ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -1022) - ) - (block - (set_local $2 - (f64.mul - (get_local $2) - (f64.const 2.2250738585072014e-308) - ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1022) - ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -1022) - ) - (set_local $1 - (i32.const -1022) - ) - ) - ) - ) + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) ) ) ) (return - (f64.mul + (f32.div + (get_local $1) (get_local $2) - (f64.reinterpret/i64 - (i64.shl - (i64.add - (i64.const 1023) - (i64.extend_u/i32 - (get_local $1) - ) - ) - (i64.const 52) - ) - ) ) ) ) - (func "$(lib)/math/NativeMath.exp" (; 16 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMathf.acos" (; 45 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (local $2 f64) - (local $3 f64) - (local $4 f64) - (local $5 i32) - (local $6 i32) - (local $7 f64) - (local $8 f64) - (local $9 f64) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) (nop) (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) + (i32.reinterpret/f32 + (get_local $0) ) ) - (set_local $1 + (set_local $2 (i32.and (get_local $1) (i32.const 2147483647) @@ -1801,2371 +2106,2053 @@ ) (if (i32.ge_u - (get_local $1) - (i32.const 1082532651) + (get_local $2) + (i32.const 1065353216) ) (block (if - (f64.ne - (tee_local $2 - (get_local $0) - ) + (i32.eq (get_local $2) - ) - (return - (get_local $0) - ) - ) - (if - (f64.gt - (get_local $0) - (f64.const 709.782712893384) + (i32.const 1065353216) ) (block - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 8988465674311579538646525e283) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.add + (f32.mul + (f32.const 2) + (f32.const 1.570796251296997) + ) + (f32.const 7.52316384526264e-37) + ) ) ) (return - (get_local $0) + (f32.const 0) ) ) ) - (if - (f64.lt - (get_local $0) - (f64.const -708.3964185322641) - ) - (if - (f64.lt + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) (get_local $0) - (f64.const -745.1332191019411) - ) - (return - (f64.const 0) ) ) ) ) ) - (nop) - (nop) (if - (i32.gt_u - (get_local $1) - (i32.const 1071001154) + (i32.lt_u + (get_local $2) + (i32.const 1056964608) ) (block (if - (i32.ge_u - (get_local $1) - (i32.const 1072734898) + (i32.le_u + (get_local $2) + (i32.const 847249408) ) - (set_local $5 - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) - (get_local $0) - ) - (f64.copysign - (f64.const 0.5) - (get_local $0) - ) - ) + (return + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) ) - (block - (set_local $6 - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (set_local $5 - (i32.sub - (i32.sub - (i32.const 1) - (get_local $6) + ) + (return + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (get_local $0) + (f32.sub + (f32.const 7.549789415861596e-08) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) + ) + ) ) - (get_local $6) ) ) ) ) + ) + ) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (block (set_local $3 - (f64.sub - (get_local $0) - (f64.mul - (f64.convert_s/i32 - (get_local $5) - ) - (f64.const 0.6931471803691238) + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) ) + (f32.const 0.5) ) ) - (set_local $4 - (f64.mul - (f64.convert_s/i32 - (get_local $5) - ) - (f64.const 1.9082149292705877e-10) - ) - ) - (set_local $0 - (f64.sub + (set_local $5 + (f32.sqrt (get_local $3) - (get_local $4) ) ) - ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1043333120) - ) - (block - (set_local $5 - (i32.const 0) - ) - (set_local $3 - (get_local $0) - ) - (set_local $4 - (f64.const 0) + (set_local $4 + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) + ) + (get_local $5) + ) + (f32.const 7.549789415861596e-08) ) ) (return - (f64.add - (f64.const 1) - (get_local $0) + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (get_local $5) + (get_local $4) + ) + ) ) ) ) ) - (set_local $7 - (f64.mul - (get_local $0) - (get_local $0) + (set_local $3 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) ) ) - (set_local $8 - (f64.sub - (get_local $0) - (f64.mul - (get_local $7) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul - (get_local $7) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $7) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $7) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $7) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) - ) - ) + (set_local $5 + (f32.sqrt + (get_local $3) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $5) + ) + ) + (set_local $6 + (f32.reinterpret/i32 + (i32.and + (get_local $1) + (i32.const -4096) ) ) ) - (set_local $9 - (f64.add - (f64.const 1) - (f64.add - (f64.sub - (f64.div - (f64.mul - (get_local $0) - (get_local $8) - ) - (f64.sub - (f64.const 2) - (get_local $8) - ) - ) - (get_local $4) - ) + (set_local $7 + (f32.div + (f32.sub (get_local $3) + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (f32.add + (get_local $5) + (get_local $6) ) ) ) - (if - (i32.eq - (get_local $5) - (i32.const 0) - ) - (return - (get_local $9) + (set_local $4 + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) + ) + (get_local $5) + ) + (get_local $7) ) ) (return - (call "$(lib)/math/NativeMath.scalbn" - (get_local $9) - (get_local $5) + (f32.mul + (f32.const 2) + (f32.add + (get_local $6) + (get_local $4) + ) ) ) ) - (func $std/math/test_exp (; 17 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.exp" - (get_local $0) + (func $std/math/test_acosf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - (call $std/math/check - (call "$(lib)/math/JSMath.exp" + ) + (func "$(lib)/math/NativeMath.log1p" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMathf.scalbn" (; 18 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) - (local $2 f32) - (nop) (set_local $2 - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) ) - (if - (i32.gt_s - (get_local $1) - (i32.const 127) + (set_local $3 + (i32.const 1) + ) + (block + (set_local $4 + (f64.const 0) ) - (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1701411834604692317316873e14) + (set_local $5 + (f64.const 0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (get_local $2) + (i32.const 1071284858) + ) ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (i32.const 127) + (get_local $6) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) ) ) + (i32.const 1) + ) + (block (if - (i32.gt_s - (get_local $1) - (i32.const 127) + (i32.ge_u + (get_local $2) + (i32.const -1074790400) ) (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1701411834604692317316873e14) - ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (i32.const 127) - ) - ) (if - (i32.gt_s - (get_local $1) - (i32.const 127) + (f64.eq + (get_local $0) + (f64.const -1) ) - (set_local $1 - (i32.const 127) + (return + (f64.div + (get_local $0) + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) ) ) ) ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -126) - ) - (block - (set_local $2 - (f32.mul + (if + (i32.lt_u + (i32.shl (get_local $2) - (f32.const 1.1754943508222875e-38) + (i32.const 1) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 126) + (i32.shl + (i32.const 1017118720) + (i32.const 1) ) ) - (if - (i32.lt_s - (get_local $1) - (i32.const -126) - ) - (block - (set_local $2 - (f32.mul - (get_local $2) - (f32.const 1.1754943508222875e-38) - ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 126) - ) - ) - (if - (i32.lt_s - (get_local $1) - (i32.const -126) - ) - (set_local $1 - (i32.const -126) - ) - ) - ) + (return + (get_local $0) ) ) - ) - ) - (return - (f32.mul - (get_local $2) - (f32.reinterpret/i32 - (i32.shl - (i32.add - (i32.const 127) - (get_local $1) + (if + (i32.le_u + (get_local $2) + (i32.const -1076707644) + ) + (block + (set_local $3 + (i32.const 0) + ) + (set_local $4 + (f64.const 0) + ) + (set_local $5 + (get_local $0) ) - (i32.const 23) ) ) ) - ) - ) - (func "$(lib)/math/NativeMathf.exp" (; 19 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 i32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) ) ) (if - (i32.ge_u - (get_local $1) - (i32.const 1118743632) - ) + (get_local $3) (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.ge_u - (get_local $1) - (i32.const 1118925336) - ) - ) - (i32.eqz - (get_local $2) - ) - (get_local $3) - ) - (i32.const 1) - ) - (block - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 1701411834604692317316873e14) - ) - ) - (return + (set_local $1 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) (get_local $0) ) ) ) - (if - (get_local $2) - (if - (i32.ge_u + (set_local $6 + (i32.wrap/i64 + (i64.shr_u (get_local $1) - (i32.const 1120924085) + (i64.const 32) ) - (return - (f32.const 0) + ) + ) + (set_local $6 + (i32.add + (get_local $6) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) ) ) ) - ) - ) - (nop) - (nop) - (if - (i32.gt_u - (get_local $1) - (i32.const 1051816472) - ) - (block + (set_local $3 + (i32.sub + (i32.shr_u + (get_local $6) + (i32.const 20) + ) + (i32.const 1023) + ) + ) (if - (i32.gt_u - (get_local $1) - (i32.const 1065686418) + (i32.lt_s + (get_local $3) + (i32.const 54) ) - (set_local $6 - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) + (block + (set_local $7 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (if (result f64) + (i32.ge_s + (get_local $3) + (i32.const 2) ) - (f32.copysign - (f32.const 0.5) + (f64.sub + (f64.const 1) + (f64.sub + (get_local $7) + (get_local $0) + ) + ) + (f64.sub (get_local $0) + (f64.sub + (get_local $7) + (f64.const 1) + ) ) ) ) - ) - (set_local $6 - (i32.sub - (i32.sub - (i32.const 1) - (get_local $2) + (set_local $4 + (f64.div + (get_local $4) + (get_local $7) ) - (get_local $2) ) ) + (set_local $4 + (f64.const 0) + ) ) - (set_local $4 - (f32.sub - (get_local $0) - (f32.mul - (f32.convert_s/i32 + (set_local $6 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 (get_local $6) ) - (f32.const 0.693145751953125) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) ) ) ) (set_local $5 - (f32.mul - (f32.convert_s/i32 - (get_local $6) + (f64.sub + (f64.reinterpret/i64 + (get_local $1) ) - (f32.const 1.428606765330187e-06) - ) - ) - (set_local $0 - (f32.sub - (get_local $4) - (get_local $5) + (f64.const 1) ) ) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 956301312) - ) - (block - (set_local $6 - (i32.const 0) - ) - (set_local $4 - (get_local $0) - ) - (set_local $5 - (f32.const 0) - ) + ) + (set_local $8 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) ) - (return - (f32.add - (f32.const 1) - (get_local $0) - ) + (get_local $5) + ) + ) + (set_local $9 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) ) ) ) - (set_local $7 - (f32.mul - (get_local $0) - (get_local $0) + (set_local $10 + (f64.mul + (get_local $9) + (get_local $9) ) ) - (set_local $8 - (f32.sub - (get_local $0) - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.16666625440120697) - (f32.mul - (get_local $7) - (f32.const -2.7667332906275988e-03) + (set_local $11 + (f64.mul + (get_local $10) + (get_local $10) + ) + ) + (set_local $12 + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $11) + (f64.const 0.15313837699209373) + ) ) ) ) ) ) - (set_local $9 - (f32.add - (f32.const 1) - (f32.add - (f32.sub - (f32.div - (f32.mul - (get_local $0) - (get_local $8) - ) - (f32.sub - (f32.const 2) - (get_local $8) + (set_local $13 + (f64.mul + (get_local $10) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $11) + (f64.const 0.14798198605116586) + ) + ) ) ) - (get_local $5) ) - (get_local $4) ) ) ) - (if - (i32.eq - (get_local $6) - (i32.const 0) - ) - (return - (get_local $9) - ) - ) - (return - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $9) - (get_local $6) + (set_local $14 + (f64.add + (get_local $13) + (get_local $12) ) ) - ) - (func $std/math/test_expf (; 20 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.exp" - (get_local $0) + (set_local $15 + (f64.convert_s/i32 + (get_local $3) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.sqrt" (; 21 ;) (type $FF) (param $0 f64) (result f64) (return - (f64.sqrt - (get_local $0) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $9) + (f64.add + (get_local $8) + (get_local $14) + ) + ) + (f64.add + (f64.mul + (get_local $15) + (f64.const 1.9082149292705877e-10) + ) + (get_local $4) + ) + ) + (get_local $8) + ) + (get_local $5) + ) + (f64.mul + (get_local $15) + (f64.const 0.6931471803691238) + ) ) ) ) - (func "$(lib)/math/NativeMath.pow" (; 22 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) + (func "$(lib)/math/NativeMath.log" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) (local $3 i32) (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 i32) - (local $10 i32) - (local $11 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) (local $12 f64) - (local $13 f64) - (local $14 f64) - (local $15 f64) - (local $16 f64) - (local $17 f64) - (local $18 f64) - (local $19 f64) - (local $20 f64) - (local $21 f64) - (local $22 f64) - (local $23 f64) - (local $24 i32) - (local $25 i32) - (local $26 f64) - (local $27 f64) - (local $28 f64) - (local $29 f64) - (local $30 f64) - (local $31 f64) - (local $32 f64) - (local $33 f64) - (local $34 f64) - (local $35 f64) - (local $36 f64) - (local $37 f64) - (local $38 i32) + (local $13 i32) (nop) - (set_local $2 + (set_local $1 (i64.reinterpret/f64 (get_local $0) ) ) - (set_local $3 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 32) - ) - ) - ) - (set_local $4 - (i32.wrap/i64 - (get_local $2) - ) - ) (set_local $2 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (set_local $5 (i32.wrap/i64 (i64.shr_u - (get_local $2) + (get_local $1) (i64.const 32) ) ) ) - (set_local $6 - (i32.wrap/i64 - (get_local $2) - ) - ) - (set_local $7 - (i32.and - (get_local $3) - (i32.const 2147483647) - ) - ) - (set_local $8 - (i32.and - (get_local $5) - (i32.const 2147483647) - ) - ) - (if - (i32.eq - (i32.or - (get_local $8) - (get_local $6) - ) - (i32.const 0) - ) - (return - (f64.const 1) - ) + (set_local $3 + (i32.const 0) ) (if (i32.and (if (result i32) - (tee_local $9 - (i32.eq - (get_local $3) - (i32.const 1072693248) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) ) ) - (i32.eq - (get_local $4) - (i32.const 0) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) ) - (get_local $9) ) (i32.const 1) ) - (return - (f64.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i32.gt_s - (get_local $7) - (i32.const 2146435072) - ) - ) - (get_local $9) - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $7) - (i32.const 2146435072) - ) - ) - (i32.ne - (get_local $4) - (i32.const 0) - ) - (get_local $9) - ) - ) - (i32.const 1) - ) - ) - (get_local $9) - (i32.gt_s - (get_local $8) - (i32.const 2146435072) - ) - ) - (i32.const 1) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) ) + (i64.const 0) ) - (get_local $9) - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $8) - (i32.const 2146435072) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) ) ) - (i32.ne - (get_local $6) - (i32.const 0) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) ) - (get_local $9) ) ) - (i32.const 1) - ) - (return - (f64.add - (get_local $0) - (get_local $1) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) ) - ) - ) - (set_local $10 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $3) - (i32.const 0) ) (if - (i32.ge_s - (get_local $8) - (i32.const 1128267776) + (i32.ge_u + (get_local $2) + (i32.const 2146435072) ) - (set_local $10 - (i32.const 2) + (return + (get_local $0) ) (if - (i32.ge_s - (get_local $8) - (i32.const 1072693248) - ) - (block - (set_local $11 - (i32.sub - (i32.shr_s - (get_local $8) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - (if - (i32.gt_s - (get_local $11) - (i32.const 20) - ) - (block - (set_local $9 - (i32.shr_u - (get_local $6) - (i32.sub - (i32.const 52) - (get_local $11) - ) - ) - ) - (if - (i32.eq - (i32.shl - (get_local $9) - (i32.sub - (i32.const 52) - (get_local $11) - ) - ) - (get_local $6) - ) - (set_local $10 - (i32.sub - (i32.const 2) - (i32.and - (get_local $9) - (i32.const 1) - ) - ) - ) - ) - ) - (if + (i32.and + (if (result i32) + (tee_local $4 (i32.eq - (get_local $6) - (i32.const 0) + (get_local $2) + (i32.const 1072693248) ) - (block - (set_local $9 - (i32.shr_s - (get_local $8) - (i32.sub - (i32.const 20) - (get_local $11) - ) - ) - ) - (if - (i32.eq - (i32.shl - (get_local $9) - (i32.sub - (i32.const 20) - (get_local $11) - ) - ) - (get_local $8) - ) - (set_local $10 - (i32.sub - (i32.const 2) - (i32.and - (get_local $9) - (i32.const 1) - ) - ) - ) - ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) ) + (i64.const 0) ) + (get_local $4) ) + (i32.const 1) + ) + (return + (f64.const 0) ) ) ) ) - (if - (i32.eq - (get_local $6) - (i32.const 0) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) ) - (block - (if - (i32.eq - (get_local $8) - (i32.const 2146435072) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_s + (get_local $2) + (i32.const 20) ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $7) - (i32.const 1072693248) - ) - (get_local $4) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) ) - (i32.const 0) ) - (return - (f64.const 1) - ) - (if - (i32.ge_s - (get_local $7) - (i32.const 1072693248) - ) - (return - (if (result f64) - (i32.ge_s - (get_local $5) - (i32.const 0) - ) - (get_local $1) - (f64.const 0) - ) - ) - (return - (if (result f64) - (i32.ge_s - (get_local $5) - (i32.const 0) - ) - (f64.const 0) - (f64.neg - (get_local $1) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) ) ) ) ) ) ) - (if - (i32.eq - (get_local $8) - (i32.const 1072693248) - ) - (block - (if - (i32.ge_s - (get_local $5) - (i32.const 0) - ) - (return - (get_local $0) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (get_local $3) + ) + (return + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) ) - ) - (return - (f64.div - (f64.const 1) - (get_local $0) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 1.9082149292705877e-10) ) ) + (get_local $6) ) + (get_local $5) ) - (if - (i32.eq - (get_local $5) - (i32.const 1073741824) - ) - (return - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - ) - (if - (i32.eq - (get_local $5) - (i32.const 1071644672) - ) - (if - (i32.ge_s - (get_local $3) - (i32.const 0) - ) - (return - (call "$(lib)/math/NativeMath.sqrt" - (get_local $0) - ) - ) + (f64.mul + (f64.convert_s/i32 + (get_local $13) ) + (f64.const 0.6931471803691238) ) ) ) - (set_local $12 - (f64.abs - (get_local $0) + ) + (func "$(lib)/math/NativeMath.acosh" (; 49 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (nop) + (set_local $1 + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) + ) + (i64.const 2047) ) ) (if - (i32.eq - (get_local $4) - (i32.const 0) + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 1) + ) ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $7) - (i32.const 2146435072) - ) - ) - (get_local $9) - (i32.eq - (get_local $7) - (i32.const 0) - ) - ) - (i32.const 1) - ) - ) - (get_local $9) - (i32.eq - (get_local $7) - (i32.const 1072693248) - ) - ) - (i32.const 1) - ) - (block - (set_local $13 - (get_local $12) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (set_local $13 - (f64.div - (f64.const 1) - (get_local $13) - ) - ) - ) - (if - (i32.lt_s - (get_local $3) - (i32.const 0) + (return + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $7) - (i32.const 1072693248) - ) - (get_local $10) - ) - (i32.const 0) - ) - (set_local $13 - (f64.div + (f64.sqrt + (f64.add + (f64.mul (f64.sub - (get_local $13) - (get_local $13) + (get_local $0) + (f64.const 1) ) (f64.sub - (get_local $13) - (get_local $13) + (get_local $0) + (f64.const 1) ) ) - ) - (if - (i32.eq - (get_local $10) - (i32.const 1) - ) - (set_local $13 - (f64.neg - (get_local $13) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (f64.const 1) ) ) ) ) ) - (return - (get_local $13) - ) ) ) ) - (set_local $14 - (f64.const 1) - ) (if - (i32.lt_s - (get_local $3) - (i32.const 0) + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 26) + ) ) - (block - (if - (i32.eq - (get_local $10) - (i32.const 0) - ) - (return + (return + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.sub - (get_local $0) + (f64.const 1) + (f64.add (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) ) ) ) ) - (if - (i32.eq - (get_local $10) - (i32.const 1) + ) + ) + (return + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + ) + (func $std/math/test_acosh (; 50 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) - (set_local $14 - (f64.const -1) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) + (get_local $4) ) + (i32.const 1) ) ) + ) + (func "$(lib)/math/NativeMathf.log1p" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) (nop) - (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (block + (set_local $2 + (f32.const 0) + ) + (set_local $3 + (f32.const 0) + ) + ) + (set_local $4 + (i32.const 1) + ) (if - (i32.gt_s - (get_local $8) - (i32.const 1105199104) + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (get_local $1) + (i32.const 1054086096) + ) + ) + (get_local $5) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) ) (block (if - (i32.gt_s - (get_local $8) - (i32.const 1139802112) + (i32.ge_u + (get_local $1) + (i32.const -1082130432) ) (block (if - (i32.le_s - (get_local $7) - (i32.const 1072693247) + (f32.eq + (get_local $0) + (f32.const -1) ) (return - (if (result f64) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.const 1.e+300) - (f64.const 1.e+300) - ) - (f64.mul - (f64.const 1e-300) - (f64.const 1e-300) - ) + (f32.div + (get_local $0) + (f32.const 0) ) ) ) - (if - (i32.ge_s - (get_local $7) - (i32.const 1072693248) - ) - (return - (if (result f64) - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.const 1.e+300) - (f64.const 1.e+300) - ) - (f64.mul - (f64.const 1e-300) - (f64.const 1e-300) - ) - ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) ) ) ) ) (if - (i32.lt_s - (get_local $7) - (i32.const 1072693247) + (i32.lt_u + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.shl + (i32.const 864026624) + (i32.const 1) + ) ) (return - (if (result f64) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - ) + (get_local $0) ) ) (if - (i32.gt_s - (get_local $7) - (i32.const 1072693248) + (i32.le_u + (get_local $1) + (i32.const -1097468391) ) - (return - (if (result f64) - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) + (block + (set_local $4 + (i32.const 0) ) - ) - ) - (set_local $20 - (f64.sub - (get_local $12) - (f64.const 1) - ) - ) - (set_local $23 - (f64.mul - (f64.mul - (get_local $20) - (get_local $20) + (set_local $2 + (f32.const 0) ) - (f64.sub - (f64.const 0.5) - (f64.mul - (get_local $20) - (f64.sub - (f64.const 0.3333333333333333) - (f64.mul - (get_local $20) - (f64.const 0.25) - ) - ) - ) + (set_local $3 + (get_local $0) ) ) ) - (set_local $21 - (f64.mul - (f64.const 1.4426950216293335) - (get_local $20) - ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) ) - (set_local $22 - (f64.sub - (f64.mul - (get_local $20) - (f64.const 1.9259629911266174) - ) - (f64.mul - (get_local $23) - (f64.const 1.4426950408889634) - ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $4) + (block + (set_local $6 + (f32.add + (f32.const 1) + (get_local $0) ) ) - (set_local $15 - (f64.add - (get_local $21) - (get_local $22) + (set_local $5 + (i32.reinterpret/f32 + (get_local $6) ) ) - (set_local $15 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $15) - ) - (i64.const -4294967296) + (set_local $5 + (i32.add + (get_local $5) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) ) ) ) - (set_local $16 - (f64.sub - (get_local $22) - (f64.sub - (get_local $15) - (get_local $21) + (set_local $4 + (i32.sub + (i32.shr_u + (get_local $5) + (i32.const 23) ) + (i32.const 127) ) ) - ) - (block - (nop) - (set_local $25 - (i32.const 0) - ) (if (i32.lt_s - (get_local $7) - (i32.const 1048576) + (get_local $4) + (i32.const 25) ) (block - (set_local $12 - (f64.mul - (get_local $12) - (f64.const 9007199254740992) - ) - ) - (set_local $25 - (i32.sub - (get_local $25) - (i32.const 53) - ) - ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $12) + (set_local $2 + (if (result f32) + (i32.ge_s + (get_local $4) + (i32.const 2) + ) + (f32.sub + (f32.const 1) + (f32.sub + (get_local $6) + (get_local $0) + ) + ) + (f32.sub + (get_local $0) + (f32.sub + (get_local $6) + (f32.const 1) ) - (i64.const 32) ) ) ) + (set_local $2 + (f32.div + (get_local $2) + (get_local $6) + ) + ) + ) + (set_local $2 + (f32.const 0) ) ) - (set_local $25 + (set_local $5 (i32.add - (get_local $25) - (i32.sub - (i32.shr_s - (get_local $7) - (i32.const 20) - ) - (i32.const 1023) + (i32.and + (get_local $5) + (i32.const 8388607) ) + (i32.const 1060439283) ) ) - (set_local $24 - (i32.and - (get_local $7) - (i32.const 1048575) + (set_local $3 + (f32.sub + (f32.reinterpret/i32 + (get_local $5) + ) + (f32.const 1) ) ) - (set_local $7 - (i32.or - (get_local $24) - (i32.const 1072693248) + ) + ) + (set_local $7 + (f32.div + (get_local $3) + (f32.add + (f32.const 2) + (get_local $3) + ) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f32.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f32.mul + (get_local $9) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $9) + (f32.const 0.24279078841209412) ) ) - (if - (i32.le_s - (get_local $24) - (i32.const 235662) - ) - (set_local $11 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $24) - (i32.const 767610) - ) - (set_local $11 - (i32.const 1) - ) - (block - (set_local $11 - (i32.const 0) - ) - (set_local $25 - (i32.add - (get_local $25) - (i32.const 1) - ) - ) - (set_local $7 - (i32.sub - (get_local $7) - (i32.const 1048576) - ) - ) - ) + ) + ) + (set_local $11 + (f32.mul + (get_local $8) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $9) + (f32.const 0.2849878668785095) ) ) - (set_local $12 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 + ) + ) + (set_local $12 + (f32.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $3) + ) + (get_local $3) + ) + ) + (set_local $14 + (f32.convert_s/i32 + (get_local $4) + ) + ) + (return + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $7) + (f32.add + (get_local $13) (get_local $12) ) - (i64.const 4294967295) ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) + (f32.add + (f32.mul + (get_local $14) + (f32.const 9.05800061445916e-06) ) - (i64.const 32) + (get_local $2) ) ) + (get_local $13) ) + (get_local $3) ) - (set_local $32 - (select - (f64.const 1.5) - (f64.const 1) - (get_local $11) - ) + (f32.mul + (get_local $14) + (f32.const 0.6931381225585938) ) - (set_local $21 - (f64.sub - (get_local $12) - (get_local $32) + ) + ) + ) + (func "$(lib)/math/NativeMathf.log" (; 52 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $1) + (i32.const 8388608) + ) ) - ) - (set_local $22 - (f64.div - (f64.const 1) - (f64.add - (get_local $12) - (get_local $32) + (get_local $3) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) ) + (i32.const 1) ) ) - (set_local $26 - (f64.mul - (get_local $21) - (get_local $22) + (i32.const 1) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 0) ) - ) - (set_local $28 - (get_local $26) - ) - (set_local $28 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $28) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) ) - (i64.const -4294967296) ) ) ) - (set_local $30 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.add - (i32.or - (i32.shr_s - (get_local $7) - (i32.const 1) - ) - (i32.const 536870912) - ) - (i32.const 524288) - ) - (i32.shl - (get_local $11) - (i32.const 18) - ) - ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) ) - (i64.const 32) + (f32.const 0) ) ) ) - (set_local $31 - (f64.sub - (get_local $12) - (f64.sub - (get_local $30) - (get_local $32) - ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) ) ) - (set_local $29 - (f64.mul - (get_local $22) - (f64.sub - (f64.sub - (get_local $21) - (f64.mul - (get_local $28) - (get_local $30) - ) - ) - (f64.mul - (get_local $28) - (get_local $31) - ) - ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 33554432) ) ) - (set_local $27 - (f64.mul - (get_local $26) - (get_local $26) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) ) ) - (set_local $19 - (f64.mul - (f64.mul - (get_local $27) - (get_local $27) - ) - (f64.add - (f64.const 0.5999999999999946) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.4285714285785502) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.33333332981837743) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.272728123808534) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.23066074577556175) - (f64.mul - (get_local $27) - (f64.const 0.20697501780033842) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (set_local $19 - (f64.add - (get_local $19) - (f64.mul - (get_local $29) - (f64.add - (get_local $28) - (get_local $26) - ) - ) - ) - ) - (set_local $27 - (f64.mul - (get_local $28) - (get_local $28) - ) - ) - (set_local $30 - (f64.add - (f64.add - (f64.const 3) - (get_local $27) - ) - (get_local $19) - ) - ) - (set_local $30 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $30) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $31 - (f64.sub - (get_local $19) - (f64.sub - (f64.sub - (get_local $30) - (f64.const 3) - ) - (get_local $27) - ) - ) - ) - (set_local $21 - (f64.mul - (get_local $28) - (get_local $30) - ) - ) - (set_local $22 - (f64.add - (f64.mul - (get_local $29) - (get_local $30) - ) - (f64.mul - (get_local $31) - (get_local $26) - ) - ) - ) - (set_local $17 - (f64.add - (get_local $21) - (get_local $22) - ) - ) - (set_local $17 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $17) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $18 - (f64.sub - (get_local $22) - (f64.sub - (get_local $17) - (get_local $21) - ) - ) - ) - (set_local $33 - (f64.mul - (f64.const 0.9617967009544373) - (get_local $17) - ) - ) - (set_local $34 - (select - (f64.const 1.350039202129749e-08) - (f64.const 0) - (get_local $11) - ) - ) - (set_local $35 - (f64.add - (f64.add - (f64.mul - (f64.const -7.028461650952758e-09) - (get_local $17) - ) - (f64.mul - (get_local $18) - (f64.const 0.9617966939259756) - ) - ) - (get_local $34) - ) - ) - (set_local $20 - (f64.convert_s/i32 - (get_local $25) - ) - ) - (set_local $36 - (select - (f64.const 0.5849624872207642) - (f64.const 0) - (get_local $11) - ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) ) - (set_local $15 - (f64.add - (f64.add - (f64.add - (get_local $33) - (get_local $35) - ) - (get_local $36) - ) - (get_local $20) - ) + (return + (get_local $0) ) - (set_local $15 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $15) - ) - (i64.const -4294967296) - ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) ) - ) - (set_local $16 - (f64.sub - (get_local $35) - (f64.sub - (f64.sub - (f64.sub - (get_local $15) - (get_local $20) - ) - (get_local $36) - ) - (get_local $33) - ) + (return + (f32.const 0) ) ) ) ) - (set_local $37 - (get_local $1) - ) - (set_local $37 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $37) - ) - (i64.const -4294967296) + (set_local $1 + (i32.add + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) ) ) ) - (set_local $18 - (f64.add - (f64.mul - (f64.sub + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s (get_local $1) - (get_local $37) + (i32.const 23) ) - (get_local $15) + (i32.const 127) ) - (f64.mul + ) + ) + (set_local $1 + (i32.add + (i32.and (get_local $1) - (get_local $16) + (i32.const 8388607) ) + (i32.const 1060439283) ) ) - (set_local $17 - (f64.mul - (get_local $37) - (get_local $15) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) ) ) - (set_local $13 - (f64.add - (get_local $18) - (get_local $17) + (set_local $4 + (f32.sub + (get_local $0) + (f32.const 1) ) ) - (set_local $2 - (i64.reinterpret/f64 - (get_local $13) + (set_local $5 + (f32.div + (get_local $4) + (f32.add + (f32.const 2) + (get_local $4) + ) ) ) - (set_local $24 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 32) + (set_local $6 + (f32.mul + (get_local $5) + (get_local $5) + ) + ) + (set_local $7 + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $7) + (f32.const 0.24279078841209412) + ) ) ) ) - (set_local $38 - (i32.wrap/i64 - (get_local $2) + (set_local $9 + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $7) + (f32.const 0.2849878668785095) + ) + ) ) ) - (if - (i32.ge_s - (get_local $24) - (i32.const 1083179008) + (set_local $10 + (f32.add + (get_local $9) + (get_local $8) ) - (block - (if - (i32.ne - (i32.or - (i32.sub - (get_local $24) - (i32.const 1083179008) + ) + (set_local $11 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $4) + ) + (get_local $4) + ) + ) + (set_local $12 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (return + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $5) + (f32.add + (get_local $11) + (get_local $10) + ) ) - (get_local $38) - ) - (i32.const 0) - ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) + (f32.mul + (get_local $12) + (f32.const 9.05800061445916e-06) ) - (f64.const 1.e+300) ) + (get_local $11) ) + (get_local $4) ) - (if - (f64.gt - (f64.add - (get_local $18) - (f64.const 8.008566259537294e-17) - ) - (f64.sub - (get_local $13) - (get_local $17) - ) - ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - ) + (f32.mul + (get_local $12) + (f32.const 0.6931381225585938) ) ) - (if - (i32.ge_s - (i32.and - (get_local $24) - (i32.const 2147483647) + ) + ) + (func "$(lib)/math/NativeMathf.acosh" (; 53 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) ) - (i32.const 1083231232) ) - (block - (if - (i32.ne - (i32.or - (i32.sub - (get_local $24) - (i32.const -1064252416) - ) - (get_local $38) - ) - (i32.const 0) + ) + (return + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) + ) ) - (f64.const 1e-300) ) ) ) - (if - (f64.le - (get_local $18) - (f64.sub - (get_local $13) - (get_local $17) - ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) ) - (f64.const 1e-300) ) ) ) ) ) ) - (set_local $38 - (i32.and - (get_local $24) - (i32.const 2147483647) - ) - ) - (set_local $11 - (i32.sub - (i32.shr_s - (get_local $38) - (i32.const 20) + (return + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) ) - (i32.const 1023) + (f32.const 0.6931471824645996) ) ) - (set_local $25 - (i32.const 0) - ) - (if - (i32.gt_s - (get_local $38) - (i32.const 1071644672) + ) + (func $std/math/test_acoshf (; 54 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072693248) ) (block - (set_local $25 - (i32.add - (get_local $24) - (i32.shr_s - (i32.const 1048576) - (i32.add - (get_local $11) - (i32.const 1) - ) + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) ) ) ) - (set_local $11 - (i32.sub - (i32.shr_s - (i32.and - (get_local $25) - (i32.const 2147483647) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) ) - (i32.const 20) + (get_local $3) ) - (i32.const 1023) + (i32.const 0) ) - ) - (set_local $20 - (f64.const 0) - ) - (set_local $20 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.and - (get_local $25) - (i32.xor - (i32.shr_s - (i32.const 1048575) - (get_local $11) - ) - (i32.const -1) - ) - ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) - (i64.const 32) ) ) ) - (set_local $25 - (i32.shr_s - (i32.or - (i32.and - (get_local $25) - (i32.const 1048575) - ) - (i32.const 1048576) - ) - (i32.sub - (i32.const 20) - (get_local $11) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) ) ) ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block (if - (i32.lt_s - (get_local $24) - (i32.const 0) - ) - (set_local $25 - (i32.sub - (i32.const 0) - (get_local $25) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) ) + (i32.const 1) ) - ) - (set_local $17 - (f64.sub - (get_local $17) - (get_local $20) + (return + (get_local $0) ) ) - ) - ) - (set_local $20 - (f64.add - (get_local $18) - (get_local $17) - ) - ) - (set_local $20 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $20) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) ) - (i64.const -4294967296) ) ) ) - (set_local $21 + (set_local $4 (f64.mul - (get_local $20) - (f64.const 0.6931471824645996) - ) - ) - (set_local $22 - (f64.add - (f64.mul - (f64.sub - (get_local $18) - (f64.sub - (get_local $20) - (get_local $17) - ) + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) ) - (f64.const 0.6931471805599453) - ) - (f64.mul - (get_local $20) - (f64.const -1.904654299957768e-09) ) + (f64.const 0.5) ) ) - (set_local $13 - (f64.add - (get_local $21) - (get_local $22) + (set_local $5 + (f64.sqrt + (get_local $4) ) ) - (set_local $23 - (f64.sub - (get_local $22) - (f64.sub - (get_local $13) - (get_local $21) - ) + (set_local $6 + (call "$(lib)/math/NativeMath.__R" + (get_local $4) ) ) - (set_local $20 - (f64.mul - (get_local $13) - (get_local $13) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072640819) ) - ) - (set_local $15 - (f64.sub - (get_local $13) - (f64.mul - (get_local $20) - (f64.add - (f64.const 0.16666666666666602) + (set_local $0 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub (f64.mul - (get_local $20) + (f64.const 2) (f64.add - (f64.const -2.7777777777015593e-03) + (get_local $5) (f64.mul - (get_local $20) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $20) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $20) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) + (get_local $5) + (get_local $6) ) ) ) + (f64.const 6.123233995736766e-17) ) ) ) - ) - (set_local $19 - (f64.sub - (f64.div - (f64.mul - (get_local $13) - (get_local $15) - ) - (f64.sub - (get_local $15) - (f64.const 2) + (block + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $5) + ) + (i64.const -4294967296) + ) ) ) - (f64.add - (get_local $23) - (f64.mul - (get_local $13) - (get_local $23) + (set_local $8 + (f64.div + (f64.sub + (get_local $4) + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (f64.add + (get_local $5) + (get_local $7) + ) ) ) - ) - ) - (set_local $13 - (f64.sub - (f64.const 1) - (f64.sub - (get_local $19) - (get_local $13) - ) - ) - ) - (set_local $24 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $13) + (set_local $0 + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $5) + ) + (get_local $6) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (get_local $8) + ) + ) + ) + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.mul + (f64.const 2) + (get_local $7) + ) + ) + ) ) - (i64.const 32) - ) - ) - ) - (set_local $24 - (i32.add - (get_local $24) - (i32.shl - (get_local $25) - (i32.const 20) ) ) ) (if - (i32.le_s - (i32.shr_s - (get_local $24) - (i32.const 20) - ) - (i32.const 0) + (i32.shr_u + (get_local $1) + (i32.const 31) ) - (set_local $13 - (call "$(lib)/math/NativeMath.scalbn" - (get_local $13) - (get_local $25) + (return + (f64.neg + (get_local $0) ) ) - (set_local $13 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $13) + ) + (return + (get_local $0) + ) + ) + (func $std/math/test_asin (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asin" + (get_local $0) ) - (i64.const 4294967295) + (get_local $1) + (get_local $2) + (get_local $3) ) - (i64.shl - (i64.extend_u/i32 - (get_local $24) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) - (i64.const 32) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) + (i32.const 1) ) ) - (return - (f64.mul - (get_local $14) - (get_local $13) - ) - ) - ) - (func $std/math/test_pow (; 23 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) ) - (func "$(lib)/math/NativeMathf.pow" (; 24 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.asin" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 i32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) - (local $15 f32) - (local $16 f32) - (local $17 f32) - (local $18 f32) - (local $19 f32) - (local $20 f32) - (local $21 f32) - (local $22 f32) - (local $23 i32) - (local $24 i32) - (local $25 f32) - (local $26 f32) - (local $27 f32) - (local $28 f32) - (local $29 f32) - (local $30 f32) - (local $31 f32) - (local $32 f32) - (local $33 f32) - (local $34 f32) - (local $35 f32) - (local $36 i32) + (local $4 f32) + (local $5 f64) (nop) - (set_local $2 + (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $4 - (i32.and - (get_local $2) - (i32.const 2147483647) - ) - ) - (set_local $5 + (set_local $2 (i32.and - (get_local $3) + (get_local $1) (i32.const 2147483647) ) ) (if - (i32.eq - (get_local $5) - (i32.const 0) - ) - (return - (f32.const 1) - ) - ) - (if - (i32.eq + (i32.ge_u (get_local $2) (i32.const 1065353216) ) - (return - (f32.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.gt_s - (get_local $4) - (i32.const 2139095040) - ) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) ) - (get_local $6) - (i32.gt_s - (get_local $5) - (i32.const 2139095040) + (return + (f32.add + (f32.mul + (get_local $0) + (f32.const 1.5707963705062866) + ) + (f32.const 7.52316384526264e-37) + ) ) ) - (i32.const 1) - ) - (return - (f32.add - (get_local $0) - (get_local $1) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) ) ) ) - (set_local $7 - (i32.const 0) - ) (if - (i32.lt_s + (i32.lt_u (get_local $2) - (i32.const 0) + (i32.const 1056964608) ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1266679808) - ) - (set_local $7 - (i32.const 2) - ) + (block (if - (i32.ge_s - (get_local $5) - (i32.const 1065353216) - ) - (block - (set_local $9 - (i32.sub - (i32.shr_s - (get_local $5) - (i32.const 23) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 964689920) ) - (i32.const 127) ) - ) - (set_local $8 - (i32.shr_s - (get_local $5) - (i32.sub - (i32.const 23) - (get_local $9) - ) + (i32.ge_u + (get_local $2) + (i32.const 8388608) ) + (get_local $3) ) - (if - (i32.eq - (i32.shl - (get_local $8) - (i32.sub - (i32.const 23) - (get_local $9) - ) - ) - (get_local $5) - ) - (set_local $7 - (i32.sub - (i32.const 2) - (i32.and - (get_local $8) - (i32.const 1) - ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f32.add + (get_local $0) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) ) ) ) @@ -4173,43 +4160,43 @@ ) ) ) - (if - (i32.eq - (get_local $5) - (i32.const 2139095040) + (set_local $4 + (f32.mul + (f32.sub + (f32.const 1) + (f32.abs + (get_local $0) + ) + ) + (f32.const 0.5) ) - (if - (i32.eq + ) + (set_local $5 + (f64.sqrt + (f64.promote/f32 (get_local $4) - (i32.const 1065353216) - ) - (return - (f32.const 1) ) - (if - (i32.gt_s - (get_local $4) - (i32.const 1065353216) + ) + ) + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.promote/f32 + (f32.const 1.5707963705062866) ) - (return - (if (result f32) - (i32.ge_s - (get_local $3) - (i32.const 0) - ) - (get_local $1) - (f32.const 0) + (f64.mul + (f64.promote/f32 + (f32.const 2) ) - ) - (return - (if (result f32) - (i32.ge_s - (get_local $3) - (i32.const 0) - ) - (f32.const 0) - (f32.neg - (get_local $1) + (f64.add + (get_local $5) + (f64.mul + (get_local $5) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" + (get_local $4) + ) + ) ) ) ) @@ -4217,1148 +4204,1186 @@ ) ) (if - (i32.eq - (get_local $5) - (i32.const 1065353216) + (i32.shr_u + (get_local $1) + (i32.const 31) ) (return - (if (result f32) - (i32.ge_s - (get_local $3) - (i32.const 0) - ) + (f32.neg (get_local $0) - (f32.div - (f32.const 1) - (get_local $0) - ) ) ) ) - (if - (i32.eq - (get_local $3) - (i32.const 1073741824) - ) - (return - (f32.mul - (get_local $0) + (return + (get_local $0) + ) + ) + (func $std/math/test_asinf (; 58 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.asin" (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.eq - (get_local $3) - (i32.const 1056964608) + ) + (func "$(lib)/math/NativeMath.asinh" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) ) - (if - (i32.ge_s - (get_local $2) - (i32.const 0) - ) - (return - (f32.sqrt - (get_local $0) - ) + ) + (set_local $2 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) ) + (i64.const 2047) ) ) - (set_local $10 - (f32.abs - (get_local $0) + (set_local $3 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) ) ) - (nop) (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $4) - (i32.const 2139095040) + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 1) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) ) - ) - (get_local $6) - (i32.eq - (get_local $4) - (i32.const 0) + (get_local $0) ) ) - (i32.const 1) - ) - ) - (get_local $6) - (i32.eq - (get_local $4) - (i32.const 1065353216) - ) - ) - (i32.const 1) - ) - (block - (set_local $11 - (get_local $10) - ) - (if - (i32.lt_s - (get_local $3) - (i32.const 0) - ) - (set_local $11 - (f32.div - (f32.const 1) - (get_local $11) ) ) ) (if - (i32.lt_s + (i64.ge_u (get_local $2) - (i32.const 0) + (i64.sub + (i64.const 1023) + (i64.const 26) + ) ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $4) - (i32.const 1065353216) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (f64.const 1) + ) ) - (get_local $7) ) - (i32.const 0) ) - (set_local $11 - (f32.div - (f32.sub - (get_local $11) - (get_local $11) - ) - (f32.sub - (get_local $11) - (get_local $11) - ) + ) + ) + ) + ) + (return + (if (result f64) + (i64.ne + (get_local $3) + (i64.const 0) + ) + (f64.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/math/test_asinh (; 60 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (if - (i32.eq - (get_local $7) + ) + (if (result i32) + (tee_local $4 + (i32.eqz (i32.const 1) ) - (set_local $11 - (f32.neg - (get_local $11) - ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asinh" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) - (return - (get_local $11) - ) + (i32.const 1) ) ) - (set_local $12 - (f32.const 1) + ) + (func "$(lib)/math/NativeMathf.asinh" (; 61 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $3 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (get_local $2) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) ) (if - (i32.lt_s + (i32.ge_u (get_local $2) - (i32.const 0) - ) - (block - (if - (i32.eq - (get_local $7) - (i32.const 0) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.sub - (get_local $0) - (get_local $0) - ) - ) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) ) ) - (if - (i32.eq - (get_local $7) - (i32.const 1) - ) - (set_local $12 - (f32.const -1) + ) + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) ) + (f32.const 0.6931471824645996) ) ) - ) - (nop) - (nop) - (if - (i32.gt_s - (get_local $5) - (i32.const 1291845632) - ) - (block - (if - (i32.lt_s - (get_local $4) - (i32.const 1065353208) + (if + (i32.ge_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) + ) ) - (return - (if (result f32) - (i32.lt_s - (get_local $3) - (i32.const 0) - ) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log" + (f32.add (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) + (f32.const 2) + (get_local $0) ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (get_local $0) ) - (f32.const 1.0000000031710769e-30) ) ) ) ) (if - (i32.gt_s - (get_local $4) - (i32.const 1065353223) - ) - (return - (if (result f32) - (i32.gt_s - (get_local $3) - (i32.const 0) - ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) + (i32.ge_u + (get_local $2) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) ) ) ) - ) - (set_local $17 - (f32.sub - (get_local $10) - (f32.const 1) - ) - ) - (set_local $20 - (f32.mul - (f32.mul - (get_local $17) - (get_local $17) - ) - (f32.sub - (f32.const 0.5) - (f32.mul - (get_local $17) - (f32.sub - (f32.const 0.3333333432674408) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (get_local $0) + (f32.div (f32.mul - (get_local $17) - (f32.const 0.25) + (get_local $0) + (get_local $0) + ) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (f32.const 1) ) ) ) ) ) ) - (set_local $18 - (f32.mul - (f32.const 1.44268798828125) - (get_local $17) - ) + ) + ) + (return + (if (result f32) + (get_local $3) + (f32.neg + (get_local $0) ) - (set_local $19 - (f32.sub - (f32.mul - (get_local $17) - (f32.const 7.052607543300837e-06) - ) - (f32.mul - (get_local $20) - (f32.const 1.4426950216293335) - ) - ) + (get_local $0) + ) + ) + ) + (func $std/math/test_asinhf (; 62 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.asinh" + (get_local $0) ) - (set_local $13 - (f32.add - (get_local $18) - (get_local $19) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 i32) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 32) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $13) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (nop) + (if + (i32.ge_u + (get_local $1) + (i32.const 1141899264) + ) + (block + (if + (f64.ne + (tee_local $4 + (get_local $0) + ) + (get_local $4) + ) + (return + (get_local $0) ) ) - (set_local $13 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + (set_local $3 + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) ) ) - (set_local $14 - (f32.sub - (get_local $19) - (f32.sub - (get_local $13) - (get_local $18) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) ) + (get_local $3) ) ) ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1071382528) + ) (block - (nop) - (set_local $23 - (i32.const 0) - ) (if - (i32.lt_s - (get_local $4) - (i32.const 8388608) - ) - (block - (set_local $10 - (f32.mul - (get_local $10) - (f32.const 16777216) - ) - ) - (set_local $23 - (i32.sub - (get_local $23) - (i32.const 24) - ) - ) - (set_local $4 - (i32.reinterpret/f32 - (get_local $10) - ) - ) + (i32.lt_u + (get_local $1) + (i32.const 1044381696) ) - ) - (set_local $23 - (i32.add - (get_local $23) - (i32.sub - (i32.shr_s - (get_local $4) - (i32.const 23) - ) - (i32.const 127) - ) + (return + (get_local $0) ) ) - (set_local $8 - (i32.and - (get_local $4) - (i32.const 8388607) - ) + (set_local $5 + (i32.const -1) ) - (set_local $4 - (i32.or - (get_local $8) - (i32.const 1065353216) + ) + (block + (set_local $0 + (f64.abs + (get_local $0) ) ) (if - (i32.le_s - (get_local $8) - (i32.const 1885297) - ) - (set_local $9 - (i32.const 0) + (i32.lt_u + (get_local $1) + (i32.const 1072889856) ) (if - (i32.lt_s - (get_local $8) - (i32.const 6140887) - ) - (set_local $9 - (i32.const 1) + (i32.lt_u + (get_local $1) + (i32.const 1072037888) ) (block - (set_local $9 + (set_local $5 (i32.const 0) ) - (set_local $23 - (i32.add - (get_local $23) - (i32.const 1) + (set_local $0 + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) + (get_local $0) + ) ) ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 8388608) + ) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) ) ) ) ) - ) - (set_local $10 - (f32.reinterpret/i32 - (get_local $4) + (if + (i32.lt_u + (get_local $1) + (i32.const 1073971200) + ) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f64.div + (f64.const -1) + (get_local $0) + ) + ) + ) ) ) - (set_local $30 - (select - (f32.const 1.5) - (f32.const 1) - (get_local $9) - ) - ) - (set_local $18 - (f32.sub - (get_local $10) - (get_local $30) - ) - ) - (set_local $19 - (f32.div - (f32.const 1) - (f32.add - (get_local $10) - (get_local $30) - ) - ) - ) - (set_local $16 - (f32.mul - (get_local $18) - (get_local $19) - ) - ) - (set_local $26 - (get_local $16) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $26) - ) - ) - (set_local $26 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) - ) - ) - (set_local $24 - (i32.or - (i32.and - (i32.shr_s - (get_local $4) - (i32.const 1) + ) + ) + (set_local $3 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $6 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (set_local $7 + (f64.mul + (get_local $3) + (f64.add + (f64.const 0.3333333333333293) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.14285714272503466) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $6) + (f64.const 0.016285820115365782) + ) + ) + ) + ) + ) + ) ) - (i32.const -4096) ) - (i32.const 536870912) ) ) - (set_local $28 - (f32.reinterpret/i32 - (i32.add - (i32.add - (get_local $24) - (i32.const 4194304) - ) - (i32.shl - (get_local $9) - (i32.const 21) + ) + ) + (set_local $8 + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.19999999999876483) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.0769187620504483) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $6) + (f64.const -0.036531572744216916) + ) + ) + ) + ) ) ) ) ) - (set_local $29 - (f32.sub - (get_local $10) - (f32.sub - (get_local $28) - (get_local $30) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (return + (f64.sub + (get_local $0) + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) ) ) ) - (set_local $27 - (f32.mul - (get_local $19) - (f32.sub - (f32.sub - (get_local $18) - (f32.mul - (get_local $26) - (get_local $28) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) + ) ) + (br $case4|0) ) - (f32.mul - (get_local $26) - (get_local $29) + (block + (set_local $3 + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 2.2698777452961687e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) ) ) - ) - ) - (set_local $25 - (f32.mul - (get_local $16) - (get_local $16) - ) - ) - (set_local $15 - (f32.mul - (f32.mul - (get_local $25) - (get_local $25) - ) - (f32.add - (f32.const 0.6000000238418579) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.4285714328289032) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.3333333432674408) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.2727281153202057) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.23066075146198273) - (f32.mul - (get_local $25) - (f32.const 0.20697501301765442) - ) - ) - ) + (block + (set_local $3 + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) ) ) + (f64.const 3.061616997868383e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) ) - ) - (set_local $15 - (f32.add - (get_local $15) - (f32.mul - (get_local $27) - (f32.add - (get_local $26) - (get_local $16) + (block + (set_local $3 + (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 1.3903311031230998e-17) + ) + (get_local $0) + ) ) ) + (br $break|0) ) ) - (set_local $25 - (f32.mul - (get_local $26) - (get_local $26) - ) - ) - (set_local $28 - (f32.add - (f32.add - (f32.const 3) - (get_local $25) + (block + (set_local $3 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 6.123233995736766e-17) + ) + (get_local $0) + ) ) - (get_local $15) - ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $28) ) + (br $break|0) ) - (set_local $28 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) - ) + ) + (unreachable) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) ) - (set_local $29 - (f32.sub - (get_local $15) - (f32.sub - (f32.sub - (get_local $28) - (f32.const 3) + (get_local $3) + ) + ) + ) + (func $std/math/test_atan (; 64 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.atan" + (get_local $0) ) - (get_local $25) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - ) - (set_local $18 - (f32.mul - (get_local $26) - (get_local $28) - ) - ) - (set_local $19 - (f32.add - (f32.mul - (get_local $27) - (get_local $28) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) ) - (f32.mul - (get_local $29) - (get_local $16) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.atan" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) - (set_local $21 - (f32.add - (get_local $18) - (get_local $19) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.atan" (; 65 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 i32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (nop) + (if + (i32.ge_u + (get_local $1) + (i32.const 1283457024) + ) + (block + (if + (f32.ne + (tee_local $4 + (get_local $0) + ) + (get_local $4) ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $21) + (return + (get_local $0) ) ) - (set_local $21 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) + (set_local $3 + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) ) - (set_local $22 - (f32.sub - (get_local $19) - (f32.sub - (get_local $21) - (get_local $18) + (return + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) ) + (get_local $3) ) ) - (set_local $31 - (f32.mul - (f32.const 0.9619140625) - (get_local $21) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1054867456) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 964689920) ) - ) - (set_local $32 - (select - (f32.const 1.5632208487659227e-06) - (f32.const 0) - (get_local $9) + (return + (get_local $0) ) ) - (set_local $33 - (f32.add - (f32.add - (f32.mul - (f32.const -1.1736857413779944e-04) - (get_local $21) - ) - (f32.mul - (get_local $22) - (f32.const 0.9617967009544373) - ) - ) - (get_local $32) - ) + (set_local $5 + (i32.const -1) ) - (set_local $17 - (f32.convert_s/i32 - (get_local $23) + ) + (block + (set_local $0 + (f32.abs + (get_local $0) ) ) - (set_local $34 - (select - (f32.const 0.5849609375) - (f32.const 0) - (get_local $9) + (if + (i32.lt_u + (get_local $1) + (i32.const 1066926080) ) - ) - (set_local $13 - (f32.add - (f32.add - (f32.add - (get_local $31) - (get_local $33) + (if + (i32.lt_u + (get_local $1) + (i32.const 1060110336) + ) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $0 + (f32.div + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.const 1) + ) + (f32.add + (f32.const 2) + (get_local $0) + ) + ) ) - (get_local $34) ) - (get_local $17) - ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $13) - ) - ) - (set_local $13 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f32.div + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.add + (get_local $0) + (f32.const 1) + ) + ) + ) ) ) - ) - (set_local $14 - (f32.sub - (get_local $33) - (f32.sub - (f32.sub - (f32.sub - (get_local $13) - (get_local $17) + (if + (i32.lt_u + (get_local $1) + (i32.const 1075576832) + ) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f32.div + (f32.sub + (get_local $0) + (f32.const 1.5) + ) + (f32.add + (f32.const 1) + (f32.mul + (f32.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f32.div + (f32.const -1) + (get_local $0) ) - (get_local $34) ) - (get_local $31) ) ) ) ) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $1) + (set_local $3 + (f32.mul + (get_local $0) + (get_local $0) ) ) - (set_local $35 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) + (set_local $6 + (f32.mul + (get_local $3) + (get_local $3) ) ) - (set_local $22 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (get_local $35) + (set_local $7 + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.333333283662796) + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.14253635704517365) + (f32.mul + (get_local $6) + (f32.const 0.06168760731816292) + ) + ) ) - (get_local $13) - ) - (f32.mul - (get_local $1) - (get_local $14) ) ) ) - (set_local $21 - (f32.mul - (get_local $35) - (get_local $13) - ) - ) - (set_local $11 - (f32.add - (get_local $22) - (get_local $21) - ) - ) (set_local $8 - (i32.reinterpret/f32 - (get_local $11) + (f32.mul + (get_local $6) + (f32.add + (f32.const -0.19999158382415771) + (f32.mul + (get_local $6) + (f32.const -0.106480173766613) + ) + ) ) ) (if - (i32.gt_s - (get_local $8) - (i32.const 1124073472) + (i32.lt_s + (get_local $5) + (i32.const 0) ) (return - (f32.mul + (f32.sub + (get_local $0) (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - ) - (if - (i32.eq - (get_local $8) - (i32.const 1124073472) - ) - (if - (f32.gt + (get_local $0) (f32.add - (get_local $22) - (f32.const 4.299566569443414e-08) - ) - (f32.sub - (get_local $11) - (get_local $21) - ) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) + (get_local $7) + (get_local $8) ) ) ) - (if - (i32.gt_s - (i32.and - (get_local $8) - (i32.const 2147483647) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) + ) + ) + (br $case4|0) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.46364760398864746) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 5.01215824399992e-09) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) ) - (i32.const 1125515264) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) + (block + (set_local $3 + (f32.sub + (f32.const 0.7853981256484985) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.774894707930798e-08) + ) + (get_local $0) + ) + ) ) - (f32.const 1.0000000031710769e-30) + (br $break|0) ) ) - (if - (i32.eq - (get_local $8) - (i32.const -1021968384) - ) - (if - (f32.le - (get_local $22) + (block + (set_local $3 + (f32.sub + (f32.const 0.9827936887741089) (f32.sub - (get_local $11) - (get_local $21) + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.447321716976148e-08) + ) + (get_local $0) ) ) - (return - (f32.mul + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (f32.sub (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) ) - (f32.const 1.0000000031710769e-30) + (f32.const 7.549789415861596e-08) ) + (get_local $0) ) ) ) + (br $break|0) ) ) + (unreachable) ) - (set_local $36 - (i32.and - (get_local $8) - (i32.const 2147483647) + (return + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) + ) + (get_local $3) ) ) - (set_local $9 - (i32.sub - (i32.shr_s - (get_local $36) - (i32.const 23) + ) + (func $std/math/test_atanf (; 66 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) ) - (i32.const 127) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (set_local $23 - (i32.const 0) - ) - (if - (i32.gt_s - (get_local $36) - (i32.const 1056964608) - ) - (block - (set_local $23 - (i32.add - (get_local $8) - (i32.shr_s - (i32.const 8388608) - (i32.add - (get_local $9) - (i32.const 1) - ) - ) - ) - ) - (set_local $9 - (i32.sub - (i32.shr_s - (i32.and - (get_local $23) - (i32.const 2147483647) - ) - (i32.const 23) - ) - (i32.const 127) - ) - ) - (set_local $17 - (f32.reinterpret/i32 - (i32.and - (get_local $23) - (i32.xor - (i32.shr_s - (i32.const 8388607) - (get_local $9) - ) - (i32.const -1) - ) - ) - ) - ) - (set_local $23 - (i32.shr_s - (i32.or - (i32.and - (get_local $23) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (i32.sub - (i32.const 23) - (get_local $9) - ) - ) - ) - (if - (i32.lt_s - (get_local $8) - (i32.const 0) - ) - (set_local $23 - (i32.sub - (i32.const 0) - (get_local $23) - ) - ) - ) - (set_local $21 - (f32.sub - (get_local $21) - (get_local $17) - ) - ) - ) - ) - (set_local $17 - (f32.add - (get_local $22) - (get_local $21) - ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $17) - ) - ) - (set_local $17 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -32768) - ) - ) - ) - (set_local $18 - (f32.mul - (get_local $17) - (f32.const 0.693145751953125) - ) - ) - (set_local $19 - (f32.add - (f32.mul - (f32.sub - (get_local $22) - (f32.sub - (get_local $17) - (get_local $21) - ) - ) - (f32.const 0.6931471824645996) - ) - (f32.mul - (get_local $17) - (f32.const 1.4286065379565116e-06) - ) - ) - ) - (set_local $11 - (f32.add - (get_local $18) - (get_local $19) - ) - ) - (set_local $20 - (f32.sub - (get_local $19) - (f32.sub - (get_local $11) - (get_local $18) - ) - ) - ) - (set_local $17 - (f32.mul - (get_local $11) - (get_local $11) - ) - ) - (set_local $13 - (f32.sub - (get_local $11) - (f32.mul - (get_local $17) - (f32.add - (f32.const 0.1666666716337204) - (f32.mul - (get_local $17) - (f32.add - (f32.const -2.7777778450399637e-03) - (f32.mul - (get_local $17) - (f32.add - (f32.const 6.61375597701408e-05) - (f32.mul - (get_local $17) - (f32.add - (f32.const -1.6533901998627698e-06) - (f32.mul - (get_local $17) - (f32.const 4.138136944220605e-08) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (set_local $15 - (f32.sub - (f32.div - (f32.mul - (get_local $11) - (get_local $13) - ) - (f32.sub - (get_local $13) - (f32.const 2) - ) - ) - (f32.add - (get_local $20) - (f32.mul - (get_local $11) - (get_local $20) - ) - ) - ) - ) - (set_local $11 - (f32.sub - (f32.const 1) - (f32.sub - (get_local $15) - (get_local $11) - ) - ) - ) - (set_local $8 - (i32.reinterpret/f32 - (get_local $11) - ) - ) - (set_local $8 - (i32.add - (get_local $8) - (i32.shl - (get_local $23) - (i32.const 23) - ) - ) - ) - (if - (i32.le_s - (i32.shr_s - (get_local $8) - (i32.const 23) - ) - (i32.const 0) - ) - (set_local $11 - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $11) - (get_local $23) - ) - ) - (set_local $11 - (f32.reinterpret/i32 - (get_local $8) - ) - ) - ) - (return - (f32.mul - (get_local $12) - (get_local $11) - ) - ) - ) - (func $std/math/test_powf (; 25 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.pow" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 26 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 67 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 f64) @@ -5577,25 +5602,44 @@ (get_local $3) ) ) - (func $std/math/test_cbrt (; 27 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.cbrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - (call $std/math/check - (call "$(lib)/math/JSMath.cbrt" - (get_local $0) + (func $std/math/test_cbrt (; 68 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cbrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cbrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 28 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 69 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f64) @@ -5770,3658 +5814,30845 @@ ) ) ) - (func $std/math/test_cbrtf (; 29 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.cbrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMath.murmurHash3" (; 30 ;) (type $II) (param $0 i64) (result i64) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u + (func $std/math/test_cbrtf (; 70 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.cbrt" (get_local $0) - (i64.const 33) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (set_local $0 - (i64.mul + ) + (func "$(lib)/math/NativeMath.expm1" (; 71 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 i32) + (nop) + (set_local $1 + (i64.reinterpret/f64 (get_local $0) - (i64.const -49064778989728563) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + (i64.const 2147483647) ) ) ) - (set_local $0 - (i64.mul - (get_local $0) - (i64.const -4265267296055464877) + (block + (set_local $3 + (i32.const 0) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (if + (i32.ge_u + (get_local $2) + (i32.const 1078159482) + ) + (block + (if + (f64.ne + (tee_local $5 + (get_local $0) + ) + (get_local $5) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $4) + (return + (f64.const -1) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) + ) + ) ) ) ) - (return - (get_local $0) + (set_local $6 + (f64.const 0) ) - ) - (func "$(lib)/math/NativeMath.seedRandom" (; 31 ;) (type $Iv) (param $0 i64) (if - (i64.eqz - (get_local $0) + (i32.gt_u + (get_local $2) + (i32.const 1071001154) ) (block - (call $abort - (i32.const 0) - (i32.const 32) - (i32.const 613) - (i32.const 4) + (nop) + (if + (i32.lt_u + (get_local $2) + (i32.const 1072734898) + ) + (if + (i32.eqz + (get_local $4) + ) + (block + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (set_local $8 + (f64.const 1.9082149292705877e-10) + ) + (set_local $3 + (i32.const 1) + ) + ) + (block + (set_local $5 + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) + ) + ) + (set_local $8 + (f64.neg + (f64.const 1.9082149292705877e-10) + ) + ) + (set_local $3 + (i32.const -1) + ) + ) + ) + (block + (set_local $3 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (if (result f64) + (get_local $4) + (f64.const -0.5) + (f64.const 0.5) + ) + ) + ) + ) + (set_local $7 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.mul + (get_local $7) + (f64.const 0.6931471803691238) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $5) + (get_local $8) + ) + ) + (set_local $6 + (f64.sub + (f64.sub + (get_local $5) + (get_local $0) + ) + (get_local $8) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1016070144) + ) + (return + (get_local $0) ) - (unreachable) ) ) - (set_global "$(lib)/math/NativeMath.random_seeded" - (i32.const 1) - ) - (set_global "$(lib)/math/NativeMath.random_state0" - (call "$(lib)/math/NativeMath.murmurHash3" + (set_local $9 + (f64.mul + (f64.const 0.5) (get_local $0) ) ) - (set_global "$(lib)/math/NativeMath.random_state1" - (call "$(lib)/math/NativeMath.murmurHash3" - (get_global "$(lib)/math/NativeMath.random_state0") + (set_local $10 + (f64.mul + (get_local $0) + (get_local $9) ) ) - ) - (func "$(lib)/math/NativeMath.xorShift128Plus" (; 32 ;) (type $I) (result i64) - (local $0 i64) - (local $1 i64) - (set_local $0 - (get_global "$(lib)/math/NativeMath.random_state0") - ) - (set_local $1 - (get_global "$(lib)/math/NativeMath.random_state1") + (set_local $11 + (f64.add + (f64.const 1) + (f64.mul + (get_local $10) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $10) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $10) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $10) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $10) + (f64.const -2.0109921818362437e-07) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) ) - (set_global "$(lib)/math/NativeMath.random_state0" - (get_local $1) + (set_local $7 + (f64.sub + (f64.const 3) + (f64.mul + (get_local $11) + (get_local $9) + ) + ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shl + (set_local $12 + (f64.mul + (get_local $10) + (f64.div + (f64.sub + (get_local $11) + (get_local $7) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $7) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 0) + ) + (return + (f64.sub (get_local $0) - (i64.const 23) + (f64.sub + (f64.mul + (get_local $0) + (get_local $12) + ) + (get_local $10) + ) ) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u + (set_local $12 + (f64.sub + (f64.mul (get_local $0) - (i64.const 17) + (f64.sub + (get_local $12) + (get_local $6) + ) ) + (get_local $6) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (get_local $1) + (set_local $12 + (f64.sub + (get_local $12) + (get_local $10) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $1) - (i64.const 26) + (if + (i32.eq + (get_local $3) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.sub + (get_local $0) + (get_local $12) + ) + ) + (f64.const 0.5) ) ) ) - (set_global "$(lib)/math/NativeMath.random_state1" - (get_local $0) + (if + (i32.eq + (get_local $3) + (i32.const 1) + ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) + ) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $12) + (f64.add + (get_local $0) + (f64.const 0.5) + ) + ) + ) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (get_local $12) + ) + ) + ) + ) + ) ) - (return - (i64.add + (set_local $1 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) + ) + ) + (i64.const 52) + ) + ) + (set_local $13 + (f64.reinterpret/i64 (get_local $1) - (get_local $0) ) ) - ) - (func "$(lib)/math/NativeMath.random" (; 33 ;) (type $F) (result f64) - (local $0 i64) (nop) (if - (i32.eqz - (get_global "$(lib)/math/NativeMath.random_seeded") + (i32.and + (if (result i32) + (tee_local $15 + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + ) + (get_local $15) + (i32.gt_s + (get_local $3) + (i32.const 56) + ) + ) + (i32.const 1) ) - (unreachable) - ) - (set_local $0 - (i64.or - (i64.and - (call "$(lib)/math/NativeMath.xorShift128Plus") - (i64.const 4503599627370495) + (block + (set_local $14 + (f64.add + (f64.sub + (get_local $0) + (get_local $12) + ) + (f64.const 1) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1024) + ) + (set_local $14 + (f64.mul + (f64.mul + (get_local $14) + (f64.const 2) + ) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $14 + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (return + (f64.sub + (get_local $14) + (f64.const 1) + ) ) - (i64.const 4607182418800017408) ) ) - (return - (f64.sub - (f64.reinterpret/i64 - (get_local $0) + (set_local $1 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) + ) ) - (f64.const 1) + (i64.const 52) ) ) - ) - (func $start (; 34 ;) (type $v) - (local $0 i32) - (local $1 f64) - (local $2 i32) (if - (i32.eqz - (f64.eq - (f64.const 2.718281828459045) - (f64.const 2.718281828459045) - ) + (i32.lt_s + (get_local $3) + (i32.const 20) ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 4) - (i32.const 0) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (get_local $12) + ) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + (get_local $13) + ) + ) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $12) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + (f64.const 1) + ) + (get_local $13) ) - (unreachable) ) ) - (call $std/math/test_fmod - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const -3.531185829902812) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 4.345239849338305) - (f64.const 0) - (i32.const 0) + (return + (get_local $14) ) - (call $std/math/test_fmod - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) - (f64.const 0) - (i32.const 0) + ) + (func "$(lib)/math/NativeMath.exp" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) ) - (call $std/math/test_fmod - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) - (f64.const 0) - (i32.const 0) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) ) - (call $std/math/test_fmod - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 4.45566488261279) - (f64.const 0) - (i32.const 0) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) ) - (call $std/math/test_fmod - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) - (f64.const 0) - (i32.const 0) + (if + (i32.ge_u + (get_local $1) + (i32.const 1082532651) + ) + (block + (if + (f64.ne + (tee_local $3 + (get_local $0) + ) + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) + ) + ) + ) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) + ) + ) + ) ) - (call $std/math/test_fmod - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) + (set_local $5 (f64.const 0) - (i32.const 0) ) - (call $std/math/test_fmod - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const -0.792054511984896) - (f64.const 0) + (set_local $6 (i32.const 0) ) - (call $std/math/test_fmod - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) - (f64.const 0) - (i32.const 0) + (if + (i32.gt_u + (get_local $1) + (i32.const 1071001154) + ) + (block + (if + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (set_local $6 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) + ) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.sub + (i32.const 1) + (get_local $2) + ) + (get_local $2) + ) + ) + ) + (set_local $4 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (get_local $6) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (set_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $6) + ) + (f64.const 1.9082149292705877e-10) + ) + ) + (set_local $0 + (f64.sub + (get_local $4) + (get_local $5) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1043333120) + ) + (set_local $4 + (get_local $0) + ) + (return + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) ) - (call $std/math/test_fmod - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) - (f64.const 0) - (i32.const 0) + (set_local $7 + (f64.mul + (get_local $0) + (get_local $0) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (set_local $8 + (f64.sub + (get_local $0) + (f64.mul + (get_local $7) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $7) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $7) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $7) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $7) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.add + (f64.const 1) + (f64.add + (f64.sub + (f64.div + (f64.mul + (get_local $0) + (get_local $8) + ) + (f64.sub + (f64.const 2) + (get_local $8) + ) + ) + (get_local $5) + ) + (get_local $4) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (return + (get_local $9) + ) + ) + (return + (call "$(lib)/math/NativeMath.scalbn" + (get_local $9) + (get_local $6) + ) + ) + ) + (func "$(lib)/math/NativeMath.__expo2" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (nop) + (set_local $1 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.shl + (i32.add + (i32.const 1023) + (i32.div_u + (i32.const 2043) + (i32.const 2) + ) + ) + (i32.const 20) + ) + ) + (i64.const 32) + ) + ) + ) + (return + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) + ) + ) + (get_local $1) + ) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMath.cosh" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $2) + (i32.const 1072049730) + ) + (block + (if + (i32.lt_u + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (set_local $3 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (get_local $3) + (get_local $3) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1082535490) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (return + (f64.mul + (f64.const 0.5) + (f64.add + (get_local $3) + (f64.div + (f64.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + (set_local $3 + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/math/test_cosh (; 75 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.expm1" (; 76 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $3 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1100331076) + ) + (block + (if + (i32.gt_u + (get_local $2) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) + (if + (get_local $3) + (return + (f32.const -1) + ) + ) + (if + (f32.gt + (get_local $0) + (f32.const 88.7216796875) + ) + (block + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1701411834604692317316873e14) + ) + ) + (return + (get_local $0) + ) + ) + ) + ) + ) + (set_local $4 + (f32.const 0) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1051816472) + ) + (block + (nop) + (if + (i32.lt_u + (get_local $2) + (i32.const 1065686418) + ) + (if + (i32.eqz + (get_local $3) + ) + (block + (set_local $7 + (f32.sub + (get_local $0) + (f32.const 0.6931381225585938) + ) + ) + (set_local $8 + (f32.const 9.05800061445916e-06) + ) + (set_local $6 + (i32.const 1) + ) + ) + (block + (set_local $7 + (f32.add + (get_local $0) + (f32.const 0.6931381225585938) + ) + ) + (set_local $8 + (f32.neg + (f32.const 9.05800061445916e-06) + ) + ) + (set_local $6 + (i32.const -1) + ) + ) + ) + (block + (set_local $6 + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) + (get_local $0) + ) + (if (result f32) + (get_local $3) + (f32.const -0.5) + (f32.const 0.5) + ) + ) + ) + ) + (set_local $5 + (f32.convert_s/i32 + (get_local $6) + ) + ) + (set_local $7 + (f32.sub + (get_local $0) + (f32.mul + (get_local $5) + (f32.const 0.6931381225585938) + ) + ) + ) + (set_local $8 + (f32.mul + (get_local $5) + (f32.const 9.05800061445916e-06) + ) + ) + ) + ) + (set_local $0 + (f32.sub + (get_local $7) + (get_local $8) + ) + ) + (set_local $4 + (f32.sub + (f32.sub + (get_local $7) + (get_local $0) + ) + (get_local $8) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 855638016) + ) + (return + (get_local $0) + ) + (set_local $6 + (i32.const 0) + ) + ) + ) + (set_local $9 + (f32.mul + (f32.const 0.5) + (get_local $0) + ) + ) + (set_local $10 + (f32.mul + (get_local $0) + (get_local $9) + ) + ) + (set_local $11 + (f32.add + (f32.const 1) + (f32.mul + (get_local $10) + (f32.add + (f32.const -0.03333321213722229) + (f32.mul + (get_local $10) + (f32.const 1.5807170420885086e-03) + ) + ) + ) + ) + ) + (set_local $5 + (f32.sub + (f32.const 3) + (f32.mul + (get_local $11) + (get_local $9) + ) + ) + ) + (set_local $12 + (f32.mul + (get_local $10) + (f32.div + (f32.sub + (get_local $11) + (get_local $5) + ) + (f32.sub + (f32.const 6) + (f32.mul + (get_local $0) + (get_local $5) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (return + (f32.sub + (get_local $0) + (f32.sub + (f32.mul + (get_local $0) + (get_local $12) + ) + (get_local $10) + ) + ) + ) + ) + (set_local $12 + (f32.sub + (f32.mul + (get_local $0) + (f32.sub + (get_local $12) + (get_local $4) + ) + ) + (get_local $4) + ) + ) + (set_local $12 + (f32.sub + (get_local $12) + (get_local $10) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const -1) + ) + (return + (f32.sub + (f32.mul + (f32.const 0.5) + (f32.sub + (get_local $0) + (get_local $12) + ) + ) + (f32.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 1) + ) + (block + (if + (f32.lt + (get_local $0) + (f32.const -0.25) + ) + (return + (f32.mul + (f32.const -2) + (f32.sub + (get_local $12) + (f32.add + (get_local $0) + (f32.const 0.5) + ) + ) + ) + ) + ) + (return + (f32.add + (f32.const 1) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (get_local $12) + ) + ) + ) + ) + ) + ) + (set_local $1 + (i32.shl + (i32.add + (i32.const 127) + (get_local $6) + ) + (i32.const 23) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $15 + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + ) + (get_local $15) + (i32.gt_s + (get_local $6) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $14 + (f32.add + (f32.sub + (get_local $0) + (get_local $12) + ) + (f32.const 1) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 128) + ) + (set_local $14 + (f32.mul + (f32.mul + (get_local $14) + (f32.const 2) + ) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $14 + (f32.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (return + (f32.sub + (get_local $14) + (f32.const 1) + ) + ) + ) + ) + (set_local $1 + (i32.shl + (i32.sub + (i32.const 127) + (get_local $6) + ) + (i32.const 23) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.const 23) + ) + (set_local $14 + (f32.mul + (f32.add + (f32.sub + (get_local $0) + (get_local $12) + ) + (f32.sub + (f32.const 1) + (f32.reinterpret/i32 + (get_local $1) + ) + ) + ) + (get_local $13) + ) + ) + (set_local $14 + (f32.mul + (f32.add + (f32.sub + (get_local $0) + (f32.add + (get_local $12) + (f32.reinterpret/i32 + (get_local $1) + ) + ) + ) + (f32.const 1) + ) + (get_local $13) + ) + ) + ) + (return + (get_local $14) + ) + ) + (func "$(lib)/math/NativeMathf.exp" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1118743632) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.ge_u + (get_local $1) + (i32.const 1118925336) + ) + ) + (i32.eqz + (get_local $2) + ) + (get_local $3) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1701411834604692317316873e14) + ) + ) + (return + (get_local $0) + ) + ) + ) + (if + (if (result i32) + (get_local $2) + (i32.ge_u + (get_local $1) + (i32.const 1120924085) + ) + (get_local $2) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_u + (get_local $1) + (i32.const 1051816472) + ) + (block + (if + (i32.gt_u + (get_local $1) + (i32.const 1065686418) + ) + (set_local $6 + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) + (get_local $0) + ) + (f32.copysign + (f32.const 0.5) + (get_local $0) + ) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.sub + (i32.const 1) + (get_local $2) + ) + (get_local $2) + ) + ) + ) + (set_local $4 + (f32.sub + (get_local $0) + (f32.mul + (f32.convert_s/i32 + (get_local $6) + ) + (f32.const 0.693145751953125) + ) + ) + ) + (set_local $5 + (f32.mul + (f32.convert_s/i32 + (get_local $6) + ) + (f32.const 1.428606765330187e-06) + ) + ) + (set_local $0 + (f32.sub + (get_local $4) + (get_local $5) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 956301312) + ) + (block + (set_local $6 + (i32.const 0) + ) + (set_local $4 + (get_local $0) + ) + (set_local $5 + (f32.const 0) + ) + ) + (return + (f32.add + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (set_local $7 + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $8 + (f32.sub + (get_local $0) + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.16666625440120697) + (f32.mul + (get_local $7) + (f32.const -2.7667332906275988e-03) + ) + ) + ) + ) + ) + (set_local $9 + (f32.add + (f32.const 1) + (f32.add + (f32.sub + (f32.div + (f32.mul + (get_local $0) + (get_local $8) + ) + (f32.sub + (f32.const 2) + (get_local $8) + ) + ) + (get_local $5) + ) + (get_local $4) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (return + (get_local $9) + ) + ) + (return + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $9) + (get_local $6) + ) + ) + ) + (func "$(lib)/math/NativeMathf.__expo2" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (nop) + (set_local $1 + (f32.reinterpret/i32 + (i32.shl + (i32.add + (i32.const 127) + (i32.div_u + (i32.const 235) + (i32.const 2) + ) + ) + (i32.const 23) + ) + ) + ) + (return + (f32.mul + (f32.mul + (call "$(lib)/math/NativeMathf.exp" + (f32.sub + (get_local $0) + (f32.const 162.88958740234375) + ) + ) + (get_local $1) + ) + (get_local $1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.cosh" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1060205079) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (f32.const 1) + ) + ) + (set_local $2 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) + ) + ) + (return + (f32.add + (f32.const 1) + (f32.div + (f32.mul + (get_local $2) + (get_local $2) + ) + (f32.mul + (f32.const 2) + (f32.add + (f32.const 1) + (get_local $2) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1118925335) + ) + (block + (set_local $2 + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) + ) + ) + (return + (f32.mul + (f32.const 0.5) + (f32.add + (get_local $2) + (f32.div + (f32.const 1) + (get_local $2) + ) + ) + ) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $0) + ) + ) + ) + (func $std/math/test_coshf (; 80 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func $std/math/test_exp (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func $std/math/test_expf (; 82 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func $std/math/test_expm1 (; 83 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func $std/math/test_expm1f (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.hypot" (; 85 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i64) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $2 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + (if + (i64.lt_u + (get_local $2) + (get_local $3) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $2 + (get_local $3) + ) + (set_local $3 + (get_local $4) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (get_local $3) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 2047) + ) + (return + (get_local $1) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $2) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2047) + ) + ) + (get_local $7) + (i64.eq + (get_local $3) + (i64.const 0) + ) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (if + (i32.gt_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 64) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $8 + (f64.const 1) + ) + (if + (i32.gt_s + (get_local $5) + (i32.add + (i32.const 1023) + (i32.const 510) + ) + ) + (block + (set_local $8 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 1.90109156629516e-211) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) + ) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.sub + (i32.const 1023) + (i32.const 450) + ) + ) + (block + (set_local $8 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) + ) + ) + ) + ) + ) + (set_local $9 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $0) + (get_local $9) + ) + (get_local $9) + ) + ) + (set_local $11 + (f64.sub + (get_local $0) + (get_local $10) + ) + ) + (set_local $12 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $13 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) + ) + (get_local $12) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) + ) + (get_local $11) + ) + ) + (f64.mul + (get_local $11) + (get_local $11) + ) + ) + ) + (set_local $9 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $1) + (get_local $9) + ) + (get_local $9) + ) + ) + (set_local $11 + (f64.sub + (get_local $1) + (get_local $10) + ) + ) + (set_local $14 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) + ) + (get_local $14) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) + ) + (get_local $11) + ) + ) + (f64.mul + (get_local $11) + (get_local $11) + ) + ) + ) + (return + (f64.mul + (get_local $8) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (get_local $15) + (get_local $13) + ) + (get_local $14) + ) + (get_local $12) + ) + ) + ) + ) + ) + (func $std/math/test_hypot (; 86 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.hypot" (; 87 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f32) + (nop) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $2 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.lt_u + (get_local $2) + (get_local $3) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $2 + (get_local $3) + ) + (set_local $3 + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $2) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (get_local $3) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.shl + (i32.const 255) + (i32.const 23) + ) + ) + (return + (get_local $1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i32.ge_u + (get_local $2) + (i32.shl + (i32.const 255) + (i32.const 23) + ) + ) + ) + (get_local $4) + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $4) + (i32.ge_u + (i32.sub + (get_local $2) + (get_local $3) + ) + (i32.shl + (i32.const 25) + (i32.const 23) + ) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $5 + (f32.const 1) + ) + (if + (i32.ge_u + (get_local $2) + (i32.shl + (i32.add + (i32.const 127) + (i32.const 60) + ) + (i32.const 23) + ) + ) + (block + (set_local $5 + (f32.const 1237940039285380274899124e3) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 8.077935669463161e-28) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 8.077935669463161e-28) + ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.shl + (i32.sub + (i32.const 127) + (i32.const 60) + ) + (i32.const 23) + ) + ) + (block + (set_local $5 + (f32.const 8.077935669463161e-28) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1237940039285380274899124e3) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 1237940039285380274899124e3) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $5) + (f32.sqrt + (f32.demote/f64 + (f64.add + (f64.mul + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 + (get_local $0) + ) + ) + (f64.mul + (f64.promote/f32 + (get_local $1) + ) + (f64.promote/f32 + (get_local $1) + ) + ) + ) + ) + ) + ) + ) + ) + (func $std/math/test_hypotf (; 88 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func $std/math/test_log (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func $std/math/test_logf (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.log10" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f64.sub + (get_local $5) + (get_local $6) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const -4294967296) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $14 + (f64.add + (f64.sub + (f64.sub + (get_local $5) + (get_local $13) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) + ) + ) + ) + (set_local $15 + (f64.mul + (get_local $13) + (f64.const 0.4342944818781689) + ) + ) + (set_local $16 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $17 + (f64.mul + (get_local $16) + (f64.const 0.30102999566361177) + ) + ) + (set_local $18 + (f64.add + (f64.add + (f64.mul + (get_local $16) + (f64.const 3.694239077158931e-13) + ) + (f64.mul + (f64.add + (get_local $14) + (get_local $13) + ) + (f64.const 2.5082946711645275e-11) + ) + ) + (f64.mul + (get_local $14) + (f64.const 0.4342944818781689) + ) + ) + ) + (set_local $9 + (f64.add + (get_local $17) + (get_local $15) + ) + ) + (set_local $18 + (f64.add + (get_local $18) + (f64.add + (f64.sub + (get_local $17) + (get_local $9) + ) + (get_local $15) + ) + ) + ) + (set_local $15 + (get_local $9) + ) + (return + (f64.add + (get_local $18) + (get_local $15) + ) + ) + ) + (func $std/math/test_log10 (; 92 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.log10" (; 93 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $1) + (i32.const 8388608) + ) + ) + (get_local $3) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 0) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_u + (get_local $1) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $1 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (set_local $4 + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (set_local $5 + (f32.div + (get_local $4) + (f32.add + (f32.const 2) + (get_local $4) + ) + ) + ) + (set_local $6 + (f32.mul + (get_local $5) + (get_local $5) + ) + ) + (set_local $7 + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $7) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + (set_local $9 + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $7) + (f32.const 0.2849878668785095) + ) + ) + ) + ) + (set_local $10 + (f32.add + (get_local $9) + (get_local $8) + ) + ) + (set_local $11 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $4) + ) + (get_local $4) + ) + ) + (set_local $12 + (f32.sub + (get_local $4) + (get_local $11) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $12) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const -4096) + ) + ) + (set_local $12 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (set_local $13 + (f32.add + (f32.sub + (f32.sub + (get_local $4) + (get_local $12) + ) + (get_local $11) + ) + (f32.mul + (get_local $5) + (f32.add + (get_local $11) + (get_local $10) + ) + ) + ) + ) + (set_local $14 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (return + (f32.add + (f32.add + (f32.add + (f32.add + (f32.mul + (get_local $14) + (f32.const 7.903415166765626e-07) + ) + (f32.mul + (f32.add + (get_local $13) + (get_local $12) + ) + (f32.const -3.168997136526741e-05) + ) + ) + (f32.mul + (get_local $13) + (f32.const 0.434326171875) + ) + ) + (f32.mul + (get_local $12) + (f32.const 0.434326171875) + ) + ) + (f32.mul + (get_local $14) + (f32.const 0.3010292053222656) + ) + ) + ) + ) + (func $std/math/test_log10f (; 94 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.log10" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func $std/math/test_log1p (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func $std/math/test_log1pf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.log1p" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.log2" (; 97 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f64.sub + (get_local $5) + (get_local $6) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const -4294967296) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $14 + (f64.add + (f64.sub + (f64.sub + (get_local $5) + (get_local $13) + ) + (get_local $6) + ) + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) + ) + ) + ) + ) + (set_local $15 + (f64.mul + (get_local $13) + (f64.const 1.4426950407214463) + ) + ) + (set_local $16 + (f64.add + (f64.mul + (f64.add + (get_local $14) + (get_local $13) + ) + (f64.const 1.6751713164886512e-10) + ) + (f64.mul + (get_local $14) + (f64.const 1.4426950407214463) + ) + ) + ) + (set_local $17 + (f64.convert_s/i32 + (get_local $3) + ) + ) + (set_local $9 + (f64.add + (get_local $17) + (get_local $15) + ) + ) + (set_local $16 + (f64.add + (get_local $16) + (f64.add + (f64.sub + (get_local $17) + (get_local $9) + ) + (get_local $15) + ) + ) + ) + (set_local $15 + (get_local $9) + ) + (return + (f64.add + (get_local $16) + (get_local $15) + ) + ) + ) + (func $std/math/test_log2 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.log2" (; 99 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 i32) + (local $14 f32) + (local $15 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $1) + (i32.const 8388608) + ) + ) + (get_local $3) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 0) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_u + (get_local $1) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $1 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (set_local $4 + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (set_local $5 + (f32.div + (get_local $4) + (f32.add + (f32.const 2) + (get_local $4) + ) + ) + ) + (set_local $6 + (f32.mul + (get_local $5) + (get_local $5) + ) + ) + (set_local $7 + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $7) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + (set_local $9 + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $7) + (f32.const 0.2849878668785095) + ) + ) + ) + ) + (set_local $10 + (f32.add + (get_local $9) + (get_local $8) + ) + ) + (set_local $11 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $4) + ) + (get_local $4) + ) + ) + (set_local $12 + (f32.sub + (get_local $4) + (get_local $11) + ) + ) + (set_local $13 + (i32.reinterpret/f32 + (get_local $12) + ) + ) + (set_local $13 + (i32.and + (get_local $13) + (i32.const -4096) + ) + ) + (set_local $12 + (f32.reinterpret/i32 + (get_local $13) + ) + ) + (set_local $14 + (f32.add + (f32.sub + (f32.sub + (get_local $4) + (get_local $12) + ) + (get_local $11) + ) + (f32.mul + (get_local $5) + (f32.add + (get_local $11) + (get_local $10) + ) + ) + ) + ) + (set_local $15 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (return + (f32.add + (f32.add + (f32.add + (f32.mul + (f32.add + (get_local $14) + (get_local $12) + ) + (f32.const -1.7605285393074155e-04) + ) + (f32.mul + (get_local $14) + (f32.const 1.44287109375) + ) + ) + (f32.mul + (get_local $12) + (f32.const 1.44287109375) + ) + ) + (get_local $15) + ) + ) + ) + (func $std/math/test_log2f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.log2" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 101 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 f64) + (local $20 f64) + (local $21 f64) + (local $22 f64) + (local $23 f64) + (local $24 i32) + (local $25 i32) + (local $26 f64) + (local $27 f64) + (local $28 f64) + (local $29 f64) + (local $30 f64) + (local $31 f64) + (local $32 f64) + (local $33 f64) + (local $34 f64) + (local $35 f64) + (local $36 f64) + (local $37 f64) + (local $38 i32) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $7 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (set_local $8 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $8) + (get_local $6) + ) + (i32.const 0) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $3) + (i32.const 1072693248) + ) + ) + (i32.eq + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + (i32.const 1) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.gt_s + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.gt_s + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $10 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1128267776) + ) + (set_local $10 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1072693248) + ) + (block + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $8) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $11) + (i32.const 20) + ) + (block + (set_local $9 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + (get_local $6) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (set_local $9 + (i32.shr_s + (get_local $8) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + (get_local $8) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $4) + ) + (i32.const 0) + ) + (return + (f64.const 1) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (get_local $1) + (f64.const 0) + ) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (f64.const 0) + (f64.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (set_local $13 + (get_local $12) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.const 1) + (get_local $13) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $10) + ) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.sub + (get_local $13) + (get_local $13) + ) + (f64.sub + (get_local $13) + (get_local $13) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $13 + (f64.neg + (get_local $13) + ) + ) + ) + ) + ) + (return + (get_local $13) + ) + ) + ) + ) + (set_local $14 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 0) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $14 + (f64.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $8) + (i32.const 1105199104) + ) + (block + (if + (i32.gt_s + (get_local $8) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (set_local $20 + (f64.sub + (get_local $12) + (f64.const 1) + ) + ) + (set_local $23 + (f64.mul + (f64.mul + (get_local $20) + (get_local $20) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $20) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $20) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $21 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $20) + ) + ) + (set_local $22 + (f64.sub + (f64.mul + (get_local $20) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $23) + (f64.const 1.4426950408889634) + ) + ) + ) + (set_local $15 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $22) + (f64.sub + (get_local $15) + (get_local $21) + ) + ) + ) + ) + (block + (nop) + (set_local $25 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1048576) + ) + (block + (set_local $12 + (f64.mul + (get_local $12) + (f64.const 9007199254740992) + ) + ) + (set_local $25 + (i32.sub + (get_local $25) + (i32.const 53) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.sub + (i32.shr_s + (get_local $7) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $24 + (i32.and + (get_local $7) + (i32.const 1048575) + ) + ) + (set_local $7 + (i32.or + (get_local $24) + (i32.const 1072693248) + ) + ) + (if + (i32.le_s + (get_local $24) + (i32.const 235662) + ) + (set_local $11 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 767610) + ) + (set_local $11 + (i32.const 1) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.const 1) + ) + ) + (set_local $7 + (i32.sub + (get_local $7) + (i32.const 1048576) + ) + ) + ) + ) + ) + (set_local $12 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + (set_local $32 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $11) + ) + ) + (set_local $21 + (f64.sub + (get_local $12) + (get_local $32) + ) + ) + (set_local $22 + (f64.div + (f64.const 1) + (f64.add + (get_local $12) + (get_local $32) + ) + ) + ) + (set_local $26 + (f64.mul + (get_local $21) + (get_local $22) + ) + ) + (set_local $28 + (get_local $26) + ) + (set_local $28 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $28) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $7) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $11) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $12) + (f64.sub + (get_local $30) + (get_local $32) + ) + ) + ) + (set_local $29 + (f64.mul + (get_local $22) + (f64.sub + (f64.sub + (get_local $21) + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (f64.mul + (get_local $28) + (get_local $31) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $19 + (f64.mul + (f64.mul + (get_local $27) + (get_local $27) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $27) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.add + (get_local $19) + (f64.mul + (get_local $29) + (f64.add + (get_local $28) + (get_local $26) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $28) + (get_local $28) + ) + ) + (set_local $30 + (f64.add + (f64.add + (f64.const 3) + (get_local $27) + ) + (get_local $19) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $30) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $19) + (f64.sub + (f64.sub + (get_local $30) + (f64.const 3) + ) + (get_local $27) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (get_local $29) + (get_local $30) + ) + (f64.mul + (get_local $31) + (get_local $26) + ) + ) + ) + (set_local $17 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $17 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $17) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.sub + (get_local $22) + (f64.sub + (get_local $17) + (get_local $21) + ) + ) + ) + (set_local $33 + (f64.mul + (f64.const 0.9617967009544373) + (get_local $17) + ) + ) + (set_local $34 + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $35 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $17) + ) + (f64.mul + (get_local $18) + (f64.const 0.9617966939259756) + ) + ) + (get_local $34) + ) + ) + (set_local $20 + (f64.convert_s/i32 + (get_local $25) + ) + ) + (set_local $36 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.add + (get_local $33) + (get_local $35) + ) + (get_local $36) + ) + (get_local $20) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $35) + (f64.sub + (f64.sub + (f64.sub + (get_local $15) + (get_local $20) + ) + (get_local $36) + ) + (get_local $33) + ) + ) + ) + ) + ) + (set_local $37 + (get_local $1) + ) + (set_local $37 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $37) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (get_local $37) + ) + (get_local $15) + ) + (f64.mul + (get_local $1) + (get_local $16) + ) + ) + ) + (set_local $17 + (f64.mul + (get_local $37) + (get_local $15) + ) + ) + (set_local $13 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $38 + (i32.wrap/i64 + (get_local $2) + ) + ) + (if + (i32.ge_s + (get_local $24) + (i32.const 1083179008) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const 1083179008) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + (if + (f64.gt + (f64.add + (get_local $18) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const -1064252416) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (if + (f64.le + (get_local $18) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (set_local $38 + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $38) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $25 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $38) + (i32.const 1071644672) + ) + (block + (set_local $25 + (i32.add + (get_local $24) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (i32.and + (get_local $25) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $20 + (f64.const 0) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $25) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $11) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $25 + (i32.shr_s + (i32.or + (i32.and + (get_local $25) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 0) + ) + (set_local $25 + (i32.sub + (i32.const 0) + (get_local $25) + ) + ) + ) + (set_local $17 + (f64.sub + (get_local $17) + (get_local $20) + ) + ) + ) + ) + (set_local $20 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $20) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $20) + (f64.const 0.6931471824645996) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (f64.sub + (get_local $18) + (f64.sub + (get_local $20) + (get_local $17) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $20) + (f64.const -1.904654299957768e-09) + ) + ) + ) + (set_local $13 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $23 + (f64.sub + (get_local $22) + (f64.sub + (get_local $13) + (get_local $21) + ) + ) + ) + (set_local $20 + (f64.mul + (get_local $13) + (get_local $13) + ) + ) + (set_local $15 + (f64.sub + (get_local $13) + (f64.mul + (get_local $20) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $20) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $20) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $20) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $20) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.sub + (f64.div + (f64.mul + (get_local $13) + (get_local $15) + ) + (f64.sub + (get_local $15) + (f64.const 2) + ) + ) + (f64.add + (get_local $23) + (f64.mul + (get_local $13) + (get_local $23) + ) + ) + ) + ) + (set_local $13 + (f64.sub + (f64.const 1) + (f64.sub + (get_local $19) + (get_local $13) + ) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 32) + ) + ) + ) + (set_local $24 + (i32.add + (get_local $24) + (i32.shl + (get_local $25) + (i32.const 20) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $24) + (i32.const 20) + ) + (i32.const 0) + ) + (set_local $13 + (call "$(lib)/math/NativeMath.scalbn" + (get_local $13) + (get_local $25) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $24) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (func $std/math/test_pow (; 102 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 103 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 f32) + (local $16 f32) + (local $17 f32) + (local $18 f32) + (local $19 f32) + (local $20 f32) + (local $21 f32) + (local $22 f32) + (local $23 i32) + (local $24 i32) + (local $25 f32) + (local $26 f32) + (local $27 f32) + (local $28 f32) + (local $29 f32) + (local $30 f32) + (local $31 f32) + (local $32 f32) + (local $33 f32) + (local $34 f32) + (local $35 f32) + (local $36 i32) + (nop) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $5 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 0) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $7 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1266679808) + ) + (set_local $7 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1065353216) + ) + (block + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $8 + (i32.shr_s + (get_local $5) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $8) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + (get_local $5) + ) + (set_local $7 + (i32.sub + (i32.const 2) + (i32.and + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + (return + (f32.const 1) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $1) + (f32.const 0) + ) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (f32.const 0) + (f32.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $2) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $10 + (f32.abs + (get_local $0) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (set_local $11 + (get_local $10) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.const 1) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $4) + (i32.const 1065353216) + ) + (get_local $7) + ) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.sub + (get_local $11) + (get_local $11) + ) + (f32.sub + (get_local $11) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $11 + (f32.neg + (get_local $11) + ) + ) + ) + ) + ) + (return + (get_local $11) + ) + ) + ) + (set_local $12 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $12 + (f32.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $5) + (i32.const 1291845632) + ) + (block + (if + (i32.lt_s + (get_local $4) + (i32.const 1065353208) + ) + (return + (if (result f32) + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353223) + ) + (return + (if (result f32) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (set_local $17 + (f32.sub + (get_local $10) + (f32.const 1) + ) + ) + (set_local $20 + (f32.mul + (f32.mul + (get_local $17) + (get_local $17) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $17) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $17) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $18 + (f32.mul + (f32.const 1.44268798828125) + (get_local $17) + ) + ) + (set_local $19 + (f32.sub + (f32.mul + (get_local $17) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $20) + (f32.const 1.4426950216293335) + ) + ) + ) + (set_local $13 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $19) + (f32.sub + (get_local $13) + (get_local $18) + ) + ) + ) + ) + (block + (nop) + (set_local $23 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 8388608) + ) + (block + (set_local $10 + (f32.mul + (get_local $10) + (f32.const 16777216) + ) + ) + (set_local $23 + (i32.sub + (get_local $23) + (i32.const 24) + ) + ) + (set_local $4 + (i32.reinterpret/f32 + (get_local $10) + ) + ) + ) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.sub + (i32.shr_s + (get_local $4) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $4) + (i32.const 8388607) + ) + ) + (set_local $4 + (i32.or + (get_local $8) + (i32.const 1065353216) + ) + ) + (if + (i32.le_s + (get_local $8) + (i32.const 1885297) + ) + (set_local $9 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 6140887) + ) + (set_local $9 + (i32.const 1) + ) + (block + (set_local $9 + (i32.const 0) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + ) + ) + ) + ) + (set_local $10 + (f32.reinterpret/i32 + (get_local $4) + ) + ) + (set_local $30 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $9) + ) + ) + (set_local $18 + (f32.sub + (get_local $10) + (get_local $30) + ) + ) + (set_local $19 + (f32.div + (f32.const 1) + (f32.add + (get_local $10) + (get_local $30) + ) + ) + ) + (set_local $16 + (f32.mul + (get_local $18) + (get_local $19) + ) + ) + (set_local $26 + (get_local $16) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $26) + ) + ) + (set_local $26 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $24 + (i32.or + (i32.and + (i32.shr_s + (get_local $4) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.add + (i32.add + (get_local $24) + (i32.const 4194304) + ) + (i32.shl + (get_local $9) + (i32.const 21) + ) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $10) + (f32.sub + (get_local $28) + (get_local $30) + ) + ) + ) + (set_local $27 + (f32.mul + (get_local $19) + (f32.sub + (f32.sub + (get_local $18) + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (f32.mul + (get_local $26) + (get_local $29) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (set_local $15 + (f32.mul + (f32.mul + (get_local $25) + (get_local $25) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $25) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.add + (get_local $15) + (f32.mul + (get_local $27) + (f32.add + (get_local $26) + (get_local $16) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $28 + (f32.add + (f32.add + (f32.const 3) + (get_local $25) + ) + (get_local $15) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $28) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $15) + (f32.sub + (f32.sub + (get_local $28) + (f32.const 3) + ) + (get_local $25) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (get_local $27) + (get_local $28) + ) + (f32.mul + (get_local $29) + (get_local $16) + ) + ) + ) + (set_local $21 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $21) + ) + ) + (set_local $21 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.sub + (get_local $19) + (f32.sub + (get_local $21) + (get_local $18) + ) + ) + ) + (set_local $31 + (f32.mul + (f32.const 0.9619140625) + (get_local $21) + ) + ) + (set_local $32 + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $33 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $21) + ) + (f32.mul + (get_local $22) + (f32.const 0.9617967009544373) + ) + ) + (get_local $32) + ) + ) + (set_local $17 + (f32.convert_s/i32 + (get_local $23) + ) + ) + (set_local $34 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $13 + (f32.add + (f32.add + (f32.add + (get_local $31) + (get_local $33) + ) + (get_local $34) + ) + (get_local $17) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $33) + (f32.sub + (f32.sub + (f32.sub + (get_local $13) + (get_local $17) + ) + (get_local $34) + ) + (get_local $31) + ) + ) + ) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $35 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (get_local $35) + ) + (get_local $13) + ) + (f32.mul + (get_local $1) + (get_local $14) + ) + ) + ) + (set_local $21 + (f32.mul + (get_local $35) + (get_local $13) + ) + ) + (set_local $11 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1124073472) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1124073472) + ) + (if + (f32.gt + (f32.add + (get_local $22) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const -1021968384) + ) + (if + (f32.le + (get_local $22) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + ) + ) + ) + (set_local $36 + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $36) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $23 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $36) + (i32.const 1056964608) + ) + (block + (set_local $23 + (i32.add + (get_local $8) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (i32.and + (get_local $23) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $23) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $9) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $23 + (i32.shr_s + (i32.or + (i32.and + (get_local $23) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 0) + ) + (set_local $23 + (i32.sub + (i32.const 0) + (get_local $23) + ) + ) + ) + (set_local $21 + (f32.sub + (get_local $21) + (get_local $17) + ) + ) + ) + ) + (set_local $17 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $17) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -32768) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $17) + (f32.const 0.693145751953125) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (f32.sub + (get_local $22) + (f32.sub + (get_local $17) + (get_local $21) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $17) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + (set_local $11 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $20 + (f32.sub + (get_local $19) + (f32.sub + (get_local $11) + (get_local $18) + ) + ) + ) + (set_local $17 + (f32.mul + (get_local $11) + (get_local $11) + ) + ) + (set_local $13 + (f32.sub + (get_local $11) + (f32.mul + (get_local $17) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $17) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $17) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $17) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $17) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.sub + (f32.div + (f32.mul + (get_local $11) + (get_local $13) + ) + (f32.sub + (get_local $13) + (f32.const 2) + ) + ) + (f32.add + (get_local $20) + (f32.mul + (get_local $11) + (get_local $20) + ) + ) + ) + ) + (set_local $11 + (f32.sub + (f32.const 1) + (f32.sub + (get_local $15) + (get_local $11) + ) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (set_local $8 + (i32.add + (get_local $8) + (i32.shl + (get_local $23) + (i32.const 23) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $8) + (i32.const 23) + ) + (i32.const 0) + ) + (set_local $11 + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $11) + (get_local $23) + ) + ) + (set_local $11 + (f32.reinterpret/i32 + (get_local $8) + ) + ) + ) + (return + (f32.mul + (get_local $12) + (get_local $11) + ) + ) + ) + (func $std/math/test_powf (; 104 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMath.__murmurHash3" (; 105 ;) (type $II) (param $0 i64) (result i64) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (set_local $0 + (i64.mul + (get_local $0) + (i64.const -49064778989728563) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (set_local $0 + (i64.mul + (get_local $0) + (i64.const -4265267296055464877) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (return + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.seedRandom" (; 106 ;) (type $Iv) (param $0 i64) + (if + (i64.eqz + (get_local $0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 32) + (i32.const 1055) + (i32.const 4) + ) + (unreachable) + ) + ) + (set_global "$(lib)/math/NativeMath.random_seeded" + (i32.const 1) + ) + (set_global "$(lib)/math/NativeMath.random_state0" + (call "$(lib)/math/NativeMath.__murmurHash3" + (get_local $0) + ) + ) + (set_global "$(lib)/math/NativeMath.random_state1" + (call "$(lib)/math/NativeMath.__murmurHash3" + (get_global "$(lib)/math/NativeMath.random_state0") + ) + ) + ) + (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 107 ;) (type $I) (result i64) + (local $0 i64) + (local $1 i64) + (set_local $0 + (get_global "$(lib)/math/NativeMath.random_state0") + ) + (set_local $1 + (get_global "$(lib)/math/NativeMath.random_state1") + ) + (set_global "$(lib)/math/NativeMath.random_state0" + (get_local $1) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shl + (get_local $0) + (i64.const 23) + ) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 17) + ) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (get_local $1) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $1) + (i64.const 26) + ) + ) + ) + (set_global "$(lib)/math/NativeMath.random_state1" + (get_local $0) + ) + (return + (i64.add + (get_local $1) + (get_local $0) + ) + ) + ) + (func "$(lib)/math/NativeMath.random" (; 108 ;) (type $F) (result f64) + (local $0 i64) + (if + (i32.eqz + (get_global "$(lib)/math/NativeMath.random_seeded") + ) + (unreachable) + ) + (set_local $0 + (i64.or + (i64.and + (call "$(lib)/math/NativeMath.__xorShift128Plus") + (i64.const 4503599627370495) + ) + (i64.const 4607182418800017408) + ) + ) + (return + (f64.sub + (f64.reinterpret/i64 + (get_local $0) + ) + (f64.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 109 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $4) + (i32.const 1082535490) + ) + (block + (set_local $5 + (call "$(lib)/math/NativeMath.expm1" + (get_local $3) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $5) + ) + (f64.div + (f64.mul + (get_local $5) + (get_local $5) + ) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $5) + (f64.div + (get_local $5) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (set_local $5 + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $3) + ) + ) + ) + (return + (get_local $5) + ) + ) + (func $std/math/test_sinh (; 110 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.sinh" (; 111 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) + (local $3 f32) + (local $4 f32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (f32.const 0.5) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1118925335) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $3) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1065353216) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.sub + (f32.mul + (f32.const 2) + (get_local $4) + ) + (f32.div + (f32.mul + (get_local $4) + (get_local $4) + ) + (f32.add + (get_local $4) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.add + (get_local $4) + (f32.div + (get_local $4) + (f32.add + (get_local $4) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (set_local $4 + (f32.mul + (f32.mul + (f32.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $3) + ) + ) + ) + (return + (get_local $4) + ) + ) + (func $std/math/test_sinhf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + (func $std/math/test_sqrt (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.sqrt" (; 115 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + (func $std/math/test_sqrtf (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 117 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.gt_u + (get_local $3) + (i32.const 1071748074) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1077149696) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1070618798) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (get_local $4) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 1048576) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (f64.neg + (get_local $4) + ) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (set_local $4 + (get_local $0) + ) + ) + ) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $4) + ) + (get_local $4) + ) + ) + ) + (func $std/math/test_tanh (; 118 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.tanh" (; 119 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (nop) + (if + (i32.gt_u + (get_local $1) + (i32.const 1057791828) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1092616192) + ) + (set_local $3 + (f32.add + (f32.const 1) + (f32.div + (f32.const 0) + (get_local $0) + ) + ) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.sub + (f32.const 1) + (f32.div + (f32.const 2) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1048757624) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.div + (get_local $3) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const -2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.div + (f32.neg + (get_local $3) + ) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + (set_local $3 + (get_local $0) + ) + ) + ) + ) + (return + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + (func $std/math/test_tanhf (; 120 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func $start (; 121 ;) (type $v) + (local $0 i32) + (local $1 f64) + (local $2 i32) + (if + (i32.eqz + (f64.eq + (f64.const 2.718281828459045) + (f64.const 2.718281828459045) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 80) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 99) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 100) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 101) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 102) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 103) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 104) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 2147483647) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 2147483647) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 192) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 193) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -2) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 221) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 222) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 223) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 224) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 249) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 250) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 251) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 263) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 271) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 272) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 275) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 276) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 277) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 278) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 279) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 280) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 281) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 282) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 283) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 284) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 285) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 286) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 288) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 289) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 291) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 292) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 293) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 294) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 295) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 296) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -2) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 297) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 298) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 299) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 301) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 302) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 303) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 304) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 305) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 306) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 307) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 308) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 309) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 310) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 311) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 312) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 313) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 314) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 315) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 317) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 318) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 319) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 320) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 321) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 322) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 323) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 324) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 325) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 326) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 327) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 328) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 329) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.const inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 331) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 332) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 333) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 334) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 335) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 336) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 337) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 338) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 339) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_fmodf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 340) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.06684839057968) + (f64.const 8.06684839057968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 350) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 4.345239849338305) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 351) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.38143342755525) + (f64.const 8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 352) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -6.531673581913484) + (f64.const 6.531673581913484) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 353) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 9.267056966972586) + (f64.const 9.267056966972586) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 354) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.6619858980995045) + (f64.const 0.6619858980995045) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 355) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.4066039223853553) + (f64.const 0.4066039223853553) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 356) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.5617597462207241) + (f64.const 0.5617597462207241) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 357) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.7741522965913037) + (f64.const 0.7741522965913037) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 358) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.6787637026394024) + (f64.const 0.6787637026394024) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 359) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 362) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 363) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 364) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 365) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 366) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 367) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 368) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.066848754882812) + (f32.const 8.066848754882812) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 377) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 4.345239639282227) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 378) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.381433486938477) + (f32.const 8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 379) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -6.531673431396484) + (f32.const 6.531673431396484) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 380) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 9.267057418823242) + (f32.const 9.267057418823242) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 381) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.6619858741760254) + (f32.const 0.6619858741760254) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 382) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.40660393238067627) + (f32.const 0.40660393238067627) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 383) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.5617597699165344) + (f32.const 0.5617597699165344) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 384) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.7741522789001465) + (f32.const 0.7741522789001465) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 385) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.6787636876106262) + (f32.const 0.6787636876106262) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 386) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 389) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 390) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 391) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 392) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 393) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 394) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 395) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 405) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 406) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 407) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 408) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 409) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.6619858980995045) + (f64.const 0.8473310828433507) + (f64.const -0.41553276777267456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 410) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.4066039223853553) + (f64.const 1.989530071088669) + (f64.const 0.4973946213722229) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 411) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.5617597462207241) + (f64.const 0.9742849645674904) + (f64.const -0.4428897500038147) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 412) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.7741522965913037) + (f64.const 0.6854215158636222) + (f64.const -0.12589527666568756) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 413) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.6787637026394024) + (f64.const 2.316874138205964) + (f64.const -0.17284949123859406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 414) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 417) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 418) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 419) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 420) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 421) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 422) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 423) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 424) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.5309227209592985) + (f64.const 2.1304853799705463) + (f64.const 0.1391008496284485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 425) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.4939556746399746) + (f64.const 1.0541629875851946) + (f64.const 0.22054767608642578) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 426) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 435) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 436) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 437) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 438) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 439) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.6619858741760254) + (f32.const 0.8473311066627502) + (f32.const -0.13588131964206696) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 440) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.40660393238067627) + (f32.const 1.989530086517334) + (f32.const 0.03764917701482773) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 441) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.5617597699165344) + (f32.const 0.9742849469184875) + (f32.const 0.18443739414215088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 442) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.7741522789001465) + (f32.const 0.6854215264320374) + (f32.const -0.29158344864845276) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 443) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.6787636876106262) + (f32.const 2.3168740272521973) + (f32.const -0.3795364499092102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 444) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 447) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 448) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 449) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 450) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 451) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 452) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 453) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 454) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.49965065717697144) + (f32.const 1.0476008653640747) + (f32.const -0.21161814033985138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 455) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5051405429840088) + (f32.const 2.1003410816192627) + (f32.const -0.20852705836296082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 456) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5189794898033142) + (f32.const 2.116452932357788) + (f32.const -0.14600826799869537) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 457) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 467) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 4.345239849338305) + (f64.const 2.1487163980597503) + (f64.const -0.291634738445282) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 468) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 469) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 470) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 9.267056966972586) + (f64.const 2.91668914109908) + (f64.const -0.24191908538341522) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 471) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.6619858980995045) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 472) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 473) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.5617597462207241) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 474) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.7741522965913037) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 475) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 476) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 479) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 480) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 481) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.9999923706054688) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 482) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 483) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 484) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 485) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1060831199926429) + (f64.const 0.4566373404384803) + (f64.const -0.29381608963012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 501) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1089809557628658) + (f64.const 0.4627246859959428) + (f64.const -0.3990095555782318) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 503) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1169429159875521) + (f64.const 0.47902433134075284) + (f64.const -0.321674108505249) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 504) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 513) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 4.345239639282227) + (f32.const 2.148716449737549) + (f32.const 0.4251045286655426) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 514) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 515) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 516) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 9.267057418823242) + (f32.const 2.916689157485962) + (f32.const -0.1369788944721222) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 517) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.6619858741760254) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 518) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 519) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.5617597699165344) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 520) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.7741522789001465) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 521) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 522) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 525) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 526) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 527) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.9999923706054688) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 528) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 529) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 530) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 531) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -1125899906842624) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 532) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 542) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 543) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 544) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 545) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 546) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.6619858980995045) + (f64.const 0.7234652439515459) + (f64.const -0.13599912822246552) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 547) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.4066039223853553) + (f64.const -0.41873374429377225) + (f64.const -0.09264230728149414) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 548) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5617597462207241) + (f64.const 0.5965113622274062) + (f64.const -0.10864213854074478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 549) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.7741522965913037) + (f64.const 0.8853748109312743) + (f64.const -0.4256366193294525) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 550) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.6787637026394024) + (f64.const -0.7460778114110673) + (f64.const 0.13986606895923615) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 551) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 554) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 555) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 556) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 557) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 558) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 559) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 560) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 561) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 562) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5073043929119148) + (f64.const 0.5320538997772349) + (f64.const -0.16157317161560059) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 563) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 572) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 573) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 574) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 575) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 576) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.6619858741760254) + (f32.const 0.7234652042388916) + (f32.const -0.1307632476091385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 577) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.40660393238067627) + (f32.const -0.41873374581336975) + (f32.const 0.3161141574382782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 578) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5617597699165344) + (f32.const 0.5965113639831543) + (f32.const -0.4510819613933563) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 579) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.7741522789001465) + (f32.const 0.8853747844696045) + (f32.const 0.02493886835873127) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 580) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.6787636876106262) + (f32.const -0.7460777759552002) + (f32.const 0.2515012323856354) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 581) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 584) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 585) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 586) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 587) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 588) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 589) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 590) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 591) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 592) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5004770159721375) + (f32.const 0.5241496562957764) + (f32.const -0.29427099227905273) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 593) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.06684839057968) + (f64.const -2.784729878387861) + (f64.const -0.4762189984321594) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 603) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 4.345239849338305) + (f64.const 2.175213389013164) + (f64.const -0.02728751301765442) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 604) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.38143342755525) + (f64.const -2.822706083697696) + (f64.const 0.20985257625579834) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 605) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -6.531673581913484) + (f64.const -2.575619446591922) + (f64.const 0.3113134205341339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 606) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 9.267056966972586) + (f64.const 2.9225114951048674) + (f64.const 0.4991756081581116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 607) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.6619858980995045) + (f64.const 0.6212462762707166) + (f64.const -0.4697347581386566) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 608) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.4066039223853553) + (f64.const -0.39615990393192035) + (f64.const -0.40814438462257385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 609) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.5617597462207241) + (f64.const 0.5357588870255474) + (f64.const 0.3520713150501251) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 610) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.7741522965913037) + (f64.const 0.7123571263197349) + (f64.const 0.13371451199054718) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 611) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.6787637026394024) + (f64.const -0.635182348903198) + (f64.const 0.04749670997262001) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 612) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 615) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 616) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 617) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 618) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 619) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.066848754882812) + (f32.const -2.7847299575805664) + (f32.const -0.14418013393878937) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 648) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 4.345239639282227) + (f32.const 2.17521333694458) + (f32.const -0.020796965807676315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 649) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.381433486938477) + (f32.const -2.8227059841156006) + (f32.const 0.44718533754348755) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 650) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -6.531673431396484) + (f32.const -2.5756194591522217) + (f32.const -0.14822272956371307) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 651) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 9.267057418823242) + (f32.const 2.922511577606201) + (f32.const 0.14270681142807007) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 652) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.6619858741760254) + (f32.const 0.6212462782859802) + (f32.const 0.3684912919998169) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 653) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.40660393238067627) + (f32.const -0.39615991711616516) + (f32.const -0.13170306384563446) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 654) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.5617597699165344) + (f32.const 0.535758912563324) + (f32.const 0.08184859901666641) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 655) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.7741522789001465) + (f32.const 0.7123571038246155) + (f32.const -0.14270737767219543) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 656) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.6787636876106262) + (f32.const -0.6351823210716248) + (f32.const 0.2583143711090088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 657) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 660) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 661) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 662) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 663) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 664) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.06684839057968) + (f64.const -1.4474613762633468) + (f64.const 0.14857111871242523) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 674) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 4.345239849338305) + (f64.const 1.344597927114538) + (f64.const -0.08170335739850998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 675) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.38143342755525) + (f64.const -1.4520463463295539) + (f64.const -0.07505480200052261) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 676) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -6.531673581913484) + (f64.const -1.4188758658752532) + (f64.const -0.057633496820926666) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 677) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 9.267056966972586) + (f64.const 1.463303145448706) + (f64.const 0.1606956422328949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 678) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6619858980995045) + (f64.const 0.5847550670238325) + (f64.const 0.4582556486129761) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 679) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.4066039223853553) + (f64.const -0.3861864177552131) + (f64.const -0.2574281692504883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 680) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.5617597462207241) + (f64.const 0.5118269531628881) + (f64.const -0.11444277316331863) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 681) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.7741522965913037) + (f64.const 0.6587802431653822) + (f64.const -0.11286488175392151) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 682) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.6787637026394024) + (f64.const -0.5963307826973472) + (f64.const -0.2182842344045639) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 683) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 686) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 687) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 1) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 688) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -1) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 689) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const inf) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 690) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.neg + (f64.const inf) + ) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 691) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 692) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6929821535674624) + (f64.const 0.6060004555152562) + (f64.const -0.17075790464878082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 693) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.066848754882812) + (f32.const -1.4474613666534424) + (f32.const 0.12686480581760406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 702) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 4.345239639282227) + (f32.const 1.3445979356765747) + (f32.const 0.16045434772968292) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 703) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.381433486938477) + (f32.const -1.4520463943481445) + (f32.const -0.39581751823425293) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 704) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -6.531673431396484) + (f32.const -1.418875813484192) + (f32.const 0.410570353269577) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 705) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 9.267057418823242) + (f32.const 1.4633032083511353) + (f32.const 0.48403501510620117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 706) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.6619858741760254) + (f32.const 0.5847550630569458) + (f32.const 0.2125193476676941) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 707) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.40660393238067627) + (f32.const -0.386186420917511) + (f32.const 0.18169628083705902) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 708) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.5617597699165344) + (f32.const 0.5118269920349121) + (f32.const 0.3499770760536194) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 709) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.7741522789001465) + (f32.const 0.6587802171707153) + (f32.const -0.2505330741405487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 710) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.6787636876106262) + (f32.const -0.5963307619094849) + (f32.const 0.17614826560020447) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 711) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 714) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 715) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 1) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 716) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -1) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 717) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const inf) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 718) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.neg + (f32.const inf) + ) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 719) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 720) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.06684839057968) + (f64.const -2.0055552545020245) + (f64.const 0.46667951345443726) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 730) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 4.345239849338305) + (f64.const 1.6318162410515635) + (f64.const -0.08160271495580673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 731) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.38143342755525) + (f64.const -2.031293910673361) + (f64.const -0.048101816326379776) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 732) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -6.531673581913484) + (f64.const -1.8692820012204925) + (f64.const 0.08624018728733063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 733) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.267056966972586) + (f64.const 2.100457720859702) + (f64.const -0.2722989022731781) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 734) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.6619858980995045) + (f64.const 0.8715311470455973) + (f64.const 0.4414918124675751) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 735) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.4066039223853553) + (f64.const -0.740839030300223) + (f64.const 0.016453813761472702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 736) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.5617597462207241) + (f64.const 0.8251195400559286) + (f64.const 0.30680638551712036) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 737) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.7741522965913037) + (f64.const 0.9182102478959914) + (f64.const 0.06543998420238495) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 738) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.6787637026394024) + (f64.const -0.8788326906580094) + (f64.const -0.2016713172197342) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 739) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 742) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 743) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 744) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 745) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 746) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.313225746154785e-10) + (f64.const 0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 747) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -9.313225746154785e-10) + (f64.const -0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 748) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 749) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 750) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 8) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 751) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.066848754882812) + (f32.const -2.0055553913116455) + (f32.const -0.44719240069389343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 760) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 4.345239639282227) + (f32.const 1.6318162679672241) + (f32.const 0.44636252522468567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 761) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.381433486938477) + (f32.const -2.0312938690185547) + (f32.const 0.19483426213264465) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 762) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -6.531673431396484) + (f32.const -1.8692820072174072) + (f32.const -0.17075514793395996) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 763) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.267057418823242) + (f32.const 2.1004576683044434) + (f32.const -0.36362043023109436) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 764) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.6619858741760254) + (f32.const 0.8715311288833618) + (f32.const -0.12857209146022797) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 765) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.40660393238067627) + (f32.const -0.7408390641212463) + (f32.const -0.4655757546424866) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 766) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.5617597699165344) + (f32.const 0.8251195549964905) + (f32.const 0.05601907894015312) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 767) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.7741522789001465) + (f32.const 0.9182102680206299) + (f32.const 0.45498204231262207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 768) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.6787636876106262) + (f32.const -0.8788326978683472) + (f32.const -0.22978967428207397) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 769) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 772) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 773) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 774) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 775) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 776) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.313225746154785e-10) + (f32.const 0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 777) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -9.313225746154785e-10) + (f32.const -0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 778) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 779) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 780) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 8) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 781) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.06684839057968) + (f64.const 1593.5209938862329) + (f64.const -0.38098856806755066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 893) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 4.345239849338305) + (f64.const 38.56174928426729) + (f64.const -0.2712278366088867) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 894) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.38143342755525) + (f64.const 2182.630979595893) + (f64.const 0.0817827582359314) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 895) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -6.531673581913484) + (f64.const 343.273849250879) + (f64.const -0.429940402507782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 896) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 9.267056966972586) + (f64.const 5291.779170005587) + (f64.const -0.1592995822429657) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 897) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.6619858980995045) + (f64.const 1.2272321957342842) + (f64.const 0.23280741274356842) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 898) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.4066039223853553) + (f64.const 1.083808541871197) + (f64.const -0.3960916996002197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 899) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.5617597462207241) + (f64.const 1.1619803583175077) + (f64.const 0.37748390436172485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 900) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.7741522965913037) + (f64.const 1.3149236876276706) + (f64.const 0.43587008118629456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 901) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.6787637026394024) + (f64.const 1.2393413245934533) + (f64.const 0.10201606154441833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 902) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 905) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 906) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 907) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 908) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 909) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.066848754882812) + (f32.const 1593.5216064453125) + (f32.const 0.26242581009864807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 918) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 4.345239639282227) + (f32.const 38.56174087524414) + (f32.const -0.08168885856866837) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 919) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.381433486938477) + (f32.const 2182.631103515625) + (f32.const -0.02331414446234703) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 920) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -6.531673431396484) + (f32.const 343.2738037109375) + (f32.const 0.20081493258476257) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 921) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 9.267057418823242) + (f32.const 5291.78173828125) + (f32.const 0.36286723613739014) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 922) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.6619858741760254) + (f32.const 1.2272322177886963) + (f32.const 0.32777416706085205) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 923) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.40660393238067627) + (f32.const 1.0838085412979126) + (f32.const -0.039848703891038895) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 924) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.5617597699165344) + (f32.const 1.161980390548706) + (f32.const 0.15274477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 925) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.7741522789001465) + (f32.const 1.314923644065857) + (f32.const -0.2387111485004425) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 926) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.6787636876106262) + (f32.const 1.2393412590026855) + (f32.const -0.45791932940483093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 927) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 930) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 931) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 932) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 933) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 934) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.06684839057968) + (f64.const 3.137706068161745e-04) + (f64.const -0.2599197328090668) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 944) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 4.345239849338305) + (f64.const 77.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 945) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.38143342755525) + (f64.const 2.290813384916323e-04) + (f64.const -0.24974334239959717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 946) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -6.531673581913484) + (f64.const 1.4565661260931588e-03) + (f64.const -0.4816822409629822) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 947) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 9.267056966972586) + (f64.const 10583.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 948) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.6619858980995045) + (f64.const 1.9386384525571998) + (f64.const -0.4964246451854706) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 949) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.4066039223853553) + (f64.const 0.6659078892838025) + (f64.const -0.10608318448066711) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 950) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.5617597462207241) + (f64.const 1.7537559518626311) + (f64.const -0.39162111282348633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 951) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.7741522965913037) + (f64.const 2.1687528885129246) + (f64.const -0.2996125817298889) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 952) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.6787637026394024) + (f64.const 0.5072437089402843) + (f64.const 0.47261738777160645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 953) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 956) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 957) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1) + (f64.const 2.718281828459045) + (f64.const -0.3255307376384735) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 958) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1) + (f64.const 0.36787944117144233) + (f64.const 0.22389651834964752) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 959) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 960) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 961) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 962) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526365) + (f64.const 2.828429155876411) + (f64.const 0.18803080916404724) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 963) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1.0397214889526365) + (f64.const 0.35355313670217847) + (f64.const 0.2527272403240204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 964) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397210121154785) + (f64.const 2.8284278071766122) + (f64.const -0.4184139370918274) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 965) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526367) + (f64.const 2.8284291558764116) + (f64.const -0.22618377208709717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 966) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.066848754882812) + (f32.const 3.1377049162983894e-04) + (f32.const -0.030193336308002472) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 975) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 4.345239639282227) + (f32.const 77.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 976) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.381433486938477) + (f32.const 2.2908132814336568e-04) + (f32.const 0.2237040400505066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 977) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -6.531673431396484) + (f32.const 1.4565663877874613e-03) + (f32.const 0.36469703912734985) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 978) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 9.267057418823242) + (f32.const 10583.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 979) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.6619858741760254) + (f32.const 1.93863844871521) + (f32.const 0.3568260967731476) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 980) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.40660393238067627) + (f32.const 0.6659078598022461) + (f32.const -0.38294991850852966) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 981) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.5617597699165344) + (f32.const 1.753756046295166) + (f32.const 0.44355490803718567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 982) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.7741522789001465) + (f32.const 2.168752908706665) + (f32.const 0.24562469124794006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 983) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.6787636876106262) + (f32.const 0.5072436928749084) + (f32.const -0.3974292278289795) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 984) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 987) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 988) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 1) + (f32.const 2.7182817459106445) + (f32.const -0.3462330996990204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 989) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -1) + (f32.const 0.3678794503211975) + (f32.const 0.3070148527622223) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 990) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 991) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 992) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 993) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283172607422) + (f32.const 340279851902147610656242e15) + (f32.const -0.09067153930664062) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 994) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283935546875) + (f32.const inf) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 995) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97207641601562) + (f32.const 1.401298464324817e-45) + (f32.const 0.49999967217445374) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 996) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97208404541016) + (f32.const 0) + (f32.const -0.49999651312828064) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 997) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735614299774) + (f32.const 1.4142135381698608) + (f32.const 0.13922421634197235) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 998) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735912322998) + (f32.const 1.4142135381698608) + (f32.const -0.21432916820049286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 999) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465736210346222) + (f32.const 1.4142136573791504) + (f32.const 0.43211743235588074) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1000) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.06684839057968) + (f64.const -0.9996862293931839) + (f64.const -0.2760058343410492) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1010) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 4.345239849338305) + (f64.const 76.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1011) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.38143342755525) + (f64.const -0.9997709186615084) + (f64.const 0.10052496194839478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1012) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -6.531673581913484) + (f64.const -0.9985434338739069) + (f64.const -0.27437829971313477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1013) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 9.267056966972586) + (f64.const 10582.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1014) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.6619858980995045) + (f64.const 0.9386384525571999) + (f64.const 0.007150684483349323) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1015) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.4066039223853553) + (f64.const -0.3340921107161975) + (f64.const -0.21216636896133423) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1016) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.5617597462207241) + (f64.const 0.7537559518626312) + (f64.const 0.21675777435302734) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1017) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.7741522965913037) + (f64.const 1.1687528885129248) + (f64.const 0.4007748067378998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1018) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.6787637026394024) + (f64.const -0.4927562910597158) + (f64.const -0.05476519837975502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1019) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1022) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1023) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 1) + (f64.const 1.7182818284590453) + (f64.const 0.348938524723053) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1024) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -1) + (f64.const -0.6321205588285577) + (f64.const 0.11194825917482376) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1025) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1026) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1027) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1028) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 2.225073858507201e-308) + (f64.const 2.225073858507201e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1029) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -2.225073858507201e-308) + (f64.const -2.225073858507201e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1030) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.066848754882812) + (f32.const -0.9996862411499023) + (f32.const -0.19532723724842072) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1039) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 4.345239639282227) + (f32.const 76.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1040) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.381433486938477) + (f32.const -0.9997709393501282) + (f32.const -0.34686920046806335) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1041) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -6.531673431396484) + (f32.const -0.9985434412956238) + (f32.const -0.1281939446926117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1042) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 9.267057418823242) + (f32.const 10582.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1043) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.6619858741760254) + (f32.const 0.9386383891105652) + (f32.const -0.28634780645370483) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1044) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.40660393238067627) + (f32.const -0.3340921103954315) + (f32.const 0.23410017788410187) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1045) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.5617597699165344) + (f32.const 0.7537559866905212) + (f32.const -0.11289017647504807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1046) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.7741522789001465) + (f32.const 1.168752908706665) + (f32.const 0.4912493824958801) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1047) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.6787636876106262) + (f32.const -0.49275627732276917) + (f32.const 0.20514154434204102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1048) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1051) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1052) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 1) + (f32.const 1.718281865119934) + (f32.const 0.3075338304042816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1053) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -1) + (f32.const -0.6321205496788025) + (f32.const 0.15350742638111115) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1054) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1055) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1056) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1057) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const 9.25452742288464) + (f64.const -0.31188681721687317) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1067) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 9.893305808328252) + (f64.const 0.4593673348426819) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1068) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const 8.825301797432132) + (f64.const -0.1701754331588745) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1069) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const 7.970265885519092) + (f64.const -0.3176782727241516) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1070) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 10.441639651824575) + (f64.const -0.2693633437156677) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1071) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const 6.483936052542593) + (f64.const 0.35618898272514343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1072) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 7.859063309581766) + (f64.const 0.08044655621051788) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1073) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const 7.717156764899584) + (f64.const 0.05178084969520569) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1074) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 2.104006123874314) + (f64.const -0.0918039008975029) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1075) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const 0.5596880129062913) + (f64.const 0.1383407711982727) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1076) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 3) + (f64.const 4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1079) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -3) + (f64.const 4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1080) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4) + (f64.const 3) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1081) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4) + (f64.const -3) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1082) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const -3) + (f64.const -4) + (f64.const 5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1083) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1084) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const -0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1085) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const 0) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1086) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const -0) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1087) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1088) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1089) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1090) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1091) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1092) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1093) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1094) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1095) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1096) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1097) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 9.254528045654297) + (f32.const 0.2735958993434906) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 9.893305778503418) + (f32.const 0.4530770778656006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const 8.825302124023438) + (f32.const 0.30755728483200073) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const 7.970265865325928) + (f32.const 0.06785223633050919) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1109) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 10.44163990020752) + (f32.const -0.26776307821273804) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 6.483936309814453) + (f32.const 0.48381292819976807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 7.859063148498535) + (f32.const 0.07413065433502197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const 7.717156887054443) + (f32.const 0.4940592646598816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 2.104006052017212) + (f32.const -0.287089467048645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const 0.5596880316734314) + (f32.const 0.4191940724849701) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3) + (f32.const 4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -3) + (f32.const 4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4) + (f32.const 3) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 4) + (f32.const -3) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const -3) + (f32.const -4) + (f32.const 5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const -0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const 0) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const -0) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1134) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypotf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 4.345239849338305) + (f64.const 1.4690809584224322) + (f64.const -0.3412533402442932) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 9.267056966972586) + (f64.const 2.2264658498795615) + (f64.const 0.3638114035129547) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.6619858980995045) + (f64.const -0.4125110252365137) + (f64.const -0.29108747839927673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.5617597462207241) + (f64.const -0.5766810183195862) + (f64.const -0.10983199626207352) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0.7741522965913037) + (f64.const -0.2559866591263865) + (f64.const -0.057990044355392456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1174) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1175) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1176) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 4.345239849338305) + (f64.const 0.6380137537120029) + (f64.const -0.2088824063539505) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 9.267056966972586) + (f64.const 0.9669418327487274) + (f64.const -0.06120431795716286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.6619858980995045) + (f64.const -0.17915126198447093) + (f64.const 0.39090874791145325) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.5617597462207241) + (f64.const -0.25044938407454437) + (f64.const -0.3046841621398926) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0.7741522965913037) + (f64.const -0.11117359349943837) + (f64.const -0.31503361463546753) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 4.345239639282227) + (f32.const 0.6380137205123901) + (f32.const -0.20476758480072021) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 9.267057418823242) + (f32.const 0.9669418334960938) + (f32.const -0.34273025393486023) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.6619858741760254) + (f32.const -0.1791512817144394) + (f32.const -0.27078554034233093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.5617597699165344) + (f32.const -0.25044935941696167) + (f32.const 0.2126826047897339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0.7741522789001465) + (f32.const -0.1111735999584198) + (f32.const 0.46515095233917236) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 4.345239849338305) + (f64.const 1.6762064170601734) + (f64.const 0.46188199520111084) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1260) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1261) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 9.267056966972586) + (f64.const 2.3289404168523826) + (f64.const -0.411114901304245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1262) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.6619858980995045) + (f64.const 0.5080132114992477) + (f64.const -0.29306045174598694) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1263) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0.4066039223853553) + (f64.const -0.5218931811663979) + (f64.const -0.25825726985931396) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.5617597462207241) + (f64.const 0.4458132279488102) + (f64.const -0.13274887204170227) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.7741522965913037) + (f64.const 0.5733227294648414) + (f64.const 0.02716583013534546) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0.6787637026394024) + (f64.const -1.1355782978128564) + (f64.const 0.2713092863559723) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1271) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -7.888609052210118e-31) + (f64.const -7.888609052210118e-31) + (f64.const 1.7763568394002505e-15) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1272) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const 1) + (f64.const 0.6931471805599453) + (f64.const -0.2088811695575714) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1273) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1274) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1275) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1276) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1p + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1277) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1286) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 4.345239639282227) + (f32.const 1.676206350326538) + (f32.const -0.23014859855175018) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1288) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1289) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 9.267057418823242) + (f32.const 2.3289403915405273) + (f32.const -0.29075589776039124) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0.6619858741760254) + (f32.const 0.5080131888389587) + (f32.const -0.1386766880750656) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1291) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0.40660393238067627) + (f32.const -0.5218932032585144) + (f32.const -0.08804433047771454) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1292) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0.5617597699165344) + (f32.const 0.44581323862075806) + (f32.const -0.15101368725299835) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1293) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0.7741522789001465) + (f32.const 0.5733227133750916) + (f32.const -0.10264533013105392) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1294) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0.6787636876106262) + (f32.const -1.1355782747268677) + (f32.const -0.19879481196403503) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1295) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1298) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1299) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -7.888609052210118e-31) + (f32.const -7.888609052210118e-31) + (f32.const 3.308722450212111e-24) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const 1) + (f32.const 0.6931471824645996) + (f32.const 0.031954795122146606) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1301) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1302) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1303) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1304) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1305) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log1pf + (f32.const -1.1754942106924411e-38) + (f32.const -1.1754942106924411e-38) + (f32.const 4.930380657631324e-32) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1306) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 4.345239849338305) + (f64.const 2.1194358133804485) + (f64.const -0.10164877772331238) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1317) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1318) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1319) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 9.267056966972586) + (f64.const 3.2121112403298744) + (f64.const -0.15739446878433228) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1320) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.6619858980995045) + (f64.const -0.5951276104207402) + (f64.const 0.3321485221385956) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1321) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1322) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.5617597462207241) + (f64.const -0.8319748453044644) + (f64.const 0.057555437088012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1323) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0.7741522965913037) + (f64.const -0.36931068365537134) + (f64.const -0.19838279485702515) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1324) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1325) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1328) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1329) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1331) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1332) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1333) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1334) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1335) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1344) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 4.345239639282227) + (f32.const 2.1194357872009277) + (f32.const 0.18271538615226746) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1345) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1346) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1347) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 9.267057418823242) + (f32.const 3.212111234664917) + (f32.const -0.3188050389289856) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1348) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.6619858741760254) + (f32.const -0.5951276421546936) + (f32.const 0.34231460094451904) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1349) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1350) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.5617597699165344) + (f32.const -0.8319748044013977) + (f32.const -0.33473604917526245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1351) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0.7741522789001465) + (f32.const -0.3693107068538666) + (f32.const 0.3278401792049408) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1352) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1353) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1356) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1357) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1358) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1359) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1360) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1361) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1362) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_log2f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1363) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1374) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.1347118825587285e-06) + (f64.const 0.3250160217285156) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1375) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1376) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1377) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 44909.29941512966) + (f64.const -0.26659080386161804) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1378) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1379) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.1135177413458652) + (f64.const -0.37168607115745544) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1380) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1381) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.37690773521380183) + (f64.const 0.32473301887512207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1382) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1383) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1386) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1387) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 3) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1388) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1389) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1390) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1391) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1392) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1393) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1394) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -1) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1395) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1396) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -3) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1397) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1398) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1399) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1400) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1401) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 3) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1402) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1403) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1404) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1405) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1406) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1407) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1408) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1409) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1410) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -3) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1411) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1412) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1413) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1414) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1415) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1416) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1417) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1418) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1419) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1420) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1421) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1422) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1423) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1424) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1425) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1426) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1427) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1428) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 2) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1429) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1430) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -2) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1431) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const -3) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1432) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -1) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1433) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1434) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1435) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1436) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 3) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1437) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1438) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1439) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1) + (f64.const -3) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1440) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1441) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1442) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 2) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1443) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 3) + (f64.const -0.125) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1444) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1445) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1446) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1447) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1448) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1449) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1450) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1451) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1452) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1453) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1454) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1455) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1456) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 3) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1457) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1458) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1459) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1460) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1461) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1462) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const inf) + (f64.const -2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1463) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1464) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1465) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1466) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 3) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1467) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1468) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1469) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1470) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1471) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1472) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -2) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1473) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1474) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1475) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -2) + (f64.const 1) + (f64.const -2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1476) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_pow + (f64.const -2) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1477) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 2) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1486) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -2) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 2.134714122803416e-06) + (f32.const 0.1436440795660019) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1487) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1488) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1489) + (i32.const 0) + ) + (unreachable) ) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 44909.33203125) + (f32.const -0.05356409028172493) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1490) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1491) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 1.1135177612304688) + (f32.const 0.19122089445590973) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1492) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0.5) - (f64.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1493) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.3769077658653259) + (f32.const 0.337149053812027) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1494) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1495) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1498) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1.5) - (f64.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1499) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 3) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1500) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 2) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1501) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -2) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1502) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1503) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1504) + (i32.const 0) + ) + (unreachable) ) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1505) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1506) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -1) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1507) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1508) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -3) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1509) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_fmod - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1510) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1511) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1512) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const inf) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1513) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 3) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1514) + (i32.const 0) + ) + (unreachable) ) - (f64.const -0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_fmod - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1515) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1516) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1517) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1518) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1519) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1520) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1521) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1522) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -3) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1523) + (i32.const 0) + ) + (unreachable) ) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1524) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1525) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1526) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1527) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1528) + (i32.const 0) + ) + (unreachable) ) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) ) - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1529) + (i32.const 0) + ) + (unreachable) ) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1) - (f64.const inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const inf) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) ) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const 1) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1530) + (i32.const 0) + ) + (unreachable) ) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_fmod - (f64.const -1) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) ) - (f64.const -1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const inf) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1531) + (i32.const 0) + ) + (unreachable) ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) ) - (call $std/math/test_fmod - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) ) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1532) + (i32.const 0) + ) + (unreachable) ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_fmod - (f64.const 1.75) - (f64.const 0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1.75) - (f64.const 0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const 1.75) - (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmod - (f64.const -1.75) - (f64.const -0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const -3.531186103820801) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 4.345239639282227) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 4.455665111541748) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 0.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -0.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 1.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 2) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -2) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1533) + (i32.const 0) + ) + (unreachable) ) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1534) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1535) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1536) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1537) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1538) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1539) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1540) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 2) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 2) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1541) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -2) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1542) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -2) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1543) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const -3) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1544) + (i32.const 0) + ) + (unreachable) ) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -1) + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1545) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1546) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1547) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1548) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 3) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1549) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_fmodf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1550) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -0.5) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1551) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const -3) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1552) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const inf) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1553) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1554) + (i32.const 0) + ) + (unreachable) ) - (f32.const -0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_fmodf - (f32.const -0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 2) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1555) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 3) + (f32.const -0.125) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1556) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1557) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1558) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1559) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1560) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1561) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1562) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1563) + (i32.const 0) + ) + (unreachable) ) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1564) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1565) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1566) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1567) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1568) + (i32.const 0) + ) + (unreachable) ) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 3) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1569) + (i32.const 0) + ) + (unreachable) ) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.const inf) - (f32.const -1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_fmodf - (f32.const 1) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1570) + (i32.const 0) + ) + (unreachable) ) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_fmodf - (f32.const -1) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const -1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const inf) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1571) + (i32.const 0) + ) + (unreachable) ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) ) - (call $std/math/test_fmodf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) ) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1572) + (i32.const 0) + ) + (unreachable) ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_fmodf - (f32.const 1.75) - (f32.const 0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1.75) - (f32.const 0.5) - (f32.const -0.25) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const 1.75) - (f32.const -0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_fmodf - (f32.const -1.75) - (f32.const -0.5) - (f32.const -0.25) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_log - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1573) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 4.345239849338305) - (f64.const 1.4690809584224322) - (f64.const -0.3412533402442932) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1574) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const inf) + (f32.const -2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1575) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1576) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 9.267056966972586) - (f64.const 2.2264658498795615) - (f64.const 0.3638114035129547) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1577) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.6619858980995045) - (f64.const -0.4125110252365137) - (f64.const -0.29108747839927673) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1578) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 3) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1579) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.5617597462207241) - (f64.const -0.5766810183195862) - (f64.const -0.10983199626207352) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1580) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0.7741522965913037) - (f64.const -0.2559866591263865) - (f64.const -0.057990044355392456) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1581) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1582) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_log - (f64.const 0) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) ) - (f64.const 0) - (i32.const 4) - ) - (call $std/math/test_log - (f64.const -0) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1583) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (i32.const 4) - ) - (call $std/math/test_log - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_log - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_log - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_log - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_log - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_log - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_logf - (f32.const 0) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1584) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 4) ) - (call $std/math/test_logf - (f32.const -0) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -2) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_logf - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1585) + (i32.const 0) + ) + (unreachable) ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_logf - (f32.const 0) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_logf - (f32.const -0) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1586) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_logf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_logf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.const -8.06684839057968) - (f64.const 3.137706068161745e-04) - (f64.const -0.2599197328090668) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 4.345239849338305) - (f64.const 77.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -8.38143342755525) - (f64.const 2.290813384916323e-04) - (f64.const -0.24974334239959717) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -6.531673581913484) - (f64.const 1.4565661260931588e-03) - (f64.const -0.4816822409629822) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 9.267056966972586) - (f64.const 10583.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 0.6619858980995045) - (f64.const 1.9386384525571998) - (f64.const -0.4964246451854706) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -0.4066039223853553) - (f64.const 0.6659078892838025) - (f64.const -0.10608318448066711) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 0.5617597462207241) - (f64.const 1.7537559518626311) - (f64.const -0.39162111282348633) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 0.7741522965913037) - (f64.const 2.1687528885129246) - (f64.const -0.2996125817298889) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -0.6787637026394024) - (f64.const 0.5072437089402843) - (f64.const 0.47261738777160645) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.const 1) - (f64.const 2.718281828459045) - (f64.const -0.3255307376384735) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -1) - (f64.const 0.36787944117144233) - (f64.const 0.22389651834964752) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1587) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_exp - (f64.const 1.0397214889526365) - (f64.const 2.828429155876411) - (f64.const 0.18803080916404724) - (i32.const 1) - ) - (call $std/math/test_exp - (f64.const -1.0397214889526365) - (f64.const 0.35355313670217847) - (f64.const 0.2527272403240204) - (i32.const 1) ) - (call $std/math/test_exp - (f64.const 1.0397210121154785) - (f64.const 2.8284278071766122) - (f64.const -0.4184139370918274) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -2) + (f32.const 1) + (f32.const -2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1588) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_exp - (f64.const 1.0397214889526367) - (f64.const 2.8284291558764116) - (f64.const -0.22618377208709717) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -2) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1589) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -8.066848754882812) - (f32.const 3.1377049162983894e-04) - (f32.const -0.030193336308002472) - (i32.const 1) + (call "$(lib)/math/NativeMath.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) ) - (call $std/math/test_expf - (f32.const 4.345239639282227) - (f32.const 77.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (block $break|0 + (set_local $0 + (i32.const 0) + ) + (loop $continue|0 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e7) + ) + (block + (block + (set_local $1 + (call "$(lib)/math/NativeMath.random") + ) + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $2 + (f64.ge + (get_local $1) + (f64.const 0) + ) + ) + (f64.lt + (get_local $1) + (f64.const 1) + ) + (get_local $2) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1596) + (i32.const 2) + ) + (unreachable) + ) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) ) - (call $std/math/test_expf - (f32.const -8.381433486938477) - (f32.const 2.2908132814336568e-04) - (f32.const 0.2237040400505066) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -8.06684839057968) + (f64.const -1593.5206801156262) + (f64.const -0.2138727605342865) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1666) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -6.531673431396484) - (f32.const 1.4565663877874613e-03) - (f32.const 0.36469703912734985) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 4.345239849338305) + (f64.const 38.54878088685412) + (f64.const 0.21537430584430695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1667) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 9.267057418823242) - (f32.const 10583.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -8.38143342755525) + (f64.const -2182.6307505145546) + (f64.const 0.16213826835155487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1668) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.6619858741760254) - (f32.const 1.93863844871521) - (f32.const 0.3568260967731476) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -6.531673581913484) + (f64.const -343.2723926847529) + (f64.const 0.20479513704776764) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1669) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0.40660393238067627) - (f32.const 0.6659078598022461) - (f32.const -0.38294991850852966) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 9.267056966972586) + (f64.const 5291.7790755194055) + (f64.const -0.48676517605781555) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1670) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.5617597699165344) - (f32.const 1.753756046295166) - (f32.const 0.44355490803718567) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.6619858980995045) + (f64.const 0.7114062568229157) + (f64.const -0.4584641456604004) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1671) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0.7741522789001465) - (f32.const 2.168752908706665) - (f32.const 0.24562469124794006) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0.4066039223853553) + (f64.const -0.41790065258739445) + (f64.const 0.37220045924186707) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1672) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0.6787636876106262) - (f32.const 0.5072436928749084) - (f32.const -0.3974292278289795) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.5617597462207241) + (f64.const 0.5917755935451237) + (f64.const 0.46178996562957764) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1673) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0.7741522965913037) + (f64.const 0.8538292008852542) + (f64.const -0.07019051909446716) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1674) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0.6787637026394024) + (f64.const -0.732097615653169) + (f64.const 0.26858529448509216) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1675) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 1) - (f32.const 2.7182817459106445) - (f32.const -0.3462330996990204) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1678) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const -1) - (f32.const 0.3678794503211975) - (f32.const 0.3070148527622223) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1679) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1680) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1681) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_expf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1682) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 88.72283172607422) - (f32.const 340279851902147610656242e15) - (f32.const -0.09067153930664062) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -8.066848754882812) + (f32.const -1593.521240234375) + (f32.const 0.1671663224697113) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1691) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_expf - (f32.const 88.72283935546875) - (f32.const inf) - (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 16) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 4.345239639282227) + (f32.const 38.548770904541016) + (f32.const -0.49340328574180603) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1692) + (i32.const 0) + ) + (unreachable) ) ) - (call $std/math/test_expf - (f32.const -103.97207641601562) - (f32.const 1.401298464324817e-45) - (f32.const 0.49999967217445374) - (i32.or - (i32.const 1) - (i32.const 8) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -8.381433486938477) + (f32.const -2182.630859375) + (f32.const 0.0849970355629921) + (i32.const 1) + ) ) - ) - (call $std/math/test_expf - (f32.const -103.97208404541016) - (f32.const 0) - (f32.const -0.49999651312828064) - (i32.or - (i32.const 1) - (i32.const 8) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1693) + (i32.const 0) + ) + (unreachable) ) ) - (call $std/math/test_expf - (f32.const 0.3465735614299774) - (f32.const 1.4142135381698608) - (f32.const 0.13922421634197235) - (i32.const 1) - ) - (call $std/math/test_expf - (f32.const 0.3465735912322998) - (f32.const 1.4142135381698608) - (f32.const -0.21432916820049286) - (i32.const 1) - ) - (call $std/math/test_expf - (f32.const 0.3465736210346222) - (f32.const 1.4142136573791504) - (f32.const 0.43211743235588074) - (i32.const 1) - ) - (call $std/math/test_pow - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_pow - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 2.1347118825587285e-06) - (f64.const 0.3250160217285156) - (i32.const 1) - ) - (call $std/math/test_pow - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_pow - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - (call $std/math/test_pow - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 44909.29941512966) - (f64.const -0.26659080386161804) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -6.531673431396484) + (f32.const -343.2723388671875) + (f32.const 0.0704190656542778) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1694) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 9.267057418823242) + (f32.const 5291.78125) + (f32.const -0.44362515211105347) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1695) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 1.1135177413458652) - (f64.const -0.37168607115745544) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.6619858741760254) + (f32.const 0.7114062309265137) + (f32.const 0.058103885501623154) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1696) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0.40660393238067627) + (f32.const -0.4179006516933441) + (f32.const 0.39349499344825745) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1697) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.37690773521380183) - (f64.const 0.32473301887512207) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.5617597699165344) + (f32.const 0.5917755961418152) + (f32.const -0.4183797240257263) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1698) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0.7741522789001465) + (f32.const 0.8538292050361633) + (f32.const 0.45992106199264526) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1699) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0.6787636876106262) + (f32.const -0.7320976257324219) + (f32.const -0.48159059882164) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1700) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1703) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 3) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1704) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1705) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1706) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1707) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1717) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4.345239849338305) + (f64.const 2.0845238903256313) + (f64.const -0.07180261611938477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1718) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1719) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -1) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1720) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -2) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 9.267056966972586) + (f64.const 3.0441841217266385) + (f64.const -0.01546262577176094) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1721) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -3) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.6619858980995045) + (f64.const 0.8136251582267503) + (f64.const -0.08618157356977463) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1722) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.const -4) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1723) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.5617597462207241) + (f64.const 0.7495063350104014) + (f64.const -0.0981396734714508) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1724) + (i32.const 0) + ) + (unreachable) ) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.7741522965913037) + (f64.const 0.879859248170583) + (f64.const -0.37124353647232056) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1725) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1726) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 3) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1729) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1730) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1731) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1732) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1733) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1734) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (i32.const 4) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1735) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -1) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1736) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (i32.const 4) - ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -2) - (f64.const inf) - (f64.const 0) - (i32.const 4) ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -3) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1e-323) + (f64.const 3.1434555694052576e-162) + (f64.const 0.43537619709968567) + (i32.const 1) + ) ) - (f64.const 0) - (i32.const 4) - ) - (call $std/math/test_pow - (f64.const -0) - (f64.const -4) - (f64.const inf) - (f64.const 0) - (i32.const 4) - ) - (call $std/math/test_pow - (f64.const -0) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1737) + (i32.const 0) + ) + (unreachable) ) - (f64.const inf) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.5e-323) + (f64.const 3.849931087076416e-162) + (f64.const -0.45194002985954285) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1738) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5e-324) + (f64.const 2.2227587494850775e-162) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1739) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -5e-324) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1740) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1741) + (i32.const 0) + ) + (unreachable) ) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.9999999999999998) + (f64.const 1.414213562373095) + (f64.const -0.21107041835784912) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1742) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1743) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.0000000000000004) + (f64.const 1.4142135623730951) + (f64.const -0.27173060178756714) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1744) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1745) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1746) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const -1797693134862315708145274e284) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1747) + (i32.const 0) + ) + (unreachable) ) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 2) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862315708145274e284) + (f64.const 1340780792994259561100831e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1748) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -1) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 179769313486231490980915e285) + (f64.const 134078079299425926338769e131) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1749) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -2) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862314111473026e284) + (f64.const 1340780792994258965674548e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1750) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const -3) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862313313136902e284) + (f64.const 1340780792994258667961407e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1751) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -1) - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862312514800778e284) + (f64.const 1340780792994258370248265e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1752) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862311716464655e284) + (f64.const 1340780792994258072535124e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1753) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862310918128531e284) + (f64.const 1340780792994257774821982e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1754) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862310119792407e284) + (f64.const 1340780792994257477108841e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1755) + (i32.const 0) + ) + (unreachable) ) - (f64.const 1) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 3) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862309321456283e284) + (f64.const 1340780792994257179395699e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1756) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const 0.5) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862308523120159e284) + (f64.const 1340780792994256881682558e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1757) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -0.5) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1797693134862307724784036e284) + (f64.const 1340780792994256583969417e130) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1758) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1) - (f64.const -3) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507203e-308) + (f64.const 1.4916681462400417e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1759) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507205e-308) + (f64.const 1.4916681462400423e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1760) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507207e-308) + (f64.const 1.491668146240043e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1761) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 2) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507209e-308) + (f64.const 1.4916681462400437e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1762) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 3) - (f64.const -0.125) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.225073858507211e-308) + (f64.const 1.4916681462400443e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1763) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072127e-308) + (f64.const 1.491668146240045e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1764) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072147e-308) + (f64.const 1.4916681462400457e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1765) + (i32.const 0) + ) + (unreachable) ) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072167e-308) + (f64.const 1.4916681462400463e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1766) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072187e-308) + (f64.const 1.491668146240047e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1767) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072207e-308) + (f64.const 1.4916681462400476e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1768) + (i32.const 0) + ) + (unreachable) ) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072226e-308) + (f64.const 1.4916681462400483e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1769) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072246e-308) + (f64.const 1.491668146240049e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1770) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072266e-308) + (f64.const 1.4916681462400496e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1771) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.2250738585072286e-308) + (f64.const 1.4916681462400503e-154) + (f64.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1772) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 92.35130391890645) + (f64.const 9.609958580499006) + (f64.const 0.4998137056827545) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1773) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 93.3599596388916) + (f64.const 9.662295774757238) + (f64.const -0.49979978799819946) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1774) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 95.42049628886124) + (f64.const 9.76834153215689) + (f64.const -0.49997270107269287) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1775) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 3) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 95.87916941885449) + (f64.const 9.791790919890728) + (f64.const 0.4998766779899597) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1776) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 96.84804174884022) + (f64.const 9.841140266698785) + (f64.const 0.499801903963089) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1777) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 1) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.43639050883155) + (f64.const 9.87098731175517) + (f64.const 0.4997696280479431) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1778) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.50957979883047) + (f64.const 9.874693909120955) + (f64.const 0.49999818205833435) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1779) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 97.80496893882612) + (f64.const 9.88963947466368) + (f64.const -0.4999580681324005) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1780) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 98.2751822888192) + (f64.const 9.913383997849534) + (f64.const 0.49979931116104126) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1781) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.const inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 99.47293564880155) + (f64.const 9.973611966023219) + (f64.const -0.4999540448188782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1782) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.57047130878539) + (f64.const 10.028483001370914) + (f64.const -0.49996453523635864) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1783) + (i32.const 0) + ) + (unreachable) ) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.60954608878481) + (f64.const 10.030431002144665) + (f64.const 0.49975672364234924) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1784) + (i32.const 0) + ) + (unreachable) ) - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 100.67909109878379) + (f64.const 10.033897104255344) + (f64.const -0.4997771382331848) + (i32.const 1) + ) ) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1785) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 101.12268095877725) + (f64.const 10.055977374615422) + (f64.const 0.49988678097724915) + (i32.const 1) + ) ) - (f64.const 3) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1786) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 101.3027691287746) + (f64.const 10.064927676281366) + (f64.const 0.4999105632305145) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1787) + (i32.const 0) + ) + (unreachable) ) - (f64.const 2) - (f64.const inf) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.45932313565507e-307) + (f64.const 4.9591563149945874e-154) + (f64.const -0.4998999834060669) + (i32.const 1) + ) ) - (f64.const 1) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1788) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5.610957305180409e-307) + (f64.const 7.490632353266584e-154) + (f64.const -0.4999343752861023) + (i32.const 1) + ) ) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1789) + (i32.const 0) + ) + (unreachable) ) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) - (i32.const 0) ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 5.8073887977408524e-307) + (f64.const 7.62062254526548e-154) + (f64.const -0.49989569187164307) + (i32.const 1) + ) ) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1790) + (i32.const 0) + ) + (unreachable) ) - (f64.const -2) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const -2) - (f64.const 1) - (f64.const -2) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_pow - (f64.const -2) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 2.134714122803416e-06) - (f32.const 0.1436440795660019) - (i32.const 1) ) - (call $std/math/test_powf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 44909.33203125) - (f32.const -0.05356409028172493) - (i32.const 1) - ) - (call $std/math/test_powf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 1.1135177612304688) - (f32.const 0.19122089445590973) - (i32.const 1) - ) - (call $std/math/test_powf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.3769077658653259) - (f32.const 0.337149053812027) - (i32.const 1) - ) - (call $std/math/test_powf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 3) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 2) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -1) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -2) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -3) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.const -4) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const 0) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 7.026137080471427e-307) + (f64.const 8.382205605013174e-154) + (f64.const 0.49980640411376953) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1791) + (i32.const 0) + ) + (unreachable) ) - (f32.const inf) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 3) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 2) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (i32.const 4) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -1) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 8.438697769194972e-307) + (f64.const 9.186238495268328e-154) + (f64.const -0.4999065697193146) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1792) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -2) - (f32.const inf) - (f32.const 0) - (i32.const 4) ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -3) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.1607792515836795e-306) + (f64.const 1.0773946591586944e-153) + (f64.const -0.49997684359550476) + (i32.const 1) + ) ) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.const -4) - (f32.const inf) - (f32.const 0) - (i32.const 4) - ) - (call $std/math/test_powf - (f32.const -0) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1793) + (i32.const 0) + ) + (unreachable) ) - (f32.const inf) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.2827413827423193e-306) + (f64.const 1.1325817333606962e-153) + (f64.const -0.4999513030052185) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1794) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 1.7116604596087457e-306) + (f64.const 1.3083044216117078e-153) + (f64.const -0.49986395239830017) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1795) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.038173251686994e-306) + (f64.const 1.4276460526639628e-153) + (f64.const 0.4998403787612915) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1796) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.171572060856931e-306) + (f64.const 1.4736254818836879e-153) + (f64.const 0.4999290406703949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1797) + (i32.const 0) + ) + (unreachable) ) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.4681399631804094e-306) + (f64.const 1.5710314965589996e-153) + (f64.const 0.49989044666290283) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1798) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.5175533964200588e-306) + (f64.const 1.5866799918131124e-153) + (f64.const -0.4997701048851013) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1799) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const -0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 2.6461505468829625e-306) + (f64.const 1.6266992797941982e-153) + (f64.const 0.4998672902584076) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1800) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 3.8167076367720413e-306) + (f64.const 1.9536395872248397e-153) + (f64.const 0.49983471632003784) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1801) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrt + (f64.const 4.5743220778562766e-306) + (f64.const 2.1387664851161936e-153) + (f64.const 0.49985939264297485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1802) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1811) + (i32.const 0) + ) + (unreachable) ) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4.345239639282227) + (f32.const 2.084523916244507) + (f32.const 0.3200402557849884) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1812) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1813) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1814) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const -3) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 9.267057418823242) + (f32.const 3.0441842079162598) + (f32.const 0.05022354796528816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1815) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -1) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.6619858741760254) + (f32.const 0.813625156879425) + (f32.const 0.2240506112575531) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1816) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1817) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const inf) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.5617597699165344) + (f32.const 0.7495063543319702) + (f32.const 0.05895441770553589) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1818) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.7741522789001465) + (f32.const 0.879859209060669) + (f32.const -0.4874873757362366) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1819) + (i32.const 0) + ) + (unreachable) ) - (f32.const 1) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 3) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1820) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const 0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1823) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1824) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1) - (f32.const -3) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1825) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1826) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1827) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 2) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1828) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 3) - (f32.const -0.125) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1829) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1830) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.802596928649634e-45) + (f32.const 5.293955920339377e-23) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1831) + (i32.const 0) + ) + (unreachable) ) - (f32.const inf) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4.203895392974451e-45) + (f32.const 6.483745598763743e-23) + (f32.const 0.37388554215431213) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1832) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.401298464324817e-45) + (f32.const 3.743392066509216e-23) + (f32.const -0.20303145051002502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1833) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -1.401298464324817e-45) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1834) + (i32.const 0) + ) + (unreachable) ) - (f32.const inf) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 3402823466385288598117041e14) + (f32.const 18446742974197923840) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1835) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const -3402823466385288598117041e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1836) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.9999998807907104) + (f32.const 0.9999999403953552) + (f32.const 2.980232594040899e-08) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1837) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 0.9999999403953552) + (f32.const 0.9999999403953552) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1838) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.999999761581421) + (f32.const 1.4142134189605713) + (f32.const -0.4959246516227722) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1839) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.9999998807907104) + (f32.const 1.4142135381698608) + (f32.const 0.15052194893360138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1840) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.0000001192092896) + (f32.const 1) + (f32.const -0.5) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1841) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 3) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 1.000000238418579) + (f32.const 1.0000001192092896) + (f32.const 5.960463766996327e-08) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1842) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.000000238418579) + (f32.const 1.4142136573791504) + (f32.const 0.08986179530620575) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1843) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 1) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 2.000000476837158) + (f32.const 1.41421377658844) + (f32.const 0.3827550709247589) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1844) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -8.06684839057968) + (f64.const -0.999999803096032) + (f64.const 0.012793331407010555) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1913) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 4.345239849338305) + (f64.const 0.9996636978961307) + (f64.const 0.1573508232831955) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1914) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -8.38143342755525) + (f64.const -0.9999998950434862) + (f64.const 0.27985066175460815) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1915) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.const inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -6.531673581913484) + (f64.const -0.9999957568392429) + (f64.const -0.44285574555397034) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1916) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 9.267056966972586) + (f64.const 0.9999999821447234) + (f64.const 0.4462755024433136) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1917) + (i32.const 0) + ) + (unreachable) ) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.6619858980995045) + (f64.const 0.5796835018635275) + (f64.const 0.4892043173313141) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1918) + (i32.const 0) + ) + (unreachable) ) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0.4066039223853553) + (f64.const -0.3855853099901652) + (f64.const 0.35993871092796326) + (i32.const 1) + ) ) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1919) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.5617597462207241) + (f64.const 0.5092819248700439) + (f64.const -0.39436522126197815) + (i32.const 1) + ) ) - (f32.const 3) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1920) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0.7741522965913037) + (f64.const 0.6493374550318555) + (f64.const -0.4899396002292633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1921) + (i32.const 0) + ) + (unreachable) ) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0.6787637026394024) + (f64.const -0.590715084799841) + (f64.const -0.0145387789234519) + (i32.const 1) + ) ) - (f32.const 1) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1922) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) ) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1925) + (i32.const 0) + ) + (unreachable) ) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) ) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1926) + (i32.const 0) + ) + (unreachable) ) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_powf - (f32.const -2) - (f32.const 1) - (f32.const -2) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_powf - (f32.const -2) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const -8.06684839057968) - (f64.const -2.0055552545020245) - (f64.const 0.46667951345443726) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const 4.345239849338305) - (f64.const 1.6318162410515635) - (f64.const -0.08160271495580673) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const -8.38143342755525) - (f64.const -2.031293910673361) - (f64.const -0.048101816326379776) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const -6.531673581913484) - (f64.const -1.8692820012204925) - (f64.const 0.08624018728733063) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const 9.267056966972586) - (f64.const 2.100457720859702) - (f64.const -0.2722989022731781) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const 0.6619858980995045) - (f64.const 0.8715311470455973) - (f64.const 0.4414918124675751) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const -0.4066039223853553) - (f64.const -0.740839030300223) - (f64.const 0.016453813761472702) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const 0.5617597462207241) - (f64.const 0.8251195400559286) - (f64.const 0.30680638551712036) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const 0.7741522965913037) - (f64.const 0.9182102478959914) - (f64.const 0.06543998420238495) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const -0.6787637026394024) - (f64.const -0.8788326906580094) - (f64.const -0.2016713172197342) - (i32.const 1) - ) - (call $std/math/test_cbrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.neg - (f64.const inf) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) ) - (f64.neg - (f64.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1927) + (i32.const 0) + ) + (unreachable) ) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const 9.313225746154785e-10) - (f64.const 0.0009765625) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const -9.313225746154785e-10) - (f64.const -0.0009765625) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const 1) - (f64.const 1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const -1) - (f64.const -1) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrt - (f64.const 8) - (f64.const 2) - (f64.const 0) - (i32.const 0) - ) - (call $std/math/test_cbrtf - (f32.const -8.066848754882812) - (f32.const -2.0055553913116455) - (f32.const -0.44719240069389343) - (i32.const 1) - ) - (call $std/math/test_cbrtf - (f32.const 4.345239639282227) - (f32.const 1.6318162679672241) - (f32.const 0.44636252522468567) - (i32.const 1) ) - (call $std/math/test_cbrtf - (f32.const -8.381433486938477) - (f32.const -2.0312938690185547) - (f32.const 0.19483426213264465) - (i32.const 1) - ) - (call $std/math/test_cbrtf - (f32.const -6.531673431396484) - (f32.const -1.8692820072174072) - (f32.const -0.17075514793395996) - (i32.const 1) - ) - (call $std/math/test_cbrtf - (f32.const 9.267057418823242) - (f32.const 2.1004576683044434) - (f32.const -0.36362043023109436) - (i32.const 1) - ) - (call $std/math/test_cbrtf - (f32.const 0.6619858741760254) - (f32.const 0.8715311288833618) - (f32.const -0.12857209146022797) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1928) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0.40660393238067627) - (f32.const -0.7408390641212463) - (f32.const -0.4655757546424866) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1929) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0.5617597699165344) - (f32.const 0.8251195549964905) - (f32.const 0.05601907894015312) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -8.066848754882812) + (f32.const -0.9999998211860657) + (f32.const -0.3034979999065399) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1938) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 0.7741522789001465) - (f32.const 0.9182102680206299) - (f32.const 0.45498204231262207) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 4.345239639282227) + (f32.const 0.9996637105941772) + (f32.const 0.2154078334569931) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1939) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0.6787636876106262) - (f32.const -0.8788326978683472) - (f32.const -0.22978967428207397) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -8.381433486938477) + (f32.const -0.9999998807907104) + (f32.const 0.23912210762500763) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1940) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -6.531673431396484) + (f32.const -0.999995768070221) + (f32.const -0.18844597041606903) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1941) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 9.267057418823242) + (f32.const 1) + (f32.const 0.1497807800769806) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1942) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.neg - (f32.const inf) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.6619858741760254) + (f32.const 0.5796834826469421) + (f32.const -0.05590476095676422) + (i32.const 1) + ) ) - (f32.neg - (f32.const inf) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1943) + (i32.const 0) + ) + (unreachable) ) - (f32.const 0) - (i32.const 0) ) - (call $std/math/test_cbrtf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0.40660393238067627) + (f32.const -0.38558530807495117) + (f32.const 0.349787175655365) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1944) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.5617597699165344) + (f32.const 0.5092819333076477) + (f32.const -0.1528785079717636) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1945) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 9.313225746154785e-10) - (f32.const 0.0009765625) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0.7741522789001465) + (f32.const 0.6493374705314636) + (f32.const 0.4317026138305664) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1946) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -9.313225746154785e-10) - (f32.const -0.0009765625) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0.6787636876106262) + (f32.const -0.5907150506973267) + (f32.const 0.4079873859882355) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1947) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1950) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1951) + (i32.const 0) + ) + (unreachable) + ) ) - (call $std/math/test_cbrtf - (f32.const 8) - (f32.const 2) - (f32.const 0) - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1952) + (i32.const 0) + ) + (unreachable) + ) ) - (call "$(lib)/math/NativeMath.seedRandom" - (i64.reinterpret/f64 - (call "$(lib)/math/JSMath.random") + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1953) + (i32.const 0) + ) + (unreachable) ) ) - (block $break|0 - (set_local $0 - (i32.const 0) + (if + (i32.eqz + (call $std/math/test_tanhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) ) - (loop $continue|0 - (if - (f64.lt - (f64.convert_s/i32 - (get_local $0) - ) - (f64.const 1e7) - ) - (block - (block - (set_local $1 - (call "$(lib)/math/NativeMath.random") - ) - (if - (i32.eqz - (i32.and - (if (result i32) - (tee_local $2 - (f64.ge - (get_local $1) - (f64.const 0) - ) - ) - (f64.lt - (get_local $1) - (f64.const 1) - ) - (get_local $2) - ) - (i32.const 1) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 601) - (i32.const 2) - ) - (unreachable) - ) - ) - ) - (set_local $0 - (i32.add - (get_local $0) - (i32.const 1) - ) - ) - (br $continue|0) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1954) + (i32.const 0) ) + (unreachable) ) ) ) diff --git a/tests/compiler/std/string.optimized.wat b/tests/compiler/std/string.optimized.wat index 1f5a8d45aa..6cda8328af 100644 --- a/tests/compiler/std/string.optimized.wat +++ b/tests/compiler/std/string.optimized.wat @@ -1134,7 +1134,7 @@ (call $abort (i32.const 0) (i32.const 72) - (i32.const 483) + (i32.const 484) (i32.const 10) ) (unreachable) diff --git a/tests/compiler/std/string.untouched.wat b/tests/compiler/std/string.untouched.wat index 3ae80a52c5..cff58ce977 100644 --- a/tests/compiler/std/string.untouched.wat +++ b/tests/compiler/std/string.untouched.wat @@ -1313,7 +1313,7 @@ (call $abort (i32.const 0) (i32.const 72) - (i32.const 483) + (i32.const 484) (i32.const 10) ) (unreachable) From e091289d6063923bd36d51f523c1fc3bc4b0dda8 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Thu, 29 Mar 2018 12:42:30 +0200 Subject: [PATCH 2/5] Math/f.pow JS semantics --- std/assembly/math.ts | 28 +- tests/compiler/std/libm.optimized.wat | 96 +- tests/compiler/std/libm.untouched.wat | 23 +- tests/compiler/std/math.optimized.wat | 1417 +++++++++++++------------ tests/compiler/std/math.ts | 43 +- tests/compiler/std/math.untouched.wat | 1187 +++++++++++---------- 6 files changed, 1409 insertions(+), 1385 deletions(-) diff --git a/std/assembly/math.ts b/std/assembly/math.ts index 41a365861b..8d9914f9fa 100644 --- a/std/assembly/math.ts +++ b/std/assembly/math.ts @@ -865,9 +865,9 @@ export namespace NativeMath { var ly = u_; var ix = hx & 0x7FFFFFFF; var iy = hy & 0x7FFFFFFF; - if ((iy | ly) == 0) return 1.0; - if (hx == 0x3FF00000 && lx == 0) return 1.0; - if ( + if ((iy | ly) == 0) return 1.0; // x**0 = 1, even if x is NaN + // if (hx == 0x3FF00000 && lx == 0) return 1.0; // C: 1**y = 1, even if y is NaN, JS: NaN + if ( // NaN if either arg is NaN ix > 0x7FF00000 || (ix == 0x7FF00000 && lx != 0) || iy > 0x7FF00000 || (iy == 0x7FF00000 && ly != 0) ) return x + y; @@ -886,10 +886,10 @@ export namespace NativeMath { } } if (ly == 0) { - if (iy == 0x7FF00000) { - if (((ix - 0x3FF00000) | lx) == 0) return 1.0; - else if (ix >= 0x3FF00000) return hy >= 0 ? y : 0.0; - else return hy >= 0 ? 0.0 : -y; + if (iy == 0x7FF00000) { // y is +-inf + if (((ix - 0x3FF00000) | lx) == 0) return NaN; // C: (-1)**+-inf is 1, JS: NaN + else if (ix >= 0x3FF00000) return hy >= 0 ? y : 0.0; // (|x|>1)**+-inf = inf,0 + else return hy >= 0 ? 0.0 : -y; // (|x|<1)**+-inf = 0,inf } if (iy == 0x3FF00000) { if (hy >= 0) return x; @@ -1872,9 +1872,9 @@ export namespace NativeMathf { var hy = reinterpret(y); var ix = hx & 0x7FFFFFFF; var iy = hy & 0x7FFFFFFF; - if (iy == 0) return 1.0; - if (hx == 0x3F800000) return 1.0; - if (ix > 0x7F800000 || iy > 0x7F800000) return x + y; + if (iy == 0) return 1.0; // x**0 = 1, even if x is NaN + // if (hx == 0x3F800000) return 1.0; // C: 1**y = 1, even if y is NaN, JS: NaN + if (ix > 0x7F800000 || iy > 0x7F800000) return x + y; // NaN if either arg is NaN var yisint = 0, j: i32, k: i32; if (hx < 0) { if (iy >= 0x4B800000) yisint = 2; @@ -1884,10 +1884,10 @@ export namespace NativeMathf { if ((j << (23 - k)) == iy) yisint = 2 - (j & 1); } } - if (iy == 0x7F800000) { - if (ix == 0x3F800000) return 1.0; - else if (ix > 0x3F800000) return hy >= 0 ? y : 0.0; - else return hy >= 0 ? 0.0 : -y; + if (iy == 0x7F800000) { // y is +-inf + if (ix == 0x3F800000) return NaN; // C: (-1)**+-inf is 1, JS: NaN + else if (ix > 0x3F800000) return hy >= 0 ? y : 0.0; // (|x|>1)**+-inf = inf,0 + else return hy >= 0 ? 0.0 : -y; // (|x|<1)**+-inf = 0,inf } if (iy == 0x3F800000) return hy >= 0 ? x : 1.0 / x; if (hy == 0x40000000) return x * x; diff --git a/tests/compiler/std/libm.optimized.wat b/tests/compiler/std/libm.optimized.wat index 0f50855df7..5cddb134a2 100644 --- a/tests/compiler/std/libm.optimized.wat +++ b/tests/compiler/std/libm.optimized.wat @@ -4274,7 +4274,7 @@ (i32.const 2147483647) ) ) - (tee_local $7 + (tee_local $6 (i32.wrap/i64 (get_local $19) ) @@ -4288,41 +4288,21 @@ (if (i32.and (if (result i32) - (tee_local $6 - (i32.eq - (get_local $4) - (i32.const 1072693248) - ) - ) - (i32.eqz - (get_local $13) - ) - (get_local $6) - ) - (i32.const 1) - ) - (return - (f64.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.gt_s (get_local $5) (i32.const 2146435072) ) ) - (get_local $6) + (get_local $7) (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $5) (i32.const 2146435072) @@ -4332,13 +4312,13 @@ (get_local $13) (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) (i32.const 1) ) ) - (get_local $6) + (get_local $7) (i32.gt_s (get_local $10) (i32.const 2146435072) @@ -4347,19 +4327,19 @@ (i32.const 1) ) ) - (get_local $6) + (get_local $7) (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $10) (i32.const 2146435072) ) ) (i32.ne - (get_local $7) + (get_local $6) (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) (i32.const 1) @@ -4405,9 +4385,9 @@ (if (i32.eq (i32.shl - (tee_local $6 + (tee_local $7 (i32.shr_u - (get_local $7) + (get_local $6) (i32.sub (i32.const 52) (get_local $8) @@ -4419,13 +4399,13 @@ (get_local $8) ) ) - (get_local $7) + (get_local $6) ) (set_local $15 (i32.sub (i32.const 2) (i32.and - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -4433,12 +4413,12 @@ ) (if (i32.eqz - (get_local $7) + (get_local $6) ) (if (i32.eq (i32.shl - (tee_local $6 + (tee_local $7 (i32.shr_s (get_local $10) (i32.sub @@ -4458,7 +4438,7 @@ (i32.sub (i32.const 2) (i32.and - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -4471,7 +4451,7 @@ ) (if (i32.eqz - (get_local $7) + (get_local $6) ) (block (if @@ -4516,7 +4496,7 @@ ) ) (return - (f64.const 1) + (f64.const nan:0x8000000000000) ) ) ) @@ -4586,16 +4566,16 @@ (if (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $5) (i32.const 2146435072) ) ) - (get_local $6) + (get_local $7) (i32.eqz (get_local $5) ) @@ -4603,7 +4583,7 @@ (i32.const 1) ) ) - (get_local $6) + (get_local $7) (i32.eq (get_local $5) (i32.const 1072693248) @@ -4918,7 +4898,7 @@ ) (set_local $5 (i32.or - (tee_local $7 + (tee_local $6 (i32.and (get_local $5) (i32.const 1048575) @@ -4930,13 +4910,13 @@ (set_local $8 (if (result i32) (i32.le_s - (get_local $7) + (get_local $6) (i32.const 235662) ) (i32.const 0) (if (result i32) (i32.lt_s - (get_local $7) + (get_local $6) (i32.const 767610) ) (i32.const 1) @@ -5245,7 +5225,7 @@ ) ) ) - (set_local $7 + (set_local $6 (i32.wrap/i64 (i64.shr_u (tee_local $19 @@ -5297,14 +5277,14 @@ ) (if (i32.ge_s - (get_local $7) + (get_local $6) (i32.const 1083179008) ) (br_if $folding-inner1 (i32.or (i32.or (i32.sub - (get_local $7) + (get_local $6) (i32.const 1083179008) ) (get_local $13) @@ -5324,7 +5304,7 @@ (if (i32.ge_s (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) (i32.const 1083231232) @@ -5333,7 +5313,7 @@ (i32.or (i32.or (i32.sub - (get_local $7) + (get_local $6) (i32.const -1064252416) ) (get_local $13) @@ -5354,7 +5334,7 @@ (i32.shr_s (tee_local $13 (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) ) @@ -5378,7 +5358,7 @@ (i32.and (tee_local $4 (i32.add - (get_local $7) + (get_local $6) (i32.shr_s (i32.const 1048576) (i32.add @@ -5431,7 +5411,7 @@ ) (if (i32.lt_s - (get_local $7) + (get_local $6) (i32.const 0) ) (set_local $4 @@ -5456,7 +5436,7 @@ (if (result f64) (i32.le_s (i32.shr_s - (tee_local $7 + (tee_local $6 (i32.add (i32.wrap/i64 (i64.shr_u @@ -5600,7 +5580,7 @@ ) (i64.shl (i64.extend_u/i32 - (get_local $7) + (get_local $6) ) (i64.const 32) ) diff --git a/tests/compiler/std/libm.untouched.wat b/tests/compiler/std/libm.untouched.wat index c1e5e51485..f09bb58946 100644 --- a/tests/compiler/std/libm.untouched.wat +++ b/tests/compiler/std/libm.untouched.wat @@ -5159,27 +5159,6 @@ (f64.const 1) ) ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $3) - (i32.const 1072693248) - ) - ) - (i32.eq - (get_local $4) - (i32.const 0) - ) - (get_local $9) - ) - (i32.const 1) - ) - (return - (f64.const 1) - ) - ) (if (i32.and (if (result i32) @@ -5380,7 +5359,7 @@ (i32.const 0) ) (return - (f64.const 1) + (f64.const nan:0x8000000000000) ) (if (i32.ge_s diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index 49d3241cea..09f861365e 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -46,6 +46,7 @@ (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) + (import "JSMath" "pow" (func $(lib)/math/JSMath.pow (param f64 f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) @@ -58,7 +59,7 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 21 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 22 ;) (type $Fi) (param $0 f64) (result i32) (i32.wrap/i64 (i64.shr_u (i64.reinterpret/f64 @@ -68,7 +69,7 @@ ) ) ) - (func $std/math/eulp (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 23 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i32) (if (i32.eqz @@ -98,7 +99,7 @@ (i32.const -1075) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 23 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 24 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (set_local $2 (get_local $0) @@ -212,7 +213,7 @@ ) ) ) - (func $std/math/ulperr (; 24 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 25 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (if @@ -313,41 +314,60 @@ (get_local $2) ) ) - (func $std/math/check (; 25 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 26 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) (if - (f64.ne + (f64.eq (get_local $0) (get_local $1) ) - (if - (f64.ge - (f64.abs - (tee_local $4 - (call $std/math/ulperr - (get_local $0) - (get_local $1) - (get_local $2) - ) - ) + (return + (i32.const 1) + ) + ) + (if + (f64.ne + (tee_local $4 + (get_local $1) + ) + (get_local $4) + ) + (return + (f64.ne + (tee_local $4 + (get_local $0) ) - (f64.const 1.5) + (get_local $4) ) - (block - (call $std/math/logf - (f64.abs - (get_local $4) + ) + ) + (if + (f64.ge + (f64.abs + (tee_local $0 + (call $std/math/ulperr + (get_local $0) + (get_local $1) + (get_local $2) ) ) - (return - (i32.const 0) + ) + (f64.const 1.5) + ) + (block + (call $std/math/logf + (f64.abs + (get_local $0) ) ) + (return + (i32.const 0) + ) ) ) (i32.const 1) ) - (func $std/math/test_scalbn (; 26 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 27 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMath.scalbn" (get_local $0) @@ -358,7 +378,7 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 27 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 28 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (set_local $2 (get_local $0) @@ -470,7 +490,7 @@ ) ) ) - (func $std/math/signbitf (; 28 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/signbitf (; 29 ;) (type $fi) (param $0 f32) (result i32) (i32.shr_u (i32.reinterpret/f32 (get_local $0) @@ -478,7 +498,7 @@ (i32.const 31) ) ) - (func $std/math/eulpf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/eulpf (; 30 ;) (type $fi) (param $0 f32) (result i32) (local $1 i32) (if (i32.eqz @@ -506,7 +526,7 @@ (i32.const -150) ) ) - (func $std/math/ulperrf (; 30 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 31 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (if @@ -607,43 +627,62 @@ (get_local $2) ) ) - (func $std/math/check (; 31 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 32 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) (if - (f32.ne + (f32.eq (get_local $0) (get_local $1) ) - (if - (f32.ge - (f32.abs - (tee_local $4 - (call $std/math/ulperrf - (get_local $0) - (get_local $1) - (get_local $2) - ) - ) + (return + (i32.const 1) + ) + ) + (if + (f32.ne + (tee_local $4 + (get_local $1) + ) + (get_local $4) + ) + (return + (f32.ne + (tee_local $4 + (get_local $0) ) - (f32.const 1.5) + (get_local $4) ) - (block - (call $std/math/logf - (f64.promote/f32 - (f32.abs - (get_local $4) - ) + ) + ) + (if + (f32.ge + (f32.abs + (tee_local $0 + (call $std/math/ulperrf + (get_local $0) + (get_local $1) + (get_local $2) ) ) - (return - (i32.const 0) + ) + (f32.const 1.5) + ) + (block + (call $std/math/logf + (f64.promote/f32 + (f32.abs + (get_local $0) + ) ) ) + (return + (i32.const 0) + ) ) ) (i32.const 1) ) - (func $std/math/test_scalbnf (; 32 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbnf (; 33 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" (get_local $0) @@ -654,7 +693,7 @@ (get_local $4) ) ) - (func $fmod (; 33 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func $fmod (; 34 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i32) (local $4 i64) @@ -1026,7 +1065,7 @@ (get_local $0) ) ) - (func $std/math/test_fmod (; 34 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_fmod (; 35 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (call $std/math/check (call $fmod (get_local $0) @@ -1037,7 +1076,7 @@ (get_local $4) ) ) - (func $fmodf (; 35 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func $fmodf (; 36 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -1389,7 +1428,7 @@ (get_local $0) ) ) - (func $std/math/test_fmodf (; 36 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_fmodf (; 37 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call $fmodf (get_local $0) @@ -1400,12 +1439,12 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.abs" (; 37 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.abs" (; 38 ;) (type $FF) (param $0 f64) (result f64) (f64.abs (get_local $0) ) ) - (func $std/math/test_abs (; 38 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_abs (; 39 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -1438,12 +1477,12 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.abs" (; 39 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.abs" (; 40 ;) (type $ff) (param $0 f32) (result f32) (f32.abs (get_local $0) ) ) - (func $std/math/test_absf (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_absf (; 41 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.abs" (get_local $0) @@ -1453,7 +1492,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.__R" (; 41 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__R" (; 42 ;) (type $FF) (param $0 f64) (result f64) (f64.div (f64.mul (get_local $0) @@ -1516,7 +1555,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.acos" (; 42 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.acos" (; 43 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -1705,7 +1744,7 @@ ) ) ) - (func $std/math/test_acos (; 43 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_acos (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -1738,7 +1777,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.__R" (; 44 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__R" (; 45 ;) (type $ff) (param $0 f32) (result f32) (f32.div (f32.mul (get_local $0) @@ -1765,7 +1804,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.acos" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.acos" (; 46 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 f32) @@ -1940,7 +1979,7 @@ ) ) ) - (func $std/math/test_acosf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_acosf (; 47 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.acos" (get_local $0) @@ -1950,7 +1989,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log1p" (; 48 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 i32) @@ -2245,7 +2284,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log" (; 49 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 i64) @@ -2510,7 +2549,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.acosh" (; 49 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.acosh" (; 50 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (if (i64.lt_u @@ -2597,7 +2636,7 @@ (f64.const 0.6931471805599453) ) ) - (func $std/math/test_acosh (; 50 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_acosh (; 51 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -2630,7 +2669,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log1p" (; 52 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 i32) @@ -2881,7 +2920,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log" (; 52 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log" (; 53 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -3084,7 +3123,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 53 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.acosh" (; 54 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (if (i32.lt_u @@ -3168,7 +3207,7 @@ (f32.const 0.6931471824645996) ) ) - (func $std/math/test_acoshf (; 54 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_acoshf (; 55 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.acosh" (get_local $0) @@ -3178,7 +3217,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.asin" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asin" (; 56 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 i32) @@ -3387,7 +3426,7 @@ ) (get_local $0) ) - (func $std/math/test_asin (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asin (; 57 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -3420,7 +3459,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.asin" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asin" (; 58 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f64) @@ -3558,7 +3597,7 @@ ) (get_local $0) ) - (func $std/math/test_asinf (; 58 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinf (; 59 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.asin" (get_local $0) @@ -3568,7 +3607,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.asinh" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asinh" (; 60 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i64) (local $3 i64) @@ -3686,7 +3725,7 @@ ) ) ) - (func $std/math/test_asinh (; 60 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asinh (; 61 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -3719,7 +3758,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.asinh" (; 61 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asinh" (; 62 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (set_local $1 @@ -3827,7 +3866,7 @@ (get_local $2) ) ) - (func $std/math/test_asinhf (; 62 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinhf (; 63 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.asinh" (get_local $0) @@ -3837,7 +3876,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.atan" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.atan" (; 64 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4197,7 +4236,7 @@ (get_local $4) ) ) - (func $std/math/test_atan (; 64 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_atan (; 65 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -4230,7 +4269,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.atan" (; 65 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atan" (; 66 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 f32) @@ -4549,7 +4588,7 @@ (get_local $4) ) ) - (func $std/math/test_atanf (; 66 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atanf (; 67 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.atan" (get_local $0) @@ -4559,7 +4598,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 67 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 68 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4742,7 +4781,7 @@ ) ) ) - (func $std/math/test_cbrt (; 68 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cbrt (; 69 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -4775,7 +4814,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 69 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 70 ;) (type $ff) (param $0 f32) (result f32) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4927,7 +4966,7 @@ ) ) ) - (func $std/math/test_cbrtf (; 70 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_cbrtf (; 71 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.cbrt" (get_local $0) @@ -4937,7 +4976,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.expm1" (; 71 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.expm1" (; 72 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -5380,7 +5419,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.exp" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.exp" (; 73 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 f64) (local $3 i32) @@ -5587,7 +5626,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__expo2" (; 74 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (f64.mul (f64.mul @@ -5604,7 +5643,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cosh" (; 75 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i64) (set_local $0 @@ -5691,7 +5730,7 @@ (get_local $0) ) ) - (func $std/math/test_cosh (; 75 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cosh (; 76 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -5724,7 +5763,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 76 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.expm1" (; 77 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 i32) @@ -6137,7 +6176,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.exp" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.exp" (; 78 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -6330,7 +6369,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMathf.__expo2" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__expo2" (; 79 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (f32.mul (f32.mul @@ -6347,7 +6386,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMathf.cosh" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cosh" (; 80 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (set_local $0 (f32.reinterpret/i32 @@ -6426,7 +6465,7 @@ (get_local $0) ) ) - (func $std/math/test_coshf (; 80 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_coshf (; 81 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.cosh" (get_local $0) @@ -6436,7 +6475,7 @@ (get_local $3) ) ) - (func $std/math/test_exp (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_exp (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -6469,7 +6508,7 @@ (i32.const 1) ) ) - (func $std/math/test_expf (; 82 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expf (; 83 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.exp" (get_local $0) @@ -6479,7 +6518,7 @@ (get_local $3) ) ) - (func $std/math/test_expm1 (; 83 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_expm1 (; 84 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -6512,7 +6551,7 @@ (i32.const 1) ) ) - (func $std/math/test_expm1f (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expm1f (; 85 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.expm1" (get_local $0) @@ -6522,7 +6561,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.hypot" (; 85 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.hypot" (; 86 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 f64) (local $3 f64) (local $4 i64) @@ -6791,7 +6830,7 @@ ) ) ) - (func $std/math/test_hypot (; 86 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_hypot (; 87 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (i32.and (if (result i32) @@ -6826,7 +6865,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.hypot" (; 87 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.hypot" (; 88 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -6994,7 +7033,7 @@ ) ) ) - (func $std/math/test_hypotf (; 88 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_hypotf (; 89 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.hypot" (get_local $0) @@ -7005,7 +7044,7 @@ (get_local $4) ) ) - (func $std/math/test_log (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 90 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7038,7 +7077,7 @@ (i32.const 1) ) ) - (func $std/math/test_logf (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 91 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log" (get_local $0) @@ -7048,7 +7087,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log10" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log10" (; 92 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 i32) @@ -7366,7 +7405,7 @@ (get_local $0) ) ) - (func $std/math/test_log10 (; 92 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7399,7 +7438,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log10" (; 93 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log10" (; 94 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -7639,7 +7678,7 @@ ) ) ) - (func $std/math/test_log10f (; 94 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 95 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log10" (get_local $0) @@ -7649,7 +7688,7 @@ (get_local $3) ) ) - (func $std/math/test_log1p (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 96 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7682,7 +7721,7 @@ (i32.const 1) ) ) - (func $std/math/test_log1pf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 97 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" (get_local $0) @@ -7692,7 +7731,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log2" (; 97 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 98 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -7998,7 +8037,7 @@ (get_local $1) ) ) - (func $std/math/test_log2 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -8031,7 +8070,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 99 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 100 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -8259,7 +8298,7 @@ ) ) ) - (func $std/math/test_log2f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 101 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log2" (get_local $0) @@ -8269,7 +8308,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.pow" (; 101 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.pow" (; 102 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 f64) (local $3 f64) (local $4 i32) @@ -8333,7 +8372,7 @@ (i32.const 2147483647) ) ) - (tee_local $7 + (tee_local $6 (i32.wrap/i64 (get_local $19) ) @@ -8347,41 +8386,21 @@ (if (i32.and (if (result i32) - (tee_local $6 - (i32.eq - (get_local $4) - (i32.const 1072693248) - ) - ) - (i32.eqz - (get_local $13) - ) - (get_local $6) - ) - (i32.const 1) - ) - (return - (f64.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.gt_s (get_local $5) (i32.const 2146435072) ) ) - (get_local $6) + (get_local $7) (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $5) (i32.const 2146435072) @@ -8391,13 +8410,13 @@ (get_local $13) (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) (i32.const 1) ) ) - (get_local $6) + (get_local $7) (i32.gt_s (get_local $10) (i32.const 2146435072) @@ -8406,19 +8425,19 @@ (i32.const 1) ) ) - (get_local $6) + (get_local $7) (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $10) (i32.const 2146435072) ) ) (i32.ne - (get_local $7) + (get_local $6) (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) (i32.const 1) @@ -8464,9 +8483,9 @@ (if (i32.eq (i32.shl - (tee_local $6 + (tee_local $7 (i32.shr_u - (get_local $7) + (get_local $6) (i32.sub (i32.const 52) (get_local $8) @@ -8478,13 +8497,13 @@ (get_local $8) ) ) - (get_local $7) + (get_local $6) ) (set_local $15 (i32.sub (i32.const 2) (i32.and - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -8492,12 +8511,12 @@ ) (if (i32.eqz - (get_local $7) + (get_local $6) ) (if (i32.eq (i32.shl - (tee_local $6 + (tee_local $7 (i32.shr_s (get_local $10) (i32.sub @@ -8517,7 +8536,7 @@ (i32.sub (i32.const 2) (i32.and - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -8530,7 +8549,7 @@ ) (if (i32.eqz - (get_local $7) + (get_local $6) ) (block (if @@ -8575,7 +8594,7 @@ ) ) (return - (f64.const 1) + (f64.const nan:0x8000000000000) ) ) ) @@ -8645,16 +8664,16 @@ (if (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.and (if (result i32) - (tee_local $6 + (tee_local $7 (i32.eq (get_local $5) (i32.const 2146435072) ) ) - (get_local $6) + (get_local $7) (i32.eqz (get_local $5) ) @@ -8662,7 +8681,7 @@ (i32.const 1) ) ) - (get_local $6) + (get_local $7) (i32.eq (get_local $5) (i32.const 1072693248) @@ -8977,7 +8996,7 @@ ) (set_local $5 (i32.or - (tee_local $7 + (tee_local $6 (i32.and (get_local $5) (i32.const 1048575) @@ -8989,13 +9008,13 @@ (set_local $8 (if (result i32) (i32.le_s - (get_local $7) + (get_local $6) (i32.const 235662) ) (i32.const 0) (if (result i32) (i32.lt_s - (get_local $7) + (get_local $6) (i32.const 767610) ) (i32.const 1) @@ -9304,7 +9323,7 @@ ) ) ) - (set_local $7 + (set_local $6 (i32.wrap/i64 (i64.shr_u (tee_local $19 @@ -9356,14 +9375,14 @@ ) (if (i32.ge_s - (get_local $7) + (get_local $6) (i32.const 1083179008) ) (br_if $folding-inner1 (i32.or (i32.or (i32.sub - (get_local $7) + (get_local $6) (i32.const 1083179008) ) (get_local $13) @@ -9383,7 +9402,7 @@ (if (i32.ge_s (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) (i32.const 1083231232) @@ -9392,7 +9411,7 @@ (i32.or (i32.or (i32.sub - (get_local $7) + (get_local $6) (i32.const -1064252416) ) (get_local $13) @@ -9413,7 +9432,7 @@ (i32.shr_s (tee_local $13 (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) ) @@ -9437,7 +9456,7 @@ (i32.and (tee_local $4 (i32.add - (get_local $7) + (get_local $6) (i32.shr_s (i32.const 1048576) (i32.add @@ -9490,7 +9509,7 @@ ) (if (i32.lt_s - (get_local $7) + (get_local $6) (i32.const 0) ) (set_local $4 @@ -9515,7 +9534,7 @@ (if (result f64) (i32.le_s (i32.shr_s - (tee_local $7 + (tee_local $6 (i32.add (i32.wrap/i64 (i64.shr_u @@ -9659,7 +9678,7 @@ ) (i64.shl (i64.extend_u/i32 - (get_local $7) + (get_local $6) ) (i64.const 32) ) @@ -9688,39 +9707,62 @@ (f64.const 1.e+300) ) ) - (func $std/math/test_pow (; 102 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) - (get_local $1) + (func $std/math/test_pow (; 103 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.pow" (; 103 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.pow" (; 104 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 f32) (local $3 f32) (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 f32) - (local $8 i32) + (local $7 i32) + (local $8 f32) (local $9 f32) (local $10 i32) (local $11 i32) (local $12 f32) - (local $13 i32) + (local $13 f32) (local $14 f32) - (local $15 f32) - (local $16 i32) - (local $17 f32) + (local $15 i32) + (local $16 f32) (block $folding-inner1 (block $folding-inner0 (set_local $5 (i32.and - (tee_local $4 + (tee_local $15 (i32.reinterpret/f32 (get_local $0) ) @@ -9745,25 +9787,16 @@ (f32.const 1) ) ) - (if - (i32.eq - (get_local $4) - (i32.const 1065353216) - ) - (return - (f32.const 1) - ) - ) (if (i32.and (if (result i32) - (tee_local $13 + (tee_local $6 (i32.gt_s (get_local $5) (i32.const 2139095040) ) ) - (get_local $13) + (get_local $6) (i32.gt_s (get_local $10) (i32.const 2139095040) @@ -9780,7 +9813,7 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $15) (i32.const 0) ) (if @@ -9788,7 +9821,7 @@ (get_local $10) (i32.const 1266679808) ) - (set_local $16 + (set_local $4 (i32.const 2) ) (if @@ -9799,12 +9832,12 @@ (if (i32.eq (i32.shl - (tee_local $6 + (tee_local $7 (i32.shr_s (get_local $10) (i32.sub (i32.const 23) - (tee_local $8 + (tee_local $6 (i32.sub (i32.shr_s (get_local $10) @@ -9818,16 +9851,16 @@ ) (i32.sub (i32.const 23) - (get_local $8) + (get_local $6) ) ) (get_local $10) ) - (set_local $16 + (set_local $4 (i32.sub (i32.const 2) (i32.and - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -9847,7 +9880,7 @@ (i32.const 1065353216) ) (return - (f32.const 1) + (f32.const nan:0x400000) ) (if (i32.gt_s @@ -9917,7 +9950,7 @@ ) (if (i32.ge_s - (get_local $4) + (get_local $15) (i32.const 0) ) (return @@ -9935,16 +9968,16 @@ (if (i32.and (if (result i32) - (tee_local $13 + (tee_local $6 (i32.and (if (result i32) - (tee_local $13 + (tee_local $6 (i32.eq (get_local $5) (i32.const 2139095040) ) ) - (get_local $13) + (get_local $6) (i32.eqz (get_local $5) ) @@ -9952,7 +9985,7 @@ (i32.const 1) ) ) - (get_local $13) + (get_local $6) (i32.eq (get_local $5) (i32.const 1065353216) @@ -9975,7 +10008,7 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $15) (i32.const 0) ) (if @@ -9984,11 +10017,11 @@ (get_local $5) (i32.const 1065353216) ) - (get_local $16) + (get_local $4) ) (if (i32.eq - (get_local $16) + (get_local $4) (i32.const 1) ) (set_local $2 @@ -10021,13 +10054,13 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $15) (i32.const 0) ) (block (if (i32.eqz - (get_local $16) + (get_local $4) ) (return (f32.div @@ -10044,7 +10077,7 @@ ) (if (i32.eq - (get_local $16) + (get_local $4) (i32.const 1) ) (set_local $9 @@ -10142,18 +10175,18 @@ ) ) ) - (set_local $7 + (set_local $8 (f32.reinterpret/i32 (i32.and (i32.reinterpret/f32 (f32.add - (tee_local $14 + (tee_local $13 (f32.mul (f32.const 1.44268798828125) (get_local $3) ) ) - (tee_local $15 + (tee_local $14 (f32.sub (f32.mul (get_local $3) @@ -10172,10 +10205,10 @@ ) ) (f32.sub - (get_local $15) + (get_local $14) (f32.sub - (get_local $7) - (get_local $14) + (get_local $8) + (get_local $13) ) ) ) @@ -10219,7 +10252,7 @@ ) (set_local $5 (i32.or - (tee_local $6 + (tee_local $7 (i32.and (get_local $5) (i32.const 8388607) @@ -10228,16 +10261,16 @@ (i32.const 1065353216) ) ) - (set_local $8 + (set_local $6 (if (result i32) (i32.le_s - (get_local $6) + (get_local $7) (i32.const 1885297) ) (i32.const 0) (if (result i32) (i32.lt_s - (get_local $6) + (get_local $7) (i32.const 6140887) ) (i32.const 1) @@ -10263,9 +10296,9 @@ (f32.reinterpret/i32 (i32.and (i32.reinterpret/f32 - (tee_local $17 + (tee_local $16 (f32.mul - (tee_local $14 + (tee_local $13 (f32.sub (tee_local $2 (f32.reinterpret/i32 @@ -10276,12 +10309,12 @@ (select (f32.const 1.5) (f32.const 1) - (get_local $8) + (get_local $6) ) ) ) ) - (tee_local $15 + (tee_local $14 (f32.div (f32.const 1) (f32.add @@ -10301,7 +10334,7 @@ (f32.sub (get_local $2) (f32.sub - (tee_local $7 + (tee_local $8 (f32.reinterpret/i32 (i32.add (i32.add @@ -10318,7 +10351,7 @@ (i32.const 4194304) ) (i32.shl - (get_local $8) + (get_local $6) (i32.const 21) ) ) @@ -10336,8 +10369,8 @@ (f32.mul (tee_local $12 (f32.mul - (get_local $17) - (get_local $17) + (get_local $16) + (get_local $16) ) ) (get_local $12) @@ -10377,13 +10410,13 @@ (f32.mul (tee_local $0 (f32.mul - (get_local $15) + (get_local $14) (f32.sub (f32.sub - (get_local $14) + (get_local $13) (f32.mul (get_local $3) - (get_local $7) + (get_local $8) ) ) (f32.mul @@ -10395,14 +10428,14 @@ ) (f32.add (get_local $3) - (get_local $17) + (get_local $16) ) ) ) ) (f32.sub (f32.sub - (tee_local $7 + (tee_local $8 (f32.reinterpret/i32 (i32.and (i32.reinterpret/f32 @@ -10429,14 +10462,14 @@ ) ) ) - (set_local $7 + (set_local $8 (f32.reinterpret/i32 (i32.and (i32.reinterpret/f32 (f32.add (f32.add (f32.add - (tee_local $17 + (tee_local $16 (f32.mul (f32.const 0.9619140625) (tee_local $0 @@ -10444,21 +10477,21 @@ (i32.and (i32.reinterpret/f32 (f32.add - (tee_local $14 + (tee_local $13 (f32.mul (get_local $3) - (get_local $7) + (get_local $8) ) ) - (tee_local $15 + (tee_local $14 (f32.add (f32.mul (get_local $0) - (get_local $7) + (get_local $8) ) (f32.mul (get_local $2) - (get_local $17) + (get_local $16) ) ) ) @@ -10479,10 +10512,10 @@ ) (f32.mul (f32.sub - (get_local $15) + (get_local $14) (f32.sub (get_local $0) - (get_local $14) + (get_local $13) ) ) (f32.const 0.9617967009544373) @@ -10491,7 +10524,7 @@ (select (f32.const 1.5632208487659227e-06) (f32.const 0) - (get_local $8) + (get_local $6) ) ) ) @@ -10500,7 +10533,7 @@ (select (f32.const 0.5849609375) (f32.const 0) - (get_local $8) + (get_local $6) ) ) ) @@ -10520,12 +10553,12 @@ (f32.sub (f32.sub (f32.sub - (get_local $7) + (get_local $8) (get_local $3) ) (get_local $0) ) - (get_local $17) + (get_local $16) ) ) ) @@ -10533,7 +10566,7 @@ ) (br_if $folding-inner1 (i32.gt_s - (tee_local $6 + (tee_local $7 (i32.reinterpret/f32 (tee_local $2 (f32.add @@ -10553,7 +10586,7 @@ ) ) ) - (get_local $7) + (get_local $8) ) (f32.mul (get_local $1) @@ -10564,7 +10597,7 @@ (tee_local $0 (f32.mul (get_local $0) - (get_local $7) + (get_local $8) ) ) ) @@ -10576,7 +10609,7 @@ ) (if (i32.eq - (get_local $6) + (get_local $7) (i32.const 1124073472) ) (br_if $folding-inner1 @@ -10594,7 +10627,7 @@ (if (i32.gt_s (i32.and - (get_local $6) + (get_local $7) (i32.const 2147483647) ) (i32.const 1125515264) @@ -10602,7 +10635,7 @@ (br $folding-inner0) (if (i32.eq - (get_local $6) + (get_local $7) (i32.const -1021968384) ) (br_if $folding-inner0 @@ -10617,12 +10650,12 @@ ) ) ) - (set_local $8 + (set_local $6 (i32.sub (i32.shr_s - (tee_local $13 + (tee_local $15 (i32.and - (get_local $6) + (get_local $7) (i32.const 2147483647) ) ) @@ -10636,21 +10669,21 @@ ) (if (i32.gt_s - (get_local $13) + (get_local $15) (i32.const 1056964608) ) (block - (set_local $8 + (set_local $6 (i32.sub (i32.shr_s (i32.and (tee_local $4 (i32.add - (get_local $6) + (get_local $7) (i32.shr_s (i32.const 8388608) (i32.add - (get_local $8) + (get_local $6) (i32.const 1) ) ) @@ -10670,7 +10703,7 @@ (i32.xor (i32.shr_s (i32.const 8388607) - (get_local $8) + (get_local $6) ) (i32.const -1) ) @@ -10688,13 +10721,13 @@ ) (i32.sub (i32.const 23) - (get_local $8) + (get_local $6) ) ) ) (if (i32.lt_s - (get_local $6) + (get_local $7) (i32.const 0) ) (set_local $4 @@ -10719,7 +10752,7 @@ (if (result f32) (i32.le_s (i32.shr_s - (tee_local $6 + (tee_local $7 (i32.add (i32.reinterpret/f32 (tee_local $2 @@ -10731,7 +10764,7 @@ (f32.mul (tee_local $2 (f32.add - (tee_local $14 + (tee_local $13 (f32.mul (tee_local $3 (f32.reinterpret/i32 @@ -10749,7 +10782,7 @@ (f32.const 0.693145751953125) ) ) - (tee_local $15 + (tee_local $14 (f32.add (f32.mul (f32.sub @@ -10769,7 +10802,7 @@ ) ) ) - (tee_local $7 + (tee_local $8 (f32.sub (get_local $2) (f32.mul @@ -10809,17 +10842,17 @@ ) ) (f32.sub - (get_local $7) + (get_local $8) (f32.const 2) ) ) (f32.add (tee_local $0 (f32.sub - (get_local $15) + (get_local $14) (f32.sub (get_local $2) - (get_local $14) + (get_local $13) ) ) ) @@ -10849,7 +10882,7 @@ (get_local $4) ) (f32.reinterpret/i32 - (get_local $6) + (get_local $7) ) ) ) @@ -10874,7 +10907,7 @@ (f32.const 1000000015047466219876688e6) ) ) - (func $std/math/test_powf (; 104 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_powf (; 105 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.pow" (get_local $0) @@ -10885,7 +10918,7 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.__murmurHash3" (; 105 ;) (type $II) (param $0 i64) (result i64) + (func "$(lib)/math/NativeMath.__murmurHash3" (; 106 ;) (type $II) (param $0 i64) (result i64) (i64.xor (tee_local $0 (i64.mul @@ -10916,7 +10949,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.seedRandom" (; 106 ;) (type $Iv) (param $0 i64) + (func "$(lib)/math/NativeMath.seedRandom" (; 107 ;) (type $Iv) (param $0 i64) (if (i64.eqz (get_local $0) @@ -10945,7 +10978,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 107 ;) (type $I) (result i64) + (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 108 ;) (type $I) (result i64) (local $0 i64) (local $1 i64) (set_local $0 @@ -10989,7 +11022,7 @@ (get_local $0) ) ) - (func "$(lib)/math/NativeMath.random" (; 108 ;) (type $F) (result f64) + (func "$(lib)/math/NativeMath.random" (; 109 ;) (type $F) (result f64) (if (i32.eqz (get_global "$(lib)/math/NativeMath.random_seeded") @@ -11009,7 +11042,7 @@ (f64.const 1) ) ) - (func "$(lib)/math/NativeMath.sinh" (; 109 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sinh" (; 110 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i64) @@ -11128,7 +11161,7 @@ ) ) ) - (func $std/math/test_sinh (; 110 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sinh (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -11161,7 +11194,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.sinh" (; 111 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sinh" (; 112 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 f32) (local $3 i32) @@ -11269,7 +11302,7 @@ ) ) ) - (func $std/math/test_sinhf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sinhf (; 113 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.sinh" (get_local $0) @@ -11279,12 +11312,12 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.sqrt" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sqrt" (; 114 ;) (type $FF) (param $0 f64) (result f64) (f64.sqrt (get_local $0) ) ) - (func $std/math/test_sqrt (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sqrt (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -11317,12 +11350,12 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.sqrt" (; 115 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sqrt" (; 116 ;) (type $ff) (param $0 f32) (result f32) (f32.sqrt (get_local $0) ) ) - (func $std/math/test_sqrtf (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sqrtf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.sqrt" (get_local $0) @@ -11332,7 +11365,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.tanh" (; 117 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.tanh" (; 118 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -11455,7 +11488,7 @@ (get_local $3) ) ) - (func $std/math/test_tanh (; 118 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_tanh (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -11488,7 +11521,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.tanh" (; 119 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.tanh" (; 120 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (set_local $2 @@ -11601,7 +11634,7 @@ (get_local $2) ) ) - (func $std/math/test_tanhf (; 120 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_tanhf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.tanh" (get_local $0) @@ -11611,7 +11644,7 @@ (get_local $3) ) ) - (func $start (; 121 ;) (type $v) + (func $start (; 122 ;) (type $v) (local $0 i32) (local $1 f64) (local $2 i32) @@ -26850,7 +26883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1374) + (i32.const 1373) (i32.const 0) ) (unreachable) @@ -26870,7 +26903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1375) + (i32.const 1374) (i32.const 0) ) (unreachable) @@ -26890,7 +26923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1376) + (i32.const 1375) (i32.const 0) ) (unreachable) @@ -26910,7 +26943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1377) + (i32.const 1376) (i32.const 0) ) (unreachable) @@ -26930,7 +26963,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1378) + (i32.const 1377) (i32.const 0) ) (unreachable) @@ -26950,7 +26983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1379) + (i32.const 1378) (i32.const 0) ) (unreachable) @@ -26970,7 +27003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 1379) (i32.const 0) ) (unreachable) @@ -26990,7 +27023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -27010,7 +27043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -27030,7 +27063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1383) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -27050,7 +27083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -27070,7 +27103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -27090,7 +27123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -27110,7 +27143,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -27130,7 +27163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1390) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -27150,7 +27183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1391) + (i32.const 1390) (i32.const 0) ) (unreachable) @@ -27170,7 +27203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 1391) (i32.const 0) ) (unreachable) @@ -27190,7 +27223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 1392) (i32.const 0) ) (unreachable) @@ -27210,7 +27243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -27230,7 +27263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 1394) (i32.const 0) ) (unreachable) @@ -27250,7 +27283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 1395) (i32.const 0) ) (unreachable) @@ -27270,7 +27303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 1396) (i32.const 0) ) (unreachable) @@ -27290,7 +27323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 1397) (i32.const 0) ) (unreachable) @@ -27310,7 +27343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 1398) (i32.const 0) ) (unreachable) @@ -27330,7 +27363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1400) + (i32.const 1399) (i32.const 0) ) (unreachable) @@ -27350,7 +27383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1401) + (i32.const 1400) (i32.const 0) ) (unreachable) @@ -27370,7 +27403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1402) + (i32.const 1401) (i32.const 0) ) (unreachable) @@ -27390,7 +27423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1403) + (i32.const 1402) (i32.const 0) ) (unreachable) @@ -27410,7 +27443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1404) + (i32.const 1403) (i32.const 0) ) (unreachable) @@ -27430,7 +27463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1405) + (i32.const 1404) (i32.const 0) ) (unreachable) @@ -27450,7 +27483,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1406) + (i32.const 1405) (i32.const 0) ) (unreachable) @@ -27470,7 +27503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1407) + (i32.const 1406) (i32.const 0) ) (unreachable) @@ -27490,7 +27523,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 1407) (i32.const 0) ) (unreachable) @@ -27510,7 +27543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -27530,7 +27563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -27550,7 +27583,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -27570,7 +27603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -27590,7 +27623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 1412) (i32.const 0) ) (unreachable) @@ -27610,7 +27643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 1413) (i32.const 0) ) (unreachable) @@ -27630,7 +27663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -27650,7 +27683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -27670,7 +27703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -27690,7 +27723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1418) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -27710,7 +27743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1419) + (i32.const 1418) (i32.const 0) ) (unreachable) @@ -27730,7 +27763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 1419) (i32.const 0) ) (unreachable) @@ -27750,7 +27783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -27770,7 +27803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -27790,7 +27823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -27810,7 +27843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -27830,7 +27863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -27850,7 +27883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -27861,7 +27894,7 @@ (call $std/math/test_pow (f64.const -1) (f64.const inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -27870,7 +27903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -27881,7 +27914,7 @@ (call $std/math/test_pow (f64.const -1) (f64.const -inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -27890,7 +27923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1428) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -27910,7 +27943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1429) + (i32.const 1428) (i32.const 0) ) (unreachable) @@ -27930,7 +27963,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1430) + (i32.const 1429) (i32.const 0) ) (unreachable) @@ -27950,7 +27983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1431) + (i32.const 1430) (i32.const 0) ) (unreachable) @@ -27970,7 +28003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1432) + (i32.const 1431) (i32.const 0) ) (unreachable) @@ -27990,7 +28023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1433) + (i32.const 1432) (i32.const 0) ) (unreachable) @@ -28001,7 +28034,7 @@ (call $std/math/test_pow (f64.const 1) (f64.const nan:0x8000000000000) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -28010,7 +28043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1434) + (i32.const 1433) (i32.const 0) ) (unreachable) @@ -28021,7 +28054,7 @@ (call $std/math/test_pow (f64.const 1) (f64.const inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -28030,7 +28063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1435) + (i32.const 1434) (i32.const 0) ) (unreachable) @@ -28041,7 +28074,7 @@ (call $std/math/test_pow (f64.const 1) (f64.const -inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -28050,7 +28083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1436) + (i32.const 1435) (i32.const 0) ) (unreachable) @@ -28070,7 +28103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 1436) (i32.const 0) ) (unreachable) @@ -28090,7 +28123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 1437) (i32.const 0) ) (unreachable) @@ -28110,7 +28143,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 1438) (i32.const 0) ) (unreachable) @@ -28130,7 +28163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 1439) (i32.const 0) ) (unreachable) @@ -28150,7 +28183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 1440) (i32.const 0) ) (unreachable) @@ -28170,7 +28203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 1441) (i32.const 0) ) (unreachable) @@ -28190,7 +28223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 1442) (i32.const 0) ) (unreachable) @@ -28210,7 +28243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 1443) (i32.const 0) ) (unreachable) @@ -28230,7 +28263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -28250,7 +28283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -28270,7 +28303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1447) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -28290,7 +28323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1448) + (i32.const 1447) (i32.const 0) ) (unreachable) @@ -28310,7 +28343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 1448) (i32.const 0) ) (unreachable) @@ -28330,7 +28363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -28350,7 +28383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1451) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -28370,7 +28403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -28390,7 +28423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -28410,7 +28443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -28430,7 +28463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 1454) (i32.const 0) ) (unreachable) @@ -28450,7 +28483,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 1455) (i32.const 0) ) (unreachable) @@ -28470,7 +28503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1457) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -28490,7 +28523,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1458) + (i32.const 1457) (i32.const 0) ) (unreachable) @@ -28510,7 +28543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1459) + (i32.const 1458) (i32.const 0) ) (unreachable) @@ -28530,7 +28563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1460) + (i32.const 1459) (i32.const 0) ) (unreachable) @@ -28550,7 +28583,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1461) + (i32.const 1460) (i32.const 0) ) (unreachable) @@ -28570,7 +28603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1462) + (i32.const 1461) (i32.const 0) ) (unreachable) @@ -28590,7 +28623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1463) + (i32.const 1462) (i32.const 0) ) (unreachable) @@ -28610,7 +28643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1464) + (i32.const 1463) (i32.const 0) ) (unreachable) @@ -28630,7 +28663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 1464) (i32.const 0) ) (unreachable) @@ -28650,7 +28683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 1465) (i32.const 0) ) (unreachable) @@ -28670,7 +28703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 1466) (i32.const 0) ) (unreachable) @@ -28690,7 +28723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 1467) (i32.const 0) ) (unreachable) @@ -28710,7 +28743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 1468) (i32.const 0) ) (unreachable) @@ -28730,7 +28763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 1469) (i32.const 0) ) (unreachable) @@ -28750,7 +28783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 1470) (i32.const 0) ) (unreachable) @@ -28770,7 +28803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 1471) (i32.const 0) ) (unreachable) @@ -28790,7 +28823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -28810,7 +28843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -28830,7 +28863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1475) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -28850,7 +28883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1476) + (i32.const 1475) (i32.const 0) ) (unreachable) @@ -28870,7 +28903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1477) + (i32.const 1476) (i32.const 0) ) (unreachable) @@ -28890,7 +28923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1486) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -28910,7 +28943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1487) + (i32.const 1486) (i32.const 0) ) (unreachable) @@ -28930,7 +28963,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1488) + (i32.const 1487) (i32.const 0) ) (unreachable) @@ -28950,7 +28983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1489) + (i32.const 1488) (i32.const 0) ) (unreachable) @@ -28970,7 +29003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1490) + (i32.const 1489) (i32.const 0) ) (unreachable) @@ -28990,7 +29023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1491) + (i32.const 1490) (i32.const 0) ) (unreachable) @@ -29010,7 +29043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1492) + (i32.const 1491) (i32.const 0) ) (unreachable) @@ -29030,7 +29063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1493) + (i32.const 1492) (i32.const 0) ) (unreachable) @@ -29050,7 +29083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1494) + (i32.const 1493) (i32.const 0) ) (unreachable) @@ -29070,7 +29103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1495) + (i32.const 1494) (i32.const 0) ) (unreachable) @@ -29090,7 +29123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 1497) (i32.const 0) ) (unreachable) @@ -29110,7 +29143,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 1498) (i32.const 0) ) (unreachable) @@ -29130,7 +29163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 1499) (i32.const 0) ) (unreachable) @@ -29150,7 +29183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 1500) (i32.const 0) ) (unreachable) @@ -29170,7 +29203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -29190,7 +29223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -29210,7 +29243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -29230,7 +29263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1505) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -29250,7 +29283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1506) + (i32.const 1505) (i32.const 0) ) (unreachable) @@ -29270,7 +29303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 1506) (i32.const 0) ) (unreachable) @@ -29290,7 +29323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -29310,7 +29343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -29330,7 +29363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -29350,7 +29383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -29370,7 +29403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 1511) (i32.const 0) ) (unreachable) @@ -29390,7 +29423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 1512) (i32.const 0) ) (unreachable) @@ -29410,7 +29443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -29430,7 +29463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1515) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -29450,7 +29483,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1516) + (i32.const 1515) (i32.const 0) ) (unreachable) @@ -29470,7 +29503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1517) + (i32.const 1516) (i32.const 0) ) (unreachable) @@ -29490,7 +29523,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1518) + (i32.const 1517) (i32.const 0) ) (unreachable) @@ -29510,7 +29543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1519) + (i32.const 1518) (i32.const 0) ) (unreachable) @@ -29530,7 +29563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1520) + (i32.const 1519) (i32.const 0) ) (unreachable) @@ -29550,7 +29583,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1521) + (i32.const 1520) (i32.const 0) ) (unreachable) @@ -29570,7 +29603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1522) + (i32.const 1521) (i32.const 0) ) (unreachable) @@ -29590,7 +29623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1523) + (i32.const 1522) (i32.const 0) ) (unreachable) @@ -29610,7 +29643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 1523) (i32.const 0) ) (unreachable) @@ -29630,7 +29663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 1524) (i32.const 0) ) (unreachable) @@ -29650,7 +29683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 1525) (i32.const 0) ) (unreachable) @@ -29670,7 +29703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 1526) (i32.const 0) ) (unreachable) @@ -29690,7 +29723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 1527) (i32.const 0) ) (unreachable) @@ -29710,7 +29743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 1528) (i32.const 0) ) (unreachable) @@ -29730,7 +29763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -29750,7 +29783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -29770,7 +29803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -29790,7 +29823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1533) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -29810,7 +29843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1534) + (i32.const 1533) (i32.const 0) ) (unreachable) @@ -29830,7 +29863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 1534) (i32.const 0) ) (unreachable) @@ -29850,7 +29883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -29870,7 +29903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -29890,7 +29923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -29901,7 +29934,7 @@ (call $std/math/test_powf (f32.const -1) (f32.const inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -29910,7 +29943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -29921,7 +29954,7 @@ (call $std/math/test_powf (f32.const -1) (f32.const -inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -29930,7 +29963,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 1539) (i32.const 0) ) (unreachable) @@ -29950,7 +29983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 1540) (i32.const 0) ) (unreachable) @@ -29970,7 +30003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 1541) (i32.const 0) ) (unreachable) @@ -29990,7 +30023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1543) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -30010,7 +30043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1544) + (i32.const 1543) (i32.const 0) ) (unreachable) @@ -30030,7 +30063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1545) + (i32.const 1544) (i32.const 0) ) (unreachable) @@ -30041,7 +30074,7 @@ (call $std/math/test_powf (f32.const 1) (f32.const nan:0x400000) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30050,7 +30083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1546) + (i32.const 1545) (i32.const 0) ) (unreachable) @@ -30061,7 +30094,7 @@ (call $std/math/test_powf (f32.const 1) (f32.const inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30070,7 +30103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1547) + (i32.const 1546) (i32.const 0) ) (unreachable) @@ -30081,7 +30114,7 @@ (call $std/math/test_powf (f32.const 1) (f32.const -inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30090,7 +30123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1548) + (i32.const 1547) (i32.const 0) ) (unreachable) @@ -30110,7 +30143,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1549) + (i32.const 1548) (i32.const 0) ) (unreachable) @@ -30130,7 +30163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1550) + (i32.const 1549) (i32.const 0) ) (unreachable) @@ -30150,7 +30183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1551) + (i32.const 1550) (i32.const 0) ) (unreachable) @@ -30170,7 +30203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 1551) (i32.const 0) ) (unreachable) @@ -30190,7 +30223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 1552) (i32.const 0) ) (unreachable) @@ -30210,7 +30243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 1553) (i32.const 0) ) (unreachable) @@ -30230,7 +30263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 1554) (i32.const 0) ) (unreachable) @@ -30250,7 +30283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 1555) (i32.const 0) ) (unreachable) @@ -30270,7 +30303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 1556) (i32.const 0) ) (unreachable) @@ -30290,7 +30323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 1557) (i32.const 0) ) (unreachable) @@ -30310,7 +30343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 1558) (i32.const 0) ) (unreachable) @@ -30330,7 +30363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 1559) (i32.const 0) ) (unreachable) @@ -30350,7 +30383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1561) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -30370,7 +30403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1562) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -30390,7 +30423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1563) + (i32.const 1562) (i32.const 0) ) (unreachable) @@ -30410,7 +30443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 1563) (i32.const 0) ) (unreachable) @@ -30430,7 +30463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 1564) (i32.const 0) ) (unreachable) @@ -30450,7 +30483,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -30470,7 +30503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -30490,7 +30523,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -30510,7 +30543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -30530,7 +30563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -30550,7 +30583,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 1570) (i32.const 0) ) (unreachable) @@ -30570,7 +30603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1572) + (i32.const 1571) (i32.const 0) ) (unreachable) @@ -30590,7 +30623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -30610,7 +30643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -30630,7 +30663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -30650,7 +30683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -30670,7 +30703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -30690,7 +30723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -30710,7 +30743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -30730,7 +30763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -30750,7 +30783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 1580) (i32.const 0) ) (unreachable) @@ -30770,7 +30803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 1581) (i32.const 0) ) (unreachable) @@ -30790,7 +30823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 1582) (i32.const 0) ) (unreachable) @@ -30810,7 +30843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 1583) (i32.const 0) ) (unreachable) @@ -30830,7 +30863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 1584) (i32.const 0) ) (unreachable) @@ -30850,7 +30883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 1585) (i32.const 0) ) (unreachable) @@ -30870,7 +30903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 1586) (i32.const 0) ) (unreachable) @@ -30890,7 +30923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 1587) (i32.const 0) ) (unreachable) @@ -30910,7 +30943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1589) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -30955,7 +30988,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1596) + (i32.const 1595) (i32.const 2) ) (unreachable) @@ -30984,7 +31017,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -31003,7 +31036,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -31022,7 +31055,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -31041,7 +31074,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 1668) (i32.const 0) ) (unreachable) @@ -31060,7 +31093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 1669) (i32.const 0) ) (unreachable) @@ -31079,7 +31112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 1670) (i32.const 0) ) (unreachable) @@ -31098,7 +31131,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 1671) (i32.const 0) ) (unreachable) @@ -31117,7 +31150,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 1672) (i32.const 0) ) (unreachable) @@ -31136,7 +31169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1674) + (i32.const 1673) (i32.const 0) ) (unreachable) @@ -31155,7 +31188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1675) + (i32.const 1674) (i32.const 0) ) (unreachable) @@ -31174,7 +31207,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 1677) (i32.const 0) ) (unreachable) @@ -31193,7 +31226,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 1678) (i32.const 0) ) (unreachable) @@ -31212,7 +31245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -31231,7 +31264,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -31250,7 +31283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1682) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -31269,7 +31302,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 1690) (i32.const 0) ) (unreachable) @@ -31288,7 +31321,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -31307,7 +31340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -31326,7 +31359,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -31345,7 +31378,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -31364,7 +31397,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -31383,7 +31416,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -31402,7 +31435,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -31421,7 +31454,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -31440,7 +31473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1700) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -31459,7 +31492,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -31478,7 +31511,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -31497,7 +31530,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -31516,7 +31549,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -31535,7 +31568,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1707) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -31554,7 +31587,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -31573,7 +31606,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -31592,7 +31625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -31611,7 +31644,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -31630,7 +31663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -31649,7 +31682,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -31668,7 +31701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -31687,7 +31720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -31706,7 +31739,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -31725,7 +31758,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1726) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -31744,7 +31777,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -31763,7 +31796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -31782,7 +31815,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -31801,7 +31834,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -31820,7 +31853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -31839,7 +31872,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -31858,7 +31891,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -31877,7 +31910,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -31896,7 +31929,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -31915,7 +31948,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -31934,7 +31967,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -31953,7 +31986,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -31972,7 +32005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -31991,7 +32024,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -32010,7 +32043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -32029,7 +32062,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -32048,7 +32081,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -32067,7 +32100,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -32086,7 +32119,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -32105,7 +32138,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -32124,7 +32157,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -32143,7 +32176,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 1749) (i32.const 0) ) (unreachable) @@ -32162,7 +32195,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 1750) (i32.const 0) ) (unreachable) @@ -32181,7 +32214,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 1751) (i32.const 0) ) (unreachable) @@ -32200,7 +32233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 1752) (i32.const 0) ) (unreachable) @@ -32219,7 +32252,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 1753) (i32.const 0) ) (unreachable) @@ -32238,7 +32271,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 1754) (i32.const 0) ) (unreachable) @@ -32257,7 +32290,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 1755) (i32.const 0) ) (unreachable) @@ -32276,7 +32309,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 1756) (i32.const 0) ) (unreachable) @@ -32295,7 +32328,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -32314,7 +32347,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -32333,7 +32366,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -32352,7 +32385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -32371,7 +32404,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -32390,7 +32423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -32409,7 +32442,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -32428,7 +32461,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -32447,7 +32480,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -32466,7 +32499,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -32485,7 +32518,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1768) + (i32.const 1767) (i32.const 0) ) (unreachable) @@ -32504,7 +32537,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1769) + (i32.const 1768) (i32.const 0) ) (unreachable) @@ -32523,7 +32556,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1770) + (i32.const 1769) (i32.const 0) ) (unreachable) @@ -32542,7 +32575,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1771) + (i32.const 1770) (i32.const 0) ) (unreachable) @@ -32561,7 +32594,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1772) + (i32.const 1771) (i32.const 0) ) (unreachable) @@ -32580,7 +32613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1773) + (i32.const 1772) (i32.const 0) ) (unreachable) @@ -32599,7 +32632,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1774) + (i32.const 1773) (i32.const 0) ) (unreachable) @@ -32618,7 +32651,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1775) + (i32.const 1774) (i32.const 0) ) (unreachable) @@ -32637,7 +32670,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1776) + (i32.const 1775) (i32.const 0) ) (unreachable) @@ -32656,7 +32689,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1777) + (i32.const 1776) (i32.const 0) ) (unreachable) @@ -32675,7 +32708,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1778) + (i32.const 1777) (i32.const 0) ) (unreachable) @@ -32694,7 +32727,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1779) + (i32.const 1778) (i32.const 0) ) (unreachable) @@ -32713,7 +32746,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1780) + (i32.const 1779) (i32.const 0) ) (unreachable) @@ -32732,7 +32765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1781) + (i32.const 1780) (i32.const 0) ) (unreachable) @@ -32751,7 +32784,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1782) + (i32.const 1781) (i32.const 0) ) (unreachable) @@ -32770,7 +32803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1783) + (i32.const 1782) (i32.const 0) ) (unreachable) @@ -32789,7 +32822,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1784) + (i32.const 1783) (i32.const 0) ) (unreachable) @@ -32808,7 +32841,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1785) + (i32.const 1784) (i32.const 0) ) (unreachable) @@ -32827,7 +32860,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1786) + (i32.const 1785) (i32.const 0) ) (unreachable) @@ -32846,7 +32879,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1787) + (i32.const 1786) (i32.const 0) ) (unreachable) @@ -32865,7 +32898,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1788) + (i32.const 1787) (i32.const 0) ) (unreachable) @@ -32884,7 +32917,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1789) + (i32.const 1788) (i32.const 0) ) (unreachable) @@ -32903,7 +32936,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1790) + (i32.const 1789) (i32.const 0) ) (unreachable) @@ -32922,7 +32955,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1791) + (i32.const 1790) (i32.const 0) ) (unreachable) @@ -32941,7 +32974,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1792) + (i32.const 1791) (i32.const 0) ) (unreachable) @@ -32960,7 +32993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1793) + (i32.const 1792) (i32.const 0) ) (unreachable) @@ -32979,7 +33012,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1794) + (i32.const 1793) (i32.const 0) ) (unreachable) @@ -32998,7 +33031,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1795) + (i32.const 1794) (i32.const 0) ) (unreachable) @@ -33017,7 +33050,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1796) + (i32.const 1795) (i32.const 0) ) (unreachable) @@ -33036,7 +33069,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1797) + (i32.const 1796) (i32.const 0) ) (unreachable) @@ -33055,7 +33088,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1798) + (i32.const 1797) (i32.const 0) ) (unreachable) @@ -33074,7 +33107,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1799) + (i32.const 1798) (i32.const 0) ) (unreachable) @@ -33093,7 +33126,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1800) + (i32.const 1799) (i32.const 0) ) (unreachable) @@ -33112,7 +33145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1801) + (i32.const 1800) (i32.const 0) ) (unreachable) @@ -33131,7 +33164,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1802) + (i32.const 1801) (i32.const 0) ) (unreachable) @@ -33150,7 +33183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1811) + (i32.const 1810) (i32.const 0) ) (unreachable) @@ -33169,7 +33202,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1812) + (i32.const 1811) (i32.const 0) ) (unreachable) @@ -33188,7 +33221,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1813) + (i32.const 1812) (i32.const 0) ) (unreachable) @@ -33207,7 +33240,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1814) + (i32.const 1813) (i32.const 0) ) (unreachable) @@ -33226,7 +33259,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1815) + (i32.const 1814) (i32.const 0) ) (unreachable) @@ -33245,7 +33278,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1816) + (i32.const 1815) (i32.const 0) ) (unreachable) @@ -33264,7 +33297,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1817) + (i32.const 1816) (i32.const 0) ) (unreachable) @@ -33283,7 +33316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1818) + (i32.const 1817) (i32.const 0) ) (unreachable) @@ -33302,7 +33335,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1819) + (i32.const 1818) (i32.const 0) ) (unreachable) @@ -33321,7 +33354,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1820) + (i32.const 1819) (i32.const 0) ) (unreachable) @@ -33340,7 +33373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1823) + (i32.const 1822) (i32.const 0) ) (unreachable) @@ -33359,7 +33392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1824) + (i32.const 1823) (i32.const 0) ) (unreachable) @@ -33378,7 +33411,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1825) + (i32.const 1824) (i32.const 0) ) (unreachable) @@ -33397,7 +33430,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1826) + (i32.const 1825) (i32.const 0) ) (unreachable) @@ -33416,7 +33449,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1827) + (i32.const 1826) (i32.const 0) ) (unreachable) @@ -33435,7 +33468,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1828) + (i32.const 1827) (i32.const 0) ) (unreachable) @@ -33454,7 +33487,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1829) + (i32.const 1828) (i32.const 0) ) (unreachable) @@ -33473,7 +33506,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1830) + (i32.const 1829) (i32.const 0) ) (unreachable) @@ -33492,7 +33525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1831) + (i32.const 1830) (i32.const 0) ) (unreachable) @@ -33511,7 +33544,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1832) + (i32.const 1831) (i32.const 0) ) (unreachable) @@ -33530,7 +33563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1833) + (i32.const 1832) (i32.const 0) ) (unreachable) @@ -33549,7 +33582,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1834) + (i32.const 1833) (i32.const 0) ) (unreachable) @@ -33568,7 +33601,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1835) + (i32.const 1834) (i32.const 0) ) (unreachable) @@ -33587,7 +33620,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1836) + (i32.const 1835) (i32.const 0) ) (unreachable) @@ -33606,7 +33639,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1837) + (i32.const 1836) (i32.const 0) ) (unreachable) @@ -33625,7 +33658,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1838) + (i32.const 1837) (i32.const 0) ) (unreachable) @@ -33644,7 +33677,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1839) + (i32.const 1838) (i32.const 0) ) (unreachable) @@ -33663,7 +33696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1840) + (i32.const 1839) (i32.const 0) ) (unreachable) @@ -33682,7 +33715,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1841) + (i32.const 1840) (i32.const 0) ) (unreachable) @@ -33701,7 +33734,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1842) + (i32.const 1841) (i32.const 0) ) (unreachable) @@ -33720,7 +33753,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1843) + (i32.const 1842) (i32.const 0) ) (unreachable) @@ -33739,7 +33772,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1844) + (i32.const 1843) (i32.const 0) ) (unreachable) @@ -33758,7 +33791,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 1912) (i32.const 0) ) (unreachable) @@ -33777,7 +33810,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 1913) (i32.const 0) ) (unreachable) @@ -33796,7 +33829,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 1914) (i32.const 0) ) (unreachable) @@ -33815,7 +33848,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 1915) (i32.const 0) ) (unreachable) @@ -33834,7 +33867,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 1916) (i32.const 0) ) (unreachable) @@ -33853,7 +33886,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -33872,7 +33905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -33891,7 +33924,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -33910,7 +33943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -33929,7 +33962,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1922) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -33948,7 +33981,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -33967,7 +34000,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -33986,7 +34019,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 1926) (i32.const 0) ) (unreachable) @@ -34005,7 +34038,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 1927) (i32.const 0) ) (unreachable) @@ -34024,7 +34057,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1929) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -34043,7 +34076,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -34062,7 +34095,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -34081,7 +34114,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -34100,7 +34133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -34119,7 +34152,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -34138,7 +34171,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -34157,7 +34190,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -34176,7 +34209,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -34195,7 +34228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -34214,7 +34247,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1947) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -34233,7 +34266,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -34252,7 +34285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -34271,7 +34304,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -34290,7 +34323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -34309,7 +34342,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1954) + (i32.const 1953) (i32.const 0) ) (unreachable) diff --git a/tests/compiler/std/math.ts b/tests/compiler/std/math.ts index 34403022fe..afab6ce213 100644 --- a/tests/compiler/std/math.ts +++ b/tests/compiler/std/math.ts @@ -62,15 +62,15 @@ function ulperrf(got: f32, want: f32, dwant: f32): f32 { declare function logf(f: f64): void; function check(actual: T, expected: T, dy: T, flags: i32): bool { - if (actual != expected) { - let d: T; - if (sizeof() == 8) d = ulperr(actual, expected, dy); - else if (sizeof() == 4) d = ulperrf(actual, expected, dy); - else return false; - if (abs(d) >= 1.5) { - logf(abs(d)); - return false; - } + if (actual == expected) return true; + if (isNaN(expected)) return isNaN(actual); + var d: T; + if (sizeof() == 8) d = ulperr(actual, expected, dy); + else if (sizeof() == 4) d = ulperrf(actual, expected, dy); + else return false; + if (abs(d) >= 1.5) { + logf(abs(d)); + return false; } return true; } @@ -1365,9 +1365,8 @@ assert(test_log2f(NaN, NaN, 0.0, 0)); // === Math.pow ================================ function test_pow(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { - return check(NativeMath.pow(left, right), expected, error, flags); - // FIXME: JS (node 8) has different results in the tests marked below - // (!JS || check( JSMath.pow(left, right), expected, error, flags)); + return check(NativeMath.pow(left, right), expected, error, flags) && + (!JS || check( JSMath.pow(left, right), expected, error, flags)); } // sanity @@ -1424,16 +1423,16 @@ assert(test_pow(1.0, -0.0, 1.0, 0.0, 0)); assert(test_pow(-1.0, -0.0, 1.0, 0.0, 0)); assert(test_pow(-0.5, -0.0, 1.0, 0.0, 0)); assert(test_pow(-1.0, NaN, NaN, 0.0, 0)); -assert(test_pow(-1.0, Infinity, 1.0, 0.0, 0)); // JS: NaN -assert(test_pow(-1.0, -Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(-1.0, Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_pow(-1.0, -Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN assert(test_pow(-1.0, 2.0, 1.0, 0.0, 0)); assert(test_pow(-1.0, -1.0, -1.0, 0.0, 0)); assert(test_pow(-1.0, -2.0, 1.0, 0.0, 0)); assert(test_pow(-1.0, -3.0, -1.0, 0.0, 0)); assert(test_pow(-1.0, 0.5, NaN, 0.0, INVALID)); -assert(test_pow(1.0, NaN, 1.0, 0.0, 0)); // JS: NaN -assert(test_pow(1.0, Infinity, 1.0, 0.0, 0)); // JS: NaN -assert(test_pow(1.0, -Infinity, 1.0, 0.0, 0)); // JS: NaN +assert(test_pow(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_pow(1.0, Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_pow(1.0, -Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN assert(test_pow(1.0, 3.0, 1.0, 0.0, 0)); assert(test_pow(1.0, 0.5, 1.0, 0.0, 0)); assert(test_pow(1.0, -0.5, 1.0, 0.0, 0)); @@ -1536,16 +1535,16 @@ assert(test_powf(1.0, -0.0, 1.0, 0.0, 0)); assert(test_powf(-1.0, -0.0, 1.0, 0.0, 0)); assert(test_powf(-0.5, -0.0, 1.0, 0.0, 0)); assert(test_powf(-1.0, NaN, NaN, 0.0, 0)); -assert(test_powf(-1.0, Infinity, 1.0, 0.0, 0)); -assert(test_powf(-1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_powf(-1.0, Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_powf(-1.0, -Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN assert(test_powf(-1.0, 2.0, 1.0, 0.0, 0)); assert(test_powf(-1.0, -1.0, -1.0, 0.0, 0)); assert(test_powf(-1.0, -2.0, 1.0, 0.0, 0)); assert(test_powf(-1.0, -3.0, -1.0, 0.0, 0)); assert(test_powf(-1.0, 0.5, NaN, 0.0, INVALID)); -assert(test_powf(1.0, NaN, 1.0, 0.0, 0)); -assert(test_powf(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_powf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_powf(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_powf(1.0, Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_powf(1.0, -Infinity, NaN, 0.0, 0)); // C: 1.0, JS: NaN assert(test_powf(1.0, 3.0, 1.0, 0.0, 0)); assert(test_powf(1.0, 0.5, 1.0, 0.0, 0)); assert(test_powf(1.0, -0.5, 1.0, 0.0, 0)); diff --git a/tests/compiler/std/math.untouched.wat b/tests/compiler/std/math.untouched.wat index f308258d0d..b92e109099 100644 --- a/tests/compiler/std/math.untouched.wat +++ b/tests/compiler/std/math.untouched.wat @@ -48,6 +48,7 @@ (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) + (import "JSMath" "pow" (func $(lib)/math/JSMath.pow (param f64 f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) @@ -67,7 +68,7 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s\00") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 21 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 22 ;) (type $Fi) (param $0 f64) (result i32) (return (i32.wrap/i64 (i64.shr_u @@ -79,7 +80,7 @@ ) ) ) - (func $std/math/eulp (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 23 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i64) (local $2 i32) (set_local $1 @@ -119,7 +120,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 23 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 24 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (nop) (set_local $2 @@ -240,7 +241,7 @@ ) ) ) - (func $std/math/ulperr (; 24 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 25 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (nop) @@ -344,47 +345,65 @@ ) ) ) - (func $std/math/check (; 25 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 26 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) + (local $5 f64) (if - (f64.ne + (f64.eq (get_local $0) (get_local $1) ) - (block - (nop) - (set_local $4 - (call $std/math/ulperr + (return + (i32.const 1) + ) + ) + (if + (f64.ne + (tee_local $4 + (get_local $1) + ) + (get_local $4) + ) + (return + (f64.ne + (tee_local $4 (get_local $0) - (get_local $1) - (get_local $2) ) + (get_local $4) ) - (if - (f64.ge - (f64.abs - (get_local $4) - ) - (f64.const 1.5) - ) - (block - (call $std/math/logf - (f64.abs - (get_local $4) - ) - ) - (return - (i32.const 0) - ) + ) + ) + (nop) + (set_local $5 + (call $std/math/ulperr + (get_local $0) + (get_local $1) + (get_local $2) + ) + ) + (if + (f64.ge + (f64.abs + (get_local $5) + ) + (f64.const 1.5) + ) + (block + (call $std/math/logf + (f64.abs + (get_local $5) ) ) + (return + (i32.const 0) + ) ) ) (return (i32.const 1) ) ) - (func $std/math/test_scalbn (; 26 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 27 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMath.scalbn" @@ -397,7 +416,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 27 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 28 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (nop) (set_local $2 @@ -516,7 +535,7 @@ ) ) ) - (func $std/math/signbitf (; 28 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/signbitf (; 29 ;) (type $fi) (param $0 f32) (result i32) (return (i32.shr_u (i32.reinterpret/f32 @@ -526,7 +545,7 @@ ) ) ) - (func $std/math/eulpf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/eulpf (; 30 ;) (type $fi) (param $0 f32) (result i32) (local $1 i32) (local $2 i32) (set_local $1 @@ -564,7 +583,7 @@ ) ) ) - (func $std/math/ulperrf (; 30 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 31 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (nop) @@ -668,49 +687,67 @@ ) ) ) - (func $std/math/check (; 31 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 32 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) + (local $5 f32) (if - (f32.ne + (f32.eq (get_local $0) (get_local $1) ) - (block - (nop) - (set_local $4 - (call $std/math/ulperrf + (return + (i32.const 1) + ) + ) + (if + (f32.ne + (tee_local $4 + (get_local $1) + ) + (get_local $4) + ) + (return + (f32.ne + (tee_local $4 (get_local $0) - (get_local $1) - (get_local $2) ) + (get_local $4) ) - (if - (f32.ge + ) + ) + (nop) + (set_local $5 + (call $std/math/ulperrf + (get_local $0) + (get_local $1) + (get_local $2) + ) + ) + (if + (f32.ge + (f32.abs + (get_local $5) + ) + (f32.const 1.5) + ) + (block + (call $std/math/logf + (f64.promote/f32 (f32.abs - (get_local $4) - ) - (f32.const 1.5) - ) - (block - (call $std/math/logf - (f64.promote/f32 - (f32.abs - (get_local $4) - ) - ) - ) - (return - (i32.const 0) + (get_local $5) ) ) ) + (return + (i32.const 0) + ) ) ) (return (i32.const 1) ) ) - (func $std/math/test_scalbnf (; 32 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbnf (; 33 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" @@ -723,7 +760,7 @@ ) ) ) - (func $fmod (; 33 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func $fmod (; 34 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i64) (local $4 i32) @@ -1178,7 +1215,7 @@ ) ) ) - (func $std/math/test_fmod (; 34 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_fmod (; 35 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (return (call $std/math/check (call $fmod @@ -1191,7 +1228,7 @@ ) ) ) - (func $fmodf (; 35 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func $fmodf (; 36 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -1627,7 +1664,7 @@ ) ) ) - (func $std/math/test_fmodf (; 36 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_fmodf (; 37 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call $fmodf @@ -1640,14 +1677,14 @@ ) ) ) - (func "$(lib)/math/NativeMath.abs" (; 37 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.abs" (; 38 ;) (type $FF) (param $0 f64) (result f64) (return (f64.abs (get_local $0) ) ) ) - (func $std/math/test_abs (; 38 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_abs (; 39 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -1684,14 +1721,14 @@ ) ) ) - (func "$(lib)/math/NativeMathf.abs" (; 39 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.abs" (; 40 ;) (type $ff) (param $0 f32) (result f32) (return (f32.abs (get_local $0) ) ) ) - (func $std/math/test_absf (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_absf (; 41 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.abs" @@ -1703,7 +1740,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__R" (; 41 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__R" (; 42 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (nop) @@ -1777,7 +1814,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.acos" (; 42 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.acos" (; 43 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 i32) @@ -2009,7 +2046,7 @@ ) ) ) - (func $std/math/test_acos (; 43 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_acos (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -2046,7 +2083,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.__R" (; 44 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__R" (; 45 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 f32) (nop) @@ -2084,7 +2121,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.acos" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.acos" (; 46 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -2296,7 +2333,7 @@ ) ) ) - (func $std/math/test_acosf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_acosf (; 47 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.acos" @@ -2308,7 +2345,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log1p" (; 48 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -2670,7 +2707,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log" (; 49 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -2983,7 +3020,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.acosh" (; 49 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.acosh" (; 50 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (nop) (set_local $1 @@ -3080,7 +3117,7 @@ ) ) ) - (func $std/math/test_acosh (; 50 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_acosh (; 51 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -3117,7 +3154,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log1p" (; 52 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 f32) (local $3 f32) @@ -3428,7 +3465,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log" (; 52 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log" (; 53 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -3675,7 +3712,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 53 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.acosh" (; 54 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (nop) @@ -3779,7 +3816,7 @@ ) ) ) - (func $std/math/test_acoshf (; 54 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_acoshf (; 55 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.acosh" @@ -3791,7 +3828,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.asin" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asin" (; 56 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 i32) @@ -4030,7 +4067,7 @@ (get_local $0) ) ) - (func $std/math/test_asin (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asin (; 57 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -4067,7 +4104,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.asin" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asin" (; 58 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -4218,7 +4255,7 @@ (get_local $0) ) ) - (func $std/math/test_asinf (; 58 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinf (; 59 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.asin" @@ -4230,7 +4267,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.asinh" (; 59 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asinh" (; 60 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i64) (local $3 i64) @@ -4364,7 +4401,7 @@ ) ) ) - (func $std/math/test_asinh (; 60 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asinh (; 61 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -4401,7 +4438,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.asinh" (; 61 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asinh" (; 62 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -4535,7 +4572,7 @@ ) ) ) - (func $std/math/test_asinhf (; 62 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinhf (; 63 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.asinh" @@ -4547,7 +4584,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.atan" (; 63 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.atan" (; 64 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 f64) @@ -4962,7 +4999,7 @@ ) ) ) - (func $std/math/test_atan (; 64 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_atan (; 65 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -4999,7 +5036,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.atan" (; 65 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atan" (; 66 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -5371,7 +5408,7 @@ ) ) ) - (func $std/math/test_atanf (; 66 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atanf (; 67 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.atan" @@ -5383,7 +5420,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 67 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 68 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 f64) @@ -5602,7 +5639,7 @@ (get_local $3) ) ) - (func $std/math/test_cbrt (; 68 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cbrt (; 69 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -5639,7 +5676,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 69 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 70 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f64) @@ -5814,7 +5851,7 @@ ) ) ) - (func $std/math/test_cbrtf (; 70 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_cbrtf (; 71 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.cbrt" @@ -5826,7 +5863,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.expm1" (; 71 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.expm1" (; 72 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -6320,7 +6357,7 @@ (get_local $14) ) ) - (func "$(lib)/math/NativeMath.exp" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.exp" (; 73 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 f64) @@ -6557,7 +6594,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__expo2" (; 74 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (nop) (set_local $1 @@ -6594,7 +6631,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cosh" (; 75 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 f64) @@ -6703,7 +6740,7 @@ (get_local $3) ) ) - (func $std/math/test_cosh (; 75 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cosh (; 76 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -6740,7 +6777,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 76 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.expm1" (; 77 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -7201,7 +7238,7 @@ (get_local $14) ) ) - (func "$(lib)/math/NativeMathf.exp" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.exp" (; 78 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -7423,7 +7460,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.__expo2" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__expo2" (; 79 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (nop) (set_local $1 @@ -7455,7 +7492,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.cosh" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cosh" (; 80 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 f32) (set_local $1 @@ -7551,7 +7588,7 @@ ) ) ) - (func $std/math/test_coshf (; 80 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_coshf (; 81 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.cosh" @@ -7563,7 +7600,7 @@ ) ) ) - (func $std/math/test_exp (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_exp (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -7600,7 +7637,7 @@ ) ) ) - (func $std/math/test_expf (; 82 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expf (; 83 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.exp" @@ -7612,7 +7649,7 @@ ) ) ) - (func $std/math/test_expm1 (; 83 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_expm1 (; 84 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -7649,7 +7686,7 @@ ) ) ) - (func $std/math/test_expm1f (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expm1f (; 85 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.expm1" @@ -7661,7 +7698,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.hypot" (; 85 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.hypot" (; 86 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i64) (local $4 i64) @@ -7962,7 +7999,7 @@ ) ) ) - (func $std/math/test_hypot (; 86 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_hypot (; 87 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (return (i32.and @@ -8001,7 +8038,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.hypot" (; 87 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.hypot" (; 88 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -8202,7 +8239,7 @@ ) ) ) - (func $std/math/test_hypotf (; 88 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_hypotf (; 89 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.hypot" @@ -8215,7 +8252,7 @@ ) ) ) - (func $std/math/test_log (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 90 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -8252,7 +8289,7 @@ ) ) ) - (func $std/math/test_logf (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 91 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log" @@ -8264,7 +8301,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log10" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log10" (; 92 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -8653,7 +8690,7 @@ ) ) ) - (func $std/math/test_log10 (; 92 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -8690,7 +8727,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log10" (; 93 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log10" (; 94 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -8985,7 +9022,7 @@ ) ) ) - (func $std/math/test_log10f (; 94 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 95 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log10" @@ -8997,7 +9034,7 @@ ) ) ) - (func $std/math/test_log1p (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 96 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -9034,7 +9071,7 @@ ) ) ) - (func $std/math/test_log1pf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 97 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" @@ -9046,7 +9083,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log2" (; 97 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 98 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -9422,7 +9459,7 @@ ) ) ) - (func $std/math/test_log2 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -9459,7 +9496,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 99 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 100 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -9746,7 +9783,7 @@ ) ) ) - (func $std/math/test_log2f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 101 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log2" @@ -9758,7 +9795,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.pow" (; 101 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.pow" (; 102 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i32) (local $4 i32) @@ -9857,27 +9894,6 @@ (f64.const 1) ) ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $3) - (i32.const 1072693248) - ) - ) - (i32.eq - (get_local $4) - (i32.const 0) - ) - (get_local $9) - ) - (i32.const 1) - ) - (return - (f64.const 1) - ) - ) (if (i32.and (if (result i32) @@ -10078,7 +10094,7 @@ (i32.const 0) ) (return - (f64.const 1) + (f64.const nan:0x8000000000000) ) (if (i32.ge_s @@ -11358,20 +11374,46 @@ ) ) ) - (func $std/math/test_pow (; 102 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_pow (; 103 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) - (get_local $1) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.pow" (; 103 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.pow" (; 104 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -11439,15 +11481,6 @@ (f32.const 1) ) ) - (if - (i32.eq - (get_local $2) - (i32.const 1065353216) - ) - (return - (f32.const 1) - ) - ) (if (i32.and (if (result i32) @@ -11548,7 +11581,7 @@ (i32.const 1065353216) ) (return - (f32.const 1) + (f32.const nan:0x400000) ) (if (i32.gt_s @@ -12711,7 +12744,7 @@ ) ) ) - (func $std/math/test_powf (; 104 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_powf (; 105 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.pow" @@ -12724,7 +12757,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__murmurHash3" (; 105 ;) (type $II) (param $0 i64) (result i64) + (func "$(lib)/math/NativeMath.__murmurHash3" (; 106 ;) (type $II) (param $0 i64) (result i64) (set_local $0 (i64.xor (get_local $0) @@ -12768,7 +12801,7 @@ (get_local $0) ) ) - (func "$(lib)/math/NativeMath.seedRandom" (; 106 ;) (type $Iv) (param $0 i64) + (func "$(lib)/math/NativeMath.seedRandom" (; 107 ;) (type $Iv) (param $0 i64) (if (i64.eqz (get_local $0) @@ -12797,7 +12830,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 107 ;) (type $I) (result i64) + (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 108 ;) (type $I) (result i64) (local $0 i64) (local $1 i64) (set_local $0 @@ -12852,7 +12885,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.random" (; 108 ;) (type $F) (result f64) + (func "$(lib)/math/NativeMath.random" (; 109 ;) (type $F) (result f64) (local $0 i64) (if (i32.eqz @@ -12878,7 +12911,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.sinh" (; 109 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sinh" (; 110 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 f64) (local $3 f64) @@ -13013,7 +13046,7 @@ (get_local $5) ) ) - (func $std/math/test_sinh (; 110 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sinh (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13050,7 +13083,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.sinh" (; 111 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sinh" (; 112 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 f32) (local $3 f32) @@ -13173,7 +13206,7 @@ (get_local $4) ) ) - (func $std/math/test_sinhf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sinhf (; 113 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.sinh" @@ -13185,14 +13218,14 @@ ) ) ) - (func "$(lib)/math/NativeMath.sqrt" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sqrt" (; 114 ;) (type $FF) (param $0 f64) (result f64) (return (f64.sqrt (get_local $0) ) ) ) - (func $std/math/test_sqrt (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sqrt (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13229,14 +13262,14 @@ ) ) ) - (func "$(lib)/math/NativeMathf.sqrt" (; 115 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sqrt" (; 116 ;) (type $ff) (param $0 f32) (result f32) (return (f32.sqrt (get_local $0) ) ) ) - (func $std/math/test_sqrtf (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sqrtf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.sqrt" @@ -13248,7 +13281,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.tanh" (; 117 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.tanh" (; 118 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -13394,7 +13427,7 @@ ) ) ) - (func $std/math/test_tanh (; 118 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_tanh (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13431,7 +13464,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.tanh" (; 119 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.tanh" (; 120 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -13566,7 +13599,7 @@ ) ) ) - (func $std/math/test_tanhf (; 120 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_tanhf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.tanh" @@ -13578,7 +13611,7 @@ ) ) ) - (func $start (; 121 ;) (type $v) + (func $start (; 122 ;) (type $v) (local $0 i32) (local $1 f64) (local $2 i32) @@ -29066,7 +29099,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1374) + (i32.const 1373) (i32.const 0) ) (unreachable) @@ -29086,7 +29119,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1375) + (i32.const 1374) (i32.const 0) ) (unreachable) @@ -29106,7 +29139,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1376) + (i32.const 1375) (i32.const 0) ) (unreachable) @@ -29126,7 +29159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1377) + (i32.const 1376) (i32.const 0) ) (unreachable) @@ -29146,7 +29179,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1378) + (i32.const 1377) (i32.const 0) ) (unreachable) @@ -29166,7 +29199,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1379) + (i32.const 1378) (i32.const 0) ) (unreachable) @@ -29186,7 +29219,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 1379) (i32.const 0) ) (unreachable) @@ -29206,7 +29239,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -29226,7 +29259,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -29246,7 +29279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1383) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -29266,7 +29299,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -29286,7 +29319,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -29306,7 +29339,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -29326,7 +29359,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -29346,7 +29379,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1390) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -29366,7 +29399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1391) + (i32.const 1390) (i32.const 0) ) (unreachable) @@ -29386,7 +29419,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 1391) (i32.const 0) ) (unreachable) @@ -29406,7 +29439,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 1392) (i32.const 0) ) (unreachable) @@ -29426,7 +29459,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -29446,7 +29479,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 1394) (i32.const 0) ) (unreachable) @@ -29466,7 +29499,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 1395) (i32.const 0) ) (unreachable) @@ -29486,7 +29519,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 1396) (i32.const 0) ) (unreachable) @@ -29506,7 +29539,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 1397) (i32.const 0) ) (unreachable) @@ -29528,7 +29561,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 1398) (i32.const 0) ) (unreachable) @@ -29548,7 +29581,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1400) + (i32.const 1399) (i32.const 0) ) (unreachable) @@ -29568,7 +29601,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1401) + (i32.const 1400) (i32.const 0) ) (unreachable) @@ -29588,7 +29621,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1402) + (i32.const 1401) (i32.const 0) ) (unreachable) @@ -29608,7 +29641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1403) + (i32.const 1402) (i32.const 0) ) (unreachable) @@ -29628,7 +29661,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1404) + (i32.const 1403) (i32.const 0) ) (unreachable) @@ -29648,7 +29681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1405) + (i32.const 1404) (i32.const 0) ) (unreachable) @@ -29668,7 +29701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1406) + (i32.const 1405) (i32.const 0) ) (unreachable) @@ -29688,7 +29721,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1407) + (i32.const 1406) (i32.const 0) ) (unreachable) @@ -29708,7 +29741,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 1407) (i32.const 0) ) (unreachable) @@ -29730,7 +29763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -29750,7 +29783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -29772,7 +29805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -29792,7 +29825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -29814,7 +29847,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 1412) (i32.const 0) ) (unreachable) @@ -29834,7 +29867,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 1413) (i32.const 0) ) (unreachable) @@ -29854,7 +29887,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -29876,7 +29909,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -29896,7 +29929,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -29916,7 +29949,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1418) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -29936,7 +29969,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1419) + (i32.const 1418) (i32.const 0) ) (unreachable) @@ -29956,7 +29989,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 1419) (i32.const 0) ) (unreachable) @@ -29976,7 +30009,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -29998,7 +30031,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -30018,7 +30051,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -30038,7 +30071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -30058,7 +30091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -30078,7 +30111,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -30089,7 +30122,7 @@ (call $std/math/test_pow (f64.const -1) (f64.const inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -30098,7 +30131,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -30111,7 +30144,7 @@ (f64.neg (f64.const inf) ) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -30120,7 +30153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1428) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -30140,7 +30173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1429) + (i32.const 1428) (i32.const 0) ) (unreachable) @@ -30160,7 +30193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1430) + (i32.const 1429) (i32.const 0) ) (unreachable) @@ -30180,7 +30213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1431) + (i32.const 1430) (i32.const 0) ) (unreachable) @@ -30200,7 +30233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1432) + (i32.const 1431) (i32.const 0) ) (unreachable) @@ -30220,7 +30253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1433) + (i32.const 1432) (i32.const 0) ) (unreachable) @@ -30231,7 +30264,7 @@ (call $std/math/test_pow (f64.const 1) (f64.const nan:0x8000000000000) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -30240,7 +30273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1434) + (i32.const 1433) (i32.const 0) ) (unreachable) @@ -30251,7 +30284,7 @@ (call $std/math/test_pow (f64.const 1) (f64.const inf) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -30260,7 +30293,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1435) + (i32.const 1434) (i32.const 0) ) (unreachable) @@ -30273,7 +30306,7 @@ (f64.neg (f64.const inf) ) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -30282,7 +30315,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1436) + (i32.const 1435) (i32.const 0) ) (unreachable) @@ -30302,7 +30335,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 1436) (i32.const 0) ) (unreachable) @@ -30322,7 +30355,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 1437) (i32.const 0) ) (unreachable) @@ -30342,7 +30375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 1438) (i32.const 0) ) (unreachable) @@ -30362,7 +30395,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 1439) (i32.const 0) ) (unreachable) @@ -30382,7 +30415,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 1440) (i32.const 0) ) (unreachable) @@ -30402,7 +30435,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 1441) (i32.const 0) ) (unreachable) @@ -30422,7 +30455,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 1442) (i32.const 0) ) (unreachable) @@ -30442,7 +30475,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 1443) (i32.const 0) ) (unreachable) @@ -30462,7 +30495,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -30484,7 +30517,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -30504,7 +30537,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1447) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -30524,7 +30557,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1448) + (i32.const 1447) (i32.const 0) ) (unreachable) @@ -30546,7 +30579,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 1448) (i32.const 0) ) (unreachable) @@ -30566,7 +30599,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -30586,7 +30619,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1451) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -30608,7 +30641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -30628,7 +30661,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -30648,7 +30681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -30668,7 +30701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 1454) (i32.const 0) ) (unreachable) @@ -30690,7 +30723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 1455) (i32.const 0) ) (unreachable) @@ -30710,7 +30743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1457) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -30730,7 +30763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1458) + (i32.const 1457) (i32.const 0) ) (unreachable) @@ -30750,7 +30783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1459) + (i32.const 1458) (i32.const 0) ) (unreachable) @@ -30770,7 +30803,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1460) + (i32.const 1459) (i32.const 0) ) (unreachable) @@ -30790,7 +30823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1461) + (i32.const 1460) (i32.const 0) ) (unreachable) @@ -30810,7 +30843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1462) + (i32.const 1461) (i32.const 0) ) (unreachable) @@ -30830,7 +30863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1463) + (i32.const 1462) (i32.const 0) ) (unreachable) @@ -30852,7 +30885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1464) + (i32.const 1463) (i32.const 0) ) (unreachable) @@ -30874,7 +30907,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 1464) (i32.const 0) ) (unreachable) @@ -30898,7 +30931,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 1465) (i32.const 0) ) (unreachable) @@ -30922,7 +30955,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 1466) (i32.const 0) ) (unreachable) @@ -30944,7 +30977,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 1467) (i32.const 0) ) (unreachable) @@ -30968,7 +31001,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 1468) (i32.const 0) ) (unreachable) @@ -30990,7 +31023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 1469) (i32.const 0) ) (unreachable) @@ -31012,7 +31045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 1470) (i32.const 0) ) (unreachable) @@ -31034,7 +31067,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 1471) (i32.const 0) ) (unreachable) @@ -31056,7 +31089,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -31076,7 +31109,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -31096,7 +31129,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1475) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -31116,7 +31149,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1476) + (i32.const 1475) (i32.const 0) ) (unreachable) @@ -31136,7 +31169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1477) + (i32.const 1476) (i32.const 0) ) (unreachable) @@ -31156,7 +31189,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1486) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -31176,7 +31209,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1487) + (i32.const 1486) (i32.const 0) ) (unreachable) @@ -31196,7 +31229,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1488) + (i32.const 1487) (i32.const 0) ) (unreachable) @@ -31216,7 +31249,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1489) + (i32.const 1488) (i32.const 0) ) (unreachable) @@ -31236,7 +31269,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1490) + (i32.const 1489) (i32.const 0) ) (unreachable) @@ -31256,7 +31289,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1491) + (i32.const 1490) (i32.const 0) ) (unreachable) @@ -31276,7 +31309,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1492) + (i32.const 1491) (i32.const 0) ) (unreachable) @@ -31296,7 +31329,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1493) + (i32.const 1492) (i32.const 0) ) (unreachable) @@ -31316,7 +31349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1494) + (i32.const 1493) (i32.const 0) ) (unreachable) @@ -31336,7 +31369,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1495) + (i32.const 1494) (i32.const 0) ) (unreachable) @@ -31356,7 +31389,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 1497) (i32.const 0) ) (unreachable) @@ -31376,7 +31409,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 1498) (i32.const 0) ) (unreachable) @@ -31396,7 +31429,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 1499) (i32.const 0) ) (unreachable) @@ -31416,7 +31449,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 1500) (i32.const 0) ) (unreachable) @@ -31436,7 +31469,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -31456,7 +31489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -31476,7 +31509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -31496,7 +31529,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1505) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -31516,7 +31549,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1506) + (i32.const 1505) (i32.const 0) ) (unreachable) @@ -31536,7 +31569,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 1506) (i32.const 0) ) (unreachable) @@ -31556,7 +31589,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -31576,7 +31609,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -31596,7 +31629,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -31618,7 +31651,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -31638,7 +31671,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 1511) (i32.const 0) ) (unreachable) @@ -31658,7 +31691,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 1512) (i32.const 0) ) (unreachable) @@ -31678,7 +31711,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -31698,7 +31731,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1515) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -31718,7 +31751,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1516) + (i32.const 1515) (i32.const 0) ) (unreachable) @@ -31738,7 +31771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1517) + (i32.const 1516) (i32.const 0) ) (unreachable) @@ -31758,7 +31791,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1518) + (i32.const 1517) (i32.const 0) ) (unreachable) @@ -31778,7 +31811,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1519) + (i32.const 1518) (i32.const 0) ) (unreachable) @@ -31798,7 +31831,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1520) + (i32.const 1519) (i32.const 0) ) (unreachable) @@ -31820,7 +31853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1521) + (i32.const 1520) (i32.const 0) ) (unreachable) @@ -31840,7 +31873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1522) + (i32.const 1521) (i32.const 0) ) (unreachable) @@ -31862,7 +31895,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1523) + (i32.const 1522) (i32.const 0) ) (unreachable) @@ -31882,7 +31915,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 1523) (i32.const 0) ) (unreachable) @@ -31904,7 +31937,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 1524) (i32.const 0) ) (unreachable) @@ -31924,7 +31957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 1525) (i32.const 0) ) (unreachable) @@ -31944,7 +31977,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 1526) (i32.const 0) ) (unreachable) @@ -31966,7 +31999,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 1527) (i32.const 0) ) (unreachable) @@ -31986,7 +32019,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 1528) (i32.const 0) ) (unreachable) @@ -32006,7 +32039,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -32026,7 +32059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -32046,7 +32079,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -32066,7 +32099,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1533) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -32088,7 +32121,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1534) + (i32.const 1533) (i32.const 0) ) (unreachable) @@ -32108,7 +32141,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 1534) (i32.const 0) ) (unreachable) @@ -32128,7 +32161,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -32148,7 +32181,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -32168,7 +32201,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -32179,7 +32212,7 @@ (call $std/math/test_powf (f32.const -1) (f32.const inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -32188,7 +32221,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -32201,7 +32234,7 @@ (f32.neg (f32.const inf) ) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -32210,7 +32243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 1539) (i32.const 0) ) (unreachable) @@ -32230,7 +32263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 1540) (i32.const 0) ) (unreachable) @@ -32250,7 +32283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 1541) (i32.const 0) ) (unreachable) @@ -32270,7 +32303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1543) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -32290,7 +32323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1544) + (i32.const 1543) (i32.const 0) ) (unreachable) @@ -32310,7 +32343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1545) + (i32.const 1544) (i32.const 0) ) (unreachable) @@ -32321,7 +32354,7 @@ (call $std/math/test_powf (f32.const 1) (f32.const nan:0x400000) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -32330,7 +32363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1546) + (i32.const 1545) (i32.const 0) ) (unreachable) @@ -32341,7 +32374,7 @@ (call $std/math/test_powf (f32.const 1) (f32.const inf) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -32350,7 +32383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1547) + (i32.const 1546) (i32.const 0) ) (unreachable) @@ -32363,7 +32396,7 @@ (f32.neg (f32.const inf) ) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -32372,7 +32405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1548) + (i32.const 1547) (i32.const 0) ) (unreachable) @@ -32392,7 +32425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1549) + (i32.const 1548) (i32.const 0) ) (unreachable) @@ -32412,7 +32445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1550) + (i32.const 1549) (i32.const 0) ) (unreachable) @@ -32432,7 +32465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1551) + (i32.const 1550) (i32.const 0) ) (unreachable) @@ -32452,7 +32485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 1551) (i32.const 0) ) (unreachable) @@ -32472,7 +32505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 1552) (i32.const 0) ) (unreachable) @@ -32492,7 +32525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 1553) (i32.const 0) ) (unreachable) @@ -32512,7 +32545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 1554) (i32.const 0) ) (unreachable) @@ -32532,7 +32565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 1555) (i32.const 0) ) (unreachable) @@ -32552,7 +32585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 1556) (i32.const 0) ) (unreachable) @@ -32574,7 +32607,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 1557) (i32.const 0) ) (unreachable) @@ -32594,7 +32627,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 1558) (i32.const 0) ) (unreachable) @@ -32614,7 +32647,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 1559) (i32.const 0) ) (unreachable) @@ -32636,7 +32669,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1561) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -32656,7 +32689,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1562) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -32676,7 +32709,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1563) + (i32.const 1562) (i32.const 0) ) (unreachable) @@ -32698,7 +32731,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 1563) (i32.const 0) ) (unreachable) @@ -32718,7 +32751,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 1564) (i32.const 0) ) (unreachable) @@ -32738,7 +32771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -32758,7 +32791,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -32780,7 +32813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -32800,7 +32833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -32820,7 +32853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -32840,7 +32873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 1570) (i32.const 0) ) (unreachable) @@ -32860,7 +32893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1572) + (i32.const 1571) (i32.const 0) ) (unreachable) @@ -32880,7 +32913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -32900,7 +32933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -32920,7 +32953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -32942,7 +32975,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -32964,7 +32997,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -32988,7 +33021,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -33012,7 +33045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -33034,7 +33067,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -33058,7 +33091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 1580) (i32.const 0) ) (unreachable) @@ -33080,7 +33113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 1581) (i32.const 0) ) (unreachable) @@ -33102,7 +33135,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 1582) (i32.const 0) ) (unreachable) @@ -33124,7 +33157,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 1583) (i32.const 0) ) (unreachable) @@ -33146,7 +33179,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 1584) (i32.const 0) ) (unreachable) @@ -33166,7 +33199,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 1585) (i32.const 0) ) (unreachable) @@ -33186,7 +33219,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 1586) (i32.const 0) ) (unreachable) @@ -33206,7 +33239,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 1587) (i32.const 0) ) (unreachable) @@ -33226,7 +33259,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1589) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -33277,7 +33310,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1596) + (i32.const 1595) (i32.const 2) ) (unreachable) @@ -33308,7 +33341,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -33327,7 +33360,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -33346,7 +33379,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -33365,7 +33398,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 1668) (i32.const 0) ) (unreachable) @@ -33384,7 +33417,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 1669) (i32.const 0) ) (unreachable) @@ -33403,7 +33436,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 1670) (i32.const 0) ) (unreachable) @@ -33422,7 +33455,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 1671) (i32.const 0) ) (unreachable) @@ -33441,7 +33474,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 1672) (i32.const 0) ) (unreachable) @@ -33460,7 +33493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1674) + (i32.const 1673) (i32.const 0) ) (unreachable) @@ -33479,7 +33512,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1675) + (i32.const 1674) (i32.const 0) ) (unreachable) @@ -33498,7 +33531,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 1677) (i32.const 0) ) (unreachable) @@ -33517,7 +33550,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 1678) (i32.const 0) ) (unreachable) @@ -33536,7 +33569,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -33559,7 +33592,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -33578,7 +33611,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1682) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -33597,7 +33630,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 1690) (i32.const 0) ) (unreachable) @@ -33616,7 +33649,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -33635,7 +33668,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -33654,7 +33687,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -33673,7 +33706,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -33692,7 +33725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -33711,7 +33744,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -33730,7 +33763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -33749,7 +33782,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -33768,7 +33801,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1700) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -33787,7 +33820,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -33806,7 +33839,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -33825,7 +33858,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -33848,7 +33881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -33867,7 +33900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1707) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -33886,7 +33919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -33905,7 +33938,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -33924,7 +33957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -33943,7 +33976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -33962,7 +33995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -33981,7 +34014,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -34000,7 +34033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -34019,7 +34052,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -34038,7 +34071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -34057,7 +34090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1726) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -34076,7 +34109,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -34095,7 +34128,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -34116,7 +34149,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -34135,7 +34168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -34154,7 +34187,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -34173,7 +34206,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -34192,7 +34225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -34211,7 +34244,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -34230,7 +34263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -34249,7 +34282,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -34268,7 +34301,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -34287,7 +34320,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -34306,7 +34339,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -34325,7 +34358,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -34344,7 +34377,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -34363,7 +34396,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -34382,7 +34415,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -34401,7 +34434,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -34420,7 +34453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -34439,7 +34472,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -34458,7 +34491,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -34477,7 +34510,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 1749) (i32.const 0) ) (unreachable) @@ -34496,7 +34529,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 1750) (i32.const 0) ) (unreachable) @@ -34515,7 +34548,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 1751) (i32.const 0) ) (unreachable) @@ -34534,7 +34567,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 1752) (i32.const 0) ) (unreachable) @@ -34553,7 +34586,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 1753) (i32.const 0) ) (unreachable) @@ -34572,7 +34605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 1754) (i32.const 0) ) (unreachable) @@ -34591,7 +34624,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 1755) (i32.const 0) ) (unreachable) @@ -34610,7 +34643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 1756) (i32.const 0) ) (unreachable) @@ -34629,7 +34662,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -34648,7 +34681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -34667,7 +34700,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -34686,7 +34719,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -34705,7 +34738,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -34724,7 +34757,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -34743,7 +34776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -34762,7 +34795,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -34781,7 +34814,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -34800,7 +34833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -34819,7 +34852,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1768) + (i32.const 1767) (i32.const 0) ) (unreachable) @@ -34838,7 +34871,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1769) + (i32.const 1768) (i32.const 0) ) (unreachable) @@ -34857,7 +34890,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1770) + (i32.const 1769) (i32.const 0) ) (unreachable) @@ -34876,7 +34909,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1771) + (i32.const 1770) (i32.const 0) ) (unreachable) @@ -34895,7 +34928,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1772) + (i32.const 1771) (i32.const 0) ) (unreachable) @@ -34914,7 +34947,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1773) + (i32.const 1772) (i32.const 0) ) (unreachable) @@ -34933,7 +34966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1774) + (i32.const 1773) (i32.const 0) ) (unreachable) @@ -34952,7 +34985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1775) + (i32.const 1774) (i32.const 0) ) (unreachable) @@ -34971,7 +35004,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1776) + (i32.const 1775) (i32.const 0) ) (unreachable) @@ -34990,7 +35023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1777) + (i32.const 1776) (i32.const 0) ) (unreachable) @@ -35009,7 +35042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1778) + (i32.const 1777) (i32.const 0) ) (unreachable) @@ -35028,7 +35061,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1779) + (i32.const 1778) (i32.const 0) ) (unreachable) @@ -35047,7 +35080,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1780) + (i32.const 1779) (i32.const 0) ) (unreachable) @@ -35066,7 +35099,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1781) + (i32.const 1780) (i32.const 0) ) (unreachable) @@ -35085,7 +35118,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1782) + (i32.const 1781) (i32.const 0) ) (unreachable) @@ -35104,7 +35137,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1783) + (i32.const 1782) (i32.const 0) ) (unreachable) @@ -35123,7 +35156,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1784) + (i32.const 1783) (i32.const 0) ) (unreachable) @@ -35142,7 +35175,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1785) + (i32.const 1784) (i32.const 0) ) (unreachable) @@ -35161,7 +35194,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1786) + (i32.const 1785) (i32.const 0) ) (unreachable) @@ -35180,7 +35213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1787) + (i32.const 1786) (i32.const 0) ) (unreachable) @@ -35199,7 +35232,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1788) + (i32.const 1787) (i32.const 0) ) (unreachable) @@ -35218,7 +35251,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1789) + (i32.const 1788) (i32.const 0) ) (unreachable) @@ -35237,7 +35270,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1790) + (i32.const 1789) (i32.const 0) ) (unreachable) @@ -35256,7 +35289,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1791) + (i32.const 1790) (i32.const 0) ) (unreachable) @@ -35275,7 +35308,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1792) + (i32.const 1791) (i32.const 0) ) (unreachable) @@ -35294,7 +35327,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1793) + (i32.const 1792) (i32.const 0) ) (unreachable) @@ -35313,7 +35346,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1794) + (i32.const 1793) (i32.const 0) ) (unreachable) @@ -35332,7 +35365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1795) + (i32.const 1794) (i32.const 0) ) (unreachable) @@ -35351,7 +35384,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1796) + (i32.const 1795) (i32.const 0) ) (unreachable) @@ -35370,7 +35403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1797) + (i32.const 1796) (i32.const 0) ) (unreachable) @@ -35389,7 +35422,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1798) + (i32.const 1797) (i32.const 0) ) (unreachable) @@ -35408,7 +35441,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1799) + (i32.const 1798) (i32.const 0) ) (unreachable) @@ -35427,7 +35460,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1800) + (i32.const 1799) (i32.const 0) ) (unreachable) @@ -35446,7 +35479,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1801) + (i32.const 1800) (i32.const 0) ) (unreachable) @@ -35465,7 +35498,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1802) + (i32.const 1801) (i32.const 0) ) (unreachable) @@ -35484,7 +35517,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1811) + (i32.const 1810) (i32.const 0) ) (unreachable) @@ -35503,7 +35536,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1812) + (i32.const 1811) (i32.const 0) ) (unreachable) @@ -35522,7 +35555,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1813) + (i32.const 1812) (i32.const 0) ) (unreachable) @@ -35541,7 +35574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1814) + (i32.const 1813) (i32.const 0) ) (unreachable) @@ -35560,7 +35593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1815) + (i32.const 1814) (i32.const 0) ) (unreachable) @@ -35579,7 +35612,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1816) + (i32.const 1815) (i32.const 0) ) (unreachable) @@ -35598,7 +35631,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1817) + (i32.const 1816) (i32.const 0) ) (unreachable) @@ -35617,7 +35650,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1818) + (i32.const 1817) (i32.const 0) ) (unreachable) @@ -35636,7 +35669,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1819) + (i32.const 1818) (i32.const 0) ) (unreachable) @@ -35655,7 +35688,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1820) + (i32.const 1819) (i32.const 0) ) (unreachable) @@ -35674,7 +35707,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1823) + (i32.const 1822) (i32.const 0) ) (unreachable) @@ -35693,7 +35726,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1824) + (i32.const 1823) (i32.const 0) ) (unreachable) @@ -35714,7 +35747,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1825) + (i32.const 1824) (i32.const 0) ) (unreachable) @@ -35733,7 +35766,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1826) + (i32.const 1825) (i32.const 0) ) (unreachable) @@ -35752,7 +35785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1827) + (i32.const 1826) (i32.const 0) ) (unreachable) @@ -35771,7 +35804,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1828) + (i32.const 1827) (i32.const 0) ) (unreachable) @@ -35790,7 +35823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1829) + (i32.const 1828) (i32.const 0) ) (unreachable) @@ -35809,7 +35842,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1830) + (i32.const 1829) (i32.const 0) ) (unreachable) @@ -35828,7 +35861,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1831) + (i32.const 1830) (i32.const 0) ) (unreachable) @@ -35847,7 +35880,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1832) + (i32.const 1831) (i32.const 0) ) (unreachable) @@ -35866,7 +35899,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1833) + (i32.const 1832) (i32.const 0) ) (unreachable) @@ -35885,7 +35918,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1834) + (i32.const 1833) (i32.const 0) ) (unreachable) @@ -35904,7 +35937,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1835) + (i32.const 1834) (i32.const 0) ) (unreachable) @@ -35923,7 +35956,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1836) + (i32.const 1835) (i32.const 0) ) (unreachable) @@ -35942,7 +35975,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1837) + (i32.const 1836) (i32.const 0) ) (unreachable) @@ -35961,7 +35994,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1838) + (i32.const 1837) (i32.const 0) ) (unreachable) @@ -35980,7 +36013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1839) + (i32.const 1838) (i32.const 0) ) (unreachable) @@ -35999,7 +36032,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1840) + (i32.const 1839) (i32.const 0) ) (unreachable) @@ -36018,7 +36051,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1841) + (i32.const 1840) (i32.const 0) ) (unreachable) @@ -36037,7 +36070,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1842) + (i32.const 1841) (i32.const 0) ) (unreachable) @@ -36056,7 +36089,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1843) + (i32.const 1842) (i32.const 0) ) (unreachable) @@ -36075,7 +36108,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1844) + (i32.const 1843) (i32.const 0) ) (unreachable) @@ -36094,7 +36127,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 1912) (i32.const 0) ) (unreachable) @@ -36113,7 +36146,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 1913) (i32.const 0) ) (unreachable) @@ -36132,7 +36165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 1914) (i32.const 0) ) (unreachable) @@ -36151,7 +36184,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 1915) (i32.const 0) ) (unreachable) @@ -36170,7 +36203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 1916) (i32.const 0) ) (unreachable) @@ -36189,7 +36222,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -36208,7 +36241,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -36227,7 +36260,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -36246,7 +36279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -36265,7 +36298,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1922) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -36284,7 +36317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -36303,7 +36336,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -36322,7 +36355,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 1926) (i32.const 0) ) (unreachable) @@ -36343,7 +36376,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 1927) (i32.const 0) ) (unreachable) @@ -36362,7 +36395,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1929) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -36381,7 +36414,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -36400,7 +36433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -36419,7 +36452,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -36438,7 +36471,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -36457,7 +36490,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -36476,7 +36509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -36495,7 +36528,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -36514,7 +36547,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -36533,7 +36566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -36552,7 +36585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1947) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -36571,7 +36604,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -36590,7 +36623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -36609,7 +36642,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -36630,7 +36663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -36649,7 +36682,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1954) + (i32.const 1953) (i32.const 0) ) (unreachable) From d46b8a74fd03c8d147c91148bb8cce9ead8f8e0b Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Thu, 29 Mar 2018 22:49:16 +0200 Subject: [PATCH 3/5] Implement '%' and '**' operators --- bin/asc.js | 5 +- src/compiler.ts | 159 +- std/assembly.d.ts | 14 +- std/assembly/builtins.ts | 120 - std/assembly/math.ts | 282 +- tests/compiler.js | 3 + tests/compiler/binary.optimized.wat | 3628 ++++++- tests/compiler/binary.ts | 24 +- tests/compiler/binary.untouched.wat | 4157 +++++++- tests/compiler/builtins.optimized.wat | 932 +- tests/compiler/builtins.ts | 19 +- tests/compiler/builtins.untouched.wat | 1111 +- tests/compiler/showcase.optimized.wat | 3922 +++++-- tests/compiler/showcase.untouched.wat | 4340 ++++++-- tests/compiler/std/math.optimized.wat | 10936 +++++++++++++------- tests/compiler/std/math.ts | 545 +- tests/compiler/std/math.untouched.wat | 12987 ++++++++++++++++-------- tests/compiler/std/mod.optimized.wat | 3294 ++++++ tests/compiler/std/mod.ts | 167 + tests/compiler/std/mod.untouched.wat | 3534 +++++++ 20 files changed, 38740 insertions(+), 11439 deletions(-) create mode 100644 tests/compiler/std/mod.optimized.wat create mode 100644 tests/compiler/std/mod.ts create mode 100644 tests/compiler/std/mod.untouched.wat diff --git a/bin/asc.js b/bin/asc.js index dc3c7b5a38..eb39fb6dec 100644 --- a/bin/asc.js +++ b/bin/asc.js @@ -363,9 +363,12 @@ exports.main = function main(argv, options, callback) { assemblyscript.setImportTable(compilerOptions, !!args.importTable); assemblyscript.setMemoryBase(compilerOptions, args.memoryBase >>> 0); assemblyscript.setSourceMap(compilerOptions, args.sourceMap != null); + + // Initialize default aliases assemblyscript.setGlobalAlias(compilerOptions, "Math", "NativeMath"); + assemblyscript.setGlobalAlias(compilerOptions, "Mathf", "NativeMathf"); - // Add or override global aliases if specified + // Add or override aliases if specified var aliases = args.use; if (aliases != null) { if (typeof aliases === "string") aliases = aliases.split(","); diff --git a/src/compiler.ts b/src/compiler.ts index a03943447b..6a62119f00 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -2316,6 +2316,11 @@ export class Compiler extends DiagnosticEmitter { return this.compileExpression(expression.expression, toType, ConversionKind.EXPLICIT); } + private f32ModInstance: Function | null = null; + private f64ModInstance: Function | null = null; + private f32PowInstance: Function | null = null; + private f64PowInstance: Function | null = null; + compileBinaryExpression( expression: BinaryExpression, contextualType: Type, @@ -3078,6 +3083,88 @@ export class Compiler extends DiagnosticEmitter { } break; } + case Token.ASTERISK_ASTERISK_EQUALS: compound = true; + case Token.ASTERISK_ASTERISK: { + leftExpr = this.compileExpressionRetainType( + left, + contextualType, + true // must be wrapped + ); + let instance: Function | null; + + // Mathf.pow if lhs is f32 (result is f32) + if (this.currentType == Type.f32) { + rightExpr = this.compileExpression( + right, + this.currentType + ); + if (!(instance = this.f32PowInstance)) { + let namespace = this.program.elementsLookup.get("Mathf"); + if (!namespace) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Mathf" + ); + expr = module.createUnreachable(); + break; + } + let prototype = namespace.members ? namespace.members.get("pow") : null; + if (!prototype) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Mathf.pow" + ); + expr = module.createUnreachable(); + break; + } + assert(prototype.kind == ElementKind.FUNCTION_PROTOTYPE); + this.f32PowInstance = instance = (prototype).resolve(); + } + + // Math.pow otherwise (result is f64) + // TODO: should the result be converted back? + } else { + leftExpr = this.convertExpression( + leftExpr, + this.currentType, + Type.f64, + ConversionKind.IMPLICIT, + left + ); + rightExpr = this.compileExpression( + right, + Type.f64 + ); + if (!(instance = this.f64PowInstance)) { + let namespace = this.program.elementsLookup.get("Math"); + if (!namespace) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Math" + ); + expr = module.createUnreachable(); + break; + } + let prototype = namespace.members ? namespace.members.get("pow") : null; + if (!prototype) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Math.pow" + ); + expr = module.createUnreachable(); + break; + } + assert(prototype.kind == ElementKind.FUNCTION_PROTOTYPE); + this.f64PowInstance = instance = (prototype).resolve(); + } + } + if (!(instance && this.compileFunction(instance))) { + expr = module.createUnreachable(); + } else { + expr = this.makeCallDirect(instance, [ leftExpr, rightExpr ]); + } + break; + } case Token.SLASH_EQUALS: compound = true; case Token.SLASH: { leftExpr = this.compileExpressionRetainType( @@ -3269,40 +3356,64 @@ export class Compiler extends DiagnosticEmitter { break; } case TypeKind.F32: { - let fmodPrototype = this.program.elementsLookup.get("fmodf"); - if (!fmodPrototype) { - this.error( - DiagnosticCode.Cannot_find_name_0, - expression.range, "fmod" - ); - expr = module.createUnreachable(); - break; + let instance = this.f32ModInstance; + if (!instance) { + let namespace = this.program.elementsLookup.get("Mathf"); + if (!namespace) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Mathf" + ); + expr = module.createUnreachable(); + break; + } + let prototype = namespace.members ? namespace.members.get("mod") : null; + if (!prototype) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Mathf.mod" + ); + expr = module.createUnreachable(); + break; + } + assert(prototype.kind == ElementKind.FUNCTION_PROTOTYPE); + this.f32ModInstance = instance = (prototype).resolve(); } - assert(fmodPrototype.kind == ElementKind.FUNCTION_PROTOTYPE); - let fmodInstance = (fmodPrototype).resolve(); - if (!(fmodInstance && this.compileFunction(fmodInstance))) { + if (!(instance && this.compileFunction(instance))) { expr = module.createUnreachable(); } else { - expr = this.makeCallDirect(fmodInstance, [ leftExpr, rightExpr ]); + expr = this.makeCallDirect(instance, [ leftExpr, rightExpr ]); } break; } case TypeKind.F64: { - let fmodPrototype = this.program.elementsLookup.get("fmod"); - if (!fmodPrototype) { - this.error( - DiagnosticCode.Cannot_find_name_0, - expression.range, "fmod" - ); - expr = module.createUnreachable(); - break; + let instance = this.f64ModInstance; + if (!instance) { + let namespace = this.program.elementsLookup.get("Math"); + if (!namespace) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Math" + ); + expr = module.createUnreachable(); + break; + } + let prototype = namespace.members ? namespace.members.get("mod") : null; + if (!prototype) { + this.error( + DiagnosticCode.Cannot_find_name_0, + expression.range, "Math.mod" + ); + expr = module.createUnreachable(); + break; + } + assert(prototype.kind == ElementKind.FUNCTION_PROTOTYPE); + this.f64ModInstance = instance = (prototype).resolve(); } - assert(fmodPrototype.kind == ElementKind.FUNCTION_PROTOTYPE); - let fmodInstance = (fmodPrototype).resolve(); - if (!(fmodInstance && this.compileFunction(fmodInstance))) { + if (!(instance && this.compileFunction(instance))) { expr = module.createUnreachable(); } else { - expr = this.makeCallDirect(fmodInstance, [ leftExpr, rightExpr ]); + expr = this.makeCallDirect(instance, [ leftExpr, rightExpr ]); } break; } diff --git a/std/assembly.d.ts b/std/assembly.d.ts index d7fa9be5fc..600f7024b0 100644 --- a/std/assembly.d.ts +++ b/std/assembly.d.ts @@ -135,6 +135,10 @@ declare namespace f32 { export const MAX_SAFE_INTEGER: f32; /** Difference between 1 and the smallest representable value greater than 1. */ export const EPSILON: f32; + /** Returns the floating-point remainder of `x / y` (rounded towards zero). */ + export function mod(x: f32, y: f32): f32; + /** Returns the floating-point remainder of `x / y` (rounded to nearest). */ + export function rem(x: f32, y: f32): f32; } /** Converts any other numeric value to a 64-bit float. */ declare function f64(value: i8 | i16 | i32 | i64 | isize | u8 | u16 | u32 | u64 | usize | bool | f32 | f64): f64; @@ -442,17 +446,21 @@ interface IMath { trunc(x: T): T; } -interface ISeedRandom { +interface INativeMath extends IMath { /** Seeds the random number generator. */ seedRandom(value: i64): void; + /** Returns the floating-point remainder of `x / y` (rounded towards zero). */ + mod(x: T, y: T): T; + /** Returns the floating-point remainder of `x / y` (rounded to nearest). */ + rem(x: T, y: T): T; } /** Double precision math imported from JavaScript. */ declare const JSMath: IMath; /** Double precision math implemented natively. */ -declare const NativeMath: IMath & ISeedRandom; +declare const NativeMath: INativeMath; /** Single precision math implemented natively. */ -declare const NativeMathf: IMath; +declare const NativeMathf: INativeMath; /** Alias of {@link NativeMath} or {@link JSMath} respectively. Defaults to `NativeMath`. */ declare const Math: IMath; diff --git a/std/assembly/builtins.ts b/std/assembly/builtins.ts index dc10d96193..d62c0f61f5 100644 --- a/std/assembly/builtins.ts +++ b/std/assembly/builtins.ts @@ -172,123 +172,3 @@ export namespace f64 { export declare const HEAP_BASE: usize; export declare function start(): void; - -export function fmod(x: f64, y: f64): f64 { - // based on musl's implementation of fmod - var ux = reinterpret(x); - var uy = reinterpret(y); - var ex = (ux >> 52 & 0x7FF); - var ey = (uy >> 52 & 0x7FF); - var sx = (ux >> 63); - - if (uy << 1 == 0 || isNaN(y) || ex == 0x7FF) { - return (x * y) / (x * y); - } - if (ux << 1 <= uy << 1) { - if (ux << 1 == uy << 1) return 0 * x; - return x; - } - - // normalize x and y - var i: u64; - if (!ex) { - for (i = ux << 12; !(i >> 63); i <<= 1) --ex; - ux <<= -ex + 1; - } else { - ux &= -1 >> 12; - ux |= 1 << 52; - } - if (!ey) { - for (i = uy << 12; !(i >> 63); i <<= 1) --ey; - uy <<= -ey + 1; - } else { - uy &= -1 >> 12; - uy |= 1 << 52; - } - - // x mod y - for (; ex > ey; ex--) { - i = ux - uy; - if (!(i >> 63)) { - if (!i) return 0 * x; - ux = i; - } - ux <<= 1; - } - i = ux - uy; - if (!(i >> 63)) { - if (!i) return 0 * x; - ux = i; - } - for (; !(ux >> 52); ux <<= 1) --ex; - - // scale result - if (ex > 0) { - ux -= 1 << 52; - ux |= ex << 52; - } else { - ux >>= -ex + 1; - } - ux |= sx << 63; - return reinterpret(ux); -} - -export function fmodf(x: f32, y: f32): f32 { - // based on musl's implementation of fmodf - var ux = reinterpret(x); - var uy = reinterpret(y); - var ex = (ux >> 23 & 0xFF); - var ey = (uy >> 23 & 0xFF); - var sx = ux & 0x80000000; - - if (uy << 1 == 0 || isNaN(y) || ex == 0xFF) { - return (x * y) / (x * y); - } - if (ux << 1 <= uy << 1) { - if (ux << 1 == uy << 1) return 0 * x; - return x; - } - - // normalize x and y - var i: u32; - if (!ex) { - for (i = ux << 9; !(i >> 31); i <<= 1) --ex; - ux <<= -ex + 1; - } else { - ux &= -1 >> 9; - ux |= 1 << 23; - } - if (!ey) { - for (i = uy << 9; !(i >> 31); i <<= 1) --ey; - uy <<= -ey + 1; - } else { - uy &= -1 >> 9; - uy |= 1 << 23; - } - - // x mod y - for (; ex > ey; --ex) { - i = ux - uy; - if (!(i >> 31)) { - if (!i) return 0 * x; - ux = i; - } - ux <<= 1; - } - i = ux - uy; - if (!(i >> 31)) { - if (!i) return 0 * x; - ux = i; - } - for (; !(ux >> 23); ux <<= 1) --ex; - - // scale result - if (ex > 0) { - ux -= 1 << 23; - ux |= ex << 23; - } else { - ux >>= -ex + 1; - } - ux |= sx; - return reinterpret(ux); -} diff --git a/std/assembly/math.ts b/std/assembly/math.ts index 8d9914f9fa..79a282e94b 100644 --- a/std/assembly/math.ts +++ b/std/assembly/math.ts @@ -1026,20 +1026,15 @@ export namespace NativeMath { return s * z; } - var random_seeded = false; - var random_state0: u64; - var random_state1: u64; - - function __murmurHash3(h: u64): u64 { - h ^= h >> 33; - h *= 0xFF51AFD7ED558CCD; - h ^= h >> 33; - h *= 0xC4CEB9FE1A85EC53; - h ^= h >> 33; - return h; + export function seedRandom(value: i64): void { + assert(value); + random_seeded = true; + random_state0 = murmurHash3(value); + random_state1 = murmurHash3(random_state0); } - function __xorShift128Plus(): u64 { + export function random(): f64 { // see: v8/src/base/random-number-generator.cc + if (!random_seeded) unreachable(); var s1 = random_state0; var s0 = random_state1; random_state0 = s0; @@ -1048,19 +1043,7 @@ export namespace NativeMath { s1 ^= s0; s1 ^= s0 >> 26; random_state1 = s1; - return s0 + s1; - } - - export function seedRandom(value: i64): void { - assert(value); - random_seeded = true; - random_state0 = __murmurHash3(value); - random_state1 = __murmurHash3(random_state0); - } - - export function random(): f64 { // based on V8's implementation - if (!random_seeded) unreachable(); - var r = (__xorShift128Plus() & 0x000FFFFFFFFFFFFF) | 0x3FF0000000000000; + var r = ((s0 + s1) & 0x000FFFFFFFFFFFFF) | 0x3FF0000000000000; return reinterpret(r) - 1; } @@ -1226,6 +1209,122 @@ export namespace NativeMath { } return y * reinterpret((0x3FF + n) << 52); } + + export function mod(x: f64, y: f64): f64 { // see: musl/src/math/fmod.c + var ux = reinterpret(x); + var uy = reinterpret(y); + var ex = (ux >> 52 & 0x7FF); + var ey = (uy >> 52 & 0x7FF); + var sx = (ux >> 63); + if (uy << 1 == 0 || isNaN(y) || ex == 0x7FF) return (x * y) / (x * y); + if (ux << 1 <= uy << 1) { + if (ux << 1 == uy << 1) return 0 * x; + return x; + } + var i: u64; + if (!ex) { + for (i = ux << 12; !(i >> 63); i <<= 1) --ex; + ux <<= -ex + 1; + } else { + ux &= -1 >> 12; + ux |= 1 << 52; + } + if (!ey) { + for (i = uy << 12; !(i >> 63); i <<= 1) --ey; + uy <<= -ey + 1; + } else { + uy &= -1 >> 12; + uy |= 1 << 52; + } + for (; ex > ey; ex--) { + i = ux - uy; + if (!(i >> 63)) { + if (!i) return 0 * x; + ux = i; + } + ux <<= 1; + } + i = ux - uy; + if (!(i >> 63)) { + if (!i) return 0 * x; + ux = i; + } + for (; !(ux >> 52); ux <<= 1) --ex; + if (ex > 0) { + ux -= 1 << 52; + ux |= ex << 52; + } else { + ux >>= -ex + 1; + } + ux |= sx << 63; + return reinterpret(ux); + } + + export function rem(x: f64, y: f64): f64 { // see: musl/src/math/remquo.c + var ux = reinterpret(x); + var uy = reinterpret(y); + var ex = (ux >> 52 & 0x7FF); + var ey = (uy >> 52 & 0x7FF); + var sx = (ux >> 63); + var sy = (uy >> 63); + if (uy << 1 == 0 || isNaN(y) || ex == 0x7FF) return (x * y) / (x * y); + if (ux << 1 == 0) return x; + var uxi = ux; + var i: u64; + if (!ex) { + for (i = uxi << 12; i >> 63 == 0; ex--, i <<= 1) {} + uxi <<= -ex + 1; + } else { + uxi &= -1 >> 12; + uxi |= 1 << 52; + } + if (!ey) { + for (i = uy << 12; i >> 63 == 0; ey--, i <<= 1) {} + uy <<= -ey + 1; + } else { + uy &= -1 >> 12; + uy |= 1 << 52; + } + var q: u32 = 0; + do { + if (ex < ey) { + if (ex + 1 == ey) break; // goto end + return x; + } + for (; ex > ey; ex--) { + i = uxi - uy; + if (i >> 63 == 0) { + uxi = i; + ++q; + } + uxi <<= 1; + q <<= 1; + } + i = uxi - uy; + if (i >> 63 == 0) { + uxi = i; + ++q; + } + if (uxi == 0) ex = -60; + else for (; uxi >> 52 == 0; uxi <<= 1, ex--) {} + break; + } while (false); + // end: + if (ex > 0) { + uxi -= 1 << 52; + uxi |= ex << 52; + } else { + uxi >>= -ex + 1; + } + x = reinterpret(uxi); + if (sy) y = -y; + if (ex == ey || (ex + 1 == ey && (2.0 * x > y || (2.0 * x == y && (q % 2))))) { + x -= y; + ++q; + } + q &= 0x7FFFFFFF; + return sx ? -x : x; + } } export namespace NativeMathf { @@ -2021,6 +2120,10 @@ export namespace NativeMathf { return sn * z; } + export function seedRandom(value: i64): void { + NativeMath.seedRandom(value); + } + export function random(): f32 { return NativeMath.random(); } @@ -2125,4 +2228,133 @@ export namespace NativeMathf { } return y * reinterpret((0x7F + n) << 23); } + + export function mod(x: f32, y: f32): f32 { // see: musl/src/math/fmodf.c + var ux = reinterpret(x); + var uy = reinterpret(y); + var ex = (ux >> 23 & 0xFF); + var ey = (uy >> 23 & 0xFF); + var sx = ux & 0x80000000; + if (uy << 1 == 0 || isNaN(y) || ex == 0xFF) return (x * y) / (x * y); + if (ux << 1 <= uy << 1) { + if (ux << 1 == uy << 1) return 0 * x; + return x; + } + var i: u32; + if (!ex) { + for (i = ux << 9; !(i >> 31); i <<= 1) --ex; + ux <<= -ex + 1; + } else { + ux &= -1 >> 9; + ux |= 1 << 23; + } + if (!ey) { + for (i = uy << 9; !(i >> 31); i <<= 1) --ey; + uy <<= -ey + 1; + } else { + uy &= -1 >> 9; + uy |= 1 << 23; + } + for (; ex > ey; --ex) { + i = ux - uy; + if (!(i >> 31)) { + if (!i) return 0 * x; + ux = i; + } + ux <<= 1; + } + i = ux - uy; + if (!(i >> 31)) { + if (!i) return 0 * x; + ux = i; + } + for (; !(ux >> 23); ux <<= 1) --ex; + if (ex > 0) { + ux -= 1 << 23; + ux |= ex << 23; + } else { + ux >>= -ex + 1; + } + ux |= sx; + return reinterpret(ux); + } + + export function rem(x: f32, y: f32): f32 { // see: musl/src/math/remquof.c + var ux = reinterpret(x); + var uy = reinterpret(y); + var ex = (ux >> 23 & 0xFF); + var ey = (uy >> 23 & 0xFF); + var sx = (ux >> 31); + var sy = (uy >> 31); + var i: u32; + var uxi = ux; + if (uy << 1 == 0 || isNaN(y) || ex == 0xFF) return (x * y) / (x * y); + if (ux << 1 == 0) return x; + if (!ex) { + for (i = uxi << 9; i >> 31 == 0; ex--, i <<= 1) {} + uxi <<= -ex + 1; + } else { + uxi &= -1 >> 9; + uxi |= 1 << 23; + } + if (!ey) { + for (i = uy << 9; i >> 31 == 0; ey--, i <<= 1) {} + uy <<= -ey + 1; + } else { + uy &= -1 >> 9; + uy |= 1 << 23; + } + var q = 0; + do { + if (ex < ey) { + if (ex + 1 == ey) break; // goto end + return x; + } + for (; ex > ey; ex--) { + i = uxi - uy; + if (i >> 31 == 0) { + uxi = i; + q++; + } + uxi <<= 1; + q <<= 1; + } + i = uxi - uy; + if (i >> 31 == 0) { + uxi = i; + q++; + } + if (uxi == 0) ex = -30; + else for (; uxi >> 23 == 0; uxi <<= 1, ex--) {} + break; + } while (false); + // end + if (ex > 0) { + uxi -= 1 << 23; + uxi |= ex << 23; + } else { + uxi >>= -ex + 1; + } + x = reinterpret(uxi); + if (sy) y = -y; + if (ex == ey || (ex + 1 == ey && (2 * x > y || (2 * x == y && (q % 2))))) { + x -= y; + q++; + } + q &= 0x7FFFFFFF; + return sx ? -x : x; + } +} + +var random_seeded = false; +var random_state0: u64; +var random_state1: u64; + +function murmurHash3(h: u64): u64 { + h ^= h >> 33; + h *= 0xFF51AFD7ED558CCD; + h ^= h >> 33; + h *= 0xC4CEB9FE1A85EC53; + h ^= h >> 33; + return h; } diff --git a/tests/compiler.js b/tests/compiler.js index 66b77db32b..8c9b5633eb 100644 --- a/tests/compiler.js +++ b/tests/compiler.js @@ -124,6 +124,9 @@ tests.forEach(filename => { externalFunction: function() { }, externalConstant: 2 }, + JSOp: { + mod: function(a, b) { return a % b; } + }, JSMath: Math }); }); diff --git a/tests/compiler/binary.optimized.wat b/tests/compiler/binary.optimized.wat index 36d9f7cfb6..978ed2aaf4 100644 --- a/tests/compiler/binary.optimized.wat +++ b/tests/compiler/binary.optimized.wat @@ -1,4 +1,8 @@ (module + (type $FFF (func (param f64 f64) (result f64))) + (type $FiF (func (param f64 i32) (result f64))) + (type $fff (func (param f32 f32) (result f32))) + (type $fif (func (param f32 i32) (result f32))) (type $v (func)) (global $binary/b (mut i32) (i32.const 0)) (global $binary/i (mut i32) (i32.const 0)) @@ -8,7 +12,3521 @@ (memory $0 1) (export "memory" (memory $0)) (start $start) - (func $start (; 0 ;) (type $v) + (func "$(lib)/math/NativeMath.scalbn" (; 0 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 + (get_local $1) + ) + (i64.const 1023) + ) + (i64.const 52) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 1 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 f64) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 i32) + (local $14 f64) + (local $15 i32) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 i64) + (block $folding-inner1 + (block $folding-inner0 + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (set_local $5 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $10 + (i32.and + (tee_local $11 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (tee_local $6 + (i32.wrap/i64 + (get_local $19) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.gt_s + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $13) + (i32.const 0) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.gt_s + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1128267776) + ) + (set_local $15 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1072693248) + ) + (if + (i32.gt_s + (tee_local $8 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (i32.const 20) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + (get_local $6) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $6) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + (get_local $10) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $6) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $13) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (get_local $1) + (f64.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f64.const 0) + (f64.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (return + (f64.const nan:0x8000000000000) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $13) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $7) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.eq + (get_local $5) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f64.div + (f64.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $15) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (get_local $2) + (get_local $2) + ) + (f64.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + ) + (set_local $12 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $15) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $12 + (f64.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f64) + (i32.gt_s + (get_local $10) + (i32.const 1105199104) + ) + (block (result f64) + (if + (i32.gt_s + (get_local $10) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.mul + (tee_local $3 + (f64.sub + (get_local $2) + (f64.const 1) + ) + ) + (get_local $3) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $3) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $3) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $3) + ) + ) + (tee_local $17 + (f64.sub + (f64.mul + (get_local $3) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $0) + (f64.const 1.4426950408889634) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $17) + (f64.sub + (get_local $9) + (get_local $16) + ) + ) + ) + (block (result f64) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1048576) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 53) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.mul + (get_local $2) + (f64.const 9007199254740992) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $6 + (i32.and + (get_local $5) + (i32.const 1048575) + ) + ) + (i32.const 1072693248) + ) + ) + (set_local $8 + (if (result i32) + (i32.le_s + (get_local $6) + (i32.const 235662) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $6) + (i32.const 767610) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1048576) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $18 + (f64.mul + (tee_local $16 + (f64.sub + (tee_local $2 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $5) + ) + (i64.const 32) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $8) + ) + ) + ) + ) + (tee_local $17 + (f64.div + (f64.const 1) + (f64.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $2 + (f64.sub + (get_local $2) + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $8) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.sub + (tee_local $2 + (f64.add + (f64.mul + (f64.mul + (tee_local $14 + (f64.mul + (get_local $18) + (get_local $18) + ) + ) + (get_local $14) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $14) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $17) + (f64.sub + (f64.sub + (get_local $16) + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (f64.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f64.add + (get_local $3) + (get_local $18) + ) + ) + ) + ) + (f64.sub + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.const 3) + (tee_local $14 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 3) + ) + (get_local $14) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.add + (tee_local $18 + (f64.mul + (f64.const 0.9617967009544373) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (get_local $0) + (get_local $9) + ) + (f64.mul + (get_local $2) + (get_local $18) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + ) + (tee_local $2 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $0) + ) + (f64.mul + (f64.sub + (get_local $17) + (f64.sub + (get_local $0) + (get_local $16) + ) + ) + (f64.const 0.9617966939259756) + ) + ) + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $8) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $8) + ) + ) + ) + (tee_local $3 + (f64.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $2) + (f64.sub + (f64.sub + (f64.sub + (get_local $9) + (get_local $3) + ) + (get_local $0) + ) + (get_local $18) + ) + ) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (tee_local $2 + (f64.add + (tee_local $1 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $9) + ) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $9) + ) + ) + ) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (if + (i32.ge_s + (get_local $6) + (i32.const 1083179008) + ) + (br_if $folding-inner1 + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const 1083179008) + ) + (get_local $13) + ) + (f64.gt + (f64.add + (get_local $1) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (br_if $folding-inner0 + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const -1064252416) + ) + (get_local $13) + ) + (f64.le + (get_local $1) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (i32.shr_s + (tee_local $13 + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $13) + (i32.const 1071644672) + ) + (block + (set_local $8 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $6) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $8) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f64.mul + (get_local $12) + (tee_local $2 + (if (result f64) + (i32.le_s + (i32.shr_s + (tee_local $6 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.sub + (f64.const 1) + (f64.sub + (f64.sub + (f64.div + (f64.mul + (tee_local $2 + (f64.add + (tee_local $16 + (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (get_local $1) + (get_local $0) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 0.6931471824645996) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (f64.sub + (get_local $3) + (get_local $0) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $3) + (f64.const -1.904654299957768e-09) + ) + ) + ) + ) + ) + (tee_local $9 + (f64.sub + (get_local $2) + (f64.mul + (tee_local $3 + (f64.mul + (get_local $2) + (get_local $2) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $3) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $3) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $3) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $3) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (get_local $9) + (f64.const 2) + ) + ) + (f64.add + (tee_local $0 + (f64.sub + (get_local $17) + (f64.sub + (get_local $2) + (get_local $16) + ) + ) + ) + (f64.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.shl + (get_local $4) + (i32.const 20) + ) + ) + ) + (i32.const 20) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $2) + (get_local $4) + ) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 2 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (block $folding-inner0 + (set_local $4 + (i32.and + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.and + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (get_local $3) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $3) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (set_local $2 + (if (result i32) + (get_local $4) + (i32.or + (i32.and + (get_local $2) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i32.shl + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $5) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i32.shl + (get_local $5) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $6) + ) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f32.reinterpret/i32 + (i32.or + (tee_local $2 + (select + (i32.or + (i32.sub + (get_local $2) + (i32.const 8388608) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + (i32.shr_u + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + ) + ) + (get_local $8) + ) + ) + ) + ) + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 3 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (i32.const -126) + ) + (set_local $1 + (i32.const -126) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (get_local $1) + (i32.const 127) + ) + (i32.const 23) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 4 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f32) + (local $9 f32) + (local $10 i32) + (local $11 i32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 i32) + (local $16 f32) + (block $folding-inner1 + (block $folding-inner0 + (set_local $5 + (i32.and + (tee_local $15 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (tee_local $10 + (i32.and + (tee_local $11 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 2147483647) + ) + ) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $10) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1266679808) + ) + (set_local $4 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1065353216) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 23) + (tee_local $6 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + ) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + (get_local $10) + ) + (set_local $4 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353216) + ) + (return + (select + (get_local $1) + (f32.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f32.const 0) + (f32.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1065353216) + ) + (return + (select + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $15) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $2 + (f32.abs + (get_local $0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f32.div + (f32.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1065353216) + ) + (get_local $4) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f32.div + (f32.sub + (get_local $2) + (get_local $2) + ) + (f32.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + (set_local $9 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $4) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $9 + (f32.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f32) + (i32.gt_s + (get_local $10) + (i32.const 1291845632) + ) + (block (result f32) + (if + (i32.lt_s + (get_local $5) + (i32.const 1065353208) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353223) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f32.mul + (f32.mul + (tee_local $3 + (f32.sub + (get_local $2) + (f32.const 1) + ) + ) + (get_local $3) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $3) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $3) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (f32.const 1.44268798828125) + (get_local $3) + ) + ) + (tee_local $14 + (f32.sub + (f32.mul + (get_local $3) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $0) + (f32.const 1.4426950216293335) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $14) + (f32.sub + (get_local $8) + (get_local $13) + ) + ) + ) + (block (result f32) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 8388608) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 24) + ) + ) + (set_local $5 + (i32.reinterpret/f32 + (f32.mul + (get_local $2) + (f32.const 16777216) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $7 + (i32.and + (get_local $5) + (i32.const 8388607) + ) + ) + (i32.const 1065353216) + ) + ) + (set_local $6 + (if (result i32) + (i32.le_s + (get_local $7) + (i32.const 1885297) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $7) + (i32.const 6140887) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 8388608) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $16 + (f32.mul + (tee_local $13 + (f32.sub + (tee_local $2 + (f32.reinterpret/i32 + (get_local $5) + ) + ) + (tee_local $0 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $6) + ) + ) + ) + ) + (tee_local $14 + (f32.div + (f32.const 1) + (f32.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (set_local $2 + (f32.sub + (get_local $2) + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.add + (i32.add + (i32.or + (i32.and + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + (i32.const 4194304) + ) + (i32.shl + (get_local $6) + (i32.const 21) + ) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f32.sub + (tee_local $2 + (f32.add + (f32.mul + (f32.mul + (tee_local $12 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (get_local $12) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $12) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (tee_local $0 + (f32.mul + (get_local $14) + (f32.sub + (f32.sub + (get_local $13) + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (f32.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f32.add + (get_local $3) + (get_local $16) + ) + ) + ) + ) + (f32.sub + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.const 3) + (tee_local $12 + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.const 3) + ) + (get_local $12) + ) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.add + (tee_local $16 + (f32.mul + (f32.const 0.9619140625) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (get_local $0) + (get_local $8) + ) + (f32.mul + (get_local $2) + (get_local $16) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + ) + (tee_local $2 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $0) + ) + (f32.mul + (f32.sub + (get_local $14) + (f32.sub + (get_local $0) + (get_local $13) + ) + ) + (f32.const 0.9617967009544373) + ) + ) + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $6) + ) + ) + ) + ) + (tee_local $0 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $6) + ) + ) + ) + (tee_local $3 + (f32.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $2) + (f32.sub + (f32.sub + (f32.sub + (get_local $8) + (get_local $3) + ) + (get_local $0) + ) + (get_local $16) + ) + ) + ) + ) + ) + (br_if $folding-inner1 + (i32.gt_s + (tee_local $7 + (i32.reinterpret/f32 + (tee_local $2 + (f32.add + (tee_local $1 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (get_local $1) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $8) + ) + (f32.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f32.mul + (get_local $0) + (get_local $8) + ) + ) + ) + ) + ) + ) + (i32.const 1124073472) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1124073472) + ) + (br_if $folding-inner1 + (f32.gt + (f32.add + (get_local $1) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (br $folding-inner0) + (if + (i32.eq + (get_local $7) + (i32.const -1021968384) + ) + (br_if $folding-inner0 + (f32.le + (get_local $1) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.shr_s + (tee_local $15 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $15) + (i32.const 1056964608) + ) + (block + (set_local $6 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $7) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $6) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f32.mul + (get_local $9) + (tee_local $2 + (if (result f32) + (i32.le_s + (i32.shr_s + (tee_local $7 + (i32.add + (i32.reinterpret/f32 + (tee_local $2 + (f32.sub + (f32.const 1) + (f32.sub + (f32.sub + (f32.div + (f32.mul + (tee_local $2 + (f32.add + (tee_local $13 + (f32.mul + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (get_local $1) + (get_local $0) + ) + ) + (i32.const -32768) + ) + ) + ) + (f32.const 0.693145751953125) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (f32.sub + (get_local $3) + (get_local $0) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $3) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + ) + ) + (tee_local $8 + (f32.sub + (get_local $2) + (f32.mul + (tee_local $3 + (f32.mul + (get_local $2) + (get_local $2) + ) + ) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $3) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $3) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $3) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $3) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.sub + (get_local $8) + (f32.const 2) + ) + ) + (f32.add + (tee_local $0 + (f32.sub + (get_local $14) + (f32.sub + (get_local $2) + (get_local $13) + ) + ) + ) + (f32.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + (i32.const 23) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $2) + (get_local $4) + ) + (f32.reinterpret/i32 + (get_local $7) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (func "$(lib)/math/NativeMath.mod" (; 5 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i64) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (block $folding-inner0 + (set_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $5 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i64.eq + (i64.shl + (get_local $5) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $7) + (f64.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.eq + (get_local $3) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (set_local $2 + (if (result i64) + (get_local $3) + (i64.or + (i64.and + (get_local $2) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $2) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) + ) + ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i64) + (get_local $6) + (i64.or + (i64.and + (get_local $5) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $5) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i64.shl + (get_local $5) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $3) + (get_local $6) + ) + (block + (if + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) + ) + ) + (i64.const 63) + ) + ) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) + ) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) + ) + ) + (i64.const 63) + ) + ) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) + ) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (loop $continue|3 + (if + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f64.reinterpret/i64 + (i64.or + (tee_local $2 + (select + (i64.or + (i64.sub + (get_local $2) + (i64.const 4503599627370496) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $3) + ) + (i64.const 52) + ) + ) + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + ) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + ) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 63) + ) + ) + ) + ) + ) + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + (func $start (; 6 ;) (type $v) (drop (i32.div_s (get_global $binary/i) @@ -21,6 +3539,14 @@ (i32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) (set_global $binary/b (i32.lt_s (get_global $binary/i) @@ -81,6 +3607,16 @@ (i32.const 1) ) ) + (set_global $binary/i + (i32.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/i (i32.shl (get_global $binary/i) @@ -183,6 +3719,14 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) (set_global $binary/b (i64.lt_s (get_global $binary/I) @@ -249,6 +3793,16 @@ (i64.const 1) ) ) + (set_global $binary/I + (i64.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/I (i64.shl (get_global $binary/I) @@ -345,6 +3899,18 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/b (f32.lt (get_global $binary/f) @@ -405,6 +3971,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/f (f32.add (get_global $binary/f) @@ -423,6 +4001,30 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/b (f64.lt (get_global $binary/F) @@ -483,6 +4085,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/F (f64.add (get_global $binary/F) @@ -501,5 +4115,17 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) ) ) diff --git a/tests/compiler/binary.ts b/tests/compiler/binary.ts index 74398742f7..694f04868a 100644 --- a/tests/compiler/binary.ts +++ b/tests/compiler/binary.ts @@ -13,6 +13,7 @@ i - 1; i * 1; i / 1; i % 1; +i ** 1; i << 1; i >> 1; i >>> 1; @@ -31,6 +32,7 @@ i = i - 1; i = i * 1; i = i / 1; i = i % 1; +i = (i ** 1); i = i << 1; i = i >> 1; i = i >>> 1; @@ -42,6 +44,7 @@ i += 1; i -= 1; i *= 1; i %= 1; +// i **= 1; i <<= 1; i >>= 1; i >>>= 1; @@ -62,6 +65,7 @@ I - 1; I * 1; I / 1; I % 1; +I ** 1; I << 1; I >> 1; I >>> 1; @@ -80,6 +84,7 @@ I = I - 1; I = I * 1; I = I / 1; I = I % 1; +I = (I ** 1); I = I << 1; I = I >> 1; I = I >>> 1; @@ -91,6 +96,7 @@ I += 1; I -= 1; I *= 1; I %= 1; +// I **= 1; I <<= 1; I >>= 1; I >>>= 1; @@ -110,7 +116,8 @@ f + 1; f - 1; f * 1; f / 1; -// f % 1; +f % 1; +f ** 1; b = f < 1; b = f > 1; @@ -122,12 +129,14 @@ f = f + 1; f = f - 1; f = f * 1; f = f / 1; -// f = f % 1; +f = f % 1; +f = f ** 1; f += 1; f -= 1; f *= 1; -// f %= 1; +f %= 1; +f **= 1; var F: f64 = 0; @@ -141,7 +150,8 @@ F + 1; F - 1; F * 1; F / 1; -// f % 1; +F % 1; +F ** 1; b = F < 1; b = F > 1; @@ -153,9 +163,11 @@ F = F + 1; F = F - 1; F = F * 1; F = F / 1; -// F = F % 1; +F = F % 1; +F = F ** 1; F += 1; F -= 1; F *= 1; -// F %= 1; +F %= 1; +F **= 1; diff --git a/tests/compiler/binary.untouched.wat b/tests/compiler/binary.untouched.wat index 1e29f21373..312ae77848 100644 --- a/tests/compiler/binary.untouched.wat +++ b/tests/compiler/binary.untouched.wat @@ -1,4 +1,10 @@ (module + (type $FFF (func (param f64 f64) (result f64))) + (type $F (func (result f64))) + (type $FiF (func (param f64 i32) (result f64))) + (type $fff (func (param f32 f32) (result f32))) + (type $f (func (result f32))) + (type $fif (func (param f32 i32) (result f32))) (type $v (func)) (global $binary/b (mut i32) (i32.const 0)) (global $binary/i (mut i32) (i32.const 0)) @@ -9,7 +15,4048 @@ (memory $0 1) (export "memory" (memory $0)) (start $start) - (func $start (; 0 ;) (type $v) + (func "$(lib)/math/NativeMath.scalbn" (; 0 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $1) + ) + ) + (i64.const 52) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 1 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 f64) + (local $20 f64) + (local $21 f64) + (local $22 f64) + (local $23 f64) + (local $24 i32) + (local $25 i32) + (local $26 f64) + (local $27 f64) + (local $28 f64) + (local $29 f64) + (local $30 f64) + (local $31 f64) + (local $32 f64) + (local $33 f64) + (local $34 f64) + (local $35 f64) + (local $36 f64) + (local $37 f64) + (local $38 i32) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (get_local $2) + ) + ) + (set_local $7 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (set_local $8 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $8) + (get_local $6) + ) + (i32.const 0) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.gt_s + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.gt_s + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $10 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1128267776) + ) + (set_local $10 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1072693248) + ) + (block + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $8) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $11) + (i32.const 20) + ) + (block + (set_local $9 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + (get_local $6) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (set_local $9 + (i32.shr_s + (get_local $8) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + (get_local $8) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $4) + ) + (i32.const 0) + ) + (return + (f64.const nan:0x8000000000000) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (get_local $1) + (f64.const 0) + ) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (f64.const 0) + (f64.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $12 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 0) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (set_local $13 + (get_local $12) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.const 1) + (get_local $13) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $10) + ) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.sub + (get_local $13) + (get_local $13) + ) + (f64.sub + (get_local $13) + (get_local $13) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $13 + (f64.neg + (get_local $13) + ) + ) + ) + ) + ) + (return + (get_local $13) + ) + ) + ) + ) + (set_local $14 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 0) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $14 + (f64.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $8) + (i32.const 1105199104) + ) + (block + (if + (i32.gt_s + (get_local $8) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (set_local $20 + (f64.sub + (get_local $12) + (f64.const 1) + ) + ) + (set_local $23 + (f64.mul + (f64.mul + (get_local $20) + (get_local $20) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $20) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $20) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $21 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $20) + ) + ) + (set_local $22 + (f64.sub + (f64.mul + (get_local $20) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $23) + (f64.const 1.4426950408889634) + ) + ) + ) + (set_local $15 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $22) + (f64.sub + (get_local $15) + (get_local $21) + ) + ) + ) + ) + (block + (nop) + (set_local $25 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1048576) + ) + (block + (set_local $12 + (f64.mul + (get_local $12) + (f64.const 9007199254740992) + ) + ) + (set_local $25 + (i32.sub + (get_local $25) + (i32.const 53) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.sub + (i32.shr_s + (get_local $7) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $24 + (i32.and + (get_local $7) + (i32.const 1048575) + ) + ) + (set_local $7 + (i32.or + (get_local $24) + (i32.const 1072693248) + ) + ) + (if + (i32.le_s + (get_local $24) + (i32.const 235662) + ) + (set_local $11 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 767610) + ) + (set_local $11 + (i32.const 1) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.const 1) + ) + ) + (set_local $7 + (i32.sub + (get_local $7) + (i32.const 1048576) + ) + ) + ) + ) + ) + (set_local $12 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + (set_local $32 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $11) + ) + ) + (set_local $21 + (f64.sub + (get_local $12) + (get_local $32) + ) + ) + (set_local $22 + (f64.div + (f64.const 1) + (f64.add + (get_local $12) + (get_local $32) + ) + ) + ) + (set_local $26 + (f64.mul + (get_local $21) + (get_local $22) + ) + ) + (set_local $28 + (get_local $26) + ) + (set_local $28 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $28) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $7) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $11) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $12) + (f64.sub + (get_local $30) + (get_local $32) + ) + ) + ) + (set_local $29 + (f64.mul + (get_local $22) + (f64.sub + (f64.sub + (get_local $21) + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (f64.mul + (get_local $28) + (get_local $31) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $19 + (f64.mul + (f64.mul + (get_local $27) + (get_local $27) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $27) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.add + (get_local $19) + (f64.mul + (get_local $29) + (f64.add + (get_local $28) + (get_local $26) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $28) + (get_local $28) + ) + ) + (set_local $30 + (f64.add + (f64.add + (f64.const 3) + (get_local $27) + ) + (get_local $19) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $30) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $19) + (f64.sub + (f64.sub + (get_local $30) + (f64.const 3) + ) + (get_local $27) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (get_local $29) + (get_local $30) + ) + (f64.mul + (get_local $31) + (get_local $26) + ) + ) + ) + (set_local $17 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $17 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $17) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.sub + (get_local $22) + (f64.sub + (get_local $17) + (get_local $21) + ) + ) + ) + (set_local $33 + (f64.mul + (f64.const 0.9617967009544373) + (get_local $17) + ) + ) + (set_local $34 + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $35 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $17) + ) + (f64.mul + (get_local $18) + (f64.const 0.9617966939259756) + ) + ) + (get_local $34) + ) + ) + (set_local $20 + (f64.convert_s/i32 + (get_local $25) + ) + ) + (set_local $36 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.add + (get_local $33) + (get_local $35) + ) + (get_local $36) + ) + (get_local $20) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $35) + (f64.sub + (f64.sub + (f64.sub + (get_local $15) + (get_local $20) + ) + (get_local $36) + ) + (get_local $33) + ) + ) + ) + ) + ) + (set_local $37 + (get_local $1) + ) + (set_local $37 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $37) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (get_local $37) + ) + (get_local $15) + ) + (f64.mul + (get_local $1) + (get_local $16) + ) + ) + ) + (set_local $17 + (f64.mul + (get_local $37) + (get_local $15) + ) + ) + (set_local $13 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $38 + (i32.wrap/i64 + (get_local $2) + ) + ) + (if + (i32.ge_s + (get_local $24) + (i32.const 1083179008) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const 1083179008) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + (if + (f64.gt + (f64.add + (get_local $18) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const -1064252416) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (if + (f64.le + (get_local $18) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (set_local $38 + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $38) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $25 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $38) + (i32.const 1071644672) + ) + (block + (set_local $25 + (i32.add + (get_local $24) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (i32.and + (get_local $25) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $20 + (f64.const 0) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $25) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $11) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $25 + (i32.shr_s + (i32.or + (i32.and + (get_local $25) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 0) + ) + (set_local $25 + (i32.sub + (i32.const 0) + (get_local $25) + ) + ) + ) + (set_local $17 + (f64.sub + (get_local $17) + (get_local $20) + ) + ) + ) + ) + (set_local $20 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $20) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $20) + (f64.const 0.6931471824645996) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (f64.sub + (get_local $18) + (f64.sub + (get_local $20) + (get_local $17) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $20) + (f64.const -1.904654299957768e-09) + ) + ) + ) + (set_local $13 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $23 + (f64.sub + (get_local $22) + (f64.sub + (get_local $13) + (get_local $21) + ) + ) + ) + (set_local $20 + (f64.mul + (get_local $13) + (get_local $13) + ) + ) + (set_local $15 + (f64.sub + (get_local $13) + (f64.mul + (get_local $20) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $20) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $20) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $20) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $20) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.sub + (f64.div + (f64.mul + (get_local $13) + (get_local $15) + ) + (f64.sub + (get_local $15) + (f64.const 2) + ) + ) + (f64.add + (get_local $23) + (f64.mul + (get_local $13) + (get_local $23) + ) + ) + ) + ) + (set_local $13 + (f64.sub + (f64.const 1) + (f64.sub + (get_local $19) + (get_local $13) + ) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 32) + ) + ) + ) + (set_local $24 + (i32.add + (get_local $24) + (i32.shl + (get_local $25) + (i32.const 20) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $24) + (i32.const 20) + ) + (i32.const 0) + ) + (set_local $13 + (call "$(lib)/math/NativeMath.scalbn" + (get_local $13) + (get_local $25) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $24) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 2 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 i32) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $8) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $2 + (i32.and + (get_local $2) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i32.shl + (get_local $3) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $3 + (i32.and + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $3 + (i32.or + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (get_local $6) + ) + ) + (return + (f32.reinterpret/i32 + (get_local $2) + ) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 3 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (set_local $1 + (i32.const -126) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (i32.const 127) + (get_local $1) + ) + (i32.const 23) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 4 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 f32) + (local $16 f32) + (local $17 f32) + (local $18 f32) + (local $19 f32) + (local $20 f32) + (local $21 f32) + (local $22 f32) + (local $23 i32) + (local $24 i32) + (local $25 f32) + (local $26 f32) + (local $27 f32) + (local $28 f32) + (local $29 f32) + (local $30 f32) + (local $31 f32) + (local $32 f32) + (local $33 f32) + (local $34 f32) + (local $35 f32) + (local $36 i32) + (nop) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $5 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 0) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $7 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1266679808) + ) + (set_local $7 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1065353216) + ) + (block + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $8 + (i32.shr_s + (get_local $5) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $8) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + (get_local $5) + ) + (set_local $7 + (i32.sub + (i32.const 2) + (i32.and + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $1) + (f32.const 0) + ) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (f32.const 0) + (f32.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $2) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $10 + (f32.abs + (get_local $0) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (set_local $11 + (get_local $10) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.const 1) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $4) + (i32.const 1065353216) + ) + (get_local $7) + ) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.sub + (get_local $11) + (get_local $11) + ) + (f32.sub + (get_local $11) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $11 + (f32.neg + (get_local $11) + ) + ) + ) + ) + ) + (return + (get_local $11) + ) + ) + ) + (set_local $12 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $12 + (f32.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $5) + (i32.const 1291845632) + ) + (block + (if + (i32.lt_s + (get_local $4) + (i32.const 1065353208) + ) + (return + (if (result f32) + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353223) + ) + (return + (if (result f32) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (set_local $17 + (f32.sub + (get_local $10) + (f32.const 1) + ) + ) + (set_local $20 + (f32.mul + (f32.mul + (get_local $17) + (get_local $17) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $17) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $17) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $18 + (f32.mul + (f32.const 1.44268798828125) + (get_local $17) + ) + ) + (set_local $19 + (f32.sub + (f32.mul + (get_local $17) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $20) + (f32.const 1.4426950216293335) + ) + ) + ) + (set_local $13 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $19) + (f32.sub + (get_local $13) + (get_local $18) + ) + ) + ) + ) + (block + (nop) + (set_local $23 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 8388608) + ) + (block + (set_local $10 + (f32.mul + (get_local $10) + (f32.const 16777216) + ) + ) + (set_local $23 + (i32.sub + (get_local $23) + (i32.const 24) + ) + ) + (set_local $4 + (i32.reinterpret/f32 + (get_local $10) + ) + ) + ) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.sub + (i32.shr_s + (get_local $4) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $4) + (i32.const 8388607) + ) + ) + (set_local $4 + (i32.or + (get_local $8) + (i32.const 1065353216) + ) + ) + (if + (i32.le_s + (get_local $8) + (i32.const 1885297) + ) + (set_local $9 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 6140887) + ) + (set_local $9 + (i32.const 1) + ) + (block + (set_local $9 + (i32.const 0) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + ) + ) + ) + ) + (set_local $10 + (f32.reinterpret/i32 + (get_local $4) + ) + ) + (set_local $30 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $9) + ) + ) + (set_local $18 + (f32.sub + (get_local $10) + (get_local $30) + ) + ) + (set_local $19 + (f32.div + (f32.const 1) + (f32.add + (get_local $10) + (get_local $30) + ) + ) + ) + (set_local $16 + (f32.mul + (get_local $18) + (get_local $19) + ) + ) + (set_local $26 + (get_local $16) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $26) + ) + ) + (set_local $26 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $24 + (i32.or + (i32.and + (i32.shr_s + (get_local $4) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.add + (i32.add + (get_local $24) + (i32.const 4194304) + ) + (i32.shl + (get_local $9) + (i32.const 21) + ) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $10) + (f32.sub + (get_local $28) + (get_local $30) + ) + ) + ) + (set_local $27 + (f32.mul + (get_local $19) + (f32.sub + (f32.sub + (get_local $18) + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (f32.mul + (get_local $26) + (get_local $29) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (set_local $15 + (f32.mul + (f32.mul + (get_local $25) + (get_local $25) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $25) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.add + (get_local $15) + (f32.mul + (get_local $27) + (f32.add + (get_local $26) + (get_local $16) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $28 + (f32.add + (f32.add + (f32.const 3) + (get_local $25) + ) + (get_local $15) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $28) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $15) + (f32.sub + (f32.sub + (get_local $28) + (f32.const 3) + ) + (get_local $25) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (get_local $27) + (get_local $28) + ) + (f32.mul + (get_local $29) + (get_local $16) + ) + ) + ) + (set_local $21 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $21) + ) + ) + (set_local $21 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.sub + (get_local $19) + (f32.sub + (get_local $21) + (get_local $18) + ) + ) + ) + (set_local $31 + (f32.mul + (f32.const 0.9619140625) + (get_local $21) + ) + ) + (set_local $32 + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $33 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $21) + ) + (f32.mul + (get_local $22) + (f32.const 0.9617967009544373) + ) + ) + (get_local $32) + ) + ) + (set_local $17 + (f32.convert_s/i32 + (get_local $23) + ) + ) + (set_local $34 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $13 + (f32.add + (f32.add + (f32.add + (get_local $31) + (get_local $33) + ) + (get_local $34) + ) + (get_local $17) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $33) + (f32.sub + (f32.sub + (f32.sub + (get_local $13) + (get_local $17) + ) + (get_local $34) + ) + (get_local $31) + ) + ) + ) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $35 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (get_local $35) + ) + (get_local $13) + ) + (f32.mul + (get_local $1) + (get_local $14) + ) + ) + ) + (set_local $21 + (f32.mul + (get_local $35) + (get_local $13) + ) + ) + (set_local $11 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1124073472) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1124073472) + ) + (if + (f32.gt + (f32.add + (get_local $22) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const -1021968384) + ) + (if + (f32.le + (get_local $22) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + ) + ) + ) + (set_local $36 + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $36) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $23 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $36) + (i32.const 1056964608) + ) + (block + (set_local $23 + (i32.add + (get_local $8) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (i32.and + (get_local $23) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $23) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $9) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $23 + (i32.shr_s + (i32.or + (i32.and + (get_local $23) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 0) + ) + (set_local $23 + (i32.sub + (i32.const 0) + (get_local $23) + ) + ) + ) + (set_local $21 + (f32.sub + (get_local $21) + (get_local $17) + ) + ) + ) + ) + (set_local $17 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $17) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -32768) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $17) + (f32.const 0.693145751953125) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (f32.sub + (get_local $22) + (f32.sub + (get_local $17) + (get_local $21) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $17) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + (set_local $11 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $20 + (f32.sub + (get_local $19) + (f32.sub + (get_local $11) + (get_local $18) + ) + ) + ) + (set_local $17 + (f32.mul + (get_local $11) + (get_local $11) + ) + ) + (set_local $13 + (f32.sub + (get_local $11) + (f32.mul + (get_local $17) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $17) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $17) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $17) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $17) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.sub + (f32.div + (f32.mul + (get_local $11) + (get_local $13) + ) + (f32.sub + (get_local $13) + (f32.const 2) + ) + ) + (f32.add + (get_local $20) + (f32.mul + (get_local $11) + (get_local $20) + ) + ) + ) + ) + (set_local $11 + (f32.sub + (f32.const 1) + (f32.sub + (get_local $15) + (get_local $11) + ) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (set_local $8 + (i32.add + (get_local $8) + (i32.shl + (get_local $23) + (i32.const 23) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $8) + (i32.const 23) + ) + (i32.const 0) + ) + (set_local $11 + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $11) + (get_local $23) + ) + ) + (set_local $11 + (f32.reinterpret/i32 + (get_local $8) + ) + ) + ) + (return + (f32.mul + (get_local $12) + (get_local $11) + ) + ) + ) + (func "$(lib)/math/NativeMath.mod" (; 5 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f64) + (local $8 i32) + (local $9 i64) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $8) + (f64.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i64.shl + (get_local $2) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $2 + (i64.and + (get_local $2) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i64.shl + (get_local $3) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $3 + (i64.and + (get_local $3) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $3 + (i64.or + (get_local $3) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (if + (i64.eqz + (get_local $9) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + ) + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (if + (i64.eqz + (get_local $9) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i64.sub + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $4) + ) + (i64.const 52) + ) + ) + ) + ) + (set_local $2 + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 63) + ) + ) + ) + (return + (f64.reinterpret/i64 + (get_local $2) + ) + ) + ) + (func $start (; 6 ;) (type $v) (drop (i32.lt_s (get_global $binary/i) @@ -76,6 +4123,14 @@ (i32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) (drop (i32.shl (get_global $binary/i) @@ -178,6 +4233,16 @@ (i32.const 1) ) ) + (set_global $binary/i + (i32.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/i (i32.shl (get_global $binary/i) @@ -340,6 +4405,14 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) (drop (i64.shl (get_global $binary/I) @@ -442,6 +4515,16 @@ (i64.const 1) ) ) + (set_global $binary/I + (i64.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/I (i64.shl (get_global $binary/I) @@ -598,6 +4681,18 @@ (f32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/b (f32.lt (get_global $binary/f) @@ -658,6 +4753,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/f (f32.add (get_global $binary/f) @@ -676,6 +4783,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (drop (f64.lt (get_global $binary/F) @@ -736,6 +4855,18 @@ (f64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/b (f64.lt (get_global $binary/F) @@ -796,6 +4927,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/F (f64.add (get_global $binary/F) @@ -814,5 +4957,17 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) ) ) diff --git a/tests/compiler/builtins.optimized.wat b/tests/compiler/builtins.optimized.wat index 67020a452c..56b95aec29 100644 --- a/tests/compiler/builtins.optimized.wat +++ b/tests/compiler/builtins.optimized.wat @@ -1,8 +1,6 @@ (module (type $iiiiv (func (param i32 i32 i32 i32))) (type $v (func)) - (type $FFF (func (param f64 f64) (result f64))) - (type $fff (func (param f32 f32) (result f32))) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) (global $builtins/b (mut i32) (i32.const 0)) (global $builtins/i (mut i32) (i32.const 0)) @@ -21,731 +19,7 @@ (func $builtins/test (; 1 ;) (type $v) (nop) ) - (func $fmod (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i32) - (local $4 i64) - (local $5 i64) - (local $6 i32) - (local $7 i32) - (local $8 f64) - (block $folding-inner0 - (set_local $3 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $2 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 52) - ) - (i64.const 2047) - ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $5 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (i64.const 52) - ) - (i64.const 2047) - ) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i64.eq - (i64.shl - (get_local $5) - (i64.const 1) - ) - (i64.const 0) - ) - ) - (get_local $7) - (f64.ne - (tee_local $8 - (get_local $1) - ) - (get_local $8) - ) - ) - (i32.const 1) - ) - ) - (get_local $7) - (i32.eq - (get_local $3) - (i32.const 2047) - ) - ) - (i32.const 1) - ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) - (get_local $1) - ) - ) - ) - ) - (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $5) - (i64.const 1) - ) - ) - (block - (br_if $folding-inner0 - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $5) - (i64.const 1) - ) - ) - ) - (return - (get_local $0) - ) - ) - ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - ) - ) - (set_local $2 - (if (result i64) - (get_local $3) - (i64.or - (i64.and - (get_local $2) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $2) - (i64.const 12) - ) - ) - (loop $continue|0 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) - ) - ) - ) - ) - ) - ) - (set_local $5 - (if (result i64) - (get_local $6) - (i64.or - (i64.and - (get_local $5) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $5) - (i64.const 12) - ) - ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) - ) - ) - (br $continue|1) - ) - ) - ) - (i64.shl - (get_local $5) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $6) - ) - ) - ) - ) - ) - ) - (loop $continue|2 - (if - (i32.gt_s - (get_local $3) - (get_local $6) - ) - (block - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) - (set_local $2 - (get_local $4) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (br $continue|2) - ) - ) - ) - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) - (set_local $2 - (get_local $4) - ) - ) - ) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - (return - (f64.reinterpret/i64 - (i64.or - (tee_local $2 - (select - (i64.or - (i64.sub - (get_local $2) - (i64.const 4503599627370496) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) - ) - (i64.const 52) - ) - ) - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) - ) - ) - ) - (i32.gt_s - (get_local $3) - (i32.const 0) - ) - ) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) - ) - (i64.const 63) - ) - ) - ) - ) - ) - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - (func $fmodf (; 3 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (block $folding-inner0 - (set_local $4 - (i32.and - (i32.shr_u - (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (set_local $6 - (i32.and - (i32.shr_u - (tee_local $5 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.and - (if (result i32) - (tee_local $3 - (i32.eqz - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - ) - (get_local $3) - (f32.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) - ) - ) - (get_local $3) - (i32.eq - (get_local $4) - (i32.const 255) - ) - ) - (i32.const 1) - ) - (return - (f32.div - (f32.mul - (get_local $0) - (get_local $1) - ) - (f32.mul - (get_local $0) - (get_local $1) - ) - ) - ) - ) - (if - (i32.le_u - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - (block - (br_if $folding-inner0 - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - ) - (return - (get_local $0) - ) - ) - ) - (set_local $8 - (i32.and - (get_local $2) - (i32.const -2147483648) - ) - ) - (set_local $2 - (if (result i32) - (get_local $4) - (i32.or - (i32.and - (get_local $2) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (block (result i32) - (set_local $3 - (i32.shl - (get_local $2) - (i32.const 9) - ) - ) - (loop $continue|0 - (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - (i32.shl - (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) - ) - ) - ) - ) - ) - (set_local $5 - (if (result i32) - (get_local $6) - (i32.or - (i32.and - (get_local $5) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (block (result i32) - (set_local $3 - (i32.shl - (get_local $5) - (i32.const 9) - ) - ) - (loop $continue|1 - (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) - ) - ) - (br $continue|1) - ) - ) - ) - (i32.shl - (get_local $5) - (i32.sub - (i32.const 1) - (get_local $6) - ) - ) - ) - ) - ) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $6) - ) - (block - (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub - (get_local $2) - (get_local $5) - ) - ) - (i32.const 31) - ) - ) - (block - (br_if $folding-inner0 - (i32.eqz - (get_local $3) - ) - ) - (set_local $2 - (get_local $3) - ) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|2) - ) - ) - ) - (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub - (get_local $2) - (get_local $5) - ) - ) - (i32.const 31) - ) - ) - (block - (br_if $folding-inner0 - (i32.eqz - (get_local $3) - ) - ) - (set_local $2 - (get_local $3) - ) - ) - ) - (loop $continue|3 - (if - (i32.eqz - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - (return - (f32.reinterpret/i32 - (i32.or - (tee_local $2 - (select - (i32.or - (i32.sub - (get_local $2) - (i32.const 8388608) - ) - (i32.shl - (get_local $4) - (i32.const 23) - ) - ) - (i32.shr_u - (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) - ) - ) - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - ) - ) - (get_local $8) - ) - ) - ) - ) - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - (func $start (; 4 ;) (type $v) + (func $start (; 2 ;) (type $v) (local $0 f32) (local $1 f64) (local $2 i32) @@ -1566,209 +840,5 @@ (unreachable) ) ) - (if - (f64.eq - (tee_local $1 - (call $fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - ) - ) - (get_local $1) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 295) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f64.ne - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 296) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 2) - ) - (f64.const 1.2) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 297) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 3.7) - ) - (f64.const 1.8) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 298) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.eq - (tee_local $0 - (call $fmodf - (f32.const 1) - (f32.const nan:0x400000) - ) - ) - (get_local $0) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 300) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.ne - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 301) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 2) - ) - (f32.const 1.2000000476837158) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 302) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 3.700000047683716) - ) - (f32.const 1.7999999523162842) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 303) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f64.ne - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 305) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.ne - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 306) - (i32.const 0) - ) - (unreachable) - ) - ) ) ) diff --git a/tests/compiler/builtins.ts b/tests/compiler/builtins.ts index e2b1347614..0aad14c5e7 100644 --- a/tests/compiler/builtins.ts +++ b/tests/compiler/builtins.ts @@ -292,21 +292,6 @@ assert(f64.MIN_SAFE_INTEGER == -9007199254740991); assert(f64.MAX_SAFE_INTEGER == 9007199254740991); assert(f64.EPSILON == 2.2204460492503131e-16); -assert(isNaN(fmod(1, NaN))); -assert(fmod(1.5, 1.0) == 0.5); // exactly 0.5 (as in C) -assert(fmod(9.2, 2.0) - 1.2 < f64.EPSILON); // not exactly 1.2 (as in C) -assert(fmod(9.2, 3.7) - 1.8 < f64.EPSILON); // not exactly 1.8 (as in C) - -assert(isNaN(fmodf(1, NaN))); -assert(fmodf(1.5, 1.0) == 0.5); -assert(fmodf(9.2, 2.0) - 1.2 < f32.EPSILON); -assert(fmodf(9.2, 3.7) - 1.8 < f32.EPSILON); - -assert(1.5 % 1.0 == 0.5); // should implicitly call fmod -assert(1.5 % 1.0 == 0.5); // should implicitly call fmodf - -import { - isNaN as isItNaN -} from "builtins"; - +// should be importable +import { isNaN as isItNaN } from "builtins"; isItNaN(1); diff --git a/tests/compiler/builtins.untouched.wat b/tests/compiler/builtins.untouched.wat index 0743b74526..b8850cca74 100644 --- a/tests/compiler/builtins.untouched.wat +++ b/tests/compiler/builtins.untouched.wat @@ -4,8 +4,6 @@ (type $v (func)) (type $f (func (result f32))) (type $F (func (result f64))) - (type $FFF (func (param f64 f64) (result f64))) - (type $fff (func (param f32 f32) (result f32))) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) (global $builtins/b (mut i32) (i32.const 0)) (global $builtins/i (mut i32) (i32.const 0)) @@ -25,898 +23,7 @@ (start $start) (func $builtins/test (; 1 ;) (type $v) ) - (func $fmod (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i64) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f64) - (local $8 i32) - (local $9 i64) - (set_local $2 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (set_local $3 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (set_local $4 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - (i64.const 2047) - ) - ) - ) - (set_local $5 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $3) - (i64.const 52) - ) - (i64.const 2047) - ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) - ) - (i64.const 0) - ) - ) - (get_local $8) - (f64.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) - ) - ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 2047) - ) - ) - (i32.const 1) - ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) - (get_local $1) - ) - ) - ) - ) - (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (block - (if - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (return - (get_local $0) - ) - ) - ) - (nop) - (if - (i32.eqz - (get_local $4) - ) - (block - (block $break|0 - (set_local $9 - (i64.shl - (get_local $2) - (i64.const 12) - ) - ) - (loop $continue|0 - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - ) - ) - (block - (set_local $2 - (i64.and - (get_local $2) - (i64.shr_u - (i64.const -1) - (i64.const 12) - ) - ) - ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) - ) - ) - ) - (if - (i32.eqz - (get_local $5) - ) - (block - (block $break|1 - (set_local $9 - (i64.shl - (get_local $3) - (i64.const 12) - ) - ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) - ) - ) - (br $continue|1) - ) - ) - ) - ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) - ) - (i32.const 1) - ) - ) - ) - ) - ) - (block - (set_local $3 - (i64.and - (get_local $3) - (i64.shr_u - (i64.const -1) - (i64.const 12) - ) - ) - ) - (set_local $3 - (i64.or - (get_local $3) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) - ) - ) - ) - (block $break|2 - (nop) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $5) - ) - (block - (block - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|2) - ) - ) - ) - ) - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - (block - (set_local $2 - (i64.sub - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) - ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $4) - ) - (i64.const 52) - ) - ) - ) - ) - (set_local $2 - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - ) - ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $6) - ) - (i64.const 63) - ) - ) - ) - (return - (f64.reinterpret/i64 - (get_local $2) - ) - ) - ) - (func $fmodf (; 3 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (local $9 i32) - (set_local $2 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $4 - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (set_local $5 - (i32.and - (i32.shr_u - (get_local $3) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (set_local $6 - (i32.and - (get_local $2) - (i32.const -2147483648) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i32.eq - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 0) - ) - ) - (get_local $8) - (f32.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) - ) - ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 255) - ) - ) - (i32.const 1) - ) - (return - (f32.div - (f32.mul - (get_local $0) - (get_local $1) - ) - (f32.mul - (get_local $0) - (get_local $1) - ) - ) - ) - ) - (if - (i32.le_u - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $3) - (i32.const 1) - ) - ) - (block - (if - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $3) - (i32.const 1) - ) - ) - (return - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - ) - (return - (get_local $0) - ) - ) - ) - (nop) - (if - (i32.eqz - (get_local $4) - ) - (block - (block $break|0 - (set_local $9 - (i32.shl - (get_local $2) - (i32.const 9) - ) - ) - (loop $continue|0 - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - ) - (block - (set_local $2 - (i32.and - (get_local $2) - (i32.shr_u - (i32.const -1) - (i32.const 9) - ) - ) - ) - (set_local $2 - (i32.or - (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) - ) - ) - ) - ) - ) - (if - (i32.eqz - (get_local $5) - ) - (block - (block $break|1 - (set_local $9 - (i32.shl - (get_local $3) - (i32.const 9) - ) - ) - (loop $continue|1 - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) - ) - (br $continue|1) - ) - ) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) - ) - (i32.const 1) - ) - ) - ) - ) - (block - (set_local $3 - (i32.and - (get_local $3) - (i32.shr_u - (i32.const -1) - (i32.const 9) - ) - ) - ) - (set_local $3 - (i32.or - (get_local $3) - (i32.shl - (i32.const 1) - (i32.const 23) - ) - ) - ) - ) - ) - (block $break|2 - (nop) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $5) - ) - (block - (block - (set_local $9 - (i32.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (if - (i32.eqz - (get_local $9) - ) - (return - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|2) - ) - ) - ) - ) - (set_local $9 - (i32.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (if - (i32.eqz - (get_local $9) - ) - (return - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i32.eqz - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - (block - (set_local $2 - (i32.sub - (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) - ) - ) - ) - (set_local $2 - (i32.or - (get_local $2) - (i32.shl - (get_local $4) - (i32.const 23) - ) - ) - ) - ) - (set_local $2 - (i32.shr_u - (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - ) - (set_local $2 - (i32.or - (get_local $2) - (get_local $6) - ) - ) - (return - (f32.reinterpret/i32 - (get_local $2) - ) - ) - ) - (func $start (; 4 ;) (type $v) + (func $start (; 2 ;) (type $v) (local $0 i32) (local $1 i32) (local $2 i64) @@ -3169,222 +2276,6 @@ (unreachable) ) ) - (if - (i32.eqz - (f64.ne - (tee_local $5 - (call $fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - ) - ) - (get_local $5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 295) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.eq - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 296) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 2) - ) - (f64.const 1.2) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 297) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 3.7) - ) - (f64.const 1.8) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 298) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.ne - (tee_local $4 - (call $fmodf - (f32.const 1) - (f32.const nan:0x400000) - ) - ) - (get_local $4) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 300) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.eq - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 301) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 2) - ) - (f32.const 1.2000000476837158) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 302) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 3.700000047683716) - ) - (f32.const 1.7999999523162842) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 303) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.eq - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 305) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.eq - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 306) - (i32.const 0) - ) - (unreachable) - ) - ) (drop (f64.ne (tee_local $5 diff --git a/tests/compiler/showcase.optimized.wat b/tests/compiler/showcase.optimized.wat index 1dbb852a35..c4cce6935a 100644 --- a/tests/compiler/showcase.optimized.wat +++ b/tests/compiler/showcase.optimized.wat @@ -1,7 +1,9 @@ (module - (type $iiiiv (func (param i32 i32 i32 i32))) (type $FFF (func (param f64 f64) (result f64))) + (type $FiF (func (param f64 i32) (result f64))) (type $fff (func (param f32 f32) (result f32))) + (type $fif (func (param f32 i32) (result f32))) + (type $iiiiv (func (param i32 i32 i32 i32))) (type $ii (func (param i32) (result i32))) (type $iii (func (param i32 i32) (result i32))) (type $v (func)) @@ -59,453 +61,3228 @@ (export "anExportedFunction" (func $showcase/anExportedFunction)) (export "memory" (memory $0)) (start $start) - (func $fmod (; 1 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i32) - (local $4 i64) - (local $5 i64) - (local $6 i32) - (local $7 i32) - (local $8 f64) - (block $folding-inner0 - (set_local $3 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $2 - (i64.reinterpret/f64 - (get_local $0) - ) + (func "$(lib)/math/NativeMath.scalbn" (; 1 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) ) - (i64.const 52) ) - (i64.const 2047) + (i32.const 1023) ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $5 - (i64.reinterpret/f64 - (get_local $1) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) ) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) ) - (i64.const 52) ) - (i64.const 2047) ) ) ) (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i64.eq - (i64.shl - (get_local $5) - (i64.const 1) - ) - (i64.const 0) - ) - ) - (get_local $7) - (f64.ne - (tee_local $8 + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add (get_local $1) + (i32.const 1022) ) - (get_local $8) ) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) ) - (i32.const 1) ) ) - (get_local $7) - (i32.eq - (get_local $3) - (i32.const 2047) - ) ) - (i32.const 1) ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) + ) + ) + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 (get_local $1) ) + (i64.const 1023) ) + (i64.const 52) ) ) - (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 f64) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 i32) + (local $14 f64) + (local $15 i32) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 i64) + (block $folding-inner1 + (block $folding-inner0 + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) ) - (i64.shl - (get_local $5) - (i64.const 1) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) ) ) - (block - (br_if $folding-inner0 - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) + (set_local $5 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $10 + (i32.and + (tee_local $11 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) ) - (i64.shl - (get_local $5) - (i64.const 1) + (tee_local $6 + (i32.wrap/i64 + (get_local $19) + ) ) ) ) (return - (get_local $0) + (f64.const 1) ) ) - ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.gt_s + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $13) + (i32.const 0) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.gt_s + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $7) + ) + ) + (i32.const 1) ) - ) - ) - (set_local $2 - (if (result i64) - (get_local $3) - (i64.or - (i64.and - (get_local $2) - (i64.const 4503599627370495) + (return + (f64.add + (get_local $0) + (get_local $1) ) - (i64.const 4503599627370496) ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $2) - (i64.const 12) - ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1128267776) ) - (loop $continue|0 + (set_local $15 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1072693248) + ) (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) + (i32.gt_s + (tee_local $8 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 20) + ) + (i32.const 1023) + ) ) + (i32.const 20) ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 52) + (get_local $8) + ) ) + (get_local $6) ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) ) ) - (br $continue|0) ) + (if + (i32.eqz + (get_local $6) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + (get_local $10) + ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $6) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $13) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (get_local $1) + (f64.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f64.const 0) + (f64.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (return + (f64.const nan:0x8000000000000) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.abs + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $13) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + ) + (get_local $7) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.eq + (get_local $5) + (i32.const 1072693248) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f64.div + (f64.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $15) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (get_local $2) + (get_local $2) + ) + (f64.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + ) + (set_local $12 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $15) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $12 + (f64.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f64) + (i32.gt_s + (get_local $10) + (i32.const 1105199104) + ) + (block (result f64) + (if + (i32.gt_s + (get_local $10) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.mul + (tee_local $3 + (f64.sub + (get_local $2) + (f64.const 1) + ) + ) + (get_local $3) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $3) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $3) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $3) + ) + ) + (tee_local $17 + (f64.sub + (f64.mul + (get_local $3) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $0) + (f64.const 1.4426950408889634) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $17) + (f64.sub + (get_local $9) + (get_local $16) + ) + ) + ) + (block (result f64) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1048576) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 53) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.mul + (get_local $2) + (f64.const 9007199254740992) + ) + ) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $6 + (i32.and + (get_local $5) + (i32.const 1048575) + ) + ) + (i32.const 1072693248) + ) + ) + (set_local $8 + (if (result i32) + (i32.le_s + (get_local $6) + (i32.const 235662) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $6) + (i32.const 767610) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1048576) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $18 + (f64.mul + (tee_local $16 + (f64.sub + (tee_local $2 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $5) + ) + (i64.const 32) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $8) + ) + ) + ) + ) + (tee_local $17 + (f64.div + (f64.const 1) + (f64.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $2 + (f64.sub + (get_local $2) + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $8) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f64.sub + (tee_local $2 + (f64.add + (f64.mul + (f64.mul + (tee_local $14 + (f64.mul + (get_local $18) + (get_local $18) + ) + ) + (get_local $14) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $14) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $17) + (f64.sub + (f64.sub + (get_local $16) + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (f64.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f64.add + (get_local $3) + (get_local $18) + ) + ) + ) + ) + (f64.sub + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.const 3) + (tee_local $14 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 3) + ) + (get_local $14) + ) + ) + ) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.add + (tee_local $18 + (f64.mul + (f64.const 0.9617967009544373) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (get_local $3) + (get_local $9) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (get_local $0) + (get_local $9) + ) + (f64.mul + (get_local $2) + (get_local $18) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + ) + ) + (tee_local $2 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $0) + ) + (f64.mul + (f64.sub + (get_local $17) + (f64.sub + (get_local $0) + (get_local $16) + ) + ) + (f64.const 0.9617966939259756) + ) + ) + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $8) + ) + ) + ) + ) + (tee_local $0 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $8) + ) + ) + ) + (tee_local $3 + (f64.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.sub + (get_local $2) + (f64.sub + (f64.sub + (f64.sub + (get_local $9) + (get_local $3) + ) + (get_local $0) + ) + (get_local $18) + ) + ) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (tee_local $2 + (f64.add + (tee_local $1 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const -4294967296) + ) + ) + ) + ) + (get_local $9) + ) + (f64.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $9) + ) + ) + ) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (if + (i32.ge_s + (get_local $6) + (i32.const 1083179008) + ) + (br_if $folding-inner1 + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const 1083179008) + ) + (get_local $13) + ) + (f64.gt + (f64.add + (get_local $1) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (br_if $folding-inner0 + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const -1064252416) + ) + (get_local $13) + ) + (f64.le + (get_local $1) + (f64.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (i32.shr_s + (tee_local $13 + (i32.and + (get_local $6) + (i32.const 2147483647) + ) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $13) + (i32.const 1071644672) + ) + (block + (set_local $8 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $6) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $8) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f64.mul + (get_local $12) + (tee_local $2 + (if (result f64) + (i32.le_s + (i32.shr_s + (tee_local $6 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.sub + (f64.const 1) + (f64.sub + (f64.sub + (f64.div + (f64.mul + (tee_local $2 + (f64.add + (tee_local $16 + (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (get_local $1) + (get_local $0) + ) + ) + (i64.const -4294967296) + ) + ) + ) + (f64.const 0.6931471824645996) + ) + ) + (tee_local $17 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (f64.sub + (get_local $3) + (get_local $0) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $3) + (f64.const -1.904654299957768e-09) + ) + ) + ) + ) + ) + (tee_local $9 + (f64.sub + (get_local $2) + (f64.mul + (tee_local $3 + (f64.mul + (get_local $2) + (get_local $2) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $3) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $3) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $3) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $3) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f64.sub + (get_local $9) + (f64.const 2) + ) + ) + (f64.add + (tee_local $0 + (f64.sub + (get_local $17) + (f64.sub + (get_local $2) + (get_local $16) + ) + ) + ) + (f64.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.shl + (get_local $4) + (i32.const 20) + ) + ) + ) + (i32.const 20) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $2) + (get_local $4) + ) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 3 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (block $folding-inner0 + (set_local $4 + (i32.and + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.and + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (get_local $3) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $3) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (set_local $2 + (if (result i32) + (get_local $4) + (i32.or + (i32.and + (get_local $2) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i32.shl + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $5) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i32.shl + (get_local $5) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $6) + ) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f32.reinterpret/i32 + (i32.or + (tee_local $2 + (select + (i32.or + (i32.sub + (get_local $2) + (i32.const 8388608) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + (i32.shr_u + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + ) + ) + (get_local $8) + ) + ) + ) + ) + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 4 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (if + (i32.lt_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (i32.const -126) + ) + (set_local $1 + (i32.const -126) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (get_local $1) + (i32.const 127) + ) + (i32.const 23) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f32) + (local $9 f32) + (local $10 i32) + (local $11 i32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 i32) + (local $16 f32) + (block $folding-inner1 + (block $folding-inner0 + (set_local $5 + (i32.and + (tee_local $15 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (tee_local $10 + (i32.and + (tee_local $11 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 2147483647) + ) + ) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $10) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1266679808) + ) + (set_local $4 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1065353216) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 23) + (tee_local $6 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + ) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + (get_local $10) + ) + (set_local $4 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353216) + ) + (return + (select + (get_local $1) + (f32.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f32.const 0) + (f32.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1065353216) + ) + (return + (select + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) ) ) - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.sub + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $15) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $2 + (f32.abs + (get_local $0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eqz + (get_local $5) + ) + ) (i32.const 1) - (get_local $3) + ) + ) + (get_local $6) + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f32.div + (f32.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1065353216) + ) + (get_local $4) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f32.div + (f32.sub + (get_local $2) + (get_local $2) + ) + (f32.sub + (get_local $2) + (get_local $2) + ) + ) ) ) ) + (return + (get_local $2) + ) ) ) - ) - (set_local $5 - (if (result i64) - (get_local $6) - (i64.or - (i64.and - (get_local $5) - (i64.const 4503599627370495) + (set_local $9 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $4) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $9 + (f32.const -1) + ) ) - (i64.const 4503599627370496) ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $5) - (i64.const 12) + ) + (set_local $2 + (if (result f32) + (i32.gt_s + (get_local $10) + (i32.const 1291845632) + ) + (block (result f32) + (if + (i32.lt_s + (get_local $5) + (i32.const 1065353208) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353223) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f32.mul + (f32.mul + (tee_local $3 + (f32.sub + (get_local $2) + (f32.const 1) + ) + ) + (get_local $3) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $3) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $3) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (f32.const 1.44268798828125) + (get_local $3) + ) + ) + (tee_local $14 + (f32.sub + (f32.mul + (get_local $3) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $0) + (f32.const 1.4426950216293335) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $14) + (f32.sub + (get_local $8) + (get_local $13) + ) ) ) - (loop $continue|1 + (block (result f32) + (set_local $4 + (i32.const 0) + ) (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) + (i32.lt_s + (get_local $5) + (i32.const 8388608) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 24) + ) + ) + (set_local $5 + (i32.reinterpret/f32 + (f32.mul + (get_local $2) + (f32.const 16777216) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $7 + (i32.and + (get_local $5) + (i32.const 8388607) + ) + ) + (i32.const 1065353216) + ) + ) + (set_local $6 + (if (result i32) + (i32.le_s + (get_local $7) + (i32.const 1885297) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $7) + (i32.const 6140887) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 8388608) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $16 + (f32.mul + (tee_local $13 + (f32.sub + (tee_local $2 + (f32.reinterpret/i32 + (get_local $5) + ) + ) + (tee_local $0 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $6) + ) + ) + ) + ) + (tee_local $14 + (f32.div + (f32.const 1) + (f32.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (set_local $2 + (f32.sub + (get_local $2) + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.add + (i32.add + (i32.or + (i32.and + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + (i32.const 4194304) + ) + (i32.shl + (get_local $6) + (i32.const 21) + ) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f32.sub + (tee_local $2 + (f32.add + (f32.mul + (f32.mul + (tee_local $12 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (get_local $12) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $12) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (tee_local $0 + (f32.mul + (get_local $14) + (f32.sub + (f32.sub + (get_local $13) + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (f32.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f32.add + (get_local $3) + (get_local $16) + ) + ) + ) ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) + (f32.sub + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.const 3) + (tee_local $12 + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.const 3) ) + (get_local $12) ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.add + (tee_local $16 + (f32.mul + (f32.const 0.9619140625) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (get_local $0) + (get_local $8) + ) + (f32.mul + (get_local $2) + (get_local $16) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + ) + (tee_local $2 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $0) + ) + (f32.mul + (f32.sub + (get_local $14) + (f32.sub + (get_local $0) + (get_local $13) + ) + ) + (f32.const 0.9617967009544373) + ) + ) + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $6) + ) + ) + ) + ) + (tee_local $0 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $6) + ) + ) + ) + (tee_local $3 + (f32.convert_s/i32 + (get_local $4) + ) + ) + ) ) + (i32.const -4096) ) - (br $continue|1) ) ) - ) - (i64.shl - (get_local $5) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $6) + (f32.sub + (get_local $2) + (f32.sub + (f32.sub + (f32.sub + (get_local $8) + (get_local $3) + ) + (get_local $0) + ) + (get_local $16) ) ) ) ) ) - ) - (loop $continue|2 - (if + (br_if $folding-inner1 (i32.gt_s - (get_local $3) - (get_local $6) - ) - (block - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) + (tee_local $7 + (i32.reinterpret/f32 + (tee_local $2 + (f32.add + (tee_local $1 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (get_local $1) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $8) + ) + (f32.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f32.mul + (get_local $0) + (get_local $8) + ) ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) ) ) - (set_local $2 - (get_local $4) - ) ) ) - (set_local $2 - (i64.shl + (i32.const 1124073472) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1124073472) + ) + (br_if $folding-inner1 + (f32.gt + (f32.add + (get_local $1) + (f32.const 4.299566569443414e-08) + ) + (f32.sub (get_local $2) - (i64.const 1) + (get_local $0) ) ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) + ) + (if + (i32.gt_s + (i32.and + (get_local $7) + (i32.const 2147483647) ) + (i32.const 1125515264) ) - (br $continue|2) - ) - ) - ) - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) + (br $folding-inner0) + (if + (i32.eq + (get_local $7) + (i32.const -1021968384) + ) + (br_if $folding-inner0 + (f32.le + (get_local $1) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) ) ) - (i64.const 63) ) ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) + (set_local $6 + (i32.sub + (i32.shr_s + (tee_local $15 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (i32.const 23) ) - ) - (set_local $2 - (get_local $4) + (i32.const 127) ) ) - ) - (loop $continue|3 + (set_local $4 + (i32.const 0) + ) (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) - ) + (i32.gt_s + (get_local $15) + (i32.const 1056964608) ) (block - (set_local $3 + (set_local $6 (i32.sub - (get_local $3) - (i32.const 1) + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $7) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) ) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $6) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.sub + (get_local $0) + (get_local $3) ) ) - (br $continue|3) ) ) - ) - (return - (f64.reinterpret/i64 - (i64.or + (return + (f32.mul + (get_local $9) (tee_local $2 - (select - (i64.or - (i64.sub - (get_local $2) - (i64.const 4503599627370496) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) + (if (result f32) + (i32.le_s + (i32.shr_s + (tee_local $7 + (i32.add + (i32.reinterpret/f32 + (tee_local $2 + (f32.sub + (f32.const 1) + (f32.sub + (f32.sub + (f32.div + (f32.mul + (tee_local $2 + (f32.add + (tee_local $13 + (f32.mul + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (get_local $1) + (get_local $0) + ) + ) + (i32.const -32768) + ) + ) + ) + (f32.const 0.693145751953125) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (f32.sub + (get_local $3) + (get_local $0) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $3) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + ) + ) + (tee_local $8 + (f32.sub + (get_local $2) + (f32.mul + (tee_local $3 + (f32.mul + (get_local $2) + (get_local $2) + ) + ) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $3) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $3) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $3) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $3) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.sub + (get_local $8) + (f32.const 2) + ) + ) + (f32.add + (tee_local $0 + (f32.sub + (get_local $14) + (f32.sub + (get_local $2) + (get_local $13) + ) + ) + ) + (f32.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) ) - (i64.const 52) + (i32.const 23) ) + (i32.const 0) ) - (i64.shr_u + (call "$(lib)/math/NativeMathf.scalbn" (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) - ) - ) + (get_local $4) ) - (i32.gt_s - (get_local $3) - (i32.const 0) + (f32.reinterpret/i32 + (get_local $7) ) ) ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) - ) - (i64.const 63) - ) ) ) ) + (return + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) ) - (f64.mul - (f64.const 0) - (get_local $0) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) ) ) - (func $fmodf (; 2 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) + (func "$(lib)/math/NativeMath.mod" (; 6 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) (local $3 i32) - (local $4 i32) - (local $5 i32) + (local $4 i64) + (local $5 i64) (local $6 i32) - (local $7 f32) - (local $8 i32) + (local $7 i32) + (local $8 f64) (block $folding-inner0 - (set_local $4 - (i32.and - (i32.shr_u - (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) + (set_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) ) + (i64.const 52) ) - (i32.const 23) + (i64.const 2047) ) - (i32.const 255) ) ) (set_local $6 - (i32.and - (i32.shr_u - (tee_local $5 - (i32.reinterpret/f32 - (get_local $1) + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $5 + (i64.reinterpret/f64 + (get_local $1) + ) ) + (i64.const 52) ) - (i32.const 23) + (i64.const 2047) ) - (i32.const 255) ) ) (if (i32.and (if (result i32) - (tee_local $3 + (tee_local $7 (i32.and (if (result i32) - (tee_local $3 - (i32.eqz - (i32.shl + (tee_local $7 + (i64.eq + (i64.shl (get_local $5) - (i32.const 1) + (i64.const 1) ) + (i64.const 0) ) ) - (get_local $3) - (f32.ne - (tee_local $7 + (get_local $7) + (f64.ne + (tee_local $8 (get_local $1) ) - (get_local $7) + (get_local $8) ) ) (i32.const 1) ) ) - (get_local $3) + (get_local $7) (i32.eq - (get_local $4) - (i32.const 255) + (get_local $3) + (i32.const 2047) ) ) (i32.const 1) ) (return - (f32.div - (f32.mul + (f64.div + (f64.mul (get_local $0) (get_local $1) ) - (f32.mul + (f64.mul (get_local $0) (get_local $1) ) @@ -513,26 +3290,26 @@ ) ) (if - (i32.le_u - (i32.shl + (i64.le_u + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $5) - (i32.const 1) + (i64.const 1) ) ) (block (br_if $folding-inner0 - (i32.eq - (i32.shl + (i64.eq + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $5) - (i32.const 1) + (i64.const 1) ) ) ) @@ -541,87 +3318,91 @@ ) ) ) - (set_local $8 - (i32.and - (get_local $2) - (i32.const -2147483648) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) ) ) (set_local $2 - (if (result i32) - (get_local $4) - (i32.or - (i32.and + (if (result i64) + (get_local $3) + (i64.or + (i64.and (get_local $2) - (i32.const 8388607) + (i64.const 4503599627370495) ) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (block (result i32) - (set_local $3 - (i32.shl + (block (result i64) + (set_local $4 + (i64.shl (get_local $2) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|0 (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) ) ) (block - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) (br $continue|0) ) ) ) - (i32.shl + (i64.shl (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) ) ) ) ) ) (set_local $5 - (if (result i32) + (if (result i64) (get_local $6) - (i32.or - (i32.and + (i64.or + (i64.and (get_local $5) - (i32.const 8388607) + (i64.const 4503599627370495) ) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (block (result i32) - (set_local $3 - (i32.shl + (block (result i64) + (set_local $4 + (i64.shl (get_local $5) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|1 (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) ) ) (block @@ -631,21 +3412,23 @@ (i32.const 1) ) ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) (br $continue|1) ) ) ) - (i32.shl + (i64.shl (get_local $5) - (i32.sub - (i32.const 1) - (get_local $6) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) ) ) ) @@ -654,42 +3437,42 @@ (loop $continue|2 (if (i32.gt_s - (get_local $4) + (get_local $3) (get_local $6) ) (block (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub (get_local $2) (get_local $5) ) ) - (i32.const 31) + (i64.const 63) ) ) (block (br_if $folding-inner0 - (i32.eqz - (get_local $3) + (i64.eqz + (get_local $4) ) ) (set_local $2 - (get_local $3) + (get_local $4) ) ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) @@ -698,47 +3481,47 @@ ) ) (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub (get_local $2) (get_local $5) ) ) - (i32.const 31) + (i64.const 63) ) ) (block (br_if $folding-inner0 - (i32.eqz - (get_local $3) + (i64.eqz + (get_local $4) ) ) (set_local $2 - (get_local $3) + (get_local $4) ) ) ) (loop $continue|3 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $2) - (i32.const 23) + (i64.const 52) ) ) (block - (set_local $4 + (set_local $3 (i32.sub - (get_local $4) + (get_local $3) (i32.const 1) ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) (br $continue|3) @@ -746,68 +3529,77 @@ ) ) (return - (f32.reinterpret/i32 - (i32.or + (f64.reinterpret/i64 + (i64.or (tee_local $2 (select - (i32.or - (i32.sub + (i64.or + (i64.sub (get_local $2) - (i32.const 8388608) + (i64.const 4503599627370496) ) - (i32.shl - (get_local $4) - (i32.const 23) + (i64.shl + (i64.extend_u/i32 + (get_local $3) + ) + (i64.const 52) ) ) - (i32.shr_u - (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) ) ) (i32.gt_s - (get_local $4) + (get_local $3) (i32.const 0) ) ) ) - (get_local $8) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 63) + ) ) ) ) ) - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) - (func $showcase/ANamespace.aNamespacedFunction (; 3 ;) (type $ii) (param $0 i32) (result i32) + (func $showcase/ANamespace.aNamespacedFunction (; 7 ;) (type $ii) (param $0 i32) (result i32) (get_local $0) ) - (func $showcase/addGeneric (; 4 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) + (func $showcase/addGeneric (; 8 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (i32.add (get_local $0) (get_local $1) ) ) - (func $showcase/addGeneric (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func $showcase/addGeneric (; 9 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (f32.add (get_local $0) (get_local $1) ) ) - (func $showcase/addGeneric (; 6 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func $showcase/addGeneric (; 10 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (f64.add (get_local $0) (get_local $1) ) ) - (func $showcase/anExportedFunction (; 7 ;) (type $v) + (func $showcase/anExportedFunction (; 11 ;) (type $v) (nop) ) - (func $memcpy/memcpy (; 8 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $memcpy/memcpy (; 12 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -2390,18 +5182,18 @@ ) (get_local $5) ) - (func $showcase/ADerivedClass#set:aWildAccessorAppears (; 9 ;) (type $ifv) (param $0 i32) (param $1 f32) + (func $showcase/ADerivedClass#set:aWildAccessorAppears (; 13 ;) (type $ifv) (param $0 i32) (param $1 f32) (f32.store offset=4 (get_local $0) (get_local $1) ) ) - (func $showcase/ADerivedClass#get:aWildAccessorAppears (; 10 ;) (type $if) (param $0 i32) (result f32) + (func $showcase/ADerivedClass#get:aWildAccessorAppears (; 14 ;) (type $if) (param $0 i32) (result f32) (f32.load offset=4 (get_local $0) ) ) - (func $start (; 11 ;) (type $v) + (func $start (; 15 ;) (type $v) (local $0 f64) (local $1 f32) (local $2 i32) @@ -2810,6 +5602,14 @@ (i32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) (set_global $binary/b (i32.lt_s (get_global $binary/i) @@ -2870,6 +5670,16 @@ (i32.const 1) ) ) + (set_global $binary/i + (i32.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/i (i32.shl (get_global $binary/i) @@ -2972,6 +5782,14 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) (set_global $binary/b (i64.lt_s (get_global $binary/I) @@ -3038,6 +5856,16 @@ (i64.const 1) ) ) + (set_global $binary/I + (i64.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/I (i64.shl (get_global $binary/I) @@ -3134,6 +5962,18 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/b (f32.lt (get_global $binary/f) @@ -3194,6 +6034,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/f (f32.add (get_global $binary/f) @@ -3212,6 +6064,30 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/b (f64.lt (get_global $binary/F) @@ -3272,6 +6148,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/F (f64.add (get_global $binary/F) @@ -3290,6 +6178,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (if (i32.eqz (tee_local $2 @@ -4265,210 +7165,6 @@ (unreachable) ) ) - (if - (f64.eq - (tee_local $0 - (call $fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - ) - ) - (get_local $0) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 295) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f64.ne - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 296) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 2) - ) - (f64.const 1.2) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 297) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 3.7) - ) - (f64.const 1.8) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 298) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.eq - (tee_local $1 - (call $fmodf - (f32.const 1) - (f32.const nan:0x400000) - ) - ) - (get_local $1) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 300) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.ne - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 301) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 2) - ) - (f32.const 1.2000000476837158) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 302) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 3.700000047683716) - ) - (f32.const 1.7999999523162842) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 303) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f64.ne - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 305) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (f32.ne - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 306) - (i32.const 0) - ) - (unreachable) - ) - ) (if (i32.ne (call $showcase/ANamespace.aNamespacedFunction diff --git a/tests/compiler/showcase.untouched.wat b/tests/compiler/showcase.untouched.wat index 5b97eb79c3..e94dcc3a37 100644 --- a/tests/compiler/showcase.untouched.wat +++ b/tests/compiler/showcase.untouched.wat @@ -1,10 +1,12 @@ (module - (type $iiiiv (func (param i32 i32 i32 i32))) - (type $i (func (result i32))) - (type $f (func (result f32))) - (type $F (func (result f64))) (type $FFF (func (param f64 f64) (result f64))) + (type $F (func (result f64))) + (type $FiF (func (param f64 i32) (result f64))) (type $fff (func (param f32 f32) (result f32))) + (type $f (func (result f32))) + (type $fif (func (param f32 i32) (result f32))) + (type $iiiiv (func (param i32 i32 i32 i32))) + (type $i (func (result i32))) (type $ii (func (param i32) (result i32))) (type $iii (func (param i32 i32) (result i32))) (type $v (func)) @@ -69,502 +71,3639 @@ (export "anExportedFunction" (func $showcase/anExportedFunction)) (export "memory" (memory $0)) (start $start) - (func $fmod (; 1 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 1 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (local $2 f64) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 8988465674311579538646525e283) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 1023) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 1023) + ) + (set_local $1 + (i32.const 1023) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (block + (set_local $2 + (f64.mul + (get_local $2) + (f64.const 2.2250738585072014e-308) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1022) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -1022) + ) + (set_local $1 + (i32.const -1022) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $1) + ) + ) + (i64.const 52) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) - (local $3 i64) + (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 f64) + (local $7 i32) (local $8 i32) - (local $9 i64) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 f64) + (local $20 f64) + (local $21 f64) + (local $22 f64) + (local $23 f64) + (local $24 i32) + (local $25 i32) + (local $26 f64) + (local $27 f64) + (local $28 f64) + (local $29 f64) + (local $30 f64) + (local $31 f64) + (local $32 f64) + (local $33 f64) + (local $34 f64) + (local $35 f64) + (local $36 f64) + (local $37 f64) + (local $38 i32) + (nop) (set_local $2 (i64.reinterpret/f64 (get_local $0) ) ) (set_local $3 - (i64.reinterpret/f64 - (get_local $1) + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) ) ) (set_local $4 (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - (i64.const 2047) - ) + (get_local $2) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $1) ) ) (set_local $5 (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $3) - (i64.const 52) - ) - (i64.const 2047) + (i64.shr_u + (get_local $2) + (i64.const 32) ) ) ) (set_local $6 (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) + (get_local $2) + ) + ) + (set_local $7 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (set_local $8 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $8) + (get_local $6) ) + (i32.const 0) + ) + (return + (f64.const 1) ) ) (if (i32.and (if (result i32) - (tee_local $8 + (tee_local $9 (i32.and (if (result i32) - (tee_local $8 - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.gt_s + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) ) - (i64.const 0) + (i32.const 1) ) ) - (get_local $8) - (f64.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) + (get_local $9) + (i32.gt_s + (get_local $8) + (i32.const 2146435072) ) ) (i32.const 1) ) ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 2047) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) + ) + (get_local $9) ) ) (i32.const 1) ) (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) - (get_local $1) - ) + (f64.add + (get_local $0) + (get_local $1) ) ) ) + (set_local $10 + (i32.const 0) + ) (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1128267776) ) - (i64.shl - (get_local $3) - (i64.const 1) + (set_local $10 + (i32.const 2) ) - ) - (block (if - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) + (i32.ge_s + (get_local $8) + (i32.const 1072693248) ) - ) - (return - (get_local $0) - ) - ) - ) - (nop) - (if - (i32.eqz - (get_local $4) - ) - (block - (block $break|0 - (set_local $9 - (i64.shl - (get_local $2) - (i64.const 12) + (block + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $8) + (i32.const 20) + ) + (i32.const 1023) + ) ) - ) - (loop $continue|0 (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) + (i32.gt_s + (get_local $11) + (i32.const 20) ) (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) + (set_local $9 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $11) + ) ) ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + (get_local $6) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (set_local $9 + (i32.shr_s + (get_local $8) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + (get_local $8) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) ) ) - (br $continue|0) ) ) ) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.add + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $8) + (i32.const 2146435072) + ) + (if + (i32.eq + (i32.or (i32.sub - (i32.const 0) - (get_local $4) + (get_local $7) + (i32.const 1072693248) + ) + (get_local $4) + ) + (i32.const 0) + ) + (return + (f64.const nan:0x8000000000000) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (get_local $1) + (f64.const 0) + ) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (f64.const 0) + (f64.neg + (get_local $1) + ) ) - (i32.const 1) ) ) ) ) - ) - (block - (set_local $2 - (i64.and - (get_local $2) - (i64.shr_u - (i64.const -1) - (i64.const 12) + (if + (i32.eq + (get_local $8) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) ) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) + (if + (i32.eq + (get_local $5) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) ) ) ) ) ) + (set_local $12 + (f64.abs + (get_local $0) + ) + ) (if - (i32.eqz - (get_local $5) + (i32.eq + (get_local $4) + (i32.const 0) ) - (block - (block $break|1 - (set_local $9 - (i64.shl - (get_local $3) - (i64.const 12) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 1072693248) ) ) - (loop $continue|1 + (i32.const 1) + ) + (block + (set_local $13 + (get_local $12) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.const 1) + (get_local $13) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $10) ) + (i32.const 0) ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) + (set_local $13 + (f64.div + (f64.sub + (get_local $13) + (get_local $13) + ) + (f64.sub + (get_local $13) + (get_local $13) ) ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $13 + (f64.neg + (get_local $13) ) ) - (br $continue|1) ) ) ) + (return + (get_local $13) + ) ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) - ) - (i32.const 1) + ) + ) + (set_local $14 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 0) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) ) ) ) ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $14 + (f64.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $8) + (i32.const 1105199104) ) (block - (set_local $3 - (i64.and - (get_local $3) - (i64.shr_u - (i64.const -1) - (i64.const 12) + (if + (i32.gt_s + (get_local $8) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1072693247) + ) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + (set_local $20 + (f64.sub + (get_local $12) + (f64.const 1) + ) + ) + (set_local $23 + (f64.mul + (f64.mul + (get_local $20) + (get_local $20) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $20) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $20) + (f64.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $21 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $20) + ) + ) + (set_local $22 + (f64.sub + (f64.mul + (get_local $20) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $23) + (f64.const 1.4426950408889634) + ) + ) + ) + (set_local $15 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $22) + (f64.sub + (get_local $15) + (get_local $21) + ) + ) + ) + ) + (block + (nop) + (set_local $25 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 1048576) + ) + (block + (set_local $12 + (f64.mul + (get_local $12) + (f64.const 9007199254740992) + ) + ) + (set_local $25 + (i32.sub + (get_local $25) + (i32.const 53) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.sub + (i32.shr_s + (get_local $7) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + ) + (set_local $24 + (i32.and + (get_local $7) + (i32.const 1048575) + ) + ) + (set_local $7 + (i32.or + (get_local $24) + (i32.const 1072693248) + ) + ) + (if + (i32.le_s + (get_local $24) + (i32.const 235662) + ) + (set_local $11 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 767610) + ) + (set_local $11 + (i32.const 1) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $25 + (i32.add + (get_local $25) + (i32.const 1) + ) + ) + (set_local $7 + (i32.sub + (get_local $7) + (i32.const 1048576) + ) + ) + ) + ) + ) + (set_local $12 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 32) + ) + ) + ) + ) + (set_local $32 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $11) + ) + ) + (set_local $21 + (f64.sub + (get_local $12) + (get_local $32) + ) + ) + (set_local $22 + (f64.div + (f64.const 1) + (f64.add + (get_local $12) + (get_local $32) + ) + ) + ) + (set_local $26 + (f64.mul + (get_local $21) + (get_local $22) + ) + ) + (set_local $28 + (get_local $26) + ) + (set_local $28 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $28) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $7) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $11) + (i32.const 18) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $12) + (f64.sub + (get_local $30) + (get_local $32) + ) + ) + ) + (set_local $29 + (f64.mul + (get_local $22) + (f64.sub + (f64.sub + (get_local $21) + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (f64.mul + (get_local $28) + (get_local $31) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $19 + (f64.mul + (f64.mul + (get_local $27) + (get_local $27) + ) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $27) + (f64.const 0.20697501780033842) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.add + (get_local $19) + (f64.mul + (get_local $29) + (f64.add + (get_local $28) + (get_local $26) + ) + ) + ) + ) + (set_local $27 + (f64.mul + (get_local $28) + (get_local $28) + ) + ) + (set_local $30 + (f64.add + (f64.add + (f64.const 3) + (get_local $27) + ) + (get_local $19) + ) + ) + (set_local $30 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $30) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $31 + (f64.sub + (get_local $19) + (f64.sub + (f64.sub + (get_local $30) + (f64.const 3) + ) + (get_local $27) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $28) + (get_local $30) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (get_local $29) + (get_local $30) + ) + (f64.mul + (get_local $31) + (get_local $26) + ) + ) + ) + (set_local $17 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $17 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $17) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.sub + (get_local $22) + (f64.sub + (get_local $17) + (get_local $21) + ) + ) + ) + (set_local $33 + (f64.mul + (f64.const 0.9617967009544373) + (get_local $17) + ) + ) + (set_local $34 + (select + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $35 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $17) + ) + (f64.mul + (get_local $18) + (f64.const 0.9617966939259756) + ) + ) + (get_local $34) + ) + ) + (set_local $20 + (f64.convert_s/i32 + (get_local $25) + ) + ) + (set_local $36 + (select + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $11) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.add + (get_local $33) + (get_local $35) + ) + (get_local $36) + ) + (get_local $20) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $35) + (f64.sub + (f64.sub + (f64.sub + (get_local $15) + (get_local $20) + ) + (get_local $36) + ) + (get_local $33) + ) + ) + ) + ) + ) + (set_local $37 + (get_local $1) + ) + (set_local $37 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $37) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (get_local $37) + ) + (get_local $15) + ) + (f64.mul + (get_local $1) + (get_local $16) + ) + ) + ) + (set_local $17 + (f64.mul + (get_local $37) + (get_local $15) + ) + ) + (set_local $13 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $38 + (i32.wrap/i64 + (get_local $2) + ) + ) + (if + (i32.ge_s + (get_local $24) + (i32.const 1083179008) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const 1083179008) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + (if + (f64.gt + (f64.add + (get_local $18) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const -1064252416) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (if + (f64.le + (get_local $18) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (set_local $38 + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $38) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $25 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $38) + (i32.const 1071644672) + ) + (block + (set_local $25 + (i32.add + (get_local $24) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (i32.and + (get_local $25) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $20 + (f64.const 0) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $25) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $11) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $25 + (i32.shr_s + (i32.or + (i32.and + (get_local $25) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 0) + ) + (set_local $25 + (i32.sub + (i32.const 0) + (get_local $25) + ) + ) + ) + (set_local $17 + (f64.sub + (get_local $17) + (get_local $20) + ) + ) + ) + ) + (set_local $20 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $20) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $21 + (f64.mul + (get_local $20) + (f64.const 0.6931471824645996) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (f64.sub + (get_local $18) + (f64.sub + (get_local $20) + (get_local $17) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul + (get_local $20) + (f64.const -1.904654299957768e-09) + ) + ) + ) + (set_local $13 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $23 + (f64.sub + (get_local $22) + (f64.sub + (get_local $13) + (get_local $21) + ) + ) + ) + (set_local $20 + (f64.mul + (get_local $13) + (get_local $13) + ) + ) + (set_local $15 + (f64.sub + (get_local $13) + (f64.mul + (get_local $20) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $20) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $20) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $20) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $20) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $19 + (f64.sub + (f64.div + (f64.mul + (get_local $13) + (get_local $15) + ) + (f64.sub + (get_local $15) + (f64.const 2) + ) + ) + (f64.add + (get_local $23) + (f64.mul + (get_local $13) + (get_local $23) + ) + ) + ) + ) + (set_local $13 + (f64.sub + (f64.const 1) + (f64.sub + (get_local $19) + (get_local $13) + ) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 32) + ) + ) + ) + (set_local $24 + (i32.add + (get_local $24) + (i32.shl + (get_local $25) + (i32.const 20) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $24) + (i32.const 20) + ) + (i32.const 0) + ) + (set_local $13 + (call "$(lib)/math/NativeMath.scalbn" + (get_local $13) + (get_local $25) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $24) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 3 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 i32) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $8) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $2 + (i32.and + (get_local $2) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i32.shl + (get_local $3) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $3 + (i32.and + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $3 + (i32.or + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (get_local $6) + ) + ) + (return + (f32.reinterpret/i32 + (get_local $2) + ) + ) + ) + (func "$(lib)/math/NativeMathf.scalbn" (; 4 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (local $2 f32) + (nop) + (set_local $2 + (get_local $0) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1701411834604692317316873e14) + ) + ) + (set_local $1 + (i32.sub + (get_local $1) + (i32.const 127) + ) + ) + (if + (i32.gt_s + (get_local $1) + (i32.const 127) + ) + (set_local $1 + (i32.const 127) + ) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (block + (set_local $2 + (f32.mul + (get_local $2) + (f32.const 1.1754943508222875e-38) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 126) + ) + ) + (if + (i32.lt_s + (get_local $1) + (i32.const -126) + ) + (set_local $1 + (i32.const -126) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (i32.const 127) + (get_local $1) + ) + (i32.const 23) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 f32) + (local $16 f32) + (local $17 f32) + (local $18 f32) + (local $19 f32) + (local $20 f32) + (local $21 f32) + (local $22 f32) + (local $23 i32) + (local $24 i32) + (local $25 f32) + (local $26 f32) + (local $27 f32) + (local $28 f32) + (local $29 f32) + (local $30 f32) + (local $31 f32) + (local $32 f32) + (local $33 f32) + (local $34 f32) + (local $35 f32) + (local $36 i32) + (nop) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $5 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 0) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $7 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1266679808) + ) + (set_local $7 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1065353216) + ) + (block + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $8 + (i32.shr_s + (get_local $5) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $8) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + (get_local $5) + ) + (set_local $7 + (i32.sub + (i32.const 2) + (i32.and + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $1) + (f32.const 0) + ) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (f32.const 0) + (f32.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $2) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $10 + (f32.abs + (get_local $0) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (set_local $11 + (get_local $10) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.const 1) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $4) + (i32.const 1065353216) + ) + (get_local $7) + ) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.sub + (get_local $11) + (get_local $11) + ) + (f32.sub + (get_local $11) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $11 + (f32.neg + (get_local $11) + ) + ) + ) + ) + ) + (return + (get_local $11) + ) + ) + ) + (set_local $12 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $12 + (f32.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $5) + (i32.const 1291845632) + ) + (block + (if + (i32.lt_s + (get_local $4) + (i32.const 1065353208) + ) + (return + (if (result f32) + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353223) + ) + (return + (if (result f32) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (set_local $17 + (f32.sub + (get_local $10) + (f32.const 1) + ) + ) + (set_local $20 + (f32.mul + (f32.mul + (get_local $17) + (get_local $17) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $17) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $17) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $18 + (f32.mul + (f32.const 1.44268798828125) + (get_local $17) + ) + ) + (set_local $19 + (f32.sub + (f32.mul + (get_local $17) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $20) + (f32.const 1.4426950216293335) + ) + ) + ) + (set_local $13 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $19) + (f32.sub + (get_local $13) + (get_local $18) + ) + ) + ) + ) + (block + (nop) + (set_local $23 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 8388608) + ) + (block + (set_local $10 + (f32.mul + (get_local $10) + (f32.const 16777216) + ) + ) + (set_local $23 + (i32.sub + (get_local $23) + (i32.const 24) + ) + ) + (set_local $4 + (i32.reinterpret/f32 + (get_local $10) + ) + ) + ) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.sub + (i32.shr_s + (get_local $4) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $4) + (i32.const 8388607) + ) + ) + (set_local $4 + (i32.or + (get_local $8) + (i32.const 1065353216) + ) + ) + (if + (i32.le_s + (get_local $8) + (i32.const 1885297) + ) + (set_local $9 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 6140887) + ) + (set_local $9 + (i32.const 1) + ) + (block + (set_local $9 + (i32.const 0) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + ) + ) + ) + ) + (set_local $10 + (f32.reinterpret/i32 + (get_local $4) + ) + ) + (set_local $30 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $9) + ) + ) + (set_local $18 + (f32.sub + (get_local $10) + (get_local $30) + ) + ) + (set_local $19 + (f32.div + (f32.const 1) + (f32.add + (get_local $10) + (get_local $30) + ) + ) + ) + (set_local $16 + (f32.mul + (get_local $18) + (get_local $19) + ) + ) + (set_local $26 + (get_local $16) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $26) + ) + ) + (set_local $26 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $24 + (i32.or + (i32.and + (i32.shr_s + (get_local $4) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.add + (i32.add + (get_local $24) + (i32.const 4194304) + ) + (i32.shl + (get_local $9) + (i32.const 21) + ) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $10) + (f32.sub + (get_local $28) + (get_local $30) + ) + ) + ) + (set_local $27 + (f32.mul + (get_local $19) + (f32.sub + (f32.sub + (get_local $18) + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (f32.mul + (get_local $26) + (get_local $29) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (set_local $15 + (f32.mul + (f32.mul + (get_local $25) + (get_local $25) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $25) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.add + (get_local $15) + (f32.mul + (get_local $27) + (f32.add + (get_local $26) + (get_local $16) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $28 + (f32.add + (f32.add + (f32.const 3) + (get_local $25) + ) + (get_local $15) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $28) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $15) + (f32.sub + (f32.sub + (get_local $28) + (f32.const 3) + ) + (get_local $25) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (get_local $27) + (get_local $28) + ) + (f32.mul + (get_local $29) + (get_local $16) + ) + ) + ) + (set_local $21 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $21) + ) + ) + (set_local $21 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.sub + (get_local $19) + (f32.sub + (get_local $21) + (get_local $18) + ) + ) + ) + (set_local $31 + (f32.mul + (f32.const 0.9619140625) + (get_local $21) + ) + ) + (set_local $32 + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $33 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $21) + ) + (f32.mul + (get_local $22) + (f32.const 0.9617967009544373) + ) + ) + (get_local $32) + ) + ) + (set_local $17 + (f32.convert_s/i32 + (get_local $23) + ) + ) + (set_local $34 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $13 + (f32.add + (f32.add + (f32.add + (get_local $31) + (get_local $33) + ) + (get_local $34) + ) + (get_local $17) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $33) + (f32.sub + (f32.sub + (f32.sub + (get_local $13) + (get_local $17) + ) + (get_local $34) + ) + (get_local $31) + ) + ) + ) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $35 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (get_local $35) + ) + (get_local $13) + ) + (f32.mul + (get_local $1) + (get_local $14) + ) + ) + ) + (set_local $21 + (f32.mul + (get_local $35) + (get_local $13) + ) + ) + (set_local $11 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1124073472) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1124073472) + ) + (if + (f32.gt + (f32.add + (get_local $22) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $11) + (get_local $21) ) ) - ) - (set_local $3 - (i64.or - (get_local $3) - (i64.shl - (i64.const 1) - (i64.const 52) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) ) ) ) - ) - ) - (block $break|2 - (nop) - (loop $continue|2 (if (i32.gt_s - (get_local $4) - (get_local $5) + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + (i32.const 1125515264) ) - (block - (block - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) + (f32.const 1.0000000031710769e-30) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const -1021968384) + ) + (if + (f32.le + (get_local $22) + (f32.sub + (get_local $11) + (get_local $21) ) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) ) ) ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|2) ) ) ) ) + (set_local $36 + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + ) (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) + (i32.sub + (i32.shr_s + (get_local $36) + (i32.const 23) + ) + (i32.const 127) ) ) + (set_local $23 + (i32.const 0) + ) (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) + (i32.gt_s + (get_local $36) + (i32.const 1056964608) ) (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) + (set_local $23 + (i32.add + (get_local $8) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $9) + (i32.const 1) + ) ) ) ) - (set_local $2 - (get_local $9) - ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) + (set_local $9 + (i32.sub + (i32.shr_s + (i32.and + (get_local $23) + (i32.const 2147483647) + ) + (i32.const 23) ) + (i32.const 127) ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $23) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $9) + ) + (i32.const -1) ) ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) + ) + ) + (set_local $23 + (i32.shr_s + (i32.or + (i32.and + (get_local $23) + (i32.const 8388607) ) + (i32.const 8388608) ) - (br $continue|3) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 0) + ) + (set_local $23 + (i32.sub + (i32.const 0) + (get_local $23) + ) + ) + ) + (set_local $21 + (f32.sub + (get_local $21) + (get_local $17) ) ) ) ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) + (set_local $17 + (f32.add + (get_local $22) + (get_local $21) ) - (block - (set_local $2 - (i64.sub - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $17) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -32768) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $4) - ) - (i64.const 52) + ) + ) + (set_local $18 + (f32.mul + (get_local $17) + (f32.const 0.693145751953125) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (f32.sub + (get_local $22) + (f32.sub + (get_local $17) + (get_local $21) ) ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $17) + (f32.const 1.4286065379565116e-06) ) ) - (set_local $2 - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + ) + (set_local $11 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $20 + (f32.sub + (get_local $19) + (f32.sub + (get_local $11) + (get_local $18) + ) + ) + ) + (set_local $17 + (f32.mul + (get_local $11) + (get_local $11) + ) + ) + (set_local $13 + (f32.sub + (get_local $11) + (f32.mul + (get_local $17) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $17) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $17) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $17) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $17) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) ) - (i32.const 1) ) ) ) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $6) + (set_local $15 + (f32.sub + (f32.div + (f32.mul + (get_local $11) + (get_local $13) ) - (i64.const 63) + (f32.sub + (get_local $13) + (f32.const 2) + ) + ) + (f32.add + (get_local $20) + (f32.mul + (get_local $11) + (get_local $20) + ) + ) + ) + ) + (set_local $11 + (f32.sub + (f32.const 1) + (f32.sub + (get_local $15) + (get_local $11) + ) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (set_local $8 + (i32.add + (get_local $8) + (i32.shl + (get_local $23) + (i32.const 23) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $8) + (i32.const 23) + ) + (i32.const 0) + ) + (set_local $11 + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $11) + (get_local $23) + ) + ) + (set_local $11 + (f32.reinterpret/i32 + (get_local $8) ) ) ) (return - (f64.reinterpret/i64 - (get_local $2) + (f32.mul + (get_local $12) + (get_local $11) ) ) ) - (func $fmodf (; 2 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) + (func "$(lib)/math/NativeMath.mod" (; 6 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 f32) + (local $7 f64) (local $8 i32) - (local $9 i32) + (local $9 i64) (set_local $2 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) (set_local $3 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $1) ) ) (set_local $4 - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 23) + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) ) - (i32.const 255) ) ) (set_local $5 - (i32.and - (i32.shr_u - (get_local $3) - (i32.const 23) + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) ) - (i32.const 255) ) ) (set_local $6 - (i32.and - (get_local $2) - (i32.const -2147483648) + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) ) ) (if @@ -574,16 +3713,16 @@ (i32.and (if (result i32) (tee_local $8 - (i32.eq - (i32.shl + (i64.eq + (i64.shl (get_local $3) - (i32.const 1) + (i64.const 1) ) - (i32.const 0) + (i64.const 0) ) ) (get_local $8) - (f32.ne + (f64.ne (tee_local $7 (get_local $1) ) @@ -596,18 +3735,18 @@ (get_local $8) (i32.eq (get_local $4) - (i32.const 255) + (i32.const 2047) ) ) (i32.const 1) ) (return - (f32.div - (f32.mul + (f64.div + (f64.mul (get_local $0) (get_local $1) ) - (f32.mul + (f64.mul (get_local $0) (get_local $1) ) @@ -615,31 +3754,31 @@ ) ) (if - (i32.le_u - (i32.shl + (i64.le_u + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $3) - (i32.const 1) + (i64.const 1) ) ) (block (if - (i32.eq - (i32.shl + (i64.eq + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) - (i32.shl + (i64.shl (get_local $3) - (i32.const 1) + (i64.const 1) ) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -657,17 +3796,17 @@ (block (block $break|0 (set_local $9 - (i32.shl + (i64.shl (get_local $2) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|0 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block @@ -678,9 +3817,9 @@ ) ) (set_local $9 - (i32.shl + (i64.shl (get_local $9) - (i32.const 1) + (i64.const 1) ) ) (br $continue|0) @@ -689,34 +3828,36 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (block (set_local $2 - (i32.and + (i64.and (get_local $2) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (i64.shr_u + (i64.const -1) + (i64.const 12) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) @@ -729,17 +3870,17 @@ (block (block $break|1 (set_local $9 - (i32.shl + (i64.shl (get_local $3) - (i32.const 9) + (i64.const 12) ) ) (loop $continue|1 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block @@ -750,9 +3891,9 @@ ) ) (set_local $9 - (i32.shl + (i64.shl (get_local $9) - (i32.const 1) + (i64.const 1) ) ) (br $continue|1) @@ -761,34 +3902,36 @@ ) ) (set_local $3 - (i32.shl + (i64.shl (get_local $3) - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (block (set_local $3 - (i32.and + (i64.and (get_local $3) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (i64.shr_u + (i64.const -1) + (i64.const 12) ) ) ) (set_local $3 - (i32.or + (i64.or (get_local $3) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) @@ -805,26 +3948,26 @@ (block (block (set_local $9 - (i32.sub + (i64.sub (get_local $2) (get_local $3) ) ) (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block (if - (i32.eqz + (i64.eqz (get_local $9) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -835,9 +3978,9 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) ) @@ -853,26 +3996,26 @@ ) ) (set_local $9 - (i32.sub + (i64.sub (get_local $2) (get_local $3) ) ) (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $9) - (i32.const 31) + (i64.const 63) ) ) (block (if - (i32.eqz + (i64.eqz (get_local $9) ) (return - (f32.mul - (f32.const 0) + (f64.mul + (f64.const 0) (get_local $0) ) ) @@ -886,10 +4029,10 @@ (nop) (loop $continue|3 (if - (i32.eqz - (i32.shr_u + (i64.eqz + (i64.shr_u (get_local $2) - (i32.const 23) + (i64.const 52) ) ) (block @@ -900,9 +4043,9 @@ ) ) (set_local $2 - (i32.shl + (i64.shl (get_local $2) - (i32.const 1) + (i64.const 1) ) ) (br $continue|3) @@ -917,55 +4060,64 @@ ) (block (set_local $2 - (i32.sub + (i64.sub (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (i32.shl - (get_local $4) - (i32.const 23) + (i64.shl + (i64.extend_u/i32 + (get_local $4) + ) + (i64.const 52) ) ) ) ) (set_local $2 - (i32.shr_u + (i64.shr_u (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) ) (set_local $2 - (i32.or + (i64.or (get_local $2) - (get_local $6) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 63) + ) ) ) (return - (f32.reinterpret/i32 + (f64.reinterpret/i64 (get_local $2) ) ) ) - (func $showcase/ANamespace.aNamespacedFunction (; 3 ;) (type $ii) (param $0 i32) (result i32) + (func $showcase/ANamespace.aNamespacedFunction (; 7 ;) (type $ii) (param $0 i32) (result i32) (return (get_local $0) ) ) - (func $showcase/addGeneric (; 4 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) + (func $showcase/addGeneric (; 8 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (return (i32.add (get_local $0) @@ -973,7 +4125,7 @@ ) ) ) - (func $showcase/addGeneric (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func $showcase/addGeneric (; 9 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (return (f32.add (get_local $0) @@ -981,7 +4133,7 @@ ) ) ) - (func $showcase/addGeneric (; 6 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func $showcase/addGeneric (; 10 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (return (f64.add (get_local $0) @@ -989,9 +4141,9 @@ ) ) ) - (func $showcase/anExportedFunction (; 7 ;) (type $v) + (func $showcase/anExportedFunction (; 11 ;) (type $v) ) - (func $memcpy/memcpy (; 8 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (func $memcpy/memcpy (; 12 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) @@ -2797,20 +5949,20 @@ (get_local $3) ) ) - (func $showcase/ADerivedClass#set:aWildAccessorAppears (; 9 ;) (type $ifv) (param $0 i32) (param $1 f32) + (func $showcase/ADerivedClass#set:aWildAccessorAppears (; 13 ;) (type $ifv) (param $0 i32) (param $1 f32) (f32.store offset=4 (get_local $0) (get_local $1) ) ) - (func $showcase/ADerivedClass#get:aWildAccessorAppears (; 10 ;) (type $if) (param $0 i32) (result f32) + (func $showcase/ADerivedClass#get:aWildAccessorAppears (; 14 ;) (type $if) (param $0 i32) (result f32) (return (f32.load offset=4 (get_local $0) ) ) ) - (func $start (; 11 ;) (type $v) + (func $start (; 15 ;) (type $v) (local $0 i32) (local $1 i64) (local $2 f32) @@ -3410,6 +6562,14 @@ (i32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) (drop (i32.shl (get_global $binary/i) @@ -3512,6 +6672,16 @@ (i32.const 1) ) ) + (set_global $binary/i + (i32.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i32 + (get_global $binary/i) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/i (i32.shl (get_global $binary/i) @@ -3674,6 +6844,14 @@ (i64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) (drop (i64.shl (get_global $binary/I) @@ -3776,6 +6954,16 @@ (i64.const 1) ) ) + (set_global $binary/I + (i64.trunc_s/f64 + (call "$(lib)/math/NativeMath.pow" + (f64.convert_s/i64 + (get_global $binary/I) + ) + (f64.const 1) + ) + ) + ) (set_global $binary/I (i64.shl (get_global $binary/I) @@ -3932,6 +7120,18 @@ (f32.const 1) ) ) + (drop + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/b (f32.lt (get_global $binary/f) @@ -3992,6 +7192,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (set_global $binary/f (f32.add (get_global $binary/f) @@ -4010,6 +7222,18 @@ (f32.const 1) ) ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.mod" + (get_global $binary/f) + (f32.const 1) + ) + ) + (set_global $binary/f + (call "$(lib)/math/NativeMathf.pow" + (get_global $binary/f) + (f32.const 1) + ) + ) (drop (f64.lt (get_global $binary/F) @@ -4070,6 +7294,18 @@ (f64.const 1) ) ) + (drop + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (drop + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/b (f64.lt (get_global $binary/F) @@ -4130,6 +7366,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (set_global $binary/F (f64.add (get_global $binary/F) @@ -4148,6 +7396,18 @@ (f64.const 1) ) ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.mod" + (get_global $binary/F) + (f64.const 1) + ) + ) + (set_global $binary/F + (call "$(lib)/math/NativeMath.pow" + (get_global $binary/F) + (f64.const 1) + ) + ) (drop (if (result i32) (i32.const 0) @@ -6670,222 +9930,6 @@ (unreachable) ) ) - (if - (i32.eqz - (f64.ne - (tee_local $3 - (call $fmod - (f64.const 1) - (f64.const nan:0x8000000000000) - ) - ) - (get_local $3) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 295) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.eq - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 296) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 2) - ) - (f64.const 1.2) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 297) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.lt - (f64.sub - (call $fmod - (f64.const 9.2) - (f64.const 3.7) - ) - (f64.const 1.8) - ) - (f64.const 2.220446049250313e-16) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 298) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.ne - (tee_local $2 - (call $fmodf - (f32.const 1) - (f32.const nan:0x400000) - ) - ) - (get_local $2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 300) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.eq - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 301) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 2) - ) - (f32.const 1.2000000476837158) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 302) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.lt - (f32.sub - (call $fmodf - (f32.const 9.199999809265137) - (f32.const 3.700000047683716) - ) - (f32.const 1.7999999523162842) - ) - (f32.const 1.1920928955078125e-07) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 303) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f64.eq - (call $fmod - (f64.const 1.5) - (f64.const 1) - ) - (f64.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 305) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (f32.eq - (call $fmodf - (f32.const 1.5) - (f32.const 1) - ) - (f32.const 0.5) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 28) - (i32.const 306) - (i32.const 0) - ) - (unreachable) - ) - ) (drop (f64.ne (tee_local $3 diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index 09f861365e..b4e8e882e4 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -20,7 +20,6 @@ (type $ff (func (param f32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) - (type $I (func (result i64))) (type $v (func)) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) (import "JSMath" "E" (global $(lib)/math/JSMath.E f64)) @@ -31,6 +30,7 @@ (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) + (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) @@ -51,15 +51,15 @@ (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) - (global "$(lib)/math/NativeMath.random_seeded" (mut i32) (i32.const 0)) - (global "$(lib)/math/NativeMath.random_state0" (mut i64) (i64.const 0)) - (global "$(lib)/math/NativeMath.random_state1" (mut i64) (i64.const 0)) + (global "$(lib)/math/random_seeded" (mut i32) (i32.const 0)) + (global "$(lib)/math/random_state0" (mut i64) (i64.const 0)) + (global "$(lib)/math/random_state1" (mut i64) (i64.const 0)) (memory $0 1) (data (i32.const 4) "\0b\00\00\00s\00t\00d\00/\00m\00a\00t\00h\00.\00t\00s") (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 23 ;) (type $Fi) (param $0 f64) (result i32) (i32.wrap/i64 (i64.shr_u (i64.reinterpret/f64 @@ -69,7 +69,7 @@ ) ) ) - (func $std/math/eulp (; 23 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 24 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i32) (if (i32.eqz @@ -99,7 +99,7 @@ (i32.const -1075) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 24 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 25 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (set_local $2 (get_local $0) @@ -213,7 +213,7 @@ ) ) ) - (func $std/math/ulperr (; 25 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 26 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (if @@ -314,7 +314,7 @@ (get_local $2) ) ) - (func $std/math/check (; 26 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 27 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) (if (f64.eq @@ -367,7 +367,7 @@ ) (i32.const 1) ) - (func $std/math/test_scalbn (; 27 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 28 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMath.scalbn" (get_local $0) @@ -378,7 +378,7 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 28 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 29 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (set_local $2 (get_local $0) @@ -490,7 +490,7 @@ ) ) ) - (func $std/math/signbitf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/signbitf (; 30 ;) (type $fi) (param $0 f32) (result i32) (i32.shr_u (i32.reinterpret/f32 (get_local $0) @@ -498,7 +498,7 @@ (i32.const 31) ) ) - (func $std/math/eulpf (; 30 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/eulpf (; 31 ;) (type $fi) (param $0 f32) (result i32) (local $1 i32) (if (i32.eqz @@ -526,7 +526,7 @@ (i32.const -150) ) ) - (func $std/math/ulperrf (; 31 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 32 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (if @@ -627,7 +627,7 @@ (get_local $2) ) ) - (func $std/math/check (; 32 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 33 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) (if (f32.eq @@ -682,7 +682,7 @@ ) (i32.const 1) ) - (func $std/math/test_scalbnf (; 33 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbnf (; 34 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" (get_local $0) @@ -693,7 +693,7 @@ (get_local $4) ) ) - (func $fmod (; 34 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.mod" (; 35 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i32) (local $4 i64) @@ -1065,18 +1065,42 @@ (get_local $0) ) ) - (func $std/math/test_fmod (; 35 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (call $std/math/check - (call $fmod - (get_local $0) - (get_local $1) + (func $std/math/test_mod (; 36 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call $std/math/JSOp.mod + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) - (func $fmodf (; 36 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.mod" (; 37 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -1428,9 +1452,9 @@ (get_local $0) ) ) - (func $std/math/test_fmodf (; 37 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_modf (; 38 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check - (call $fmodf + (call "$(lib)/math/NativeMathf.mod" (get_local $0) (get_local $1) ) @@ -1439,821 +1463,1053 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.abs" (; 38 ;) (type $FF) (param $0 f64) (result f64) - (f64.abs - (get_local $0) - ) - ) - (func $std/math/test_abs (; 39 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func "$(lib)/math/NativeMath.rem" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i32) + (local $3 i64) (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.abs" - (get_local $0) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 i64) + (local $9 i64) + (local $10 f64) + (local $11 i32) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $9 + (i64.reinterpret/f64 + (get_local $0) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) + (i64.const 52) ) + (i64.const 2047) ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.abs" - (get_local $0) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $8 + (i64.reinterpret/f64 + (get_local $1) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) + (i64.const 52) ) + (i64.const 2047) ) - (get_local $4) - ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.abs" (; 40 ;) (type $ff) (param $0 f32) (result f32) - (f32.abs - (get_local $0) - ) - ) - (func $std/math/test_absf (; 41 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.abs" - (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.__R" (; 42 ;) (type $FF) (param $0 f64) (result f64) - (f64.div - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.16666666666666666) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.3255658186224009) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.20121253213486293) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.04005553450067941) - (f64.mul - (get_local $0) - (f64.add - (f64.const 7.915349942898145e-04) - (f64.mul - (get_local $0) - (f64.const 3.479331075960212e-05) - ) - ) - ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i64.eq + (i64.shl + (get_local $8) + (i64.const 1) ) + (i64.const 0) ) ) + (get_local $4) + (f64.ne + (tee_local $10 + (get_local $1) + ) + (get_local $10) + ) ) + (i32.const 1) ) ) + (get_local $4) + (i32.eq + (get_local $2) + (i32.const 2047) + ) ) + (i32.const 1) ) - (f64.add - (f64.const 1) - (f64.mul - (get_local $0) - (f64.add - (f64.const -2.403394911734414) - (f64.mul - (get_local $0) - (f64.add - (f64.const 2.0209457602335057) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.6882839716054533) - (f64.mul - (get_local $0) - (f64.const 0.07703815055590194) - ) - ) - ) - ) - ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) ) ) ) ) - ) - (func "$(lib)/math/NativeMath.acos" (; 43 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 i32) - (local $3 f64) - (local $4 i32) (if - (i32.ge_u - (tee_local $2 - (i32.and - (tee_local $4 - (i32.wrap/i64 + (i64.eq + (i64.shl + (get_local $9) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (get_local $9) + ) + (set_local $3 + (if (result i64) + (get_local $2) + (i64.or + (i64.and + (get_local $3) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $5 + (i64.shl + (get_local $3) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eq (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) + (get_local $5) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (set_local $5 + (i64.shl + (get_local $5) + (i64.const 1) ) - (i64.const 32) ) + (br $continue|0) ) ) - (i32.const 2147483647) ) - ) - (i32.const 1072693248) - ) - (block - (if - (i32.eqz - (i32.or + (i64.shl + (get_local $3) + (i64.extend_u/i32 (i32.sub + (i32.const 1) (get_local $2) - (i32.const 1072693248) - ) - (i32.wrap/i64 - (i64.reinterpret/f64 - (get_local $0) - ) ) ) ) - (block + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $8) + (i64.const 63) + ) + ) + ) + (set_local $8 + (if (result i64) + (get_local $6) + (i64.or + (i64.and + (get_local $8) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $5 + (i64.shl + (get_local $8) + (i64.const 12) + ) + ) + (loop $continue|1 (if - (i32.shr_u - (get_local $4) - (i32.const 31) + (i64.eq + (i64.shr_u + (get_local $5) + (i64.const 63) + ) + (i64.const 0) ) - (return - (f64.const 3.141592653589793) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $5 + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (br $continue|1) ) ) - (return - (f64.const 0) - ) ) - ) - (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) - (get_local $0) + (i64.shl + (get_local $8) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) ) ) ) ) ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) + (set_local $11 + (i32.wrap/i64 + (i64.shr_u + (get_local $9) + (i64.const 63) + ) ) - (block + ) + (block $break|2 + (loop $continue|2 (if - (i32.le_u + (i32.lt_s (get_local $2) - (i32.const 1012924416) - ) - (return - (f64.const 1.5707963267948966) + (get_local $6) ) - ) - (return - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (get_local $0) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) + (block + (br_if $break|2 + (i32.eq + (i32.add + (get_local $2) + (i32.const 1) ) + (get_local $6) ) ) + (return + (get_local $0) + ) ) ) - ) - ) - (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f64.mul - (f64.const 2) - (f64.sub - (f64.const 1.5707963267948966) - (f64.add - (tee_local $1 - (f64.sqrt - (tee_local $0 - (f64.mul - (f64.add - (f64.const 1) - (get_local $0) + (loop $continue|3 + (if + (i32.gt_s + (get_local $2) + (get_local $6) + ) + (block + (if + (i64.eq + (i64.shr_u + (tee_local $5 + (i64.sub + (get_local $3) + (get_local $8) ) - (f64.const 0.5) ) + (i64.const 63) ) + (i64.const 0) ) - ) - (f64.sub - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $0) + (block + (set_local $3 + (get_local $5) + ) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) ) - (get_local $1) ) - (f64.const 6.123233995736766e-17) ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (set_local $7 + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) ) ) ) - ) - ) - (f64.mul - (f64.const 2) - (f64.add - (tee_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (tee_local $1 - (f64.sqrt - (tee_local $0 - (f64.mul - (f64.sub - (f64.const 1) - (get_local $0) - ) - (f64.const 0.5) - ) - ) - ) + (if + (i64.eq + (i64.shr_u + (tee_local $5 + (i64.sub + (get_local $3) + (get_local $8) ) ) - (i64.const -4294967296) + (i64.const 63) ) + (i64.const 0) ) - ) - (f64.add - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $0) + (block + (set_local $3 + (get_local $5) ) - (get_local $1) - ) - (f64.div - (f64.sub - (get_local $0) - (f64.mul - (get_local $3) - (get_local $3) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) ) ) - (f64.add - (get_local $1) - (get_local $3) - ) ) ) - ) - ) - ) - (func $std/math/test_acos (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.acos" - (get_local $0) - ) - (get_local $1) - (get_local $2) + (if + (i64.eq (get_local $3) + (i64.const 0) ) - ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.acos" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) + (set_local $2 + (i32.const -60) ) - ) - (get_local $4) - ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.__R" (; 45 ;) (type $ff) (param $0 f32) (result f32) - (f32.div - (f32.mul - (get_local $0) - (f32.add - (f32.const 0.16666586697101593) - (f32.mul - (get_local $0) - (f32.add - (f32.const -0.04274342209100723) - (f32.mul - (get_local $0) - (f32.const -0.008656363002955914) + (loop $continue|4 + (if + (i64.eq + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 0) ) - ) - ) - ) - ) - (f32.add - (f32.const 1) - (f32.mul - (get_local $0) - (f32.const -0.7066296339035034) - ) - ) - ) - ) - (func "$(lib)/math/NativeMathf.acos" (; 46 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (local $2 i32) - (local $3 f32) - (local $4 i32) - (if - (i32.ge_u - (tee_local $2 - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (get_local $0) + (block + (set_local $3 + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|4) ) ) - (i32.const 2147483647) ) ) - (i32.const 1065353216) ) - (block - (if - (i32.eq - (get_local $2) - (i32.const 1065353216) - ) - (block - (if - (i32.shr_u - (get_local $4) - (i32.const 31) + ) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $3 + (select + (i64.or + (i64.sub + (get_local $3) + (i64.const 4503599627370496) ) - (return - (f32.const 3.141592502593994) + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 52) ) ) - (return - (f32.const 0) + (i64.shr_u + (get_local $3) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $2) + ) + ) ) - ) - ) - (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) - (get_local $0) + (i32.gt_s + (get_local $2) + (i32.const 0) ) ) ) ) ) (if - (i32.lt_u - (get_local $2) - (i32.const 1056964608) - ) - (block - (if - (i32.le_u - (get_local $2) - (i32.const 847249408) - ) - (return - (f32.const 1.570796251296997) - ) - ) - (return - (f32.sub - (f32.const 1.570796251296997) - (f32.sub - (get_local $0) - (f32.sub - (f32.const 7.549789415861596e-08) - (f32.mul - (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - ) - ) + (get_local $4) + (set_local $1 + (f64.neg + (get_local $1) ) ) ) (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f32.mul - (f32.const 2) - (f32.sub - (f32.const 1.570796251296997) - (f32.add - (tee_local $1 - (f32.sqrt - (tee_local $0 - (f32.mul - (f32.add - (f32.const 1) - (get_local $0) - ) - (f32.const 0.5) - ) - ) + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (get_local $6) + ) + ) + (get_local $4) + (if (result i32) + (tee_local $4 + (i32.eq + (i32.add + (get_local $2) + (i32.const 1) ) + (get_local $6) ) - (f32.sub - (f32.mul - (call "$(lib)/math/NativeMathf.__R" + ) + (if (result i32) + (tee_local $4 + (f64.gt + (f64.mul + (f64.const 2) (get_local $0) ) (get_local $1) ) - (f32.const 7.549789415861596e-08) ) - ) - ) - ) - ) - ) - (f32.mul - (f32.const 2) - (f32.add - (tee_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (tee_local $1 - (f32.sqrt - (tee_local $0 - (f32.mul - (f32.sub - (f32.const 1) - (get_local $0) - ) - (f32.const 0.5) - ) + (get_local $4) + (if (result i32) + (tee_local $4 + (f64.eq + (f64.mul + (f64.const 2) + (get_local $0) ) + (get_local $1) ) ) + (i32.and + (get_local $7) + (i32.const 1) + ) + (get_local $4) ) - (i32.const -4096) ) + (get_local $4) ) ) - (f32.add - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $0) - ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.sub + (get_local $0) (get_local $1) ) - (f32.div - (f32.sub - (get_local $0) - (f32.mul - (get_local $3) - (get_local $3) - ) - ) - (f32.add - (get_local $1) - (get_local $3) - ) + ) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) ) ) ) ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $11) + ) ) - (func $std/math/test_acosf (; 47 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.acos" + (func $std/math/test_rem (; 40 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.rem" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 48 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) + (func "$(lib)/math/NativeMathf.rem" (; 41 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) - (local $4 f64) - (local $5 f64) + (local $4 i32) + (local $5 i32) (local $6 i32) - (local $7 i64) - (local $8 f64) - (set_local $2 - (i32.const 1) + (local $7 i32) + (local $8 f32) + (local $9 i32) + (local $10 i32) + (set_local $3 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $7 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $4 + (get_local $5) ) (if (i32.and (if (result i32) - (tee_local $6 - (i32.lt_u - (tee_local $3 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) + (tee_local $2 + (i32.and + (if (result i32) + (tee_local $2 + (i32.eqz + (i32.shl + (get_local $7) + (i32.const 1) ) - (i64.const 32) ) ) + (get_local $2) + (f32.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) ) - (i32.const 1071284858) + (i32.const 1) ) ) - (get_local $6) - (i32.shr_u + (get_local $2) + (i32.eq (get_local $3) - (i32.const 31) + (i32.const 255) ) ) (i32.const 1) ) - (block - (if - (i32.ge_u - (get_local $3) - (i32.const -1074790400) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) ) - (block + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (return + (get_local $0) + ) + ) + (set_local $4 + (if (result i32) + (get_local $3) + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $2 + (i32.shl + (get_local $4) + (i32.const 9) + ) + ) + (loop $continue|0 (if - (f64.eq - (get_local $0) - (f64.const -1) - ) - (return - (f64.div - (get_local $0) - (f64.const 0) + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 31) ) ) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) ) - (f64.const 0) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|0) ) ) ) + (i32.shl + (get_local $4) + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) ) - (if - (i32.lt_u + ) + ) + (set_local $9 + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + ) + (set_local $7 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $7) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $2 (i32.shl - (get_local $3) - (i32.const 1) + (get_local $7) + (i32.const 9) ) - (i32.const 2034237440) ) - (return - (get_local $0) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i32.shl + (get_local $7) + (i32.sub + (i32.const 1) + (get_local $6) + ) ) ) + ) + ) + (set_local $10 + (i32.shr_u + (get_local $5) + (i32.const 31) + ) + ) + (set_local $5 + (i32.const 0) + ) + (block $break|2 + (loop $continue|2 (if - (i32.le_u + (i32.lt_s (get_local $3) - (i32.const -1076707644) + (get_local $6) ) (block - (set_local $2 - (i32.const 0) + (br_if $break|2 + (i32.eq + (i32.add + (get_local $3) + (i32.const 1) + ) + (get_local $6) + ) ) - (set_local $1 + (return (get_local $0) ) ) ) - ) - (if - (i32.ge_u - (get_local $3) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - ) - ) - (if - (get_local $2) - (block - (set_local $5 - (if (result f64) - (i32.lt_s - (tee_local $2 - (i32.sub + (loop $continue|3 + (if + (i32.gt_s + (get_local $3) + (get_local $6) + ) + (block + (if + (i32.eqz (i32.shr_u - (tee_local $6 - (i32.add - (i32.wrap/i64 - (i64.shr_u - (tee_local $7 - (i64.reinterpret/f64 - (f64.add - (f64.const 1) - (get_local $0) - ) - ) - ) - (i64.const 32) - ) - ) - (i32.const 614242) + (tee_local $2 + (i32.sub + (get_local $4) + (get_local $7) ) ) - (i32.const 20) + (i32.const 31) ) - (i32.const 1023) ) - ) - (i32.const 54) - ) - (f64.div - (select - (f64.sub - (f64.const 1) - (f64.sub - (tee_local $1 - (f64.reinterpret/i64 - (get_local $7) - ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) ) - (get_local $0) ) ) - (f64.sub - (get_local $0) - (f64.sub - (get_local $1) - (f64.const 1) - ) + ) + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) ) - (i32.ge_s - (get_local $2) - (i32.const 2) + ) + (set_local $5 + (i32.shl + (get_local $5) + (i32.const 1) ) ) - (get_local $1) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|3) ) - (f64.const 0) ) ) - (set_local $1 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $6) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) + (if + (i32.eqz + (i32.shr_u + (tee_local $2 + (i32.sub + (get_local $4) + (get_local $7) + ) + ) + (i32.const 31) + ) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + ) + (if + (get_local $4) + (loop $continue|4 + (if + (i32.eqz + (i32.shr_u + (get_local $4) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) ) - (i64.const 32) ) - (i64.and - (get_local $7) - (i64.const 4294967295) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) ) + (br $continue|4) ) ) - (f64.const 1) + ) + (set_local $3 + (i32.const -30) ) ) ) ) (set_local $0 - (f64.mul - (tee_local $8 - (f64.mul - (tee_local $4 - (f64.div - (get_local $1) - (f64.add - (f64.const 2) - (get_local $1) - ) + (f32.reinterpret/i32 + (tee_local $4 + (select + (i32.or + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + (i32.shl + (get_local $3) + (i32.const 23) ) ) - (get_local $4) + (i32.shr_u + (get_local $4) + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) ) ) - (get_local $8) ) ) - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $4) - (f64.add - (tee_local $4 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $1) + (if + (get_local $9) + (set_local $1 + (f32.neg + (get_local $1) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $2 + (i32.eq + (get_local $3) + (get_local $6) + ) + ) + (get_local $2) + (if (result i32) + (tee_local $2 + (i32.eq + (i32.add + (get_local $3) + (i32.const 1) + ) + (get_local $6) + ) + ) + (if (result i32) + (tee_local $2 + (f32.gt + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $2) + (if (result i32) + (tee_local $2 + (f32.eq + (f32.mul + (f32.const 2) + (get_local $0) ) (get_local $1) ) ) - (f64.add - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $0) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) - ) + (i32.and + (i32.rem_s + (get_local $5) + (i32.const 2) ) + (i32.const 1) + ) + (get_local $2) + ) + ) + (get_local $2) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $10) + ) + ) + (func $std/math/test_remf (; 42 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) + (f64.abs + (get_local $0) + ) + ) + (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (f32.abs + (get_local $0) + ) + ) + (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (f64.div + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) (f64.mul (get_local $0) (f64.add - (f64.const 0.3999999999940942) + (f64.const -0.04005553450067941) (f64.mul (get_local $0) (f64.add - (f64.const 0.22222198432149784) + (f64.const 7.915349942898145e-04) (f64.mul (get_local $0) - (f64.const 0.15313837699209373) + (f64.const 3.479331075960212e-05) ) ) ) @@ -2262,365 +2518,365 @@ ) ) ) - (f64.add - (f64.mul - (tee_local $0 - (f64.convert_s/i32 - (get_local $2) + ) + ) + ) + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) ) ) - (f64.const 1.9082149292705877e-10) ) - (get_local $5) ) ) - (get_local $4) ) - (get_local $1) - ) - (f64.mul - (get_local $0) - (f64.const 0.6931471803691238) ) ) ) - (func "$(lib)/math/NativeMath.log" (; 49 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) + (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) (local $2 i32) - (local $3 i64) - (local $4 f64) - (local $5 i32) - (local $6 f64) - (local $7 f64) - (local $8 f64) + (local $3 f64) + (local $4 i32) (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.lt_u - (tee_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 32) ) ) - (i32.const 1048576) ) - ) - (get_local $5) - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.const 2147483647) ) ) - (i32.const 1) + (i32.const 1072693248) ) (block (if - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) ) - (i64.const 0) ) - (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.const 3.141592653589793) ) ) + (return + (f64.const 0) + ) ) ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.const 0) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) ) ) ) - (set_local $2 - (i32.sub + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.le_u (get_local $2) - (i32.const 54) + (i32.const 1012924416) + ) + (return + (f64.const 1.5707963267948966) ) ) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) ) ) ) - (i64.const 32) ) ) ) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eq - (get_local $1) - (i32.const 1072693248) + ) + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) + ) ) ) - (i64.eq - (i64.shl - (get_local $3) - (i64.const 32) + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) ) - (i64.const 0) - ) - (get_local $5) - ) - (i32.const 1) - ) - (return - (f64.const 0) - ) - ) - ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 614242) + (f64.const 6.123233995736766e-17) ) ) - (i32.const 20) ) - (i32.const 1023) ) ) ) - (set_local $6 - (f64.mul - (f64.mul - (f64.const 0.5) - (tee_local $4 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $1) - (i32.const 1048575) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) ) - (i32.const 1072079006) + (f64.const 0.5) ) ) - (i64.const 32) - ) - (i64.and - (get_local $3) - (i64.const 4294967295) ) ) ) - (f64.const 1) + (i64.const -4294967296) ) ) ) - (get_local $4) - ) - ) - (set_local $0 - (f64.mul - (tee_local $8 + (f64.add (f64.mul - (tee_local $7 - (f64.div - (get_local $4) - (f64.add - (f64.const 2) - (get_local $4) - ) + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.mul + (get_local $3) + (get_local $3) ) ) - (get_local $7) + (f64.add + (get_local $1) + (get_local $3) + ) ) ) - (get_local $8) ) ) - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (f64.add - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $0) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) - ) - ) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $0) - (f64.const 0.15313837699209373) - ) - ) - ) - ) - ) - ) - ) + ) + (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acos" + (get_local $0) ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) - ) - (f64.const 1.9082149292705877e-10) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acos" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (get_local $6) ) (get_local $4) ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) + (f32.div + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul + (get_local $0) + (f32.const -0.008656363002955914) + ) + ) + ) + ) + ) + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) ) - (f64.const 0.6931471803691238) ) ) ) - (func "$(lib)/math/NativeMath.acosh" (; 50 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 f32) + (local $4 i32) (if - (i64.lt_u - (tee_local $1 - (i64.and - (i64.shr_u - (i64.reinterpret/f64 + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 + (i32.reinterpret/f32 (get_local $0) ) - (i64.const 52) ) - (i64.const 2047) + (i32.const 2147483647) ) ) - (i64.const 1024) + (i32.const 1065353216) ) - (return - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sqrt - (f64.add - (f64.mul - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (f64.mul - (f64.const 2) - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f32.const 3.141592502593994) ) ) + (return + (f32.const 0) + ) + ) + ) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) ) ) ) ) (if - (i64.lt_u - (get_local $1) - (i64.const 1049) + (i32.lt_u + (get_local $2) + (i32.const 1056964608) ) - (return - (call "$(lib)/math/NativeMath.log" - (f64.sub - (f64.mul - (f64.const 2) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 847249408) + ) + (return + (f32.const 1.570796251296997) + ) + ) + (return + (f32.sub + (f32.const 1.570796251296997) + (f32.sub (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (get_local $0) - (f64.sqrt - (f64.sub - (f64.mul + (f32.sub + (f32.const 7.549789415861596e-08) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul (get_local $0) (get_local $0) ) - (f64.const 1) ) ) ) @@ -2629,54 +2885,112 @@ ) ) ) - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) + (if + (i32.shr_u + (get_local $4) + (i32.const 31) ) - (f64.const 0.6931471805599453) - ) - ) - (func $std/math/test_acosh (; 51 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.acosh" - (get_local $0) + (return + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + ) + ) + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) + ) + (get_local $1) + ) + (f32.const 7.549789415861596e-08) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (if (result i32) - (tee_local $4 - (i32.const 0) + ) + ) + (f32.mul + (f32.const 2) + (f32.add + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + ) + ) + ) + (i32.const -4096) + ) ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.acosh" + ) + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" (get_local $0) ) (get_local $1) - (get_local $2) - (get_local $3) + ) + (f32.div + (f32.sub + (get_local $0) + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + (f32.add + (get_local $1) + (get_local $3) + ) ) ) - (get_local $4) ) - (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 52 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) + (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) (local $2 i32) (local $3 i32) - (local $4 f32) - (local $5 f32) + (local $4 f64) + (local $5 f64) (local $6 i32) - (local $7 f32) + (local $7 i64) + (local $8 f64) (set_local $2 (i32.const 1) ) @@ -2686,11 +3000,16 @@ (tee_local $6 (i32.lt_u (tee_local $3 - (i32.reinterpret/f32 - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) ) ) - (i32.const 1054086096) + (i32.const 1071284858) ) ) (get_local $6) @@ -2705,28 +3024,28 @@ (if (i32.ge_u (get_local $3) - (i32.const -1082130432) + (i32.const -1074790400) ) (block (if - (f32.eq + (f64.eq (get_local $0) - (f32.const -1) + (f64.const -1) ) (return - (f32.div + (f64.div (get_local $0) - (f32.const 0) + (f64.const 0) ) ) ) (return - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) (get_local $0) ) - (f32.const 0) + (f64.const 0) ) ) ) @@ -2737,7 +3056,7 @@ (get_local $3) (i32.const 1) ) - (i32.const 1728053248) + (i32.const 2034237440) ) (return (get_local $0) @@ -2746,7 +3065,7 @@ (if (i32.le_u (get_local $3) - (i32.const -1097468391) + (i32.const -1076707644) ) (block (set_local $2 @@ -2761,7 +3080,7 @@ (if (i32.ge_u (get_local $3) - (i32.const 2139095040) + (i32.const 2146435072) ) (return (get_local $0) @@ -2772,45 +3091,54 @@ (get_local $2) (block (set_local $5 - (if (result f32) + (if (result f64) (i32.lt_s (tee_local $2 (i32.sub (i32.shr_u (tee_local $6 (i32.add - (i32.reinterpret/f32 - (tee_local $1 - (f32.add - (f32.const 1) - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) + ) ) + (i64.const 32) ) ) - (i32.const 4913933) + (i32.const 614242) ) ) - (i32.const 23) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) - (i32.const 25) + (i32.const 54) ) - (f32.div + (f64.div (select - (f32.sub - (f32.const 1) - (f32.sub - (get_local $1) + (f64.sub + (f64.const 1) + (f64.sub + (tee_local $1 + (f64.reinterpret/i64 + (get_local $7) + ) + ) (get_local $0) ) ) - (f32.sub + (f64.sub (get_local $0) - (f32.sub + (f64.sub (get_local $1) - (f32.const 1) + (f64.const 1) ) ) (i32.ge_s @@ -2820,34 +3148,45 @@ ) (get_local $1) ) - (f32.const 0) + (f64.const 0) ) ) (set_local $1 - (f32.sub - (f32.reinterpret/i32 - (i32.add - (i32.and - (get_local $6) - (i32.const 8388607) + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $7) + (i64.const 4294967295) ) - (i32.const 1060439283) ) ) - (f32.const 1) + (f64.const 1) ) ) ) ) (set_local $0 - (f32.mul - (tee_local $7 - (f32.mul + (f64.mul + (tee_local $8 + (f64.mul (tee_local $4 - (f32.div + (f64.div (get_local $1) - (f32.add - (f32.const 2) + (f64.add + (f64.const 2) (get_local $1) ) ) @@ -2855,57 +3194,75 @@ (get_local $4) ) ) - (get_local $7) + (get_local $8) ) ) - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul (get_local $4) - (f32.add + (f64.add (tee_local $4 - (f32.mul - (f32.mul - (f32.const 0.5) + (f64.mul + (f64.mul + (f64.const 0.5) (get_local $1) ) (get_local $1) ) ) - (f32.add - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul (get_local $0) - (f32.const 0.2849878668785095) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) ) ) ) - (f32.mul + (f64.mul (get_local $0) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul + (f64.add + (f64.const 0.3999999999940942) + (f64.mul (get_local $0) - (f32.const 0.24279078841209412) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) ) ) ) ) ) ) - (f32.add - (f32.mul + (f64.add + (f64.mul (tee_local $0 - (f32.convert_s/i32 + (f64.convert_s/i32 (get_local $2) ) ) - (f32.const 9.05800061445916e-06) + (f64.const 1.9082149292705877e-10) ) (get_local $5) ) @@ -2914,33 +3271,42 @@ ) (get_local $1) ) - (f32.mul + (f64.mul (get_local $0) - (f32.const 0.6931381225585938) + (f64.const 0.6931471803691238) ) ) ) - (func "$(lib)/math/NativeMathf.log" (; 53 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 f32) - (local $6 i32) + (local $3 i64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) (if (i32.and (if (result i32) - (tee_local $6 + (tee_local $5 (i32.lt_u (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) ) ) - (i32.const 8388608) + (i32.const 1048576) ) ) - (get_local $6) + (get_local $5) (i32.shr_u (get_local $1) (i32.const 31) @@ -2950,16 +3316,17 @@ ) (block (if - (i32.eqz - (i32.shl - (get_local $1) - (i32.const 1) + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) ) + (i64.const 0) ) (return - (f32.div - (f32.const -1) - (f32.mul + (f64.div + (f64.const -1) + (f64.mul (get_local $0) (get_local $0) ) @@ -2972,26 +3339,33 @@ (i32.const 31) ) (return - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) (get_local $0) ) - (f32.const 0) + (f64.const 0) ) ) ) (set_local $2 (i32.sub (get_local $2) - (i32.const 25) + (i32.const 54) ) ) (set_local $1 - (i32.reinterpret/f32 - (f32.mul - (get_local $0) - (f32.const 33554432) + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) ) ) ) @@ -2999,18 +3373,33 @@ (if (i32.ge_u (get_local $1) - (i32.const 2139095040) + (i32.const 2146435072) ) (return (get_local $0) ) (if - (i32.eq - (get_local $1) - (i32.const 1065353216) + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $1) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $3) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $5) + ) + (i32.const 1) ) (return - (f32.const 0) + (f64.const 0) ) ) ) @@ -3023,144 +3412,177 @@ (tee_local $1 (i32.add (get_local $1) - (i32.const 4913933) + (i32.const 614242) ) ) - (i32.const 23) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) ) - (set_local $3 - (f32.mul - (tee_local $5 - (f32.mul - (tee_local $4 - (f32.div - (tee_local $0 - (f32.sub - (f32.reinterpret/i32 + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $4 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 (i32.add (i32.and (get_local $1) - (i32.const 8388607) + (i32.const 1048575) ) - (i32.const 1060439283) + (i32.const 1072079006) ) ) - (f32.const 1) + (i64.const 32) + ) + (i64.and + (get_local $3) + (i64.const 4294967295) ) - ) - (f32.add - (f32.const 2) - (get_local $0) ) ) + (f64.const 1) ) - (get_local $4) ) ) - (get_local $5) + (get_local $4) ) ) - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $4) - (f32.add - (tee_local $4 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $0) - ) - (get_local $0) - ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $4) + (f64.add + (f64.const 2) + (get_local $4) ) - (f32.add - (f32.mul - (get_local $5) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $3) - (f32.const 0.2849878668785095) + ) + ) + (get_local $7) + ) + ) + (get_local $8) + ) + ) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) ) ) ) - (f32.mul - (get_local $3) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $3) - (f32.const 0.24279078841209412) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) ) ) ) ) ) ) - (f32.mul - (tee_local $3 - (f32.convert_s/i32 - (get_local $2) - ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) ) - (f32.const 9.05800061445916e-06) + (f64.const 1.9082149292705877e-10) ) ) - (get_local $4) + (get_local $6) ) - (get_local $0) + (get_local $4) ) - (f32.mul - (get_local $3) - (f32.const 0.6931381225585938) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 0.6931471803691238) ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 54 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) (if - (i32.lt_u + (i64.lt_u (tee_local $1 - (i32.and - (i32.reinterpret/f32 - (get_local $0) + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) ) - (i32.const 2147483647) + (i64.const 2047) ) ) - (i32.const 1073741824) + (i64.const 1024) ) (return - (call "$(lib)/math/NativeMathf.log1p" - (f32.add - (f32.sub + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) - (f32.sqrt - (f32.add - (f32.mul - (f32.sub + (f64.sqrt + (f64.add + (f64.mul + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) - (f32.sub + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) ) - (f32.mul - (f32.const 2) - (f32.sub + (f64.mul + (f64.const 2) + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) ) ) @@ -3170,28 +3592,28 @@ ) ) (if - (i32.lt_u + (i64.lt_u (get_local $1) - (i32.const 1166016512) + (i64.const 1049) ) (return - (call "$(lib)/math/NativeMathf.log" - (f32.sub - (f32.mul - (f32.const 2) + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) (get_local $0) ) - (f32.div - (f32.const 1) - (f32.add + (f64.div + (f64.const 1) + (f64.add (get_local $0) - (f32.sqrt - (f32.sub - (f32.mul + (f64.sqrt + (f64.sub + (f64.mul (get_local $0) (get_local $0) ) - (f32.const 1) + (f64.const 1) ) ) ) @@ -3200,406 +3622,587 @@ ) ) ) - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) - ) - (f32.const 0.6931471824645996) - ) - ) - (func $std/math/test_acoshf (; 55 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.acosh" + (f64.add + (call "$(lib)/math/NativeMath.log" (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) + (f64.const 0.6931471805599453) ) ) - (func "$(lib)/math/NativeMath.asin" (; 56 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (if - (i32.ge_u - (tee_local $2 - (i32.and - (tee_local $3 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) - ) + (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) ) - (i32.const 2147483647) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (i32.const 1072693248) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (set_local $2 + (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 1054086096) + ) + ) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (i32.const 1) ) (block (if - (i32.eqz - (i32.or - (i32.sub - (get_local $2) - (i32.const 1072693248) + (i32.ge_u + (get_local $3) + (i32.const -1082130432) + ) + (block + (if + (f32.eq + (get_local $0) + (f32.const -1) ) - (i32.wrap/i64 - (i64.reinterpret/f64 + (return + (f32.div (get_local $0) + (f32.const 0) ) ) ) - ) - (return - (f64.add - (f64.mul - (get_local $0) - (f64.const 1.5707963267948966) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) ) - (f64.const 7.52316384526264e-37) ) ) ) - (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) + (if + (i32.lt_u + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 1728053248) + ) + (return + (get_local $0) + ) + ) + (if + (i32.le_u + (get_local $3) + (i32.const -1097468391) + ) + (block + (set_local $2 + (i32.const 0) + ) + (set_local $1 (get_local $0) ) ) ) ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) ) (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) - ) + (get_local $2) (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 1045430272) + (set_local $5 + (if (result f32) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.reinterpret/f32 + (tee_local $1 + (f32.add + (f32.const 1) + (get_local $0) + ) + ) + ) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) ) ) - (i32.ge_u - (get_local $2) - (i32.const 1048576) - ) - (get_local $3) + (i32.const 25) ) - (i32.const 1) - ) - (return - (get_local $0) - ) - ) - (return - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) + (f32.div + (select + (f32.sub + (f32.const 1) + (f32.sub + (get_local $1) + (get_local $0) + ) + ) + (f32.sub (get_local $0) + (f32.sub + (get_local $1) + (f32.const 1) + ) + ) + (i32.ge_s + (get_local $2) + (i32.const 2) ) ) + (get_local $1) ) + (f32.const 0) ) ) - ) - ) - (set_local $0 - (f64.sqrt - (tee_local $1 - (f64.mul - (f64.sub - (f64.const 1) - (f64.abs - (get_local $0) + (set_local $1 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 8388607) + ) + (i32.const 1060439283) ) ) - (f64.const 0.5) + (f32.const 1) ) ) ) ) - (set_local $4 - (call "$(lib)/math/NativeMath.__R" - (get_local $1) - ) - ) (set_local $0 - (if (result f64) - (i32.ge_u - (get_local $2) - (i32.const 1072640819) - ) - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.mul - (f64.const 2) - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (get_local $4) + (f32.mul + (tee_local $7 + (f32.mul + (tee_local $4 + (f32.div + (get_local $1) + (f32.add + (f32.const 2) + (get_local $1) ) ) ) - (f64.const 6.123233995736766e-17) + (get_local $4) ) ) - (f64.sub - (f64.const 0.7853981633974483) - (f64.sub - (f64.sub - (f64.mul - (f64.mul - (f64.const 2) - (get_local $0) - ) - (get_local $4) - ) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (f64.const 2) - (f64.div - (f64.sub + (get_local $7) + ) + ) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 + (f32.mul + (f32.mul + (f32.const 0.5) (get_local $1) - (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const -4294967296) - ) - ) - ) - (get_local $1) + ) + (get_local $1) + ) + ) + (f32.add + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $0) + (f32.const 0.2849878668785095) ) ) - (f64.add - (get_local $0) - (get_local $1) + ) + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $0) + (f32.const 0.24279078841209412) + ) ) ) ) ) ) - (f64.sub - (f64.const 0.7853981633974483) - (f64.mul - (f64.const 2) - (get_local $1) + (f32.add + (f32.mul + (tee_local $0 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (f32.const 9.05800061445916e-06) ) + (get_local $5) ) ) + (get_local $4) ) + (get_local $1) ) - ) - (if - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - (return - (f64.neg - (get_local $0) - ) + (f32.mul + (get_local $0) + (f32.const 0.6931381225585938) ) ) - (get_local $0) ) - (func $std/math/test_asin (; 57 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.asin" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) + (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (if + (i32.and (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.asin" - (get_local $0) + (tee_local $6 + (i32.lt_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 8388608) ) + ) + (get_local $6) + (i32.shr_u (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 31) ) ) - (get_local $4) + (i32.const 1) ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.asin" (; 58 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f64) - (if - (i32.ge_u - (tee_local $1 - (i32.and - (tee_local $2 - (i32.reinterpret/f32 + (block + (if + (i32.eqz + (i32.shl + (get_local $1) + (i32.const 1) + ) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) (get_local $0) ) ) - (i32.const 2147483647) ) ) - (i32.const 1065353216) - ) - (block (if - (i32.eq + (i32.shr_u (get_local $1) - (i32.const 1065353216) + (i32.const 31) ) (return - (f32.add - (f32.mul + (f32.div + (f32.sub + (get_local $0) (get_local $0) - (f32.const 1.5707963705062866) ) - (f32.const 7.52316384526264e-37) + (f32.const 0) ) ) ) - (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul (get_local $0) + (f32.const 33554432) ) ) ) ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1056964608) - ) - (block + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) (if - (i32.and - (if (result i32) - (tee_local $2 - (i32.lt_u - (get_local $1) - (i32.const 964689920) - ) - ) - (i32.ge_u - (get_local $1) - (i32.const 8388608) - ) - (get_local $2) - ) - (i32.const 1) + (i32.eq + (get_local $1) + (i32.const 1065353216) ) (return - (get_local $0) + (f32.const 0) ) ) - (return - (f32.add - (get_local $0) - (f32.mul - (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4913933) ) ) + (i32.const 23) ) + (i32.const 127) ) ) ) - (set_local $0 - (f32.demote/f64 - (f64.sub - (f64.const 1.5707963705062866) - (f64.mul - (f64.const 2) - (f64.add - (tee_local $3 - (f64.sqrt - (f64.promote/f32 - (tee_local $0 - (f32.mul - (f32.sub - (f32.const 1) - (f32.abs - (get_local $0) - ) + (set_local $3 + (f32.mul + (tee_local $5 + (f32.mul + (tee_local $4 + (f32.div + (tee_local $0 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) ) - (f32.const 0.5) + (i32.const 1060439283) ) ) + (f32.const 1) ) ) + (f32.add + (f32.const 2) + (get_local $0) + ) ) - (f64.mul - (get_local $3) - (f64.promote/f32 - (call "$(lib)/math/NativeMathf.__R" + ) + (get_local $4) + ) + ) + (get_local $5) + ) + ) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $0) + ) (get_local $0) ) ) + (f32.add + (f32.mul + (get_local $5) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $3) + (f32.const 0.2849878668785095) + ) + ) + ) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $3) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + ) + ) + (f32.mul + (tee_local $3 + (f32.convert_s/i32 + (get_local $2) + ) ) + (f32.const 9.05800061445916e-06) ) ) + (get_local $4) ) + (get_local $0) + ) + (f32.mul + (get_local $3) + (f32.const 0.6931381225585938) ) ) + ) + (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (if - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.lt_u + (tee_local $1 + (i32.and + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1073741824) ) (return - (f32.neg - (get_local $0) + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + ) + ) + ) ) ) ) - (get_local $0) + (if + (i32.lt_u + (get_local $1) + (i32.const 1166016512) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) ) - (func $std/math/test_asinf (; 59 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.asin" + (call "$(lib)/math/NativeMathf.acosh" (get_local $0) ) (get_local $1) @@ -3607,131 +4210,222 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.asinh" (; 60 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i64) - (local $3 i64) - (set_local $1 - (i64.and - (i64.shr_u - (tee_local $2 - (i64.reinterpret/f64 + (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 1072693248) + ) + (block + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.const 7.52316384526264e-37) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) (get_local $0) ) ) - (i64.const 52) ) - (i64.const 2047) ) ) - (set_local $3 - (i64.shr_u + (if + (i32.lt_u (get_local $2) - (i64.const 63) + (i32.const 1071644672) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) ) ) (set_local $0 - (f64.reinterpret/i64 - (i64.and - (get_local $2) - (i64.const 9223372036854775807) + (f64.sqrt + (tee_local $1 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) + ) + ) + (f64.const 0.5) + ) ) ) ) - (if - (i64.ge_u + (set_local $4 + (call "$(lib)/math/NativeMath.__R" (get_local $1) - (i64.const 1049) - ) - (set_local $0 - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (f64.const 0.6931471805599453) - ) ) - (if - (i64.ge_u - (get_local $1) - (i64.const 1024) + ) + (set_local $0 + (if (result f64) + (i32.ge_u + (get_local $2) + (i32.const 1072640819) ) - (set_local $0 - (call "$(lib)/math/NativeMath.log" - (f64.add - (f64.mul - (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) - ) - ) + (f64.mul (get_local $0) + (get_local $4) ) ) ) + (f64.const 6.123233995736766e-17) ) ) - (if - (i64.ge_u - (get_local $1) - (i64.const 997) - ) - (set_local $0 - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (get_local $0) - (f64.div - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $4) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (f64.div + (f64.sub + (get_local $1) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const -4294967296) + ) + ) ) - (f64.const 1) + (get_local $1) ) ) - (f64.const 1) + (f64.add + (get_local $0) + (get_local $1) + ) ) ) ) ) + (f64.sub + (f64.const 0.7853981633974483) + (f64.mul + (f64.const 2) + (get_local $1) + ) + ) ) ) ) ) - (select - (f64.neg - (get_local $0) - ) - (get_local $0) - (i64.ne + (if + (i32.shr_u (get_local $3) - (i64.const 0) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) + ) ) ) + (get_local $0) ) - (func $std/math/test_asinh (; 61 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.asinh" + (call "$(lib)/math/NativeMath.asin" (get_local $0) ) (get_local $1) @@ -3745,7 +4439,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.asinh" + (call "$(lib)/math/JSMath.asin" (get_local $0) ) (get_local $1) @@ -3758,81 +4452,380 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.asinh" (; 62 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (set_local $1 - (i32.and - (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 2147483647) - ) - ) - (set_local $2 - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) - ) - ) + (local $3 f64) (if (i32.ge_u - (get_local $1) - (i32.const 1166016512) - ) - (set_local $0 - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) + (tee_local $1 + (i32.and + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) ) - (f32.const 0.6931471824645996) ) + (i32.const 1065353216) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 1073741824) - ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log" + (block + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return (f32.add (f32.mul - (f32.const 2) (get_local $0) + (f32.const 1.5707963705062866) ) - (f32.div - (f32.const 1) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (get_local $0) - ) - ) + (f32.const 7.52316384526264e-37) ) ) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 964689920) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log1p" - (f32.add + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1056964608) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (get_local $1) + (i32.const 964689920) + ) + ) + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (get_local $2) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f32.add + (get_local $0) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.const 1.5707963705062866) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.sqrt + (f64.promote/f32 + (tee_local $0 + (f32.mul + (f32.sub + (f32.const 1) + (f32.abs + (get_local $0) + ) + ) + (f32.const 0.5) + ) + ) + ) + ) + ) + (f64.mul + (get_local $3) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f32.neg + (get_local $0) + ) + ) + ) + (get_local $0) + ) + (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (set_local $1 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1049) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) + ) + (f64.const 0.6931471805599453) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1024) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 997) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (i64.ne + (get_local $3) + (i64.const 0) + ) + ) + ) + (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $1 + (i32.and + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1166016512) + ) + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1073741824) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log" + (f32.add + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 964689920) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add (get_local $0) (f32.div (f32.mul @@ -3866,7 +4859,7 @@ (get_local $2) ) ) - (func $std/math/test_asinhf (; 63 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.asinh" (get_local $0) @@ -3876,7 +4869,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.atan" (; 64 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4236,7 +5229,7 @@ (get_local $4) ) ) - (func $std/math/test_atan (; 65 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -4269,7 +5262,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.atan" (; 66 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 f32) @@ -4588,7 +5581,7 @@ (get_local $4) ) ) - (func $std/math/test_atanf (; 67 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.atan" (get_local $0) @@ -4598,7 +5591,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 68 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 73 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4781,7 +5774,7 @@ ) ) ) - (func $std/math/test_cbrt (; 69 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cbrt (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -4814,7 +5807,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 70 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 75 ;) (type $ff) (param $0 f32) (result f32) (local $1 f64) (local $2 f64) (local $3 i32) @@ -4966,7 +5959,7 @@ ) ) ) - (func $std/math/test_cbrtf (; 71 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_cbrtf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.cbrt" (get_local $0) @@ -4976,7 +5969,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.expm1" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.expm1" (; 77 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -5419,7 +6412,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.exp" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.exp" (; 78 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 f64) (local $3 i32) @@ -5626,7 +6619,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__expo2" (; 79 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (f64.mul (f64.mul @@ -5643,7 +6636,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 75 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cosh" (; 80 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i64) (set_local $0 @@ -5730,7 +6723,7 @@ (get_local $0) ) ) - (func $std/math/test_cosh (; 76 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cosh (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -5763,7 +6756,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.expm1" (; 82 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) (local $3 i32) @@ -6176,7 +7169,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.exp" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.exp" (; 83 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -6369,7 +7362,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMathf.__expo2" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__expo2" (; 84 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (f32.mul (f32.mul @@ -6386,7 +7379,7 @@ (get_local $1) ) ) - (func "$(lib)/math/NativeMathf.cosh" (; 80 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cosh" (; 85 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (set_local $0 (f32.reinterpret/i32 @@ -6465,7 +7458,7 @@ (get_local $0) ) ) - (func $std/math/test_coshf (; 81 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_coshf (; 86 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.cosh" (get_local $0) @@ -6475,7 +7468,7 @@ (get_local $3) ) ) - (func $std/math/test_exp (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_exp (; 87 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -6508,7 +7501,7 @@ (i32.const 1) ) ) - (func $std/math/test_expf (; 83 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.exp" (get_local $0) @@ -6518,7 +7511,7 @@ (get_local $3) ) ) - (func $std/math/test_expm1 (; 84 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_expm1 (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -6551,7 +7544,7 @@ (i32.const 1) ) ) - (func $std/math/test_expm1f (; 85 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expm1f (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.expm1" (get_local $0) @@ -6561,7 +7554,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.hypot" (; 86 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.hypot" (; 91 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 f64) (local $3 f64) (local $4 i64) @@ -6830,7 +7823,7 @@ ) ) ) - (func $std/math/test_hypot (; 87 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_hypot (; 92 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (i32.and (if (result i32) @@ -6865,7 +7858,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.hypot" (; 88 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.hypot" (; 93 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -7033,7 +8026,7 @@ ) ) ) - (func $std/math/test_hypotf (; 89 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_hypotf (; 94 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.hypot" (get_local $0) @@ -7044,7 +8037,7 @@ (get_local $4) ) ) - (func $std/math/test_log (; 90 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7077,7 +8070,7 @@ (i32.const 1) ) ) - (func $std/math/test_logf (; 91 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log" (get_local $0) @@ -7087,7 +8080,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log10" (; 92 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log10" (; 97 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 i32) @@ -7405,7 +8398,7 @@ (get_local $0) ) ) - (func $std/math/test_log10 (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7438,7 +8431,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log10" (; 94 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log10" (; 99 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -7678,7 +8671,7 @@ ) ) ) - (func $std/math/test_log10f (; 95 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log10" (get_local $0) @@ -7688,7 +8681,7 @@ (get_local $3) ) ) - (func $std/math/test_log1p (; 96 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -7721,7 +8714,7 @@ (i32.const 1) ) ) - (func $std/math/test_log1pf (; 97 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" (get_local $0) @@ -7731,7 +8724,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log2" (; 98 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 103 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -8037,7 +9030,7 @@ (get_local $1) ) ) - (func $std/math/test_log2 (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -8070,7 +9063,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 100 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 105 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -8298,7 +9291,7 @@ ) ) ) - (func $std/math/test_log2f (; 101 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log2" (get_local $0) @@ -8308,7 +9301,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.pow" (; 102 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.pow" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 f64) (local $3 f64) (local $4 i32) @@ -9707,7 +10700,7 @@ (f64.const 1.e+300) ) ) - (func $std/math/test_pow (; 103 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_pow (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (i32.and (if (result i32) @@ -9742,7 +10735,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.pow" (; 104 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.pow" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 f32) (local $3 f32) (local $4 i32) @@ -10907,7 +11900,7 @@ (f32.const 1000000015047466219876688e6) ) ) - (func $std/math/test_powf (; 105 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_powf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.pow" (get_local $0) @@ -10918,7 +11911,7 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.__murmurHash3" (; 106 ;) (type $II) (param $0 i64) (result i64) + (func "$(lib)/math/murmurHash3" (; 111 ;) (type $II) (param $0 i64) (result i64) (i64.xor (tee_local $0 (i64.mul @@ -10949,7 +11942,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.seedRandom" (; 107 ;) (type $Iv) (param $0 i64) + (func "$(lib)/math/NativeMath.seedRandom" (; 112 ;) (type $Iv) (param $0 i64) (if (i64.eqz (get_local $0) @@ -10958,38 +11951,44 @@ (call $abort (i32.const 0) (i32.const 32) - (i32.const 1055) + (i32.const 1030) (i32.const 4) ) (unreachable) ) ) - (set_global "$(lib)/math/NativeMath.random_seeded" + (set_global "$(lib)/math/random_seeded" (i32.const 1) ) - (set_global "$(lib)/math/NativeMath.random_state0" - (call "$(lib)/math/NativeMath.__murmurHash3" + (set_global "$(lib)/math/random_state0" + (call "$(lib)/math/murmurHash3" (get_local $0) ) ) - (set_global "$(lib)/math/NativeMath.random_state1" - (call "$(lib)/math/NativeMath.__murmurHash3" - (get_global "$(lib)/math/NativeMath.random_state0") + (set_global "$(lib)/math/random_state1" + (call "$(lib)/math/murmurHash3" + (get_global "$(lib)/math/random_state0") ) ) ) - (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 108 ;) (type $I) (result i64) + (func "$(lib)/math/NativeMath.random" (; 113 ;) (type $F) (result f64) (local $0 i64) (local $1 i64) + (if + (i32.eqz + (get_global "$(lib)/math/random_seeded") + ) + (unreachable) + ) (set_local $0 - (get_global "$(lib)/math/NativeMath.random_state0") + (get_global "$(lib)/math/random_state0") ) - (set_global "$(lib)/math/NativeMath.random_state0" + (set_global "$(lib)/math/random_state0" (tee_local $1 - (get_global "$(lib)/math/NativeMath.random_state1") + (get_global "$(lib)/math/random_state1") ) ) - (set_global "$(lib)/math/NativeMath.random_state1" + (set_global "$(lib)/math/random_state1" (tee_local $0 (i64.xor (i64.xor @@ -11017,23 +12016,14 @@ ) ) ) - (i64.add - (get_local $1) - (get_local $0) - ) - ) - (func "$(lib)/math/NativeMath.random" (; 109 ;) (type $F) (result f64) - (if - (i32.eqz - (get_global "$(lib)/math/NativeMath.random_seeded") - ) - (unreachable) - ) (f64.sub (f64.reinterpret/i64 (i64.or (i64.and - (call "$(lib)/math/NativeMath.__xorShift128Plus") + (i64.add + (get_local $1) + (get_local $0) + ) (i64.const 4503599627370495) ) (i64.const 4607182418800017408) @@ -11042,7 +12032,7 @@ (f64.const 1) ) ) - (func "$(lib)/math/NativeMath.sinh" (; 110 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sinh" (; 114 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i64) @@ -11161,7 +12151,7 @@ ) ) ) - (func $std/math/test_sinh (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sinh (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -11194,7 +12184,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.sinh" (; 112 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sinh" (; 116 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 f32) (local $3 i32) @@ -11302,7 +12292,7 @@ ) ) ) - (func $std/math/test_sinhf (; 113 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sinhf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.sinh" (get_local $0) @@ -11312,12 +12302,12 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.sqrt" (; 114 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sqrt" (; 118 ;) (type $FF) (param $0 f64) (result f64) (f64.sqrt (get_local $0) ) ) - (func $std/math/test_sqrt (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sqrt (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -11350,12 +12340,12 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.sqrt" (; 116 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sqrt" (; 120 ;) (type $ff) (param $0 f32) (result f32) (f32.sqrt (get_local $0) ) ) - (func $std/math/test_sqrtf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sqrtf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.sqrt" (get_local $0) @@ -11365,7 +12355,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.tanh" (; 118 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.tanh" (; 122 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -11479,181 +12469,3155 @@ ) ) ) - ) - (select - (f64.neg - (get_local $0) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $3) + ) + ) + (func $std/math/test_tanh (; 123 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.tanh" (; 124 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $2 + (i32.shr_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1057791828) + ) + (set_local $0 + (if (result f32) + (i32.gt_u + (get_local $1) + (i32.const 1092616192) + ) + (f32.add + (f32.const 1) + (f32.div + (f32.const 0) + (get_local $0) + ) + ) + (f32.sub + (f32.const 1) + (f32.div + (f32.const 2) + (f32.add + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + (f32.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1048757624) + ) + (set_local $0 + (f32.div + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (set_local $0 + (f32.div + (f32.neg + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const -2) + (get_local $0) + ) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $2) + ) + ) + (func $std/math/test_tanhf (; 125 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $start (; 126 ;) (type $v) + (local $0 i32) + (local $1 f64) + (local $2 i32) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 99) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 100) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 101) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 102) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 103) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 104) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 2147483647) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 2147483647) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -2) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 221) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 222) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 223) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 224) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const -inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 249) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 250) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 251) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const -inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 255) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 256) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 257) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) ) - (get_local $0) - (get_local $3) ) - ) - (func $std/math/test_tanh (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) ) - (get_local $4) + (unreachable) ) - (i32.const 1) ) - ) - (func "$(lib)/math/NativeMathf.tanh" (; 120 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (set_local $2 - (i32.shr_u - (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) ) - (i32.const 31) ) - ) - (set_local $0 - (f32.reinterpret/i32 - (tee_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.gt_u - (get_local $1) - (i32.const 1057791828) + (i32.eqz + (call $std/math/test_modf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) + ) ) - (set_local $0 - (if (result f32) - (i32.gt_u - (get_local $1) - (i32.const 1092616192) - ) - (f32.add - (f32.const 1) - (f32.div - (f32.const 0) - (get_local $0) - ) - ) - (f32.sub - (f32.const 1) - (f32.div - (f32.const 2) - (f32.add - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - (f32.const 2) - ) - ) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 271) + (i32.const 0) ) + (unreachable) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1048757624) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) ) - (set_local $0 - (f32.div - (tee_local $0 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - ) - (f32.add - (get_local $0) - (f32.const 2) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 272) + (i32.const 0) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 8388608) - ) - (set_local $0 - (f32.div - (f32.neg - (tee_local $0 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const -2) - (get_local $0) - ) - ) - ) - ) - (f32.add - (get_local $0) - (f32.const 2) - ) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) ) ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 273) + (i32.const 0) + ) + (unreachable) + ) ) - (select - (f32.neg - (get_local $0) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 274) + (i32.const 0) + ) + (unreachable) ) - (get_local $0) - (get_local $2) ) - ) - (func $std/math/test_tanhf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.tanh" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 275) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func $start (; 122 ;) (type $v) - (local $0 i32) - (local $1 f64) - (local $2 i32) (if (i32.eqz - (call $std/math/check - (f64.const 2.718281828459045) - (get_global "$(lib)/math/JSMath.E") - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) (i32.const 0) ) ) @@ -11661,7 +15625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 84) + (i32.const 276) (i32.const 0) ) (unreachable) @@ -11669,10 +15633,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.6931471805599453) - (get_global "$(lib)/math/JSMath.LN2") - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) (i32.const 0) ) ) @@ -11680,7 +15645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 85) + (i32.const 277) (i32.const 0) ) (unreachable) @@ -11688,10 +15653,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.302585092994046) - (get_global "$(lib)/math/JSMath.LN10") - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -11699,7 +15665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 86) + (i32.const 280) (i32.const 0) ) (unreachable) @@ -11707,10 +15673,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4426950408889634) - (get_global "$(lib)/math/JSMath.LOG2E") - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -11718,7 +15685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 87) + (i32.const 281) (i32.const 0) ) (unreachable) @@ -11726,10 +15693,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 3.141592653589793) - (get_global "$(lib)/math/JSMath.PI") - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -11737,7 +15705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 88) + (i32.const 282) (i32.const 0) ) (unreachable) @@ -11745,10 +15713,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.7071067811865476) - (get_global "$(lib)/math/JSMath.SQRT1_2") - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -11756,7 +15725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 89) + (i32.const 283) (i32.const 0) ) (unreachable) @@ -11764,10 +15733,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4142135623730951) - (get_global "$(lib)/math/JSMath.SQRT2") - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -11775,7 +15745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 90) + (i32.const 284) (i32.const 0) ) (unreachable) @@ -11783,11 +15753,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.06684839057968) - (i32.const -2) - (f64.const -2.01671209764492) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -11795,7 +15765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 99) + (i32.const 285) (i32.const 0) ) (unreachable) @@ -11803,11 +15773,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 4.345239849338305) - (i32.const -1) - (f64.const 2.1726199246691524) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -11815,7 +15785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 100) + (i32.const 286) (i32.const 0) ) (unreachable) @@ -11823,11 +15793,31 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.38143342755525) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) - (f64.const -8.38143342755525) - (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -11835,7 +15825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 101) + (i32.const 288) (i32.const 0) ) (unreachable) @@ -11843,11 +15833,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -6.531673581913484) - (i32.const 1) - (f64.const -13.063347163826968) - (f64.const 0) + (call $std/math/test_modf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -11855,7 +15845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 102) + (i32.const 289) (i32.const 0) ) (unreachable) @@ -11863,19 +15853,39 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 9.267056966972586) + (call $std/math/test_modf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) - (f64.const 37.06822786789034) - (f64.const 0) + ) + ) + (block + (call $abort (i32.const 0) + (i32.const 4) + (i32.const 290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 103) + (i32.const 291) (i32.const 0) ) (unreachable) @@ -11883,11 +15893,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.6619858980995045) - (i32.const 3) - (f64.const 5.295887184796036) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -11895,7 +15905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 104) + (i32.const 292) (i32.const 0) ) (unreachable) @@ -11903,11 +15913,31 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.4066039223853553) + (call $std/math/test_modf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) (i32.const 4) - (f64.const -6.505662758165685) - (f64.const 0) + (i32.const 293) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -11915,7 +15945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 105) + (i32.const 294) (i32.const 0) ) (unreachable) @@ -11923,11 +15953,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5617597462207241) - (i32.const 5) - (f64.const 17.97631187906317) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -11935,7 +15965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 106) + (i32.const 295) (i32.const 0) ) (unreachable) @@ -11943,11 +15973,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7741522965913037) - (i32.const 6) - (f64.const 49.545746981843436) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -11955,7 +15985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 107) + (i32.const 296) (i32.const 0) ) (unreachable) @@ -11963,11 +15993,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.6787637026394024) - (i32.const 7) - (f64.const -86.88175393784351) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -11975,7 +16005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 108) + (i32.const 297) (i32.const 0) ) (unreachable) @@ -11983,11 +16013,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const 2147483647) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -11995,7 +16025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 111) + (i32.const 298) (i32.const 0) ) (unreachable) @@ -12003,11 +16033,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const -2147483647) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -12015,7 +16045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 112) + (i32.const 299) (i32.const 0) ) (unreachable) @@ -12023,11 +16053,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0) - (i32.const 2147483647) - (f64.const -0) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -12035,7 +16065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 113) + (i32.const 300) (i32.const 0) ) (unreachable) @@ -12043,11 +16073,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -12055,7 +16085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 114) + (i32.const 301) (i32.const 0) ) (unreachable) @@ -12063,11 +16093,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 0) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const -2) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -12075,7 +16105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 115) + (i32.const 302) (i32.const 0) ) (unreachable) @@ -12083,19 +16113,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -inf) - (i32.const 0) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 116) + (i32.const 303) (i32.const 0) ) (unreachable) @@ -12103,19 +16133,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 117) + (i32.const 304) (i32.const 0) ) (unreachable) @@ -12123,11 +16153,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 1) - (f64.const 2) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -12135,7 +16165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 118) + (i32.const 305) (i32.const 0) ) (unreachable) @@ -12143,19 +16173,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 119) + (i32.const 306) (i32.const 0) ) (unreachable) @@ -12163,19 +16193,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) - (i32.const 17) + (call $std/math/test_modf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 120) + (i32.const 307) (i32.const 0) ) (unreachable) @@ -12183,11 +16213,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -12195,7 +16225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 121) + (i32.const 308) (i32.const 0) ) (unreachable) @@ -12203,11 +16233,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -12215,7 +16245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 122) + (i32.const 309) (i32.const 0) ) (unreachable) @@ -12223,11 +16253,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const -2147483647) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -12235,7 +16265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 123) + (i32.const 310) (i32.const 0) ) (unreachable) @@ -12243,19 +16273,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -inf) - (i32.const 2147483647) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 124) + (i32.const 311) (i32.const 0) ) (unreachable) @@ -12263,19 +16293,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 8988465674311579538646525e283) - (i32.const -2097) - (f64.const 5e-324) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 125) + (i32.const 312) (i32.const 0) ) (unreachable) @@ -12283,11 +16313,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 5e-324) - (i32.const 2097) - (f64.const 8988465674311579538646525e283) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -12295,7 +16325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 126) + (i32.const 313) (i32.const 0) ) (unreachable) @@ -12303,19 +16333,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1.000244140625) - (i32.const -1074) - (f64.const 5e-324) - (f64.const 0) - (i32.const 9) + (call $std/math/test_modf + (f32.const -0) + (f32.const -inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 127) + (i32.const 314) (i32.const 0) ) (unreachable) @@ -12323,19 +16353,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7499999999999999) - (i32.const -1073) - (f64.const 5e-324) - (f64.const 0) - (i32.const 9) + (call $std/math/test_modf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 128) + (i32.const 315) (i32.const 0) ) (unreachable) @@ -12343,19 +16373,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5000000000000012) - (i32.const -1024) - (f64.const 2.781342323134007e-309) - (f64.const 0) - (i32.const 9) + (call $std/math/test_modf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 129) + (i32.const 316) (i32.const 0) ) (unreachable) @@ -12363,19 +16393,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.066848754882812) - (i32.const -2) - (f32.const -2.016712188720703) + (call $std/math/test_modf + (f32.const -1) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 138) + (i32.const 317) (i32.const 0) ) (unreachable) @@ -12383,19 +16413,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 4.345239639282227) - (i32.const -1) - (f32.const 2.1726198196411133) + (call $std/math/test_modf + (f32.const inf) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 139) + (i32.const 318) (i32.const 0) ) (unreachable) @@ -12403,19 +16433,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.381433486938477) - (i32.const 0) - (f32.const -8.381433486938477) + (call $std/math/test_modf + (f32.const -inf) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 140) + (i32.const 319) (i32.const 0) ) (unreachable) @@ -12423,10 +16453,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -6.531673431396484) - (i32.const 1) - (f32.const -13.063346862792969) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12435,7 +16465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 141) + (i32.const 320) (i32.const 0) ) (unreachable) @@ -12443,19 +16473,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 9.267057418823242) - (i32.const 2) - (f32.const 37.06822967529297) + (call $std/math/test_modf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 142) + (i32.const 321) (i32.const 0) ) (unreachable) @@ -12463,19 +16493,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.6619858741760254) - (i32.const 3) - (f32.const 5.295886993408203) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 143) + (i32.const 322) (i32.const 0) ) (unreachable) @@ -12483,19 +16513,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.40660393238067627) - (i32.const 4) - (f32.const -6.50566291809082) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 144) + (i32.const 323) (i32.const 0) ) (unreachable) @@ -12503,10 +16533,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5617597699165344) - (i32.const 5) - (f32.const 17.9763126373291) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12515,7 +16545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 145) + (i32.const 324) (i32.const 0) ) (unreachable) @@ -12523,19 +16553,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7741522789001465) - (i32.const 6) - (f32.const 49.545745849609375) + (call $std/math/test_modf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 146) + (i32.const 325) (i32.const 0) ) (unreachable) @@ -12543,19 +16573,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.6787636876106262) - (i32.const 7) - (f32.const -86.88175201416016) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 147) + (i32.const 326) (i32.const 0) ) (unreachable) @@ -12563,10 +16593,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const 2147483647) - (f32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12575,7 +16605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 150) + (i32.const 327) (i32.const 0) ) (unreachable) @@ -12583,19 +16613,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const -2147483647) - (f32.const 0) + (call $std/math/test_modf + (f32.const -inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 151) + (i32.const 328) (i32.const 0) ) (unreachable) @@ -12603,19 +16633,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0) - (i32.const 2147483647) - (f32.const -0) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 152) + (i32.const 329) (i32.const 0) ) (unreachable) @@ -12623,9 +16653,9 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf + (call $std/math/test_modf + (f32.const -inf) (f32.const nan:0x400000) - (i32.const 0) (f32.const nan:0x400000) (f32.const 0) (i32.const 0) @@ -12635,7 +16665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 153) + (i32.const 330) (i32.const 0) ) (unreachable) @@ -12643,10 +16673,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 0) - (f32.const inf) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12655,7 +16685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 154) + (i32.const 331) (i32.const 0) ) (unreachable) @@ -12663,10 +16693,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -inf) - (i32.const 0) - (f32.const -inf) + (call $std/math/test_modf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12675,7 +16705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 155) + (i32.const 332) (i32.const 0) ) (unreachable) @@ -12683,10 +16713,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 0) - (f32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -12695,7 +16725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 156) + (i32.const 333) (i32.const 0) ) (unreachable) @@ -12703,10 +16733,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf + (call $std/math/test_modf + (f32.const 1) + (f32.const inf) (f32.const 1) - (i32.const 1) - (f32.const 2) (f32.const 0) (i32.const 0) ) @@ -12715,7 +16745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 157) + (i32.const 334) (i32.const 0) ) (unreachable) @@ -12723,10 +16753,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const -1) - (f32.const 0.5) + (call $std/math/test_modf + (f32.const -1) + (f32.const inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -12735,7 +16765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 158) + (i32.const 335) (i32.const 0) ) (unreachable) @@ -12743,19 +16773,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 2147483647) + (call $std/math/test_modf + (f32.const inf) (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 17) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 159) + (i32.const 336) (i32.const 0) ) (unreachable) @@ -12763,19 +16793,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const inf) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 160) + (i32.const 337) (i32.const 0) ) (unreachable) @@ -12783,10 +16813,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 2147483647) - (f32.const inf) + (call $std/math/test_modf + (f32.const 1) + (f32.const -inf) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -12795,7 +16825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 161) + (i32.const 338) (i32.const 0) ) (unreachable) @@ -12803,10 +16833,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const -2147483647) - (f32.const inf) + (call $std/math/test_modf + (f32.const -1) + (f32.const -inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -12815,7 +16845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 162) + (i32.const 339) (i32.const 0) ) (unreachable) @@ -12823,19 +16853,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -inf) - (i32.const 2147483647) + (call $std/math/test_modf + (f32.const inf) (f32.const -inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 163) + (i32.const 340) (i32.const 0) ) (unreachable) @@ -12843,19 +16873,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1701411834604692317316873e14) - (i32.const -276) - (f32.const 1.401298464324817e-45) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 164) + (i32.const 341) (i32.const 0) ) (unreachable) @@ -12863,10 +16893,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.401298464324817e-45) - (i32.const 276) - (f32.const 1701411834604692317316873e14) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -12875,7 +16905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 165) + (i32.const 342) (i32.const 0) ) (unreachable) @@ -12883,19 +16913,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.000244140625) - (i32.const -149) - (f32.const 1.401298464324817e-45) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 166) + (i32.const 343) (i32.const 0) ) (unreachable) @@ -12903,19 +16933,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7499999403953552) - (i32.const -148) - (f32.const 1.401298464324817e-45) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 167) + (i32.const 344) (i32.const 0) ) (unreachable) @@ -12923,19 +16953,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5000006556510925) - (i32.const -128) - (f32.const 1.4693693398263237e-39) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 168) + (i32.const 345) (i32.const 0) ) (unreachable) @@ -12943,10 +16973,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -8.06684839057968) (f64.const 4.535662560676869) - (f64.const -3.531185829902812) + (f64.const 1.0044767307740567) (f64.const 0) (i32.const 0) ) @@ -12955,7 +16985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 177) + (i32.const 354) (i32.const 0) ) (unreachable) @@ -12963,7 +16993,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 4.345239849338305) (f64.const -8.88799136300345) (f64.const 4.345239849338305) @@ -12975,7 +17005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 178) + (i32.const 355) (i32.const 0) ) (unreachable) @@ -12983,7 +17013,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -8.38143342755525) (f64.const -2.763607337379588) (f64.const -0.09061141541648476) @@ -12995,7 +17025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 179) + (i32.const 356) (i32.const 0) ) (unreachable) @@ -13003,7 +17033,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -6.531673581913484) (f64.const 4.567535276842744) (f64.const -1.9641383050707404) @@ -13015,7 +17045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 180) + (i32.const 357) (i32.const 0) ) (unreachable) @@ -13023,10 +17053,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 9.267056966972586) (f64.const 4.811392084359796) - (f64.const 4.45566488261279) + (f64.const -0.35572720174700656) (f64.const 0) (i32.const 0) ) @@ -13035,7 +17065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 181) + (i32.const 358) (i32.const 0) ) (unreachable) @@ -13043,10 +17073,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -6.450045556060236) (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) + (f64.const 0.17067236731650248) (f64.const 0) (i32.const 0) ) @@ -13055,7 +17085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 182) + (i32.const 359) (i32.const 0) ) (unreachable) @@ -13063,10 +17093,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 7.858890253041697) (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) + (f64.const -0.016443286217702822) (f64.const 0) (i32.const 0) ) @@ -13075,7 +17105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 183) + (i32.const 360) (i32.const 0) ) (unreachable) @@ -13083,7 +17113,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.792054511984896) (f64.const 7.67640268511754) (f64.const -0.792054511984896) @@ -13095,7 +17125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 184) + (i32.const 361) (i32.const 0) ) (unreachable) @@ -13103,7 +17133,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.615702673197924) (f64.const 2.0119025790324803) (f64.const 0.615702673197924) @@ -13115,7 +17145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 185) + (i32.const 362) (i32.const 0) ) (unreachable) @@ -13123,7 +17153,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5587586823609152) (f64.const 0.03223983060263804) (f64.const -0.0106815621160685) @@ -13135,7 +17165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 186) + (i32.const 363) (i32.const 0) ) (unreachable) @@ -13143,7 +17173,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const 1) (f64.const 0) @@ -13155,7 +17185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 189) + (i32.const 366) (i32.const 0) ) (unreachable) @@ -13163,7 +17193,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const 1) (f64.const -0) @@ -13175,7 +17205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 190) + (i32.const 367) (i32.const 0) ) (unreachable) @@ -13183,7 +17213,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.5) (f64.const 1) (f64.const 0.5) @@ -13195,7 +17225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 191) + (i32.const 368) (i32.const 0) ) (unreachable) @@ -13203,7 +17233,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5) (f64.const 1) (f64.const -0.5) @@ -13215,7 +17245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 192) + (i32.const 369) (i32.const 0) ) (unreachable) @@ -13223,7 +17253,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const 1) (f64.const 0) @@ -13235,7 +17265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 193) + (i32.const 370) (i32.const 0) ) (unreachable) @@ -13243,7 +17273,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const 1) (f64.const -0) @@ -13255,7 +17285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 194) + (i32.const 371) (i32.const 0) ) (unreachable) @@ -13263,10 +17293,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.5) (f64.const 1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -13275,7 +17305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 195) + (i32.const 372) (i32.const 0) ) (unreachable) @@ -13283,10 +17313,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.5) (f64.const 1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -13295,7 +17325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 196) + (i32.const 373) (i32.const 0) ) (unreachable) @@ -13303,7 +17333,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 2) (f64.const 1) (f64.const 0) @@ -13315,7 +17345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 197) + (i32.const 374) (i32.const 0) ) (unreachable) @@ -13323,7 +17353,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -2) (f64.const 1) (f64.const -0) @@ -13335,7 +17365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 198) + (i32.const 375) (i32.const 0) ) (unreachable) @@ -13343,7 +17373,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 1) (f64.const nan:0x8000000000000) @@ -13355,7 +17385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 199) + (i32.const 376) (i32.const 0) ) (unreachable) @@ -13363,7 +17393,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const 1) (f64.const nan:0x8000000000000) @@ -13375,7 +17405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 200) + (i32.const 377) (i32.const 0) ) (unreachable) @@ -13383,7 +17413,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const 1) (f64.const nan:0x8000000000000) @@ -13395,7 +17425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 201) + (i32.const 378) (i32.const 0) ) (unreachable) @@ -13403,7 +17433,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const -1) (f64.const 0) @@ -13415,7 +17445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 202) + (i32.const 379) (i32.const 0) ) (unreachable) @@ -13423,7 +17453,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const -1) (f64.const -0) @@ -13435,7 +17465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 203) + (i32.const 380) (i32.const 0) ) (unreachable) @@ -13443,7 +17473,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.5) (f64.const -1) (f64.const 0.5) @@ -13455,7 +17485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 204) + (i32.const 381) (i32.const 0) ) (unreachable) @@ -13463,7 +17493,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5) (f64.const -1) (f64.const -0.5) @@ -13475,7 +17505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 205) + (i32.const 382) (i32.const 0) ) (unreachable) @@ -13483,7 +17513,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const -1) (f64.const 0) @@ -13495,7 +17525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 206) + (i32.const 383) (i32.const 0) ) (unreachable) @@ -13503,7 +17533,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const -1) (f64.const -0) @@ -13515,7 +17545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 207) + (i32.const 384) (i32.const 0) ) (unreachable) @@ -13523,10 +17553,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.5) (f64.const -1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -13535,7 +17565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 208) + (i32.const 385) (i32.const 0) ) (unreachable) @@ -13543,10 +17573,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.5) (f64.const -1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -13555,7 +17585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 209) + (i32.const 386) (i32.const 0) ) (unreachable) @@ -13563,7 +17593,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 2) (f64.const -1) (f64.const 0) @@ -13575,7 +17605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 210) + (i32.const 387) (i32.const 0) ) (unreachable) @@ -13583,7 +17613,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -2) (f64.const -1) (f64.const -0) @@ -13595,7 +17625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 211) + (i32.const 388) (i32.const 0) ) (unreachable) @@ -13603,7 +17633,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -1) (f64.const nan:0x8000000000000) @@ -13615,7 +17645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 212) + (i32.const 389) (i32.const 0) ) (unreachable) @@ -13623,7 +17653,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const -1) (f64.const nan:0x8000000000000) @@ -13635,7 +17665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 213) + (i32.const 390) (i32.const 0) ) (unreachable) @@ -13643,7 +17673,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const -1) (f64.const nan:0x8000000000000) @@ -13655,7 +17685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 214) + (i32.const 391) (i32.const 0) ) (unreachable) @@ -13663,7 +17693,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13675,7 +17705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 215) + (i32.const 392) (i32.const 0) ) (unreachable) @@ -13683,7 +17713,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const -0) (f64.const nan:0x8000000000000) @@ -13695,7 +17725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 216) + (i32.const 393) (i32.const 0) ) (unreachable) @@ -13703,7 +17733,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const inf) (f64.const 0) @@ -13715,7 +17745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 217) + (i32.const 394) (i32.const 0) ) (unreachable) @@ -13723,7 +17753,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const -inf) (f64.const 0) @@ -13735,7 +17765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 218) + (i32.const 395) (i32.const 0) ) (unreachable) @@ -13743,7 +17773,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -13755,7 +17785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 219) + (i32.const 396) (i32.const 0) ) (unreachable) @@ -13763,7 +17793,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13775,7 +17805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 220) + (i32.const 397) (i32.const 0) ) (unreachable) @@ -13783,7 +17813,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const -0) (f64.const nan:0x8000000000000) @@ -13795,7 +17825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 221) + (i32.const 398) (i32.const 0) ) (unreachable) @@ -13803,7 +17833,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const inf) (f64.const -0) @@ -13815,7 +17845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 222) + (i32.const 399) (i32.const 0) ) (unreachable) @@ -13823,7 +17853,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const -inf) (f64.const -0) @@ -13835,7 +17865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 223) + (i32.const 400) (i32.const 0) ) (unreachable) @@ -13843,7 +17873,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -13855,7 +17885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 224) + (i32.const 401) (i32.const 0) ) (unreachable) @@ -13863,7 +17893,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13875,7 +17905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 225) + (i32.const 402) (i32.const 0) ) (unreachable) @@ -13883,7 +17913,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13895,7 +17925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 226) + (i32.const 403) (i32.const 0) ) (unreachable) @@ -13903,7 +17933,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13915,7 +17945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 227) + (i32.const 404) (i32.const 0) ) (unreachable) @@ -13923,7 +17953,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13935,7 +17965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 228) + (i32.const 405) (i32.const 0) ) (unreachable) @@ -13943,7 +17973,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const 0) (f64.const nan:0x8000000000000) @@ -13955,7 +17985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 229) + (i32.const 406) (i32.const 0) ) (unreachable) @@ -13963,7 +17993,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const -0) (f64.const nan:0x8000000000000) @@ -13975,7 +18005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 230) + (i32.const 407) (i32.const 0) ) (unreachable) @@ -13983,7 +18013,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -0) (f64.const nan:0x8000000000000) @@ -13995,7 +18025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 231) + (i32.const 408) (i32.const 0) ) (unreachable) @@ -14003,7 +18033,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const -0) (f64.const nan:0x8000000000000) @@ -14015,7 +18045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 232) + (i32.const 409) (i32.const 0) ) (unreachable) @@ -14023,7 +18053,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const -0) (f64.const nan:0x8000000000000) @@ -14035,7 +18065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 233) + (i32.const 410) (i32.const 0) ) (unreachable) @@ -14043,7 +18073,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 2) (f64.const nan:0x8000000000000) @@ -14055,7 +18085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 234) + (i32.const 411) (i32.const 0) ) (unreachable) @@ -14063,7 +18093,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -0.5) (f64.const nan:0x8000000000000) @@ -14075,7 +18105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 235) + (i32.const 412) (i32.const 0) ) (unreachable) @@ -14083,7 +18113,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -14095,7 +18125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 236) + (i32.const 413) (i32.const 0) ) (unreachable) @@ -14103,7 +18133,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const 2) (f64.const nan:0x8000000000000) @@ -14115,7 +18145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 237) + (i32.const 414) (i32.const 0) ) (unreachable) @@ -14123,7 +18153,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const -0.5) (f64.const nan:0x8000000000000) @@ -14135,7 +18165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 238) + (i32.const 415) (i32.const 0) ) (unreachable) @@ -14143,7 +18173,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -14155,7 +18185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 239) + (i32.const 416) (i32.const 0) ) (unreachable) @@ -14163,7 +18193,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -14175,7 +18205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 240) + (i32.const 417) (i32.const 0) ) (unreachable) @@ -14183,7 +18213,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -14195,7 +18225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 241) + (i32.const 418) (i32.const 0) ) (unreachable) @@ -14203,7 +18233,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -14215,7 +18245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 242) + (i32.const 419) (i32.const 0) ) (unreachable) @@ -14223,7 +18253,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const inf) (f64.const 1) @@ -14235,7 +18265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 243) + (i32.const 420) (i32.const 0) ) (unreachable) @@ -14243,7 +18273,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const inf) (f64.const -1) @@ -14255,7 +18285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 244) + (i32.const 421) (i32.const 0) ) (unreachable) @@ -14263,7 +18293,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const inf) (f64.const nan:0x8000000000000) @@ -14275,7 +18305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 245) + (i32.const 422) (i32.const 0) ) (unreachable) @@ -14283,7 +18313,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const inf) (f64.const nan:0x8000000000000) @@ -14295,7 +18325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 246) + (i32.const 423) (i32.const 0) ) (unreachable) @@ -14303,7 +18333,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const -inf) (f64.const 1) @@ -14315,7 +18345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 247) + (i32.const 424) (i32.const 0) ) (unreachable) @@ -14323,7 +18353,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const -inf) (f64.const -1) @@ -14335,7 +18365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 248) + (i32.const 425) (i32.const 0) ) (unreachable) @@ -14343,7 +18373,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -inf) (f64.const nan:0x8000000000000) @@ -14355,7 +18385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 249) + (i32.const 426) (i32.const 0) ) (unreachable) @@ -14363,7 +18393,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -inf) (f64.const -inf) (f64.const nan:0x8000000000000) @@ -14375,7 +18405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 250) + (i32.const 427) (i32.const 0) ) (unreachable) @@ -14383,10 +18413,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.75) (f64.const 0.5) - (f64.const 0.25) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -14395,7 +18425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 251) + (i32.const 428) (i32.const 0) ) (unreachable) @@ -14403,10 +18433,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.75) (f64.const 0.5) - (f64.const -0.25) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -14415,7 +18445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 252) + (i32.const 429) (i32.const 0) ) (unreachable) @@ -14423,10 +18453,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.75) (f64.const -0.5) - (f64.const 0.25) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -14435,7 +18465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 253) + (i32.const 430) (i32.const 0) ) (unreachable) @@ -14443,10 +18473,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.75) (f64.const -0.5) - (f64.const -0.25) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -14455,7 +18485,27 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 254) + (i32.const 431) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_rem + (f64.const 8e-323) + (f64.const inf) + (f64.const 8e-323) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 432) (i32.const 0) ) (unreachable) @@ -14463,10 +18513,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const -3.531186103820801) + (f32.const 1.004476547241211) (f32.const 0) (i32.const 0) ) @@ -14475,7 +18525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 263) + (i32.const 441) (i32.const 0) ) (unreachable) @@ -14483,7 +18533,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 4.345239639282227) (f32.const -8.887990951538086) (f32.const 4.345239639282227) @@ -14495,7 +18545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 264) + (i32.const 442) (i32.const 0) ) (unreachable) @@ -14503,7 +18553,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) (f32.const -0.09061169624328613) @@ -14515,7 +18565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 265) + (i32.const 443) (i32.const 0) ) (unreachable) @@ -14523,7 +18573,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -6.531673431396484) (f32.const 4.567535400390625) (f32.const -1.9641380310058594) @@ -14535,7 +18585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 266) + (i32.const 444) (i32.const 0) ) (unreachable) @@ -14543,10 +18593,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const 4.455665111541748) + (f32.const -0.3557271957397461) (f32.const 0) (i32.const 0) ) @@ -14555,7 +18605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 267) + (i32.const 445) (i32.const 0) ) (unreachable) @@ -14563,10 +18613,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) + (f32.const 0.17067205905914307) (f32.const 0) (i32.const 0) ) @@ -14575,7 +18625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 268) + (i32.const 446) (i32.const 0) ) (unreachable) @@ -14583,10 +18633,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) + (f32.const -0.016443386673927307) (f32.const 0) (i32.const 0) ) @@ -14595,7 +18645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 269) + (i32.const 447) (i32.const 0) ) (unreachable) @@ -14603,7 +18653,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) (f32.const -0.7920545339584351) @@ -14615,7 +18665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 270) + (i32.const 448) (i32.const 0) ) (unreachable) @@ -14623,7 +18673,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) (f32.const 0.6157026886940002) @@ -14635,7 +18685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 271) + (i32.const 449) (i32.const 0) ) (unreachable) @@ -14643,7 +18693,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5587586760520935) (f32.const 0.03223983198404312) (f32.const -0.010681532323360443) @@ -14655,7 +18705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 272) + (i32.const 450) (i32.const 0) ) (unreachable) @@ -14663,7 +18713,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const 1) (f32.const 0) @@ -14675,7 +18725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 275) + (i32.const 453) (i32.const 0) ) (unreachable) @@ -14683,7 +18733,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const 1) (f32.const -0) @@ -14695,7 +18745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 276) + (i32.const 454) (i32.const 0) ) (unreachable) @@ -14703,7 +18753,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.5) (f32.const 1) (f32.const 0.5) @@ -14715,7 +18765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 277) + (i32.const 455) (i32.const 0) ) (unreachable) @@ -14723,7 +18773,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5) (f32.const 1) (f32.const -0.5) @@ -14735,7 +18785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 278) + (i32.const 456) (i32.const 0) ) (unreachable) @@ -14743,7 +18793,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const 1) (f32.const 0) @@ -14755,7 +18805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 279) + (i32.const 457) (i32.const 0) ) (unreachable) @@ -14763,7 +18813,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const 1) (f32.const -0) @@ -14775,7 +18825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 280) + (i32.const 458) (i32.const 0) ) (unreachable) @@ -14783,10 +18833,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.5) (f32.const 1) - (f32.const 0.5) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -14795,7 +18845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 281) + (i32.const 459) (i32.const 0) ) (unreachable) @@ -14803,10 +18853,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.5) (f32.const 1) - (f32.const -0.5) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -14815,7 +18865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 282) + (i32.const 460) (i32.const 0) ) (unreachable) @@ -14823,7 +18873,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 2) (f32.const 1) (f32.const 0) @@ -14835,7 +18885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 283) + (i32.const 461) (i32.const 0) ) (unreachable) @@ -14843,7 +18893,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -2) (f32.const 1) (f32.const -0) @@ -14855,7 +18905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 284) + (i32.const 462) (i32.const 0) ) (unreachable) @@ -14863,7 +18913,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 1) (f32.const nan:0x400000) @@ -14875,7 +18925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 285) + (i32.const 463) (i32.const 0) ) (unreachable) @@ -14883,7 +18933,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const 1) (f32.const nan:0x400000) @@ -14895,7 +18945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 286) + (i32.const 464) (i32.const 0) ) (unreachable) @@ -14903,7 +18953,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const 1) (f32.const nan:0x400000) @@ -14915,7 +18965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 287) + (i32.const 465) (i32.const 0) ) (unreachable) @@ -14923,7 +18973,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const -1) (f32.const 0) @@ -14935,7 +18985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 288) + (i32.const 466) (i32.const 0) ) (unreachable) @@ -14943,7 +18993,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const -1) (f32.const -0) @@ -14955,7 +19005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 289) + (i32.const 467) (i32.const 0) ) (unreachable) @@ -14963,7 +19013,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.5) (f32.const -1) (f32.const 0.5) @@ -14975,7 +19025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 290) + (i32.const 468) (i32.const 0) ) (unreachable) @@ -14983,7 +19033,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5) (f32.const -1) (f32.const -0.5) @@ -14995,7 +19045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 291) + (i32.const 469) (i32.const 0) ) (unreachable) @@ -15003,7 +19053,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const -1) (f32.const 0) @@ -15015,7 +19065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 292) + (i32.const 470) (i32.const 0) ) (unreachable) @@ -15023,7 +19073,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const -1) (f32.const -0) @@ -15035,7 +19085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 293) + (i32.const 471) (i32.const 0) ) (unreachable) @@ -15043,10 +19093,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.5) (f32.const -1) - (f32.const 0.5) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -15055,7 +19105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 294) + (i32.const 472) (i32.const 0) ) (unreachable) @@ -15063,10 +19113,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.5) (f32.const -1) - (f32.const -0.5) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -15075,7 +19125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 295) + (i32.const 473) (i32.const 0) ) (unreachable) @@ -15083,7 +19133,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 2) (f32.const -1) (f32.const 0) @@ -15095,7 +19145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 296) + (i32.const 474) (i32.const 0) ) (unreachable) @@ -15103,7 +19153,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -2) (f32.const -1) (f32.const -0) @@ -15115,7 +19165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 297) + (i32.const 475) (i32.const 0) ) (unreachable) @@ -15123,7 +19173,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -1) (f32.const nan:0x400000) @@ -15135,7 +19185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 298) + (i32.const 476) (i32.const 0) ) (unreachable) @@ -15143,7 +19193,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const -1) (f32.const nan:0x400000) @@ -15155,7 +19205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 299) + (i32.const 477) (i32.const 0) ) (unreachable) @@ -15163,7 +19213,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const -1) (f32.const nan:0x400000) @@ -15175,7 +19225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 300) + (i32.const 478) (i32.const 0) ) (unreachable) @@ -15183,7 +19233,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const 0) (f32.const nan:0x400000) @@ -15195,7 +19245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 301) + (i32.const 479) (i32.const 0) ) (unreachable) @@ -15203,7 +19253,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const -0) (f32.const nan:0x400000) @@ -15215,7 +19265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 302) + (i32.const 480) (i32.const 0) ) (unreachable) @@ -15223,7 +19273,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const inf) (f32.const 0) @@ -15235,7 +19285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 303) + (i32.const 481) (i32.const 0) ) (unreachable) @@ -15243,7 +19293,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const -inf) (f32.const 0) @@ -15255,7 +19305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 304) + (i32.const 482) (i32.const 0) ) (unreachable) @@ -15263,7 +19313,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15275,7 +19325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 305) + (i32.const 483) (i32.const 0) ) (unreachable) @@ -15283,7 +19333,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const 0) (f32.const nan:0x400000) @@ -15295,7 +19345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 306) + (i32.const 484) (i32.const 0) ) (unreachable) @@ -15303,7 +19353,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const -0) (f32.const nan:0x400000) @@ -15315,7 +19365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 307) + (i32.const 485) (i32.const 0) ) (unreachable) @@ -15323,7 +19373,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const inf) (f32.const -0) @@ -15335,7 +19385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 308) + (i32.const 486) (i32.const 0) ) (unreachable) @@ -15343,7 +19393,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const -inf) (f32.const -0) @@ -15355,7 +19405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 309) + (i32.const 487) (i32.const 0) ) (unreachable) @@ -15363,7 +19413,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15375,7 +19425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 310) + (i32.const 488) (i32.const 0) ) (unreachable) @@ -15383,7 +19433,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const 0) (f32.const nan:0x400000) @@ -15395,7 +19445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 311) + (i32.const 489) (i32.const 0) ) (unreachable) @@ -15403,7 +19453,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const 0) (f32.const nan:0x400000) @@ -15415,7 +19465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 312) + (i32.const 490) (i32.const 0) ) (unreachable) @@ -15423,7 +19473,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 0) (f32.const nan:0x400000) @@ -15435,7 +19485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 313) + (i32.const 491) (i32.const 0) ) (unreachable) @@ -15443,7 +19493,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const 0) (f32.const nan:0x400000) @@ -15455,7 +19505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 314) + (i32.const 492) (i32.const 0) ) (unreachable) @@ -15463,7 +19513,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const 0) (f32.const nan:0x400000) @@ -15475,7 +19525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 315) + (i32.const 493) (i32.const 0) ) (unreachable) @@ -15483,7 +19533,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const -0) (f32.const nan:0x400000) @@ -15495,7 +19545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 316) + (i32.const 494) (i32.const 0) ) (unreachable) @@ -15503,7 +19553,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -0) (f32.const nan:0x400000) @@ -15515,7 +19565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 317) + (i32.const 495) (i32.const 0) ) (unreachable) @@ -15523,7 +19573,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const -0) (f32.const nan:0x400000) @@ -15535,7 +19585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 318) + (i32.const 496) (i32.const 0) ) (unreachable) @@ -15543,7 +19593,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const -0) (f32.const nan:0x400000) @@ -15555,7 +19605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 319) + (i32.const 497) (i32.const 0) ) (unreachable) @@ -15563,7 +19613,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 2) (f32.const nan:0x400000) @@ -15575,7 +19625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 320) + (i32.const 498) (i32.const 0) ) (unreachable) @@ -15583,7 +19633,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -0.5) (f32.const nan:0x400000) @@ -15595,7 +19645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 321) + (i32.const 499) (i32.const 0) ) (unreachable) @@ -15603,7 +19653,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15615,7 +19665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 322) + (i32.const 500) (i32.const 0) ) (unreachable) @@ -15623,7 +19673,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const 2) (f32.const nan:0x400000) @@ -15635,7 +19685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 323) + (i32.const 501) (i32.const 0) ) (unreachable) @@ -15643,7 +19693,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const -0.5) (f32.const nan:0x400000) @@ -15655,7 +19705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 324) + (i32.const 502) (i32.const 0) ) (unreachable) @@ -15663,7 +19713,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15675,7 +19725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 325) + (i32.const 503) (i32.const 0) ) (unreachable) @@ -15683,7 +19733,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15695,7 +19745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 326) + (i32.const 504) (i32.const 0) ) (unreachable) @@ -15703,7 +19753,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15715,7 +19765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 327) + (i32.const 505) (i32.const 0) ) (unreachable) @@ -15723,7 +19773,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -15735,7 +19785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 328) + (i32.const 506) (i32.const 0) ) (unreachable) @@ -15743,7 +19793,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const inf) (f32.const 1) @@ -15755,7 +19805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 329) + (i32.const 507) (i32.const 0) ) (unreachable) @@ -15763,7 +19813,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const inf) (f32.const -1) @@ -15775,7 +19825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 330) + (i32.const 508) (i32.const 0) ) (unreachable) @@ -15783,7 +19833,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const inf) (f32.const nan:0x400000) @@ -15795,7 +19845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 331) + (i32.const 509) (i32.const 0) ) (unreachable) @@ -15803,7 +19853,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const inf) (f32.const nan:0x400000) @@ -15815,7 +19865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 332) + (i32.const 510) (i32.const 0) ) (unreachable) @@ -15823,7 +19873,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const -inf) (f32.const 1) @@ -15835,7 +19885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 333) + (i32.const 511) (i32.const 0) ) (unreachable) @@ -15843,7 +19893,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const -inf) (f32.const -1) @@ -15855,7 +19905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 334) + (i32.const 512) (i32.const 0) ) (unreachable) @@ -15863,7 +19913,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -inf) (f32.const nan:0x400000) @@ -15875,7 +19925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 335) + (i32.const 513) (i32.const 0) ) (unreachable) @@ -15883,7 +19933,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -inf) (f32.const -inf) (f32.const nan:0x400000) @@ -15895,7 +19945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 336) + (i32.const 514) (i32.const 0) ) (unreachable) @@ -15903,10 +19953,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.75) (f32.const 0.5) - (f32.const 0.25) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -15915,7 +19965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 337) + (i32.const 515) (i32.const 0) ) (unreachable) @@ -15923,10 +19973,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.75) (f32.const 0.5) - (f32.const -0.25) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -15935,7 +19985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 338) + (i32.const 516) (i32.const 0) ) (unreachable) @@ -15943,10 +19993,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.75) (f32.const -0.5) - (f32.const 0.25) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -15955,7 +20005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 339) + (i32.const 517) (i32.const 0) ) (unreachable) @@ -15963,10 +20013,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.75) (f32.const -0.5) - (f32.const -0.25) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -15975,7 +20025,27 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 340) + (i32.const 518) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_remf + (f32.const 5.877471754111438e-39) + (f32.const inf) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 519) (i32.const 0) ) (unreachable) @@ -15994,7 +20064,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 350) + (i32.const 529) (i32.const 0) ) (unreachable) @@ -16013,7 +20083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 351) + (i32.const 530) (i32.const 0) ) (unreachable) @@ -16032,7 +20102,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 352) + (i32.const 531) (i32.const 0) ) (unreachable) @@ -16051,7 +20121,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 353) + (i32.const 532) (i32.const 0) ) (unreachable) @@ -16070,7 +20140,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 354) + (i32.const 533) (i32.const 0) ) (unreachable) @@ -16089,7 +20159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 355) + (i32.const 534) (i32.const 0) ) (unreachable) @@ -16108,7 +20178,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 356) + (i32.const 535) (i32.const 0) ) (unreachable) @@ -16127,7 +20197,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 357) + (i32.const 536) (i32.const 0) ) (unreachable) @@ -16146,7 +20216,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 358) + (i32.const 537) (i32.const 0) ) (unreachable) @@ -16165,7 +20235,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 359) + (i32.const 538) (i32.const 0) ) (unreachable) @@ -16184,7 +20254,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 362) + (i32.const 541) (i32.const 0) ) (unreachable) @@ -16203,7 +20273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 363) + (i32.const 542) (i32.const 0) ) (unreachable) @@ -16222,7 +20292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 364) + (i32.const 543) (i32.const 0) ) (unreachable) @@ -16241,7 +20311,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 365) + (i32.const 544) (i32.const 0) ) (unreachable) @@ -16260,7 +20330,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 366) + (i32.const 545) (i32.const 0) ) (unreachable) @@ -16279,7 +20349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 367) + (i32.const 546) (i32.const 0) ) (unreachable) @@ -16298,7 +20368,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 368) + (i32.const 547) (i32.const 0) ) (unreachable) @@ -16317,7 +20387,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 377) + (i32.const 556) (i32.const 0) ) (unreachable) @@ -16336,7 +20406,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 378) + (i32.const 557) (i32.const 0) ) (unreachable) @@ -16355,7 +20425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 379) + (i32.const 558) (i32.const 0) ) (unreachable) @@ -16374,7 +20444,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 380) + (i32.const 559) (i32.const 0) ) (unreachable) @@ -16393,7 +20463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 381) + (i32.const 560) (i32.const 0) ) (unreachable) @@ -16412,7 +20482,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 382) + (i32.const 561) (i32.const 0) ) (unreachable) @@ -16431,7 +20501,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 383) + (i32.const 562) (i32.const 0) ) (unreachable) @@ -16450,7 +20520,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 384) + (i32.const 563) (i32.const 0) ) (unreachable) @@ -16469,7 +20539,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 385) + (i32.const 564) (i32.const 0) ) (unreachable) @@ -16488,7 +20558,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 386) + (i32.const 565) (i32.const 0) ) (unreachable) @@ -16507,7 +20577,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 389) + (i32.const 568) (i32.const 0) ) (unreachable) @@ -16526,7 +20596,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 390) + (i32.const 569) (i32.const 0) ) (unreachable) @@ -16545,7 +20615,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 391) + (i32.const 570) (i32.const 0) ) (unreachable) @@ -16564,7 +20634,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 392) + (i32.const 571) (i32.const 0) ) (unreachable) @@ -16583,7 +20653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 393) + (i32.const 572) (i32.const 0) ) (unreachable) @@ -16602,7 +20672,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 394) + (i32.const 573) (i32.const 0) ) (unreachable) @@ -16621,7 +20691,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 395) + (i32.const 574) (i32.const 0) ) (unreachable) @@ -16640,7 +20710,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 405) + (i32.const 584) (i32.const 0) ) (unreachable) @@ -16659,7 +20729,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 406) + (i32.const 585) (i32.const 0) ) (unreachable) @@ -16678,7 +20748,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 407) + (i32.const 586) (i32.const 0) ) (unreachable) @@ -16697,7 +20767,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 408) + (i32.const 587) (i32.const 0) ) (unreachable) @@ -16716,7 +20786,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 409) + (i32.const 588) (i32.const 0) ) (unreachable) @@ -16735,7 +20805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 410) + (i32.const 589) (i32.const 0) ) (unreachable) @@ -16754,7 +20824,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 411) + (i32.const 590) (i32.const 0) ) (unreachable) @@ -16773,7 +20843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 412) + (i32.const 591) (i32.const 0) ) (unreachable) @@ -16792,7 +20862,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 413) + (i32.const 592) (i32.const 0) ) (unreachable) @@ -16811,7 +20881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 414) + (i32.const 593) (i32.const 0) ) (unreachable) @@ -16830,7 +20900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 417) + (i32.const 596) (i32.const 0) ) (unreachable) @@ -16849,7 +20919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 418) + (i32.const 597) (i32.const 0) ) (unreachable) @@ -16868,7 +20938,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 419) + (i32.const 598) (i32.const 0) ) (unreachable) @@ -16887,7 +20957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 420) + (i32.const 599) (i32.const 0) ) (unreachable) @@ -16906,7 +20976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 421) + (i32.const 600) (i32.const 0) ) (unreachable) @@ -16925,7 +20995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 422) + (i32.const 601) (i32.const 0) ) (unreachable) @@ -16944,7 +21014,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 423) + (i32.const 602) (i32.const 0) ) (unreachable) @@ -16963,7 +21033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 424) + (i32.const 603) (i32.const 0) ) (unreachable) @@ -16982,7 +21052,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 425) + (i32.const 604) (i32.const 0) ) (unreachable) @@ -17001,7 +21071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 426) + (i32.const 605) (i32.const 0) ) (unreachable) @@ -17020,7 +21090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 435) + (i32.const 614) (i32.const 0) ) (unreachable) @@ -17039,7 +21109,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 436) + (i32.const 615) (i32.const 0) ) (unreachable) @@ -17058,7 +21128,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 437) + (i32.const 616) (i32.const 0) ) (unreachable) @@ -17077,7 +21147,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 438) + (i32.const 617) (i32.const 0) ) (unreachable) @@ -17096,7 +21166,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 439) + (i32.const 618) (i32.const 0) ) (unreachable) @@ -17115,7 +21185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 440) + (i32.const 619) (i32.const 0) ) (unreachable) @@ -17134,7 +21204,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 441) + (i32.const 620) (i32.const 0) ) (unreachable) @@ -17153,7 +21223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 442) + (i32.const 621) (i32.const 0) ) (unreachable) @@ -17172,7 +21242,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 443) + (i32.const 622) (i32.const 0) ) (unreachable) @@ -17191,7 +21261,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 444) + (i32.const 623) (i32.const 0) ) (unreachable) @@ -17210,7 +21280,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 447) + (i32.const 626) (i32.const 0) ) (unreachable) @@ -17229,7 +21299,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 448) + (i32.const 627) (i32.const 0) ) (unreachable) @@ -17248,7 +21318,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 449) + (i32.const 628) (i32.const 0) ) (unreachable) @@ -17267,7 +21337,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 450) + (i32.const 629) (i32.const 0) ) (unreachable) @@ -17286,7 +21356,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 451) + (i32.const 630) (i32.const 0) ) (unreachable) @@ -17305,7 +21375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 452) + (i32.const 631) (i32.const 0) ) (unreachable) @@ -17324,7 +21394,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 453) + (i32.const 632) (i32.const 0) ) (unreachable) @@ -17343,7 +21413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 454) + (i32.const 633) (i32.const 0) ) (unreachable) @@ -17362,7 +21432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 455) + (i32.const 634) (i32.const 0) ) (unreachable) @@ -17381,7 +21451,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 456) + (i32.const 635) (i32.const 0) ) (unreachable) @@ -17400,7 +21470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 457) + (i32.const 636) (i32.const 0) ) (unreachable) @@ -17419,7 +21489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 467) + (i32.const 646) (i32.const 0) ) (unreachable) @@ -17438,7 +21508,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 468) + (i32.const 647) (i32.const 0) ) (unreachable) @@ -17457,7 +21527,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 469) + (i32.const 648) (i32.const 0) ) (unreachable) @@ -17476,7 +21546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 470) + (i32.const 649) (i32.const 0) ) (unreachable) @@ -17495,7 +21565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 471) + (i32.const 650) (i32.const 0) ) (unreachable) @@ -17514,7 +21584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 472) + (i32.const 651) (i32.const 0) ) (unreachable) @@ -17533,7 +21603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 473) + (i32.const 652) (i32.const 0) ) (unreachable) @@ -17552,7 +21622,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 474) + (i32.const 653) (i32.const 0) ) (unreachable) @@ -17571,7 +21641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 475) + (i32.const 654) (i32.const 0) ) (unreachable) @@ -17590,7 +21660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 476) + (i32.const 655) (i32.const 0) ) (unreachable) @@ -17609,7 +21679,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 479) + (i32.const 658) (i32.const 0) ) (unreachable) @@ -17628,7 +21698,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 480) + (i32.const 659) (i32.const 0) ) (unreachable) @@ -17647,7 +21717,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 481) + (i32.const 660) (i32.const 0) ) (unreachable) @@ -17666,7 +21736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 482) + (i32.const 661) (i32.const 0) ) (unreachable) @@ -17685,7 +21755,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 483) + (i32.const 662) (i32.const 0) ) (unreachable) @@ -17704,7 +21774,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 484) + (i32.const 663) (i32.const 0) ) (unreachable) @@ -17723,7 +21793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 485) + (i32.const 664) (i32.const 0) ) (unreachable) @@ -17742,7 +21812,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 501) + (i32.const 680) (i32.const 0) ) (unreachable) @@ -17761,7 +21831,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 503) + (i32.const 682) (i32.const 0) ) (unreachable) @@ -17780,7 +21850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 504) + (i32.const 683) (i32.const 0) ) (unreachable) @@ -17799,7 +21869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 513) + (i32.const 692) (i32.const 0) ) (unreachable) @@ -17818,7 +21888,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 514) + (i32.const 693) (i32.const 0) ) (unreachable) @@ -17837,7 +21907,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 515) + (i32.const 694) (i32.const 0) ) (unreachable) @@ -17856,7 +21926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 516) + (i32.const 695) (i32.const 0) ) (unreachable) @@ -17875,7 +21945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 517) + (i32.const 696) (i32.const 0) ) (unreachable) @@ -17894,7 +21964,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 518) + (i32.const 697) (i32.const 0) ) (unreachable) @@ -17913,7 +21983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 519) + (i32.const 698) (i32.const 0) ) (unreachable) @@ -17932,7 +22002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 520) + (i32.const 699) (i32.const 0) ) (unreachable) @@ -17951,7 +22021,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 521) + (i32.const 700) (i32.const 0) ) (unreachable) @@ -17970,7 +22040,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 522) + (i32.const 701) (i32.const 0) ) (unreachable) @@ -17989,7 +22059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 525) + (i32.const 704) (i32.const 0) ) (unreachable) @@ -18008,7 +22078,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 526) + (i32.const 705) (i32.const 0) ) (unreachable) @@ -18027,7 +22097,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 527) + (i32.const 706) (i32.const 0) ) (unreachable) @@ -18046,7 +22116,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 528) + (i32.const 707) (i32.const 0) ) (unreachable) @@ -18065,7 +22135,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 529) + (i32.const 708) (i32.const 0) ) (unreachable) @@ -18084,7 +22154,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 530) + (i32.const 709) (i32.const 0) ) (unreachable) @@ -18103,7 +22173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 531) + (i32.const 710) (i32.const 0) ) (unreachable) @@ -18122,7 +22192,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 532) + (i32.const 711) (i32.const 0) ) (unreachable) @@ -18141,7 +22211,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 542) + (i32.const 721) (i32.const 0) ) (unreachable) @@ -18160,7 +22230,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 543) + (i32.const 722) (i32.const 0) ) (unreachable) @@ -18179,7 +22249,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 544) + (i32.const 723) (i32.const 0) ) (unreachable) @@ -18198,7 +22268,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 545) + (i32.const 724) (i32.const 0) ) (unreachable) @@ -18217,7 +22287,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 546) + (i32.const 725) (i32.const 0) ) (unreachable) @@ -18236,7 +22306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 547) + (i32.const 726) (i32.const 0) ) (unreachable) @@ -18255,7 +22325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 548) + (i32.const 727) (i32.const 0) ) (unreachable) @@ -18274,7 +22344,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 549) + (i32.const 728) (i32.const 0) ) (unreachable) @@ -18293,7 +22363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 550) + (i32.const 729) (i32.const 0) ) (unreachable) @@ -18312,7 +22382,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 551) + (i32.const 730) (i32.const 0) ) (unreachable) @@ -18331,7 +22401,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 554) + (i32.const 733) (i32.const 0) ) (unreachable) @@ -18350,7 +22420,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 555) + (i32.const 734) (i32.const 0) ) (unreachable) @@ -18369,7 +22439,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 556) + (i32.const 735) (i32.const 0) ) (unreachable) @@ -18388,7 +22458,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 557) + (i32.const 736) (i32.const 0) ) (unreachable) @@ -18407,7 +22477,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 558) + (i32.const 737) (i32.const 0) ) (unreachable) @@ -18426,7 +22496,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 559) + (i32.const 738) (i32.const 0) ) (unreachable) @@ -18445,7 +22515,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 560) + (i32.const 739) (i32.const 0) ) (unreachable) @@ -18464,7 +22534,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 561) + (i32.const 740) (i32.const 0) ) (unreachable) @@ -18483,7 +22553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 562) + (i32.const 741) (i32.const 0) ) (unreachable) @@ -18502,7 +22572,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 563) + (i32.const 742) (i32.const 0) ) (unreachable) @@ -18521,7 +22591,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 572) + (i32.const 751) (i32.const 0) ) (unreachable) @@ -18540,7 +22610,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 573) + (i32.const 752) (i32.const 0) ) (unreachable) @@ -18559,7 +22629,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 574) + (i32.const 753) (i32.const 0) ) (unreachable) @@ -18578,7 +22648,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 575) + (i32.const 754) (i32.const 0) ) (unreachable) @@ -18597,7 +22667,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 576) + (i32.const 755) (i32.const 0) ) (unreachable) @@ -18616,7 +22686,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 577) + (i32.const 756) (i32.const 0) ) (unreachable) @@ -18635,7 +22705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 578) + (i32.const 757) (i32.const 0) ) (unreachable) @@ -18654,7 +22724,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 579) + (i32.const 758) (i32.const 0) ) (unreachable) @@ -18673,7 +22743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 580) + (i32.const 759) (i32.const 0) ) (unreachable) @@ -18692,7 +22762,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 581) + (i32.const 760) (i32.const 0) ) (unreachable) @@ -18711,7 +22781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 584) + (i32.const 763) (i32.const 0) ) (unreachable) @@ -18730,7 +22800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 585) + (i32.const 764) (i32.const 0) ) (unreachable) @@ -18749,7 +22819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 586) + (i32.const 765) (i32.const 0) ) (unreachable) @@ -18768,7 +22838,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 587) + (i32.const 766) (i32.const 0) ) (unreachable) @@ -18787,7 +22857,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 588) + (i32.const 767) (i32.const 0) ) (unreachable) @@ -18806,7 +22876,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 589) + (i32.const 768) (i32.const 0) ) (unreachable) @@ -18825,7 +22895,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 590) + (i32.const 769) (i32.const 0) ) (unreachable) @@ -18844,7 +22914,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 591) + (i32.const 770) (i32.const 0) ) (unreachable) @@ -18863,7 +22933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 592) + (i32.const 771) (i32.const 0) ) (unreachable) @@ -18882,7 +22952,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 593) + (i32.const 772) (i32.const 0) ) (unreachable) @@ -18901,7 +22971,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 603) + (i32.const 782) (i32.const 0) ) (unreachable) @@ -18920,7 +22990,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 604) + (i32.const 783) (i32.const 0) ) (unreachable) @@ -18939,7 +23009,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 605) + (i32.const 784) (i32.const 0) ) (unreachable) @@ -18958,7 +23028,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 606) + (i32.const 785) (i32.const 0) ) (unreachable) @@ -18977,7 +23047,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 607) + (i32.const 786) (i32.const 0) ) (unreachable) @@ -18996,7 +23066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 608) + (i32.const 787) (i32.const 0) ) (unreachable) @@ -19015,7 +23085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 609) + (i32.const 788) (i32.const 0) ) (unreachable) @@ -19034,7 +23104,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 610) + (i32.const 789) (i32.const 0) ) (unreachable) @@ -19053,7 +23123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 611) + (i32.const 790) (i32.const 0) ) (unreachable) @@ -19072,7 +23142,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 612) + (i32.const 791) (i32.const 0) ) (unreachable) @@ -19091,7 +23161,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 615) + (i32.const 794) (i32.const 0) ) (unreachable) @@ -19110,7 +23180,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 616) + (i32.const 795) (i32.const 0) ) (unreachable) @@ -19129,7 +23199,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 617) + (i32.const 796) (i32.const 0) ) (unreachable) @@ -19148,7 +23218,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 618) + (i32.const 797) (i32.const 0) ) (unreachable) @@ -19167,7 +23237,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 619) + (i32.const 798) (i32.const 0) ) (unreachable) @@ -19186,7 +23256,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 648) + (i32.const 827) (i32.const 0) ) (unreachable) @@ -19205,7 +23275,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 649) + (i32.const 828) (i32.const 0) ) (unreachable) @@ -19224,7 +23294,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 650) + (i32.const 829) (i32.const 0) ) (unreachable) @@ -19243,7 +23313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 651) + (i32.const 830) (i32.const 0) ) (unreachable) @@ -19262,7 +23332,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 652) + (i32.const 831) (i32.const 0) ) (unreachable) @@ -19281,7 +23351,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 653) + (i32.const 832) (i32.const 0) ) (unreachable) @@ -19300,7 +23370,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 654) + (i32.const 833) (i32.const 0) ) (unreachable) @@ -19319,7 +23389,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 655) + (i32.const 834) (i32.const 0) ) (unreachable) @@ -19338,7 +23408,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 656) + (i32.const 835) (i32.const 0) ) (unreachable) @@ -19357,7 +23427,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 657) + (i32.const 836) (i32.const 0) ) (unreachable) @@ -19376,7 +23446,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 660) + (i32.const 839) (i32.const 0) ) (unreachable) @@ -19395,7 +23465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 661) + (i32.const 840) (i32.const 0) ) (unreachable) @@ -19414,7 +23484,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 662) + (i32.const 841) (i32.const 0) ) (unreachable) @@ -19433,7 +23503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 663) + (i32.const 842) (i32.const 0) ) (unreachable) @@ -19452,7 +23522,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 664) + (i32.const 843) (i32.const 0) ) (unreachable) @@ -19471,7 +23541,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 674) + (i32.const 853) (i32.const 0) ) (unreachable) @@ -19490,7 +23560,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 675) + (i32.const 854) (i32.const 0) ) (unreachable) @@ -19509,7 +23579,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 676) + (i32.const 855) (i32.const 0) ) (unreachable) @@ -19528,7 +23598,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 677) + (i32.const 856) (i32.const 0) ) (unreachable) @@ -19547,7 +23617,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 678) + (i32.const 857) (i32.const 0) ) (unreachable) @@ -19566,7 +23636,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 679) + (i32.const 858) (i32.const 0) ) (unreachable) @@ -19585,7 +23655,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 680) + (i32.const 859) (i32.const 0) ) (unreachable) @@ -19604,7 +23674,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 681) + (i32.const 860) (i32.const 0) ) (unreachable) @@ -19623,7 +23693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 682) + (i32.const 861) (i32.const 0) ) (unreachable) @@ -19642,7 +23712,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 683) + (i32.const 862) (i32.const 0) ) (unreachable) @@ -19661,7 +23731,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 686) + (i32.const 865) (i32.const 0) ) (unreachable) @@ -19680,7 +23750,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 687) + (i32.const 866) (i32.const 0) ) (unreachable) @@ -19699,7 +23769,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 688) + (i32.const 867) (i32.const 0) ) (unreachable) @@ -19718,7 +23788,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 689) + (i32.const 868) (i32.const 0) ) (unreachable) @@ -19737,7 +23807,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 690) + (i32.const 869) (i32.const 0) ) (unreachable) @@ -19756,7 +23826,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 691) + (i32.const 870) (i32.const 0) ) (unreachable) @@ -19775,7 +23845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 692) + (i32.const 871) (i32.const 0) ) (unreachable) @@ -19794,7 +23864,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 693) + (i32.const 872) (i32.const 0) ) (unreachable) @@ -19813,7 +23883,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 702) + (i32.const 881) (i32.const 0) ) (unreachable) @@ -19832,7 +23902,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 703) + (i32.const 882) (i32.const 0) ) (unreachable) @@ -19851,7 +23921,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 704) + (i32.const 883) (i32.const 0) ) (unreachable) @@ -19870,7 +23940,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 705) + (i32.const 884) (i32.const 0) ) (unreachable) @@ -19889,7 +23959,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 706) + (i32.const 885) (i32.const 0) ) (unreachable) @@ -19908,7 +23978,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 707) + (i32.const 886) (i32.const 0) ) (unreachable) @@ -19927,7 +23997,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 708) + (i32.const 887) (i32.const 0) ) (unreachable) @@ -19946,7 +24016,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 709) + (i32.const 888) (i32.const 0) ) (unreachable) @@ -19965,7 +24035,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 710) + (i32.const 889) (i32.const 0) ) (unreachable) @@ -19984,7 +24054,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 711) + (i32.const 890) (i32.const 0) ) (unreachable) @@ -20003,7 +24073,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 714) + (i32.const 893) (i32.const 0) ) (unreachable) @@ -20022,7 +24092,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 715) + (i32.const 894) (i32.const 0) ) (unreachable) @@ -20041,7 +24111,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 716) + (i32.const 895) (i32.const 0) ) (unreachable) @@ -20060,7 +24130,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 717) + (i32.const 896) (i32.const 0) ) (unreachable) @@ -20079,7 +24149,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 718) + (i32.const 897) (i32.const 0) ) (unreachable) @@ -20098,7 +24168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 719) + (i32.const 898) (i32.const 0) ) (unreachable) @@ -20117,7 +24187,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 720) + (i32.const 899) (i32.const 0) ) (unreachable) @@ -20136,7 +24206,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 730) + (i32.const 909) (i32.const 0) ) (unreachable) @@ -20155,7 +24225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 731) + (i32.const 910) (i32.const 0) ) (unreachable) @@ -20174,7 +24244,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 732) + (i32.const 911) (i32.const 0) ) (unreachable) @@ -20193,7 +24263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 733) + (i32.const 912) (i32.const 0) ) (unreachable) @@ -20212,7 +24282,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 734) + (i32.const 913) (i32.const 0) ) (unreachable) @@ -20231,7 +24301,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 735) + (i32.const 914) (i32.const 0) ) (unreachable) @@ -20250,7 +24320,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 736) + (i32.const 915) (i32.const 0) ) (unreachable) @@ -20269,7 +24339,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 737) + (i32.const 916) (i32.const 0) ) (unreachable) @@ -20288,7 +24358,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 738) + (i32.const 917) (i32.const 0) ) (unreachable) @@ -20307,7 +24377,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 739) + (i32.const 918) (i32.const 0) ) (unreachable) @@ -20326,7 +24396,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 742) + (i32.const 921) (i32.const 0) ) (unreachable) @@ -20345,7 +24415,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 743) + (i32.const 922) (i32.const 0) ) (unreachable) @@ -20364,7 +24434,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 744) + (i32.const 923) (i32.const 0) ) (unreachable) @@ -20383,7 +24453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 745) + (i32.const 924) (i32.const 0) ) (unreachable) @@ -20402,7 +24472,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 746) + (i32.const 925) (i32.const 0) ) (unreachable) @@ -20421,7 +24491,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 747) + (i32.const 926) (i32.const 0) ) (unreachable) @@ -20440,7 +24510,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 748) + (i32.const 927) (i32.const 0) ) (unreachable) @@ -20459,7 +24529,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 749) + (i32.const 928) (i32.const 0) ) (unreachable) @@ -20478,7 +24548,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 750) + (i32.const 929) (i32.const 0) ) (unreachable) @@ -20497,7 +24567,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 751) + (i32.const 930) (i32.const 0) ) (unreachable) @@ -20516,7 +24586,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 760) + (i32.const 939) (i32.const 0) ) (unreachable) @@ -20535,7 +24605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 761) + (i32.const 940) (i32.const 0) ) (unreachable) @@ -20554,7 +24624,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 762) + (i32.const 941) (i32.const 0) ) (unreachable) @@ -20573,7 +24643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 763) + (i32.const 942) (i32.const 0) ) (unreachable) @@ -20592,7 +24662,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 764) + (i32.const 943) (i32.const 0) ) (unreachable) @@ -20611,7 +24681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 765) + (i32.const 944) (i32.const 0) ) (unreachable) @@ -20630,7 +24700,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 766) + (i32.const 945) (i32.const 0) ) (unreachable) @@ -20649,7 +24719,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 767) + (i32.const 946) (i32.const 0) ) (unreachable) @@ -20668,7 +24738,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 768) + (i32.const 947) (i32.const 0) ) (unreachable) @@ -20687,7 +24757,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 769) + (i32.const 948) (i32.const 0) ) (unreachable) @@ -20706,7 +24776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 772) + (i32.const 951) (i32.const 0) ) (unreachable) @@ -20725,7 +24795,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 773) + (i32.const 952) (i32.const 0) ) (unreachable) @@ -20744,7 +24814,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 774) + (i32.const 953) (i32.const 0) ) (unreachable) @@ -20763,7 +24833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 775) + (i32.const 954) (i32.const 0) ) (unreachable) @@ -20782,7 +24852,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 776) + (i32.const 955) (i32.const 0) ) (unreachable) @@ -20801,7 +24871,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 777) + (i32.const 956) (i32.const 0) ) (unreachable) @@ -20820,7 +24890,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 778) + (i32.const 957) (i32.const 0) ) (unreachable) @@ -20839,7 +24909,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 779) + (i32.const 958) (i32.const 0) ) (unreachable) @@ -20858,7 +24928,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 780) + (i32.const 959) (i32.const 0) ) (unreachable) @@ -20877,7 +24947,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 781) + (i32.const 960) (i32.const 0) ) (unreachable) @@ -20896,7 +24966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 893) + (i32.const 1072) (i32.const 0) ) (unreachable) @@ -20915,7 +24985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 894) + (i32.const 1073) (i32.const 0) ) (unreachable) @@ -20934,7 +25004,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 895) + (i32.const 1074) (i32.const 0) ) (unreachable) @@ -20953,7 +25023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 896) + (i32.const 1075) (i32.const 0) ) (unreachable) @@ -20972,7 +25042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 897) + (i32.const 1076) (i32.const 0) ) (unreachable) @@ -20991,7 +25061,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 898) + (i32.const 1077) (i32.const 0) ) (unreachable) @@ -21010,7 +25080,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 899) + (i32.const 1078) (i32.const 0) ) (unreachable) @@ -21029,7 +25099,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 900) + (i32.const 1079) (i32.const 0) ) (unreachable) @@ -21048,7 +25118,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 901) + (i32.const 1080) (i32.const 0) ) (unreachable) @@ -21067,7 +25137,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 902) + (i32.const 1081) (i32.const 0) ) (unreachable) @@ -21086,7 +25156,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 905) + (i32.const 1084) (i32.const 0) ) (unreachable) @@ -21105,7 +25175,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 906) + (i32.const 1085) (i32.const 0) ) (unreachable) @@ -21124,7 +25194,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 907) + (i32.const 1086) (i32.const 0) ) (unreachable) @@ -21143,7 +25213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 908) + (i32.const 1087) (i32.const 0) ) (unreachable) @@ -21162,7 +25232,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 909) + (i32.const 1088) (i32.const 0) ) (unreachable) @@ -21181,7 +25251,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 918) + (i32.const 1097) (i32.const 0) ) (unreachable) @@ -21200,7 +25270,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 919) + (i32.const 1098) (i32.const 0) ) (unreachable) @@ -21219,7 +25289,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 920) + (i32.const 1099) (i32.const 0) ) (unreachable) @@ -21238,7 +25308,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 921) + (i32.const 1100) (i32.const 0) ) (unreachable) @@ -21257,7 +25327,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 922) + (i32.const 1101) (i32.const 0) ) (unreachable) @@ -21276,7 +25346,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 923) + (i32.const 1102) (i32.const 0) ) (unreachable) @@ -21295,7 +25365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 924) + (i32.const 1103) (i32.const 0) ) (unreachable) @@ -21314,7 +25384,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 925) + (i32.const 1104) (i32.const 0) ) (unreachable) @@ -21333,7 +25403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 926) + (i32.const 1105) (i32.const 0) ) (unreachable) @@ -21352,7 +25422,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 927) + (i32.const 1106) (i32.const 0) ) (unreachable) @@ -21371,7 +25441,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 930) + (i32.const 1109) (i32.const 0) ) (unreachable) @@ -21390,7 +25460,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 931) + (i32.const 1110) (i32.const 0) ) (unreachable) @@ -21409,7 +25479,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 932) + (i32.const 1111) (i32.const 0) ) (unreachable) @@ -21428,7 +25498,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 933) + (i32.const 1112) (i32.const 0) ) (unreachable) @@ -21447,7 +25517,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 934) + (i32.const 1113) (i32.const 0) ) (unreachable) @@ -21466,7 +25536,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 944) + (i32.const 1123) (i32.const 0) ) (unreachable) @@ -21485,7 +25555,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 945) + (i32.const 1124) (i32.const 0) ) (unreachable) @@ -21504,7 +25574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 946) + (i32.const 1125) (i32.const 0) ) (unreachable) @@ -21523,7 +25593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 947) + (i32.const 1126) (i32.const 0) ) (unreachable) @@ -21542,7 +25612,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 948) + (i32.const 1127) (i32.const 0) ) (unreachable) @@ -21561,7 +25631,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 949) + (i32.const 1128) (i32.const 0) ) (unreachable) @@ -21580,7 +25650,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 950) + (i32.const 1129) (i32.const 0) ) (unreachable) @@ -21599,7 +25669,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 951) + (i32.const 1130) (i32.const 0) ) (unreachable) @@ -21618,7 +25688,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 952) + (i32.const 1131) (i32.const 0) ) (unreachable) @@ -21637,7 +25707,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 953) + (i32.const 1132) (i32.const 0) ) (unreachable) @@ -21656,7 +25726,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 956) + (i32.const 1135) (i32.const 0) ) (unreachable) @@ -21675,7 +25745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 957) + (i32.const 1136) (i32.const 0) ) (unreachable) @@ -21694,7 +25764,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 958) + (i32.const 1137) (i32.const 0) ) (unreachable) @@ -21713,7 +25783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 959) + (i32.const 1138) (i32.const 0) ) (unreachable) @@ -21732,7 +25802,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 960) + (i32.const 1139) (i32.const 0) ) (unreachable) @@ -21751,7 +25821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 961) + (i32.const 1140) (i32.const 0) ) (unreachable) @@ -21770,7 +25840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 962) + (i32.const 1141) (i32.const 0) ) (unreachable) @@ -21789,7 +25859,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 963) + (i32.const 1142) (i32.const 0) ) (unreachable) @@ -21808,7 +25878,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 964) + (i32.const 1143) (i32.const 0) ) (unreachable) @@ -21827,7 +25897,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 965) + (i32.const 1144) (i32.const 0) ) (unreachable) @@ -21846,7 +25916,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 966) + (i32.const 1145) (i32.const 0) ) (unreachable) @@ -21865,7 +25935,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 975) + (i32.const 1154) (i32.const 0) ) (unreachable) @@ -21884,7 +25954,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 976) + (i32.const 1155) (i32.const 0) ) (unreachable) @@ -21903,7 +25973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 977) + (i32.const 1156) (i32.const 0) ) (unreachable) @@ -21922,7 +25992,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 978) + (i32.const 1157) (i32.const 0) ) (unreachable) @@ -21941,7 +26011,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 979) + (i32.const 1158) (i32.const 0) ) (unreachable) @@ -21960,7 +26030,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 980) + (i32.const 1159) (i32.const 0) ) (unreachable) @@ -21979,7 +26049,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 981) + (i32.const 1160) (i32.const 0) ) (unreachable) @@ -21998,7 +26068,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 982) + (i32.const 1161) (i32.const 0) ) (unreachable) @@ -22017,7 +26087,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 983) + (i32.const 1162) (i32.const 0) ) (unreachable) @@ -22036,7 +26106,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 984) + (i32.const 1163) (i32.const 0) ) (unreachable) @@ -22055,7 +26125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 987) + (i32.const 1166) (i32.const 0) ) (unreachable) @@ -22074,7 +26144,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 988) + (i32.const 1167) (i32.const 0) ) (unreachable) @@ -22093,7 +26163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 989) + (i32.const 1168) (i32.const 0) ) (unreachable) @@ -22112,7 +26182,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 990) + (i32.const 1169) (i32.const 0) ) (unreachable) @@ -22131,7 +26201,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 991) + (i32.const 1170) (i32.const 0) ) (unreachable) @@ -22150,7 +26220,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 992) + (i32.const 1171) (i32.const 0) ) (unreachable) @@ -22169,7 +26239,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 993) + (i32.const 1172) (i32.const 0) ) (unreachable) @@ -22188,7 +26258,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 994) + (i32.const 1173) (i32.const 0) ) (unreachable) @@ -22207,7 +26277,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 995) + (i32.const 1174) (i32.const 0) ) (unreachable) @@ -22226,7 +26296,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 996) + (i32.const 1175) (i32.const 0) ) (unreachable) @@ -22245,7 +26315,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 997) + (i32.const 1176) (i32.const 0) ) (unreachable) @@ -22264,7 +26334,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 998) + (i32.const 1177) (i32.const 0) ) (unreachable) @@ -22283,7 +26353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 999) + (i32.const 1178) (i32.const 0) ) (unreachable) @@ -22302,7 +26372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1000) + (i32.const 1179) (i32.const 0) ) (unreachable) @@ -22321,7 +26391,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1010) + (i32.const 1189) (i32.const 0) ) (unreachable) @@ -22340,7 +26410,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1011) + (i32.const 1190) (i32.const 0) ) (unreachable) @@ -22359,7 +26429,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1012) + (i32.const 1191) (i32.const 0) ) (unreachable) @@ -22378,7 +26448,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1013) + (i32.const 1192) (i32.const 0) ) (unreachable) @@ -22397,7 +26467,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1014) + (i32.const 1193) (i32.const 0) ) (unreachable) @@ -22416,7 +26486,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1015) + (i32.const 1194) (i32.const 0) ) (unreachable) @@ -22435,7 +26505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1016) + (i32.const 1195) (i32.const 0) ) (unreachable) @@ -22454,7 +26524,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1017) + (i32.const 1196) (i32.const 0) ) (unreachable) @@ -22473,7 +26543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1018) + (i32.const 1197) (i32.const 0) ) (unreachable) @@ -22492,7 +26562,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1019) + (i32.const 1198) (i32.const 0) ) (unreachable) @@ -22511,7 +26581,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1022) + (i32.const 1201) (i32.const 0) ) (unreachable) @@ -22530,7 +26600,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1023) + (i32.const 1202) (i32.const 0) ) (unreachable) @@ -22549,7 +26619,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1024) + (i32.const 1203) (i32.const 0) ) (unreachable) @@ -22568,7 +26638,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1025) + (i32.const 1204) (i32.const 0) ) (unreachable) @@ -22587,7 +26657,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1026) + (i32.const 1205) (i32.const 0) ) (unreachable) @@ -22606,7 +26676,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1027) + (i32.const 1206) (i32.const 0) ) (unreachable) @@ -22625,7 +26695,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1028) + (i32.const 1207) (i32.const 0) ) (unreachable) @@ -22644,7 +26714,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1029) + (i32.const 1208) (i32.const 0) ) (unreachable) @@ -22663,7 +26733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1030) + (i32.const 1209) (i32.const 0) ) (unreachable) @@ -22682,7 +26752,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1039) + (i32.const 1218) (i32.const 0) ) (unreachable) @@ -22701,7 +26771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1040) + (i32.const 1219) (i32.const 0) ) (unreachable) @@ -22720,7 +26790,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1041) + (i32.const 1220) (i32.const 0) ) (unreachable) @@ -22739,7 +26809,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1042) + (i32.const 1221) (i32.const 0) ) (unreachable) @@ -22758,7 +26828,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1043) + (i32.const 1222) (i32.const 0) ) (unreachable) @@ -22777,7 +26847,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1044) + (i32.const 1223) (i32.const 0) ) (unreachable) @@ -22796,7 +26866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1045) + (i32.const 1224) (i32.const 0) ) (unreachable) @@ -22815,7 +26885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1046) + (i32.const 1225) (i32.const 0) ) (unreachable) @@ -22834,7 +26904,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1047) + (i32.const 1226) (i32.const 0) ) (unreachable) @@ -22853,7 +26923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1048) + (i32.const 1227) (i32.const 0) ) (unreachable) @@ -22872,7 +26942,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1051) + (i32.const 1230) (i32.const 0) ) (unreachable) @@ -22891,7 +26961,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1052) + (i32.const 1231) (i32.const 0) ) (unreachable) @@ -22910,7 +26980,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1053) + (i32.const 1232) (i32.const 0) ) (unreachable) @@ -22929,7 +26999,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1054) + (i32.const 1233) (i32.const 0) ) (unreachable) @@ -22948,7 +27018,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1055) + (i32.const 1234) (i32.const 0) ) (unreachable) @@ -22967,7 +27037,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1056) + (i32.const 1235) (i32.const 0) ) (unreachable) @@ -22986,7 +27056,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1057) + (i32.const 1236) (i32.const 0) ) (unreachable) @@ -23006,7 +27076,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1067) + (i32.const 1246) (i32.const 0) ) (unreachable) @@ -23026,7 +27096,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1068) + (i32.const 1247) (i32.const 0) ) (unreachable) @@ -23046,7 +27116,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1069) + (i32.const 1248) (i32.const 0) ) (unreachable) @@ -23066,7 +27136,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1070) + (i32.const 1249) (i32.const 0) ) (unreachable) @@ -23086,7 +27156,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1071) + (i32.const 1250) (i32.const 0) ) (unreachable) @@ -23106,7 +27176,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1072) + (i32.const 1251) (i32.const 0) ) (unreachable) @@ -23126,7 +27196,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1073) + (i32.const 1252) (i32.const 0) ) (unreachable) @@ -23146,7 +27216,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1074) + (i32.const 1253) (i32.const 0) ) (unreachable) @@ -23166,7 +27236,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1075) + (i32.const 1254) (i32.const 0) ) (unreachable) @@ -23186,7 +27256,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1076) + (i32.const 1255) (i32.const 0) ) (unreachable) @@ -23206,7 +27276,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1079) + (i32.const 1258) (i32.const 0) ) (unreachable) @@ -23226,7 +27296,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1080) + (i32.const 1259) (i32.const 0) ) (unreachable) @@ -23246,7 +27316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1081) + (i32.const 1260) (i32.const 0) ) (unreachable) @@ -23266,7 +27336,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1082) + (i32.const 1261) (i32.const 0) ) (unreachable) @@ -23286,7 +27356,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1083) + (i32.const 1262) (i32.const 0) ) (unreachable) @@ -23306,7 +27376,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1084) + (i32.const 1263) (i32.const 0) ) (unreachable) @@ -23326,7 +27396,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1085) + (i32.const 1264) (i32.const 0) ) (unreachable) @@ -23346,7 +27416,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1086) + (i32.const 1265) (i32.const 0) ) (unreachable) @@ -23366,7 +27436,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1087) + (i32.const 1266) (i32.const 0) ) (unreachable) @@ -23386,7 +27456,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1088) + (i32.const 1267) (i32.const 0) ) (unreachable) @@ -23406,7 +27476,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1089) + (i32.const 1268) (i32.const 0) ) (unreachable) @@ -23426,7 +27496,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1090) + (i32.const 1269) (i32.const 0) ) (unreachable) @@ -23446,7 +27516,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1091) + (i32.const 1270) (i32.const 0) ) (unreachable) @@ -23466,7 +27536,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1092) + (i32.const 1271) (i32.const 0) ) (unreachable) @@ -23486,7 +27556,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1093) + (i32.const 1272) (i32.const 0) ) (unreachable) @@ -23506,7 +27576,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1094) + (i32.const 1273) (i32.const 0) ) (unreachable) @@ -23526,7 +27596,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1095) + (i32.const 1274) (i32.const 0) ) (unreachable) @@ -23546,7 +27616,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1096) + (i32.const 1275) (i32.const 0) ) (unreachable) @@ -23566,7 +27636,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1097) + (i32.const 1276) (i32.const 0) ) (unreachable) @@ -23586,7 +27656,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1106) + (i32.const 1285) (i32.const 0) ) (unreachable) @@ -23606,7 +27676,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1107) + (i32.const 1286) (i32.const 0) ) (unreachable) @@ -23626,7 +27696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1108) + (i32.const 1287) (i32.const 0) ) (unreachable) @@ -23646,7 +27716,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1109) + (i32.const 1288) (i32.const 0) ) (unreachable) @@ -23666,7 +27736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1110) + (i32.const 1289) (i32.const 0) ) (unreachable) @@ -23686,7 +27756,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1111) + (i32.const 1290) (i32.const 0) ) (unreachable) @@ -23706,7 +27776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1112) + (i32.const 1291) (i32.const 0) ) (unreachable) @@ -23726,7 +27796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1113) + (i32.const 1292) (i32.const 0) ) (unreachable) @@ -23746,7 +27816,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1114) + (i32.const 1293) (i32.const 0) ) (unreachable) @@ -23766,7 +27836,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1115) + (i32.const 1294) (i32.const 0) ) (unreachable) @@ -23786,7 +27856,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1118) + (i32.const 1297) (i32.const 0) ) (unreachable) @@ -23806,7 +27876,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1119) + (i32.const 1298) (i32.const 0) ) (unreachable) @@ -23826,7 +27896,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1120) + (i32.const 1299) (i32.const 0) ) (unreachable) @@ -23846,7 +27916,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1121) + (i32.const 1300) (i32.const 0) ) (unreachable) @@ -23866,7 +27936,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1122) + (i32.const 1301) (i32.const 0) ) (unreachable) @@ -23886,7 +27956,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1123) + (i32.const 1302) (i32.const 0) ) (unreachable) @@ -23906,7 +27976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1124) + (i32.const 1303) (i32.const 0) ) (unreachable) @@ -23926,7 +27996,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1125) + (i32.const 1304) (i32.const 0) ) (unreachable) @@ -23946,7 +28016,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1126) + (i32.const 1305) (i32.const 0) ) (unreachable) @@ -23966,7 +28036,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1127) + (i32.const 1306) (i32.const 0) ) (unreachable) @@ -23986,7 +28056,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1128) + (i32.const 1307) (i32.const 0) ) (unreachable) @@ -24006,7 +28076,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1129) + (i32.const 1308) (i32.const 0) ) (unreachable) @@ -24026,7 +28096,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1130) + (i32.const 1309) (i32.const 0) ) (unreachable) @@ -24046,7 +28116,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1131) + (i32.const 1310) (i32.const 0) ) (unreachable) @@ -24066,7 +28136,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1132) + (i32.const 1311) (i32.const 0) ) (unreachable) @@ -24086,7 +28156,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1133) + (i32.const 1312) (i32.const 0) ) (unreachable) @@ -24106,7 +28176,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1134) + (i32.const 1313) (i32.const 0) ) (unreachable) @@ -24126,7 +28196,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1135) + (i32.const 1314) (i32.const 0) ) (unreachable) @@ -24146,7 +28216,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1136) + (i32.const 1315) (i32.const 0) ) (unreachable) @@ -24165,7 +28235,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1146) + (i32.const 1325) (i32.const 0) ) (unreachable) @@ -24184,7 +28254,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1147) + (i32.const 1326) (i32.const 0) ) (unreachable) @@ -24203,7 +28273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1148) + (i32.const 1327) (i32.const 0) ) (unreachable) @@ -24222,7 +28292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1149) + (i32.const 1328) (i32.const 0) ) (unreachable) @@ -24241,7 +28311,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1150) + (i32.const 1329) (i32.const 0) ) (unreachable) @@ -24260,7 +28330,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1151) + (i32.const 1330) (i32.const 0) ) (unreachable) @@ -24279,7 +28349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1152) + (i32.const 1331) (i32.const 0) ) (unreachable) @@ -24298,7 +28368,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1153) + (i32.const 1332) (i32.const 0) ) (unreachable) @@ -24317,7 +28387,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1154) + (i32.const 1333) (i32.const 0) ) (unreachable) @@ -24336,7 +28406,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1155) + (i32.const 1334) (i32.const 0) ) (unreachable) @@ -24355,7 +28425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1158) + (i32.const 1337) (i32.const 0) ) (unreachable) @@ -24374,7 +28444,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1159) + (i32.const 1338) (i32.const 0) ) (unreachable) @@ -24393,7 +28463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1160) + (i32.const 1339) (i32.const 0) ) (unreachable) @@ -24412,7 +28482,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1161) + (i32.const 1340) (i32.const 0) ) (unreachable) @@ -24431,7 +28501,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1162) + (i32.const 1341) (i32.const 0) ) (unreachable) @@ -24450,7 +28520,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1163) + (i32.const 1342) (i32.const 0) ) (unreachable) @@ -24469,7 +28539,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1164) + (i32.const 1343) (i32.const 0) ) (unreachable) @@ -24488,7 +28558,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1165) + (i32.const 1344) (i32.const 0) ) (unreachable) @@ -24507,7 +28577,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1174) + (i32.const 1353) (i32.const 0) ) (unreachable) @@ -24526,7 +28596,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1175) + (i32.const 1354) (i32.const 0) ) (unreachable) @@ -24545,7 +28615,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1176) + (i32.const 1355) (i32.const 0) ) (unreachable) @@ -24564,7 +28634,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1177) + (i32.const 1356) (i32.const 0) ) (unreachable) @@ -24583,7 +28653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1178) + (i32.const 1357) (i32.const 0) ) (unreachable) @@ -24602,7 +28672,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1179) + (i32.const 1358) (i32.const 0) ) (unreachable) @@ -24621,7 +28691,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1180) + (i32.const 1359) (i32.const 0) ) (unreachable) @@ -24640,7 +28710,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1181) + (i32.const 1360) (i32.const 0) ) (unreachable) @@ -24659,7 +28729,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1184) + (i32.const 1363) (i32.const 0) ) (unreachable) @@ -24678,7 +28748,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1185) + (i32.const 1364) (i32.const 0) ) (unreachable) @@ -24697,7 +28767,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1186) + (i32.const 1365) (i32.const 0) ) (unreachable) @@ -24716,7 +28786,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1187) + (i32.const 1366) (i32.const 0) ) (unreachable) @@ -24735,7 +28805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1188) + (i32.const 1367) (i32.const 0) ) (unreachable) @@ -24754,7 +28824,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1189) + (i32.const 1368) (i32.const 0) ) (unreachable) @@ -24773,7 +28843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1190) + (i32.const 1369) (i32.const 0) ) (unreachable) @@ -24792,7 +28862,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1191) + (i32.const 1370) (i32.const 0) ) (unreachable) @@ -24811,7 +28881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1201) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -24830,7 +28900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1202) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -24849,7 +28919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1203) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -24868,7 +28938,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1204) + (i32.const 1383) (i32.const 0) ) (unreachable) @@ -24887,7 +28957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1205) + (i32.const 1384) (i32.const 0) ) (unreachable) @@ -24906,7 +28976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1206) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -24925,7 +28995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1207) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -24944,7 +29014,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1208) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -24963,7 +29033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1209) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -24982,7 +29052,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1210) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -25001,7 +29071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1213) + (i32.const 1392) (i32.const 0) ) (unreachable) @@ -25020,7 +29090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1214) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -25039,7 +29109,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1215) + (i32.const 1394) (i32.const 0) ) (unreachable) @@ -25058,7 +29128,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1216) + (i32.const 1395) (i32.const 0) ) (unreachable) @@ -25077,7 +29147,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1217) + (i32.const 1396) (i32.const 0) ) (unreachable) @@ -25096,7 +29166,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1218) + (i32.const 1397) (i32.const 0) ) (unreachable) @@ -25115,7 +29185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1219) + (i32.const 1398) (i32.const 0) ) (unreachable) @@ -25134,7 +29204,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1220) + (i32.const 1399) (i32.const 0) ) (unreachable) @@ -25153,7 +29223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1229) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -25172,7 +29242,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1230) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -25191,7 +29261,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1231) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -25210,7 +29280,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1232) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -25229,7 +29299,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1233) + (i32.const 1412) (i32.const 0) ) (unreachable) @@ -25248,7 +29318,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1234) + (i32.const 1413) (i32.const 0) ) (unreachable) @@ -25267,7 +29337,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1235) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -25286,7 +29356,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1236) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -25305,7 +29375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1237) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -25324,7 +29394,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1238) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -25343,7 +29413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1241) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -25362,7 +29432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1242) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -25381,7 +29451,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1243) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -25400,7 +29470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1244) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -25419,7 +29489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1245) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -25438,7 +29508,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1246) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -25457,7 +29527,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1247) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -25476,7 +29546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1248) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -25495,7 +29565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1258) + (i32.const 1437) (i32.const 0) ) (unreachable) @@ -25514,7 +29584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1259) + (i32.const 1438) (i32.const 0) ) (unreachable) @@ -25533,7 +29603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1260) + (i32.const 1439) (i32.const 0) ) (unreachable) @@ -25552,7 +29622,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1261) + (i32.const 1440) (i32.const 0) ) (unreachable) @@ -25571,7 +29641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1262) + (i32.const 1441) (i32.const 0) ) (unreachable) @@ -25590,7 +29660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1263) + (i32.const 1442) (i32.const 0) ) (unreachable) @@ -25609,7 +29679,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1264) + (i32.const 1443) (i32.const 0) ) (unreachable) @@ -25628,7 +29698,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1265) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -25647,7 +29717,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1266) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -25666,7 +29736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1267) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -25685,7 +29755,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1270) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -25704,7 +29774,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1271) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -25723,7 +29793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1272) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -25742,7 +29812,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1273) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -25761,7 +29831,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1274) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -25780,7 +29850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1275) + (i32.const 1454) (i32.const 0) ) (unreachable) @@ -25799,7 +29869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1276) + (i32.const 1455) (i32.const 0) ) (unreachable) @@ -25818,7 +29888,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1277) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -25837,7 +29907,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1286) + (i32.const 1465) (i32.const 0) ) (unreachable) @@ -25856,7 +29926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1287) + (i32.const 1466) (i32.const 0) ) (unreachable) @@ -25875,7 +29945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1288) + (i32.const 1467) (i32.const 0) ) (unreachable) @@ -25894,7 +29964,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1289) + (i32.const 1468) (i32.const 0) ) (unreachable) @@ -25913,7 +29983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1290) + (i32.const 1469) (i32.const 0) ) (unreachable) @@ -25932,7 +30002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1291) + (i32.const 1470) (i32.const 0) ) (unreachable) @@ -25951,7 +30021,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1292) + (i32.const 1471) (i32.const 0) ) (unreachable) @@ -25970,7 +30040,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1293) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -25989,7 +30059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1294) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -26008,7 +30078,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1295) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -26027,7 +30097,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1298) + (i32.const 1477) (i32.const 0) ) (unreachable) @@ -26046,7 +30116,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1299) + (i32.const 1478) (i32.const 0) ) (unreachable) @@ -26065,7 +30135,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1300) + (i32.const 1479) (i32.const 0) ) (unreachable) @@ -26084,7 +30154,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1301) + (i32.const 1480) (i32.const 0) ) (unreachable) @@ -26103,7 +30173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1302) + (i32.const 1481) (i32.const 0) ) (unreachable) @@ -26122,7 +30192,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1303) + (i32.const 1482) (i32.const 0) ) (unreachable) @@ -26141,7 +30211,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1304) + (i32.const 1483) (i32.const 0) ) (unreachable) @@ -26160,7 +30230,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1305) + (i32.const 1484) (i32.const 0) ) (unreachable) @@ -26179,7 +30249,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1306) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -26198,7 +30268,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1316) + (i32.const 1495) (i32.const 0) ) (unreachable) @@ -26217,7 +30287,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1317) + (i32.const 1496) (i32.const 0) ) (unreachable) @@ -26236,7 +30306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1318) + (i32.const 1497) (i32.const 0) ) (unreachable) @@ -26255,7 +30325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1319) + (i32.const 1498) (i32.const 0) ) (unreachable) @@ -26274,7 +30344,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1320) + (i32.const 1499) (i32.const 0) ) (unreachable) @@ -26293,7 +30363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1321) + (i32.const 1500) (i32.const 0) ) (unreachable) @@ -26312,7 +30382,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1322) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -26331,7 +30401,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1323) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -26350,7 +30420,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1324) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -26369,7 +30439,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1325) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -26388,7 +30458,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1328) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -26407,7 +30477,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1329) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -26426,7 +30496,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1330) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -26445,7 +30515,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1331) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -26464,7 +30534,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1332) + (i32.const 1511) (i32.const 0) ) (unreachable) @@ -26483,7 +30553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1333) + (i32.const 1512) (i32.const 0) ) (unreachable) @@ -26502,7 +30572,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1334) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -26521,7 +30591,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1335) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -26540,7 +30610,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1344) + (i32.const 1523) (i32.const 0) ) (unreachable) @@ -26559,7 +30629,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1345) + (i32.const 1524) (i32.const 0) ) (unreachable) @@ -26578,7 +30648,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1346) + (i32.const 1525) (i32.const 0) ) (unreachable) @@ -26597,7 +30667,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1347) + (i32.const 1526) (i32.const 0) ) (unreachable) @@ -26616,7 +30686,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1348) + (i32.const 1527) (i32.const 0) ) (unreachable) @@ -26635,7 +30705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1349) + (i32.const 1528) (i32.const 0) ) (unreachable) @@ -26654,7 +30724,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1350) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -26673,7 +30743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1351) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -26692,7 +30762,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1352) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -26711,7 +30781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1353) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -26730,7 +30800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1356) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -26749,7 +30819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1357) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -26768,7 +30838,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1358) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -26787,7 +30857,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1359) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -26806,7 +30876,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1360) + (i32.const 1539) (i32.const 0) ) (unreachable) @@ -26825,7 +30895,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1361) + (i32.const 1540) (i32.const 0) ) (unreachable) @@ -26844,7 +30914,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1362) + (i32.const 1541) (i32.const 0) ) (unreachable) @@ -26863,7 +30933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1363) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -26883,7 +30953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1373) + (i32.const 1552) (i32.const 0) ) (unreachable) @@ -26903,7 +30973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1374) + (i32.const 1553) (i32.const 0) ) (unreachable) @@ -26923,7 +30993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1375) + (i32.const 1554) (i32.const 0) ) (unreachable) @@ -26943,7 +31013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1376) + (i32.const 1555) (i32.const 0) ) (unreachable) @@ -26963,7 +31033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1377) + (i32.const 1556) (i32.const 0) ) (unreachable) @@ -26983,7 +31053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1378) + (i32.const 1557) (i32.const 0) ) (unreachable) @@ -27003,7 +31073,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1379) + (i32.const 1558) (i32.const 0) ) (unreachable) @@ -27023,7 +31093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 1559) (i32.const 0) ) (unreachable) @@ -27043,7 +31113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -27063,7 +31133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -27083,7 +31153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1385) + (i32.const 1564) (i32.const 0) ) (unreachable) @@ -27103,7 +31173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -27123,7 +31193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -27143,7 +31213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -27163,7 +31233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -27183,7 +31253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1390) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -27203,7 +31273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1391) + (i32.const 1570) (i32.const 0) ) (unreachable) @@ -27223,7 +31293,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 1571) (i32.const 0) ) (unreachable) @@ -27243,7 +31313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -27263,7 +31333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -27283,7 +31353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -27303,7 +31373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -27323,7 +31393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -27343,7 +31413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -27363,7 +31433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -27383,7 +31453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1400) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -27403,7 +31473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1401) + (i32.const 1580) (i32.const 0) ) (unreachable) @@ -27423,7 +31493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1402) + (i32.const 1581) (i32.const 0) ) (unreachable) @@ -27443,7 +31513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1403) + (i32.const 1582) (i32.const 0) ) (unreachable) @@ -27463,7 +31533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1404) + (i32.const 1583) (i32.const 0) ) (unreachable) @@ -27483,7 +31553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1405) + (i32.const 1584) (i32.const 0) ) (unreachable) @@ -27503,7 +31573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1406) + (i32.const 1585) (i32.const 0) ) (unreachable) @@ -27523,7 +31593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1407) + (i32.const 1586) (i32.const 0) ) (unreachable) @@ -27543,7 +31613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 1587) (i32.const 0) ) (unreachable) @@ -27563,7 +31633,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -27583,7 +31653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 1589) (i32.const 0) ) (unreachable) @@ -27603,7 +31673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 1590) (i32.const 0) ) (unreachable) @@ -27623,7 +31693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 1591) (i32.const 0) ) (unreachable) @@ -27643,7 +31713,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 1592) (i32.const 0) ) (unreachable) @@ -27663,7 +31733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 1593) (i32.const 0) ) (unreachable) @@ -27683,7 +31753,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 1594) (i32.const 0) ) (unreachable) @@ -27703,7 +31773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 1595) (i32.const 0) ) (unreachable) @@ -27723,7 +31793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 1596) (i32.const 0) ) (unreachable) @@ -27743,7 +31813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1418) + (i32.const 1597) (i32.const 0) ) (unreachable) @@ -27763,7 +31833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1419) + (i32.const 1598) (i32.const 0) ) (unreachable) @@ -27783,7 +31853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 1599) (i32.const 0) ) (unreachable) @@ -27803,7 +31873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 1600) (i32.const 0) ) (unreachable) @@ -27823,7 +31893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 1601) (i32.const 0) ) (unreachable) @@ -27843,7 +31913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 1602) (i32.const 0) ) (unreachable) @@ -27863,7 +31933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 1603) (i32.const 0) ) (unreachable) @@ -27883,7 +31953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 1604) (i32.const 0) ) (unreachable) @@ -27903,7 +31973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 1605) (i32.const 0) ) (unreachable) @@ -27923,7 +31993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 1606) (i32.const 0) ) (unreachable) @@ -27943,7 +32013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1428) + (i32.const 1607) (i32.const 0) ) (unreachable) @@ -27963,7 +32033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1429) + (i32.const 1608) (i32.const 0) ) (unreachable) @@ -27983,7 +32053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1430) + (i32.const 1609) (i32.const 0) ) (unreachable) @@ -28003,7 +32073,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1431) + (i32.const 1610) (i32.const 0) ) (unreachable) @@ -28023,7 +32093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1432) + (i32.const 1611) (i32.const 0) ) (unreachable) @@ -28043,7 +32113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1433) + (i32.const 1612) (i32.const 0) ) (unreachable) @@ -28063,7 +32133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1434) + (i32.const 1613) (i32.const 0) ) (unreachable) @@ -28083,7 +32153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1435) + (i32.const 1614) (i32.const 0) ) (unreachable) @@ -28103,7 +32173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1436) + (i32.const 1615) (i32.const 0) ) (unreachable) @@ -28123,7 +32193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 1616) (i32.const 0) ) (unreachable) @@ -28143,7 +32213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 1617) (i32.const 0) ) (unreachable) @@ -28163,7 +32233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 1618) (i32.const 0) ) (unreachable) @@ -28183,7 +32253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 1619) (i32.const 0) ) (unreachable) @@ -28203,7 +32273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 1620) (i32.const 0) ) (unreachable) @@ -28223,7 +32293,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 1621) (i32.const 0) ) (unreachable) @@ -28243,7 +32313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 1622) (i32.const 0) ) (unreachable) @@ -28263,7 +32333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 1623) (i32.const 0) ) (unreachable) @@ -28283,7 +32353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 1624) (i32.const 0) ) (unreachable) @@ -28303,7 +32373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 1625) (i32.const 0) ) (unreachable) @@ -28323,7 +32393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1447) + (i32.const 1626) (i32.const 0) ) (unreachable) @@ -28343,7 +32413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1448) + (i32.const 1627) (i32.const 0) ) (unreachable) @@ -28363,7 +32433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 1628) (i32.const 0) ) (unreachable) @@ -28383,7 +32453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 1629) (i32.const 0) ) (unreachable) @@ -28403,7 +32473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1451) + (i32.const 1630) (i32.const 0) ) (unreachable) @@ -28423,7 +32493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 1631) (i32.const 0) ) (unreachable) @@ -28443,7 +32513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 1632) (i32.const 0) ) (unreachable) @@ -28463,7 +32533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 1633) (i32.const 0) ) (unreachable) @@ -28483,7 +32553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 1634) (i32.const 0) ) (unreachable) @@ -28503,7 +32573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 1635) (i32.const 0) ) (unreachable) @@ -28523,7 +32593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1457) + (i32.const 1636) (i32.const 0) ) (unreachable) @@ -28543,7 +32613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1458) + (i32.const 1637) (i32.const 0) ) (unreachable) @@ -28563,7 +32633,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1459) + (i32.const 1638) (i32.const 0) ) (unreachable) @@ -28583,7 +32653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1460) + (i32.const 1639) (i32.const 0) ) (unreachable) @@ -28603,7 +32673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1461) + (i32.const 1640) (i32.const 0) ) (unreachable) @@ -28623,7 +32693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1462) + (i32.const 1641) (i32.const 0) ) (unreachable) @@ -28643,7 +32713,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1463) + (i32.const 1642) (i32.const 0) ) (unreachable) @@ -28663,7 +32733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1464) + (i32.const 1643) (i32.const 0) ) (unreachable) @@ -28683,7 +32753,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 1644) (i32.const 0) ) (unreachable) @@ -28703,7 +32773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 1645) (i32.const 0) ) (unreachable) @@ -28723,7 +32793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 1646) (i32.const 0) ) (unreachable) @@ -28743,7 +32813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 1647) (i32.const 0) ) (unreachable) @@ -28763,7 +32833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 1648) (i32.const 0) ) (unreachable) @@ -28783,7 +32853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 1649) (i32.const 0) ) (unreachable) @@ -28803,7 +32873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 1650) (i32.const 0) ) (unreachable) @@ -28823,7 +32893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 1651) (i32.const 0) ) (unreachable) @@ -28843,7 +32913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 1652) (i32.const 0) ) (unreachable) @@ -28863,7 +32933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 1653) (i32.const 0) ) (unreachable) @@ -28883,7 +32953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1475) + (i32.const 1654) (i32.const 0) ) (unreachable) @@ -28903,7 +32973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1476) + (i32.const 1655) (i32.const 0) ) (unreachable) @@ -28923,7 +32993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1485) + (i32.const 1664) (i32.const 0) ) (unreachable) @@ -28943,7 +33013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1486) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -28963,7 +33033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1487) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -28983,7 +33053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1488) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -29003,7 +33073,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1489) + (i32.const 1668) (i32.const 0) ) (unreachable) @@ -29023,7 +33093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1490) + (i32.const 1669) (i32.const 0) ) (unreachable) @@ -29043,7 +33113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1491) + (i32.const 1670) (i32.const 0) ) (unreachable) @@ -29063,7 +33133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1492) + (i32.const 1671) (i32.const 0) ) (unreachable) @@ -29083,7 +33153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1493) + (i32.const 1672) (i32.const 0) ) (unreachable) @@ -29103,7 +33173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1494) + (i32.const 1673) (i32.const 0) ) (unreachable) @@ -29123,7 +33193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1497) + (i32.const 1676) (i32.const 0) ) (unreachable) @@ -29143,7 +33213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 1677) (i32.const 0) ) (unreachable) @@ -29163,7 +33233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 1678) (i32.const 0) ) (unreachable) @@ -29183,7 +33253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -29203,7 +33273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -29223,7 +33293,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -29243,7 +33313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 1682) (i32.const 0) ) (unreachable) @@ -29263,7 +33333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 1683) (i32.const 0) ) (unreachable) @@ -29283,7 +33353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1505) + (i32.const 1684) (i32.const 0) ) (unreachable) @@ -29303,7 +33373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1506) + (i32.const 1685) (i32.const 0) ) (unreachable) @@ -29323,7 +33393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 1686) (i32.const 0) ) (unreachable) @@ -29343,7 +33413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 1687) (i32.const 0) ) (unreachable) @@ -29363,7 +33433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 1688) (i32.const 0) ) (unreachable) @@ -29383,7 +33453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 1689) (i32.const 0) ) (unreachable) @@ -29403,7 +33473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 1690) (i32.const 0) ) (unreachable) @@ -29423,7 +33493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -29443,7 +33513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -29463,7 +33533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -29483,7 +33553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1515) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -29503,7 +33573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1516) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -29523,7 +33593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1517) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -29543,7 +33613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1518) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -29563,7 +33633,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1519) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -29583,7 +33653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1520) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -29603,7 +33673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1521) + (i32.const 1700) (i32.const 0) ) (unreachable) @@ -29623,7 +33693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1522) + (i32.const 1701) (i32.const 0) ) (unreachable) @@ -29643,7 +33713,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1523) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -29663,7 +33733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -29683,7 +33753,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -29703,7 +33773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -29723,7 +33793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -29743,7 +33813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 1707) (i32.const 0) ) (unreachable) @@ -29763,7 +33833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 1708) (i32.const 0) ) (unreachable) @@ -29783,7 +33853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 1709) (i32.const 0) ) (unreachable) @@ -29803,7 +33873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 1710) (i32.const 0) ) (unreachable) @@ -29823,7 +33893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 1711) (i32.const 0) ) (unreachable) @@ -29843,7 +33913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1533) + (i32.const 1712) (i32.const 0) ) (unreachable) @@ -29863,7 +33933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1534) + (i32.const 1713) (i32.const 0) ) (unreachable) @@ -29883,7 +33953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 1714) (i32.const 0) ) (unreachable) @@ -29903,7 +33973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 1715) (i32.const 0) ) (unreachable) @@ -29923,7 +33993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -29943,7 +34013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -29963,7 +34033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -29983,7 +34053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -30003,7 +34073,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -30023,7 +34093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -30043,7 +34113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1543) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -30063,7 +34133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1544) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -30083,7 +34153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1545) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -30103,7 +34173,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1546) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -30123,7 +34193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1547) + (i32.const 1726) (i32.const 0) ) (unreachable) @@ -30143,7 +34213,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1548) + (i32.const 1727) (i32.const 0) ) (unreachable) @@ -30163,7 +34233,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1549) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -30183,7 +34253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1550) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -30203,7 +34273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1551) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -30223,7 +34293,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -30243,7 +34313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -30263,7 +34333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -30283,7 +34353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -30303,7 +34373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -30323,7 +34393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -30343,7 +34413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -30363,7 +34433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -30383,7 +34453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -30403,7 +34473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1561) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -30423,7 +34493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1562) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -30443,7 +34513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1563) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -30463,7 +34533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -30483,7 +34553,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -30503,7 +34573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -30523,7 +34593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -30543,7 +34613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -30563,7 +34633,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -30583,7 +34653,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 1749) (i32.const 0) ) (unreachable) @@ -30603,7 +34673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 1750) (i32.const 0) ) (unreachable) @@ -30623,7 +34693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1572) + (i32.const 1751) (i32.const 0) ) (unreachable) @@ -30643,7 +34713,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 1752) (i32.const 0) ) (unreachable) @@ -30663,7 +34733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 1753) (i32.const 0) ) (unreachable) @@ -30683,7 +34753,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 1754) (i32.const 0) ) (unreachable) @@ -30703,7 +34773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 1755) (i32.const 0) ) (unreachable) @@ -30723,7 +34793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 1756) (i32.const 0) ) (unreachable) @@ -30743,7 +34813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -30763,7 +34833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -30783,7 +34853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -30803,7 +34873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -30823,7 +34893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -30843,7 +34913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -30863,7 +34933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -30883,7 +34953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -30903,7 +34973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -30923,7 +34993,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -30943,7 +35013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 1767) (i32.const 0) ) (unreachable) @@ -30988,7 +35058,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1595) + (i32.const 1774) (i32.const 2) ) (unreachable) @@ -31017,7 +35087,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1665) + (i32.const 1844) (i32.const 0) ) (unreachable) @@ -31036,7 +35106,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 1845) (i32.const 0) ) (unreachable) @@ -31055,7 +35125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 1846) (i32.const 0) ) (unreachable) @@ -31074,7 +35144,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 1847) (i32.const 0) ) (unreachable) @@ -31093,7 +35163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 1848) (i32.const 0) ) (unreachable) @@ -31112,7 +35182,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 1849) (i32.const 0) ) (unreachable) @@ -31131,7 +35201,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 1850) (i32.const 0) ) (unreachable) @@ -31150,7 +35220,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 1851) (i32.const 0) ) (unreachable) @@ -31169,7 +35239,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 1852) (i32.const 0) ) (unreachable) @@ -31188,7 +35258,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1674) + (i32.const 1853) (i32.const 0) ) (unreachable) @@ -31207,7 +35277,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1677) + (i32.const 1856) (i32.const 0) ) (unreachable) @@ -31226,7 +35296,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 1857) (i32.const 0) ) (unreachable) @@ -31245,7 +35315,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 1858) (i32.const 0) ) (unreachable) @@ -31264,7 +35334,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 1859) (i32.const 0) ) (unreachable) @@ -31283,7 +35353,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 1860) (i32.const 0) ) (unreachable) @@ -31302,7 +35372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1690) + (i32.const 1869) (i32.const 0) ) (unreachable) @@ -31321,7 +35391,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 1870) (i32.const 0) ) (unreachable) @@ -31340,7 +35410,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 1871) (i32.const 0) ) (unreachable) @@ -31359,7 +35429,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 1872) (i32.const 0) ) (unreachable) @@ -31378,7 +35448,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 1873) (i32.const 0) ) (unreachable) @@ -31397,7 +35467,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 1874) (i32.const 0) ) (unreachable) @@ -31416,7 +35486,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 1875) (i32.const 0) ) (unreachable) @@ -31435,7 +35505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 1876) (i32.const 0) ) (unreachable) @@ -31454,7 +35524,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 1877) (i32.const 0) ) (unreachable) @@ -31473,7 +35543,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 1878) (i32.const 0) ) (unreachable) @@ -31492,7 +35562,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1702) + (i32.const 1881) (i32.const 0) ) (unreachable) @@ -31511,7 +35581,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 1882) (i32.const 0) ) (unreachable) @@ -31530,7 +35600,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 1883) (i32.const 0) ) (unreachable) @@ -31549,7 +35619,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 1884) (i32.const 0) ) (unreachable) @@ -31568,7 +35638,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 1885) (i32.const 0) ) (unreachable) @@ -31587,7 +35657,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1716) + (i32.const 1895) (i32.const 0) ) (unreachable) @@ -31606,7 +35676,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 1896) (i32.const 0) ) (unreachable) @@ -31625,7 +35695,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 1897) (i32.const 0) ) (unreachable) @@ -31644,7 +35714,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 1898) (i32.const 0) ) (unreachable) @@ -31663,7 +35733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 1899) (i32.const 0) ) (unreachable) @@ -31682,7 +35752,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 1900) (i32.const 0) ) (unreachable) @@ -31701,7 +35771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 1901) (i32.const 0) ) (unreachable) @@ -31720,7 +35790,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 1902) (i32.const 0) ) (unreachable) @@ -31739,7 +35809,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 1903) (i32.const 0) ) (unreachable) @@ -31758,7 +35828,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 1904) (i32.const 0) ) (unreachable) @@ -31777,7 +35847,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1728) + (i32.const 1907) (i32.const 0) ) (unreachable) @@ -31796,7 +35866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 1908) (i32.const 0) ) (unreachable) @@ -31815,7 +35885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 1909) (i32.const 0) ) (unreachable) @@ -31834,7 +35904,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 1910) (i32.const 0) ) (unreachable) @@ -31853,7 +35923,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 1911) (i32.const 0) ) (unreachable) @@ -31872,7 +35942,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 1912) (i32.const 0) ) (unreachable) @@ -31891,7 +35961,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 1913) (i32.const 0) ) (unreachable) @@ -31910,7 +35980,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 1914) (i32.const 0) ) (unreachable) @@ -31929,7 +35999,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 1915) (i32.const 0) ) (unreachable) @@ -31948,7 +36018,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 1916) (i32.const 0) ) (unreachable) @@ -31967,7 +36037,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -31986,7 +36056,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -32005,7 +36075,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -32024,7 +36094,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -32043,7 +36113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -32062,7 +36132,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 1922) (i32.const 0) ) (unreachable) @@ -32081,7 +36151,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 1923) (i32.const 0) ) (unreachable) @@ -32100,7 +36170,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -32119,7 +36189,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -32138,7 +36208,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 1926) (i32.const 0) ) (unreachable) @@ -32157,7 +36227,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 1927) (i32.const 0) ) (unreachable) @@ -32176,7 +36246,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -32195,7 +36265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 1929) (i32.const 0) ) (unreachable) @@ -32214,7 +36284,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 1930) (i32.const 0) ) (unreachable) @@ -32233,7 +36303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 1931) (i32.const 0) ) (unreachable) @@ -32252,7 +36322,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 1932) (i32.const 0) ) (unreachable) @@ -32271,7 +36341,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 1933) (i32.const 0) ) (unreachable) @@ -32290,7 +36360,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 1934) (i32.const 0) ) (unreachable) @@ -32309,7 +36379,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 1935) (i32.const 0) ) (unreachable) @@ -32328,7 +36398,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 1936) (i32.const 0) ) (unreachable) @@ -32347,7 +36417,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -32366,7 +36436,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -32385,7 +36455,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -32404,7 +36474,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -32423,7 +36493,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -32442,7 +36512,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -32461,7 +36531,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -32480,7 +36550,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -32499,7 +36569,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -32518,7 +36588,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -32537,7 +36607,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1768) + (i32.const 1947) (i32.const 0) ) (unreachable) @@ -32556,7 +36626,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1769) + (i32.const 1948) (i32.const 0) ) (unreachable) @@ -32575,7 +36645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1770) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -32594,7 +36664,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1771) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -32613,7 +36683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1772) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -32632,7 +36702,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1773) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -32651,7 +36721,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1774) + (i32.const 1953) (i32.const 0) ) (unreachable) @@ -32670,7 +36740,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1775) + (i32.const 1954) (i32.const 0) ) (unreachable) @@ -32689,7 +36759,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1776) + (i32.const 1955) (i32.const 0) ) (unreachable) @@ -32708,7 +36778,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1777) + (i32.const 1956) (i32.const 0) ) (unreachable) @@ -32727,7 +36797,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1778) + (i32.const 1957) (i32.const 0) ) (unreachable) @@ -32746,7 +36816,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1779) + (i32.const 1958) (i32.const 0) ) (unreachable) @@ -32765,7 +36835,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1780) + (i32.const 1959) (i32.const 0) ) (unreachable) @@ -32784,7 +36854,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1781) + (i32.const 1960) (i32.const 0) ) (unreachable) @@ -32803,7 +36873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1782) + (i32.const 1961) (i32.const 0) ) (unreachable) @@ -32822,7 +36892,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1783) + (i32.const 1962) (i32.const 0) ) (unreachable) @@ -32841,7 +36911,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1784) + (i32.const 1963) (i32.const 0) ) (unreachable) @@ -32860,7 +36930,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1785) + (i32.const 1964) (i32.const 0) ) (unreachable) @@ -32879,7 +36949,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1786) + (i32.const 1965) (i32.const 0) ) (unreachable) @@ -32898,7 +36968,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1787) + (i32.const 1966) (i32.const 0) ) (unreachable) @@ -32917,7 +36987,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1788) + (i32.const 1967) (i32.const 0) ) (unreachable) @@ -32936,7 +37006,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1789) + (i32.const 1968) (i32.const 0) ) (unreachable) @@ -32955,7 +37025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1790) + (i32.const 1969) (i32.const 0) ) (unreachable) @@ -32974,7 +37044,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1791) + (i32.const 1970) (i32.const 0) ) (unreachable) @@ -32993,7 +37063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1792) + (i32.const 1971) (i32.const 0) ) (unreachable) @@ -33012,7 +37082,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1793) + (i32.const 1972) (i32.const 0) ) (unreachable) @@ -33031,7 +37101,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1794) + (i32.const 1973) (i32.const 0) ) (unreachable) @@ -33050,7 +37120,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1795) + (i32.const 1974) (i32.const 0) ) (unreachable) @@ -33069,7 +37139,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1796) + (i32.const 1975) (i32.const 0) ) (unreachable) @@ -33088,7 +37158,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1797) + (i32.const 1976) (i32.const 0) ) (unreachable) @@ -33107,7 +37177,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1798) + (i32.const 1977) (i32.const 0) ) (unreachable) @@ -33126,7 +37196,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1799) + (i32.const 1978) (i32.const 0) ) (unreachable) @@ -33145,7 +37215,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1800) + (i32.const 1979) (i32.const 0) ) (unreachable) @@ -33164,7 +37234,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1801) + (i32.const 1980) (i32.const 0) ) (unreachable) @@ -33183,7 +37253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1810) + (i32.const 1989) (i32.const 0) ) (unreachable) @@ -33202,7 +37272,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1811) + (i32.const 1990) (i32.const 0) ) (unreachable) @@ -33221,7 +37291,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1812) + (i32.const 1991) (i32.const 0) ) (unreachable) @@ -33240,7 +37310,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1813) + (i32.const 1992) (i32.const 0) ) (unreachable) @@ -33259,7 +37329,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1814) + (i32.const 1993) (i32.const 0) ) (unreachable) @@ -33278,7 +37348,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1815) + (i32.const 1994) (i32.const 0) ) (unreachable) @@ -33297,7 +37367,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1816) + (i32.const 1995) (i32.const 0) ) (unreachable) @@ -33316,7 +37386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1817) + (i32.const 1996) (i32.const 0) ) (unreachable) @@ -33335,7 +37405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1818) + (i32.const 1997) (i32.const 0) ) (unreachable) @@ -33354,7 +37424,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1819) + (i32.const 1998) (i32.const 0) ) (unreachable) @@ -33373,7 +37443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1822) + (i32.const 2001) (i32.const 0) ) (unreachable) @@ -33392,7 +37462,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1823) + (i32.const 2002) (i32.const 0) ) (unreachable) @@ -33411,7 +37481,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1824) + (i32.const 2003) (i32.const 0) ) (unreachable) @@ -33430,7 +37500,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1825) + (i32.const 2004) (i32.const 0) ) (unreachable) @@ -33449,7 +37519,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1826) + (i32.const 2005) (i32.const 0) ) (unreachable) @@ -33468,7 +37538,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1827) + (i32.const 2006) (i32.const 0) ) (unreachable) @@ -33487,7 +37557,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1828) + (i32.const 2007) (i32.const 0) ) (unreachable) @@ -33506,7 +37576,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1829) + (i32.const 2008) (i32.const 0) ) (unreachable) @@ -33525,7 +37595,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1830) + (i32.const 2009) (i32.const 0) ) (unreachable) @@ -33544,7 +37614,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1831) + (i32.const 2010) (i32.const 0) ) (unreachable) @@ -33563,7 +37633,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1832) + (i32.const 2011) (i32.const 0) ) (unreachable) @@ -33582,7 +37652,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1833) + (i32.const 2012) (i32.const 0) ) (unreachable) @@ -33601,7 +37671,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1834) + (i32.const 2013) (i32.const 0) ) (unreachable) @@ -33620,7 +37690,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1835) + (i32.const 2014) (i32.const 0) ) (unreachable) @@ -33639,7 +37709,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1836) + (i32.const 2015) (i32.const 0) ) (unreachable) @@ -33658,7 +37728,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1837) + (i32.const 2016) (i32.const 0) ) (unreachable) @@ -33677,7 +37747,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1838) + (i32.const 2017) (i32.const 0) ) (unreachable) @@ -33696,7 +37766,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1839) + (i32.const 2018) (i32.const 0) ) (unreachable) @@ -33715,7 +37785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1840) + (i32.const 2019) (i32.const 0) ) (unreachable) @@ -33734,7 +37804,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1841) + (i32.const 2020) (i32.const 0) ) (unreachable) @@ -33753,7 +37823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1842) + (i32.const 2021) (i32.const 0) ) (unreachable) @@ -33772,7 +37842,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1843) + (i32.const 2022) (i32.const 0) ) (unreachable) @@ -33791,7 +37861,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1912) + (i32.const 2091) (i32.const 0) ) (unreachable) @@ -33810,7 +37880,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 2092) (i32.const 0) ) (unreachable) @@ -33829,7 +37899,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 2093) (i32.const 0) ) (unreachable) @@ -33848,7 +37918,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 2094) (i32.const 0) ) (unreachable) @@ -33867,7 +37937,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 2095) (i32.const 0) ) (unreachable) @@ -33886,7 +37956,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 2096) (i32.const 0) ) (unreachable) @@ -33905,7 +37975,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 2097) (i32.const 0) ) (unreachable) @@ -33924,7 +37994,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 2098) (i32.const 0) ) (unreachable) @@ -33943,7 +38013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 2099) (i32.const 0) ) (unreachable) @@ -33962,7 +38032,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 2100) (i32.const 0) ) (unreachable) @@ -33981,7 +38051,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1924) + (i32.const 2103) (i32.const 0) ) (unreachable) @@ -34000,7 +38070,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 2104) (i32.const 0) ) (unreachable) @@ -34019,7 +38089,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 2105) (i32.const 0) ) (unreachable) @@ -34038,7 +38108,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 2106) (i32.const 0) ) (unreachable) @@ -34057,7 +38127,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 2107) (i32.const 0) ) (unreachable) @@ -34076,7 +38146,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1937) + (i32.const 2116) (i32.const 0) ) (unreachable) @@ -34095,7 +38165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 2117) (i32.const 0) ) (unreachable) @@ -34114,7 +38184,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 2118) (i32.const 0) ) (unreachable) @@ -34133,7 +38203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 2119) (i32.const 0) ) (unreachable) @@ -34152,7 +38222,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 2120) (i32.const 0) ) (unreachable) @@ -34171,7 +38241,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 2121) (i32.const 0) ) (unreachable) @@ -34190,7 +38260,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 2122) (i32.const 0) ) (unreachable) @@ -34209,7 +38279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 2123) (i32.const 0) ) (unreachable) @@ -34228,7 +38298,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 2124) (i32.const 0) ) (unreachable) @@ -34247,7 +38317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 2125) (i32.const 0) ) (unreachable) @@ -34266,7 +38336,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1949) + (i32.const 2128) (i32.const 0) ) (unreachable) @@ -34285,7 +38355,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 2129) (i32.const 0) ) (unreachable) @@ -34304,7 +38374,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 2130) (i32.const 0) ) (unreachable) @@ -34323,7 +38393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 2131) (i32.const 0) ) (unreachable) @@ -34342,7 +38412,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 2132) (i32.const 0) ) (unreachable) diff --git a/tests/compiler/std/math.ts b/tests/compiler/std/math.ts index afab6ce213..4bb4d00db9 100644 --- a/tests/compiler/std/math.ts +++ b/tests/compiler/std/math.ts @@ -1,7 +1,7 @@ // based on http://nsz.repo.hu/git/?p=libc-test // mostly generated from their tests using scripts/hexfloat.html -const JS = true; +const js = true; const INEXACT = 1 << 0; const INVALID = 1 << 1; @@ -167,183 +167,362 @@ assert(test_scalbnf(1.000244141, -149, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW assert(test_scalbnf(0.7499999404, -148, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); assert(test_scalbnf(0.5000006557, -128, 1.469369340e-39, 0.0, INEXACT | UNDERFLOW)); -// === built-in fmod ================================ +// === NativeMath.mod ================================ -function test_fmod(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { - return check(left % right, expected, error, flags); +declare namespace JSOp { + export function mod(x: f64, y: f64): f64; +} + +function test_mod(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.mod(left, right), expected, error, flags) && + (!js || check( JSOp.mod(left, right), expected, error, flags)); +} + +// sanity +assert(test_mod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0)); +assert(test_mod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_mod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); +assert(test_mod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); +assert(test_mod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0)); +assert(test_mod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0)); +assert(test_mod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0)); +assert(test_mod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_mod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_mod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); + +// special +assert(test_mod(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_mod(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_mod(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_mod(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_mod(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, 1.0, NaN, 0.0, 0)); +assert(test_mod(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_mod(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_mod(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_mod(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_mod(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, -1.0, NaN, 0.0, 0)); +assert(test_mod(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_mod(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_mod(0.0, NaN, NaN, 0.0, 0)); +assert(test_mod(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_mod(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_mod(-0.0, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, 0.0, NaN, 0.0, 0)); +assert(test_mod(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, -0.0, NaN, 0.0, 0)); +assert(test_mod(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, NaN, NaN, 0.0, 0)); +assert(test_mod(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_mod(NaN, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, NaN, NaN, 0.0, 0)); +assert(test_mod(-1.0, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_mod(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_mod(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_mod(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_mod(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_mod(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_mod(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_mod(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_mod(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_mod(-1.75, -0.5, -0.25, 0.0, 0)); + +// === NativeMathf.mod ================================ + +function test_modf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.mod(left, right), expected, error, flags); +} + +// sanity +assert(test_modf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0)); +assert(test_modf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_modf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); +assert(test_modf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); +assert(test_modf(9.267057419, 4.811392307, 4.455665112, 0.0, 0)); +assert(test_modf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0)); +assert(test_modf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0)); +assert(test_modf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); +assert(test_modf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_modf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); + +// special +assert(test_modf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_modf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_modf(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_modf(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_modf(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_modf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_modf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_modf(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_modf(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_modf(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_modf(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_modf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_modf(0.0, NaN, NaN, 0.0, 0)); +assert(test_modf(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_modf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_modf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, 0.0, NaN, 0.0, 0)); +assert(test_modf(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, -0.0, NaN, 0.0, 0)); +assert(test_modf(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_modf(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_modf(NaN, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, NaN, NaN, 0.0, 0)); +assert(test_modf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_modf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_modf(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_modf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_modf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_modf(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_modf(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_modf(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_modf(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_modf(-1.75, -0.5, -0.25, 0.0, 0)); + +// === NativeMath.rem ================================ + +function test_rem(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.rem(left, right), expected, error, flags); } // sanity -assert(test_fmod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0)); -assert(test_fmod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); -assert(test_fmod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); -assert(test_fmod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); -assert(test_fmod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0)); -assert(test_fmod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0)); -assert(test_fmod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0)); -assert(test_fmod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); -assert(test_fmod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); -assert(test_fmod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); +assert(test_rem(-8.06684839057968084, 4.53566256067686879, 1.00447673077405675, 0.0, 0)); +assert(test_rem(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_rem(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); +assert(test_rem(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); +assert(test_rem(9.26705696697258574, 4.81139208435979615, -0.355727201747006561, 0.0, 0)); +assert(test_rem(-6.45004555606023633, 0.662071792337673881, 0.170672367316502482, 0.0, 0)); +assert(test_rem(7.85889025304169664, 0.0521545267500622481, -0.0164432862177028224, 0.0, 0)); +assert(test_rem(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_rem(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_rem(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); // special -assert(test_fmod(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmod(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmod(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_fmod(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_fmod(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmod(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmod(1.5, 1.0, 0.5, 0.0, 0)); -assert(test_fmod(-1.5, 1.0, -0.5, 0.0, 0)); -assert(test_fmod(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmod(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmod(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_fmod(NaN, 1.0, NaN, 0.0, 0)); -assert(test_fmod(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmod(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmod(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_fmod(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_fmod(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmod(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmod(1.5, -1.0, 0.5, 0.0, 0)); -assert(test_fmod(-1.5, -1.0, -0.5, 0.0, 0)); -assert(test_fmod(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmod(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmod(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_fmod(NaN, -1.0, NaN, 0.0, 0)); -assert(test_fmod(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmod(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_fmod(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_fmod(0.0, NaN, NaN, 0.0, 0)); -assert(test_fmod(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmod(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_fmod(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_fmod(-0.0, NaN, NaN, 0.0, 0)); -assert(test_fmod(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_fmod(NaN, 0.0, NaN, 0.0, 0)); -assert(test_fmod(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmod(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_fmod(NaN, -0.0, NaN, 0.0, 0)); -assert(test_fmod(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_fmod(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_fmod(Infinity, NaN, NaN, 0.0, 0)); -assert(test_fmod(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_fmod(NaN, NaN, NaN, 0.0, 0)); -assert(test_fmod(1.0, NaN, NaN, 0.0, 0)); -assert(test_fmod(-1.0, NaN, NaN, 0.0, 0)); -assert(test_fmod(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_fmod(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_fmod(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_fmod(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_fmod(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_fmod(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_fmod(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_fmod(1.75, 0.5, 0.25, 0.0, 0)); -assert(test_fmod(-1.75, 0.5, -0.25, 0.0, 0)); -assert(test_fmod(1.75, -0.5, 0.25, 0.0, 0)); -assert(test_fmod(-1.75, -0.5, -0.25, 0.0, 0)); - -// === built-in fmodf ================================ - -function test_fmodf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { - return check(left % right, expected, error, flags); +assert(test_rem(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_rem(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_rem(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(1.5, 1.0, -0.5, 0.0, 0)); +assert(test_rem(-1.5, 1.0, 0.5, 0.0, 0)); +assert(test_rem(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, 1.0, NaN, 0.0, 0)); +assert(test_rem(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_rem(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_rem(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(1.5, -1.0, -0.5, 0.0, 0)); +assert(test_rem(-1.5, -1.0, 0.5, 0.0, 0)); +assert(test_rem(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, -1.0, NaN, 0.0, 0)); +assert(test_rem(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_rem(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_rem(0.0, NaN, NaN, 0.0, 0)); +assert(test_rem(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_rem(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_rem(-0.0, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, 0.0, NaN, 0.0, 0)); +assert(test_rem(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, -0.0, NaN, 0.0, 0)); +assert(test_rem(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, NaN, NaN, 0.0, 0)); +assert(test_rem(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_rem(NaN, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, NaN, NaN, 0.0, 0)); +assert(test_rem(-1.0, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_rem(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_rem(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_rem(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_rem(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_rem(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_rem(1.75, 0.5, -0.25, 0.0, 0)); +assert(test_rem(-1.75, 0.5, 0.25, 0.0, 0)); +assert(test_rem(1.75, -0.5, -0.25, 0.0, 0)); +assert(test_rem(-1.75, -0.5, 0.25, 0.0, 0)); +assert(test_rem(7.90505033345994471e-323, Infinity, 7.90505033345994471e-323, 0.0, 0)); + +// === NativeMathf.rem ================================ + +function test_remf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.rem(left, right), expected, error, flags); } // sanity -assert(test_fmodf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0)); -assert(test_fmodf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); -assert(test_fmodf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); -assert(test_fmodf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); -assert(test_fmodf(9.267057419, 4.811392307, 4.455665112, 0.0, 0)); -assert(test_fmodf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0)); -assert(test_fmodf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0)); -assert(test_fmodf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); -assert(test_fmodf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); -assert(test_fmodf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); +assert(test_remf(-8.066848755, 4.535662651, 1.004476547, 0.0, 0)); +assert(test_remf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_remf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); +assert(test_remf(-6.531673431, 4.567535400, -1.964138031, 0.0, 0)); +assert(test_remf(9.267057419, 4.811392307, -0.3557271957, 0.0, 0)); +assert(test_remf(-6.450045586, 0.6620717645, 0.1706720591, 0.0, 0)); +assert(test_remf(7.858890057, 0.05215452611, -0.01644338667, 0.0, 0)); +assert(test_remf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); +assert(test_remf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_remf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); // special -assert(test_fmodf(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmodf(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_fmodf(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_fmodf(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmodf(1.5, 1.0, 0.5, 0.0, 0)); -assert(test_fmodf(-1.5, 1.0, -0.5, 0.0, 0)); -assert(test_fmodf(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_fmodf(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_fmodf(NaN, 1.0, NaN, 0.0, 0)); -assert(test_fmodf(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmodf(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_fmodf(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_fmodf(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmodf(1.5, -1.0, 0.5, 0.0, 0)); -assert(test_fmodf(-1.5, -1.0, -0.5, 0.0, 0)); -assert(test_fmodf(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_fmodf(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_fmodf(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_fmodf(NaN, -1.0, NaN, 0.0, 0)); -assert(test_fmodf(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_fmodf(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_fmodf(0.0, NaN, NaN, 0.0, 0)); -assert(test_fmodf(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_fmodf(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_fmodf(-0.0, NaN, NaN, 0.0, 0)); -assert(test_fmodf(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(NaN, 0.0, NaN, 0.0, 0)); -assert(test_fmodf(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_fmodf(NaN, -0.0, NaN, 0.0, 0)); -assert(test_fmodf(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_fmodf(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_fmodf(Infinity, NaN, NaN, 0.0, 0)); -assert(test_fmodf(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_fmodf(NaN, NaN, NaN, 0.0, 0)); -assert(test_fmodf(1.0, NaN, NaN, 0.0, 0)); -assert(test_fmodf(-1.0, NaN, NaN, 0.0, 0)); -assert(test_fmodf(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_fmodf(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_fmodf(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_fmodf(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_fmodf(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_fmodf(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_fmodf(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_fmodf(1.75, 0.5, 0.25, 0.0, 0)); -assert(test_fmodf(-1.75, 0.5, -0.25, 0.0, 0)); -assert(test_fmodf(1.75, -0.5, 0.25, 0.0, 0)); -assert(test_fmodf(-1.75, -0.5, -0.25, 0.0, 0)); +assert(test_remf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_remf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_remf(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(1.5, 1.0, -0.5, 0.0, 0)); +assert(test_remf(-1.5, 1.0, 0.5, 0.0, 0)); +assert(test_remf(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_remf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_remf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_remf(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(1.5, -1.0, -0.5, 0.0, 0)); +assert(test_remf(-1.5, -1.0, 0.5, 0.0, 0)); +assert(test_remf(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_remf(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_remf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_remf(0.0, NaN, NaN, 0.0, 0)); +assert(test_remf(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_remf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_remf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, 0.0, NaN, 0.0, 0)); +assert(test_remf(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, -0.0, NaN, 0.0, 0)); +assert(test_remf(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_remf(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_remf(NaN, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, NaN, NaN, 0.0, 0)); +assert(test_remf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_remf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_remf(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_remf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_remf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_remf(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_remf(1.750000000, 0.5, -0.25, 0.0, 0)); +assert(test_remf(-1.750000000, 0.5, 0.25, 0.0, 0)); +assert(test_remf(1.750000000, -0.5, -0.25, 0.0, 0)); +assert(test_remf(-1.750000000, -0.5, 0.25, 0.0, 0)); +assert(test_remf(5.877471754e-39, Infinity, 5.877471754e-39, 0.0, 0)); // === Math.abs ================================ function test_abs(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.abs(value), expected, error, flags) && - (!JS || check( JSMath.abs(value), expected, error, flags)); + (!js || check( JSMath.abs(value), expected, error, flags)); } // sanity @@ -398,7 +577,7 @@ assert(test_absf(NaN, NaN, 0.0, 0)); function test_acos(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.acos(value), expected, error, flags) && - (!JS || check( JSMath.acos(value), expected, error, flags)); + (!js || check( JSMath.acos(value), expected, error, flags)); } // sanity @@ -460,7 +639,7 @@ assert(test_acosf(-0.5189794898, 2.116452932, -0.1460082680, INEXACT)); function test_acosh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.acosh(value), expected, error, flags) && - (!JS || check( JSMath.acosh(value), expected, error, flags)); + (!js || check( JSMath.acosh(value), expected, error, flags)); } // sanity @@ -535,7 +714,7 @@ assert(test_acoshf(-1.125899907e+15, NaN, 0.0, INVALID)); function test_asin(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.asin(value), expected, error, flags) && - (!JS || check( JSMath.asin(value), expected, error, flags)); + (!js || check( JSMath.asin(value), expected, error, flags)); } // sanity @@ -596,7 +775,7 @@ assert(test_asinf(0.5004770160, 0.5241496563, -0.2942709923, INEXACT)); function test_asinh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.asinh(value), expected, error, flags) && - (!JS || check( JSMath.asinh(value), expected, error, flags)); + (!js || check( JSMath.asinh(value), expected, error, flags)); } // sanity @@ -667,7 +846,7 @@ assert(test_asinhf(-0.0, -0.0, 0.0, 0)); function test_atan(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.atan(value), expected, error, flags) && - (!JS || check( JSMath.atan(value), expected, error, flags)); + (!js || check( JSMath.atan(value), expected, error, flags)); } // sanity @@ -723,7 +902,7 @@ assert(test_atanf(NaN, NaN, 0.0, 0)); function test_cbrt(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cbrt(value), expected, error, flags) && - (!JS || check( JSMath.cbrt(value), expected, error, flags)); + (!js || check( JSMath.cbrt(value), expected, error, flags)); } // sanity @@ -784,7 +963,7 @@ assert(test_cbrtf(8.0, 2.0, 0.0, 0)); function test_cos(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cos(value), expected, error, flags) && - (!JS || check( JSMath.cos(value), expected, error, flags)); + (!js || check( JSMath.cos(value), expected, error, flags)); } /* TODO @@ -887,7 +1066,7 @@ assert(test_cos(8.77084654266666419, -0.793698411740070497, 0.499968290328979492 function test_cosh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cosh(value), expected, error, flags) && - (!JS || check( JSMath.cosh(value), expected, error, flags)); + (!js || check( JSMath.cosh(value), expected, error, flags)); } // sanity assert(test_cosh(-8.06684839057968084, 1593.52099388623287, -0.380988568067550659, INEXACT)); @@ -937,7 +1116,7 @@ assert(test_coshf(NaN, NaN, 0.0, 0)); function test_exp(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.exp(value), expected, error, flags) && - (!JS || check( JSMath.exp(value), expected, error, flags)); + (!js || check( JSMath.exp(value), expected, error, flags)); } // sanity @@ -1003,7 +1182,7 @@ assert(test_expf(0.3465736210, 1.414213657, 0.4321174324, INEXACT)); function test_expm1(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.expm1(value), expected, error, flags) && - (!JS || check( JSMath.expm1(value), expected, error, flags)); + (!js || check( JSMath.expm1(value), expected, error, flags)); } // sanity @@ -1060,7 +1239,7 @@ assert(test_expm1f(NaN, NaN, 0.0, 0)); function test_hypot(value1: f64, value2: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.hypot(value1, value2), expected, error, flags) && - (!JS || check( JSMath.hypot(value1, value2), expected, error, flags)); + (!js || check( JSMath.hypot(value1, value2), expected, error, flags)); } // sanity @@ -1139,7 +1318,7 @@ assert(test_hypotf(1.0, NaN, NaN, 0.0, 0)); function test_log(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log(value), expected, error, flags) && - (!JS || check( JSMath.log(value), expected, error, flags)); + (!js || check( JSMath.log(value), expected, error, flags)); } // sanity @@ -1194,7 +1373,7 @@ assert(test_logf(NaN, NaN, 0.0, 0)); function test_log10(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log10(value), expected, error, flags) && - (!JS || check( JSMath.log10(value), expected, error, flags)); + (!js || check( JSMath.log10(value), expected, error, flags)); } // sanity @@ -1251,7 +1430,7 @@ assert(test_log10f(NaN, NaN, 0.0, 0)); function test_log1p(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log1p(value), expected, error, flags) && - (!JS || check( JSMath.log1p(value), expected, error, flags)); + (!js || check( JSMath.log1p(value), expected, error, flags)); } // sanity @@ -1309,7 +1488,7 @@ assert(test_log1pf(-1.175494211e-38,-1.175494211e-38, 4.930380658e-32, INEXACT | function test_log2(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log2(value), expected, error, flags) && - (!JS || check( JSMath.log2(value), expected, error, flags)); + (!js || check( JSMath.log2(value), expected, error, flags)); } // sanity @@ -1366,7 +1545,7 @@ assert(test_log2f(NaN, NaN, 0.0, 0)); function test_pow(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.pow(left, right), expected, error, flags) && - (!JS || check( JSMath.pow(left, right), expected, error, flags)); + (!js || check( JSMath.pow(left, right), expected, error, flags)); } // sanity @@ -1599,7 +1778,7 @@ for (let i = 0; i < 1e7; ++i) { function test_sin(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sin(value), expected, error, flags) && - (!JS || check( JSMath.sin(value), expected, error, flags)); + (!js || check( JSMath.sin(value), expected, error, flags)); } /* TODO @@ -1658,7 +1837,7 @@ assert(test_sinf(NaN, NaN, 0.0, 0)); function test_sinh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sinh(value), expected, error, flags) && - (!JS || check( JSMath.sinh(value), expected, error, flags)); + (!js || check( JSMath.sinh(value), expected, error, flags)); } // sanity @@ -1709,7 +1888,7 @@ assert(test_sinhf(NaN, NaN, 0.0, 0)); function test_sqrt(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sqrt(value), expected, error, flags) && - (!JS || check( JSMath.sqrt(value), expected, error, flags)); + (!js || check( JSMath.sqrt(value), expected, error, flags)); } // sanity @@ -1846,7 +2025,7 @@ assert(test_sqrtf(2.000000477, 1.414213777, 0.3827550709, INEXACT)); function test_tan(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.tan(value), expected, error, flags) && - (!JS || check( JSMath.tan(value), expected, error, flags)); + (!js || check( JSMath.tan(value), expected, error, flags)); } /* TODO @@ -1905,7 +2084,7 @@ assert(test_tanf(NaN, NaN, 0.0, 0)); function test_tanh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.tanh(value), expected, error, flags) && - (!JS || check( JSMath.tanh(value), expected, error, flags)); + (!js || check( JSMath.tanh(value), expected, error, flags)); } // sanity diff --git a/tests/compiler/std/math.untouched.wat b/tests/compiler/std/math.untouched.wat index b92e109099..68da3bdf24 100644 --- a/tests/compiler/std/math.untouched.wat +++ b/tests/compiler/std/math.untouched.wat @@ -22,7 +22,6 @@ (type $ff (func (param f32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) - (type $I (func (result i64))) (type $v (func)) (import "env" "abort" (func $abort (param i32 i32 i32 i32))) (import "JSMath" "E" (global $(lib)/math/JSMath.E f64)) @@ -33,6 +32,7 @@ (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) + (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) @@ -53,22 +53,22 @@ (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) - (global $std/math/JS i32 (i32.const 1)) + (global $std/math/js i32 (i32.const 1)) (global $std/math/INEXACT i32 (i32.const 1)) (global $std/math/INVALID i32 (i32.const 2)) (global $std/math/DIVBYZERO i32 (i32.const 4)) (global $std/math/UNDERFLOW i32 (i32.const 8)) (global $std/math/OVERFLOW i32 (i32.const 16)) - (global "$(lib)/math/NativeMath.random_seeded" (mut i32) (i32.const 0)) - (global "$(lib)/math/NativeMath.random_state0" (mut i64) (i64.const 0)) - (global "$(lib)/math/NativeMath.random_state1" (mut i64) (i64.const 0)) + (global "$(lib)/math/random_seeded" (mut i32) (i32.const 0)) + (global "$(lib)/math/random_state0" (mut i64) (i64.const 0)) + (global "$(lib)/math/random_state1" (mut i64) (i64.const 0)) (global $HEAP_BASE i32 (i32.const 64)) (memory $0 1) (data (i32.const 4) "\0b\00\00\00s\00t\00d\00/\00m\00a\00t\00h\00.\00t\00s\00") (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s\00") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 22 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 23 ;) (type $Fi) (param $0 f64) (result i32) (return (i32.wrap/i64 (i64.shr_u @@ -80,7 +80,7 @@ ) ) ) - (func $std/math/eulp (; 23 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 24 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i64) (local $2 i32) (set_local $1 @@ -120,7 +120,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 24 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 25 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (nop) (set_local $2 @@ -241,7 +241,7 @@ ) ) ) - (func $std/math/ulperr (; 25 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 26 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (nop) @@ -345,7 +345,7 @@ ) ) ) - (func $std/math/check (; 26 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 27 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) (local $5 f64) (if @@ -403,7 +403,7 @@ (i32.const 1) ) ) - (func $std/math/test_scalbn (; 27 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 28 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMath.scalbn" @@ -416,7 +416,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 28 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 29 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (nop) (set_local $2 @@ -535,7 +535,7 @@ ) ) ) - (func $std/math/signbitf (; 29 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/signbitf (; 30 ;) (type $fi) (param $0 f32) (result i32) (return (i32.shr_u (i32.reinterpret/f32 @@ -545,7 +545,7 @@ ) ) ) - (func $std/math/eulpf (; 30 ;) (type $fi) (param $0 f32) (result i32) + (func $std/math/eulpf (; 31 ;) (type $fi) (param $0 f32) (result i32) (local $1 i32) (local $2 i32) (set_local $1 @@ -583,7 +583,7 @@ ) ) ) - (func $std/math/ulperrf (; 31 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 32 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (nop) @@ -687,7 +687,7 @@ ) ) ) - (func $std/math/check (; 32 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 33 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) (local $5 f32) (if @@ -747,7 +747,7 @@ (i32.const 1) ) ) - (func $std/math/test_scalbnf (; 33 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbnf (; 34 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" @@ -760,7 +760,7 @@ ) ) ) - (func $fmod (; 34 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.mod" (; 35 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i64) (local $4 i32) @@ -1215,20 +1215,46 @@ ) ) ) - (func $std/math/test_fmod (; 35 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_mod (; 36 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) (return - (call $std/math/check - (call $fmod - (get_local $0) - (get_local $1) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call $std/math/JSOp.mod + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) ) - (func $fmodf (; 36 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.mod" (; 37 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -1664,10 +1690,10 @@ ) ) ) - (func $std/math/test_fmodf (; 37 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_modf (; 38 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check - (call $fmodf + (call "$(lib)/math/NativeMathf.mod" (get_local $0) (get_local $1) ) @@ -1677,1429 +1703,1725 @@ ) ) ) - (func "$(lib)/math/NativeMath.abs" (; 38 ;) (type $FF) (param $0 f64) (result f64) - (return - (f64.abs + (func "$(lib)/math/NativeMath.rem" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (local $9 i32) + (local $10 i64) + (local $11 i64) + (local $12 i32) + (set_local $2 + (i64.reinterpret/f64 (get_local $0) ) ) - ) - (func $std/math/test_abs (; 39 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.abs" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.abs" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) ) - (get_local $4) + (i64.const 2047) ) - (i32.const 1) ) ) - ) - (func "$(lib)/math/NativeMathf.abs" (; 40 ;) (type $ff) (param $0 f32) (result f32) - (return - (f32.abs - (get_local $0) + (set_local $5 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) + ) ) ) - ) - (func $std/math/test_absf (; 41 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.abs" - (get_local $0) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - ) - (func "$(lib)/math/NativeMath.__R" (; 42 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 f64) - (nop) - (set_local $1 - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.16666666666666666) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.3255658186224009) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.20121253213486293) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.04005553450067941) - (f64.mul - (get_local $0) - (f64.add - (f64.const 7.915349942898145e-04) - (f64.mul - (get_local $0) - (f64.const 3.479331075960212e-05) - ) - ) - ) - ) - ) - ) - ) - ) - ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 63) ) ) ) - (set_local $2 - (f64.add - (f64.const 1) - (f64.mul - (get_local $0) - (f64.add - (f64.const -2.403394911734414) - (f64.mul - (get_local $0) - (f64.add - (f64.const 2.0209457602335057) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.6882839716054533) - (f64.mul - (get_local $0) - (f64.const 0.07703815055590194) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) ) + (i64.const 0) + ) + ) + (get_local $9) + (f64.ne + (tee_local $8 + (get_local $1) ) + (get_local $8) ) ) + (i32.const 1) ) ) + (get_local $9) + (i32.eq + (get_local $4) + (i32.const 2047) + ) ) + (i32.const 1) ) - ) - (return - (f64.div - (get_local $1) - (get_local $2) - ) - ) - ) - (func "$(lib)/math/NativeMath.acos" (; 43 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (nop) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 + (return + (f64.div + (f64.mul (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) ) - (i64.const 32) ) ) ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) + (if + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.const 0) ) + (return + (get_local $0) + ) + ) + (set_local $10 + (get_local $2) ) + (nop) (if - (i32.ge_u - (get_local $2) - (i32.const 1072693248) + (i32.eqz + (get_local $4) ) (block - (set_local $3 - (i32.wrap/i64 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $2) - (i32.const 1072693248) - ) - (get_local $3) + (block $break|0 + (set_local $11 + (i64.shl + (get_local $10) + (i64.const 12) ) - (i32.const 0) ) - (block + (loop $continue|0 (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) ) - (return - (f64.add - (f64.mul - (f64.const 2) - (f64.const 1.5707963267948966) + (block + (block + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) ) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) + (set_local $11 + (i64.shl + (get_local $11) + (i64.const 1) + ) ) ) + (br $continue|0) ) ) - (return - (f64.const 0) - ) ) ) - (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) - (get_local $0) + (set_local $10 + (i64.shl + (get_local $10) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) ) ) ) ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) - ) (block - (if - (i32.le_u - (get_local $2) - (i32.const 1012924416) - ) - (return - (f64.add - (f64.const 1.5707963267948966) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) - ) + (set_local $10 + (i64.and + (get_local $10) + (i64.shr_u + (i64.const -1) + (i64.const 12) ) ) ) - (return - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (get_local $0) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) + (set_local $10 + (i64.or + (get_local $10) + (i64.shl + (i64.const 1) + (i64.const 52) ) ) ) ) ) - (nop) (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.eqz + (get_local $5) ) (block - (set_local $6 - (f64.mul - (f64.add - (f64.const 1) - (get_local $0) + (block $break|1 + (set_local $11 + (i64.shl + (get_local $3) + (i64.const 12) ) - (f64.const 0.5) - ) - ) - (set_local $4 - (f64.sqrt - (get_local $6) ) - ) - (set_local $5 - (f64.sub - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $6) + (loop $continue|1 + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (block + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $11 + (i64.shl + (get_local $11) + (i64.const 1) + ) + ) + ) + (br $continue|1) ) - (get_local $4) ) - (f64.const 6.123233995736766e-17) ) ) - (return - (f64.mul - (f64.const 2) - (f64.sub - (f64.const 1.5707963267948966) - (f64.add - (get_local $4) - (get_local $5) + (set_local $3 + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) ) ) ) ) ) - ) - (set_local $6 - (f64.mul - (f64.sub - (f64.const 1) - (get_local $0) - ) - (f64.const 0.5) - ) - ) - (set_local $4 - (f64.sqrt - (get_local $6) - ) - ) - (set_local $7 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $4) + (block + (set_local $3 + (i64.and + (get_local $3) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) ) - (i64.const -4294967296) ) - ) - ) - (set_local $8 - (f64.div - (f64.sub - (get_local $6) - (f64.mul - (get_local $7) - (get_local $7) + (set_local $3 + (i64.or + (get_local $3) + (i64.shl + (i64.const 1) + (i64.const 52) + ) ) ) - (f64.add - (get_local $4) - (get_local $7) - ) ) ) - (set_local $5 - (f64.add - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $6) - ) - (get_local $4) - ) - (get_local $8) - ) + (set_local $12 + (i32.const 0) ) - (return - (f64.mul - (f64.const 2) - (f64.add - (get_local $7) - (get_local $5) - ) - ) - ) - ) - (func $std/math/test_acos (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.acos" + (block $break|2 + (loop $continue|2 + (block + (if + (i32.lt_s + (get_local $4) + (get_local $5) + ) + (block + (if + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + (br $break|2) + ) + (return (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $11 + (i64.sub + (get_local $10) + (get_local $3) + ) + ) + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $10 + (get_local $11) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $10 + (i64.shl + (get_local $10) + (i64.const 1) + ) + ) + (set_local $12 + (i32.shl + (get_local $12) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|3) + ) ) ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.acos" - (get_local $0) - ) - (get_local $1) - (get_local $2) + ) + (set_local $11 + (i64.sub + (get_local $10) (get_local $3) ) ) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - (func "$(lib)/math/NativeMathf.__R" (; 45 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (local $2 f32) - (nop) - (set_local $1 - (f32.mul - (get_local $0) - (f32.add - (f32.const 0.16666586697101593) - (f32.mul - (get_local $0) - (f32.add - (f32.const -0.04274342209100723) - (f32.mul - (get_local $0) - (f32.const -0.008656363002955914) + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) ) + (i64.const 0) ) - ) - ) - ) - ) - (set_local $2 - (f32.add - (f32.const 1) - (f32.mul - (get_local $0) - (f32.const -0.7066296339035034) - ) - ) - ) - (return - (f32.div - (get_local $1) - (get_local $2) - ) - ) - ) - (func "$(lib)/math/NativeMathf.acos" (; 46 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) - (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1065353216) - ) - (block - (if - (i32.eq - (get_local $2) - (i32.const 1065353216) - ) - (block - (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (block + (set_local $10 + (get_local $11) ) - (return - (f32.add - (f32.mul - (f32.const 2) - (f32.const 1.570796251296997) - ) - (f32.const 7.52316384526264e-37) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) ) ) ) - (return - (f32.const 0) - ) ) - ) - (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) - (get_local $0) + (if + (i64.eq + (get_local $10) + (i64.const 0) ) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1056964608) - ) - (block - (if - (i32.le_u - (get_local $2) - (i32.const 847249408) - ) - (return - (f32.add - (f32.const 1.570796251296997) - (f32.const 7.52316384526264e-37) + (set_local $4 + (i32.const -60) ) - ) - ) - (return - (f32.sub - (f32.const 1.570796251296997) - (f32.sub - (get_local $0) - (f32.sub - (f32.const 7.549789415861596e-08) - (f32.mul - (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) + (block $break|4 + (nop) + (loop $continue|4 + (if + (i64.eq + (i64.shr_u + (get_local $10) + (i64.const 52) + ) + (i64.const 0) + ) + (block + (block + ) + (block + (set_local $10 + (i64.shl + (get_local $10) + (i64.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) ) + (br $continue|4) ) ) ) ) ) + (br $break|2) + ) + (br_if $continue|2 + (i32.const 0) ) ) ) - (nop) (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.gt_s + (get_local $4) + (i32.const 0) ) (block - (set_local $3 - (f32.mul - (f32.add - (f32.const 1) - (get_local $0) + (set_local $10 + (i64.sub + (get_local $10) + (i64.shl + (i64.const 1) + (i64.const 52) ) - (f32.const 0.5) - ) - ) - (set_local $5 - (f32.sqrt - (get_local $3) ) ) - (set_local $4 - (f32.sub - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $3) + (set_local $10 + (i64.or + (get_local $10) + (i64.shl + (i64.extend_u/i32 + (get_local $4) ) - (get_local $5) + (i64.const 52) ) - (f32.const 7.549789415861596e-08) ) ) - (return - (f32.mul - (f32.const 2) - (f32.sub - (f32.const 1.570796251296997) - (f32.add - (get_local $5) + ) + (set_local $10 + (i64.shr_u + (get_local $10) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) (get_local $4) ) + (i32.const 1) ) ) ) ) ) - (set_local $3 - (f32.mul - (f32.sub - (f32.const 1) - (get_local $0) - ) - (f32.const 0.5) - ) - ) - (set_local $5 - (f32.sqrt - (get_local $3) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (get_local $5) + (set_local $0 + (f64.reinterpret/i64 + (get_local $10) ) ) - (set_local $6 - (f32.reinterpret/i32 - (i32.and + (if + (get_local $7) + (set_local $1 + (f64.neg (get_local $1) - (i32.const -4096) ) ) ) - (set_local $7 - (f32.div - (f32.sub - (get_local $3) - (f32.mul - (get_local $6) - (get_local $6) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $4) + (get_local $5) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + ) + (if (result i32) + (tee_local $9 + (f64.gt + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (f64.eq + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (i32.rem_u + (get_local $12) + (i32.const 2) + ) + (i32.const 1) + ) + (get_local $9) + ) + ) + (get_local $9) ) ) - (f32.add - (get_local $5) - (get_local $6) - ) + (i32.const 1) ) - ) - (set_local $4 - (f32.add - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $3) + (block + (set_local $0 + (f64.sub + (get_local $0) + (get_local $1) ) - (get_local $5) ) - (get_local $7) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $12 + (i32.and + (get_local $12) + (i32.const 2147483647) ) ) (return - (f32.mul - (f32.const 2) - (f32.add - (get_local $6) - (get_local $4) + (if (result f64) + (get_local $6) + (f64.neg + (get_local $0) ) + (get_local $0) ) ) ) - (func $std/math/test_acosf (; 47 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_rem (; 40 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.acos" + (call $std/math/check + (call "$(lib)/math/NativeMath.rem" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 48 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.rem" (; 41 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) - (local $4 f64) - (local $5 f64) + (local $4 i32) + (local $5 i32) (local $6 i32) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 f64) - (local $14 f64) - (local $15 f64) - (nop) - (set_local $1 - (i64.reinterpret/f64 + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 i32) + (local $12 i32) + (set_local $2 + (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) ) + (i32.const 255) ) ) - (set_local $3 - (i32.const 1) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) ) - (block - (set_local $4 - (f64.const 0) + (set_local $6 + (i32.shr_u + (get_local $2) + (i32.const 31) ) - (set_local $5 - (f64.const 0) + ) + (set_local $7 + (i32.shr_u + (get_local $3) + (i32.const 31) ) ) + (nop) + (set_local $9 + (get_local $2) + ) (if (i32.and (if (result i32) - (tee_local $6 - (i32.lt_u - (get_local $2) - (i32.const 1071284858) + (tee_local $11 + (i32.and + (if (result i32) + (tee_local $11 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $11) + (f32.ne + (tee_local $10 + (get_local $1) + ) + (get_local $10) + ) + ) + (i32.const 1) ) ) - (get_local $6) - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (i32.const 1) + (get_local $11) + (i32.eq + (get_local $4) + (i32.const 255) ) ) (i32.const 1) ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $4) + ) (block - (if - (i32.ge_u - (get_local $2) - (i32.const -1074790400) + (block $break|0 + (set_local $8 + (i32.shl + (get_local $9) + (i32.const 9) + ) ) - (block + (loop $continue|0 (if - (f64.eq - (get_local $0) - (f64.const -1) - ) - (return - (f64.div - (get_local $0) - (f64.const 0) + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) ) + (i32.const 0) ) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + (block + (block ) - (f64.const 0) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + ) + (br $continue|0) ) ) ) ) - (if - (i32.lt_u - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (i32.const 1017118720) + (set_local $9 + (i32.shl + (get_local $9) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) (i32.const 1) ) ) - (return - (get_local $0) - ) ) - (if - (i32.le_u - (get_local $2) - (i32.const -1076707644) - ) - (block - (set_local $3 - (i32.const 0) - ) - (set_local $4 - (f64.const 0) - ) - (set_local $5 - (get_local $0) + ) + (block + (set_local $9 + (i32.and + (get_local $9) + (i32.shr_u + (i32.const -1) + (i32.const 9) ) ) ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (get_local $0) + (set_local $9 + (i32.or + (get_local $9) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) ) ) ) (if - (get_local $3) + (i32.eqz + (get_local $5) + ) (block - (set_local $1 - (i64.reinterpret/f64 - (f64.add - (f64.const 1) - (get_local $0) + (block $break|1 + (set_local $8 + (i32.shl + (get_local $3) + (i32.const 9) ) ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (loop $continue|1 + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (block + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + ) + (br $continue|1) + ) ) ) ) - (set_local $6 - (i32.add - (get_local $6) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) ) ) ) + ) + (block (set_local $3 - (i32.sub + (i32.and + (get_local $3) (i32.shr_u - (get_local $6) - (i32.const 20) + (i32.const -1) + (i32.const 9) ) - (i32.const 1023) ) ) - (if - (i32.lt_s + (set_local $3 + (i32.or (get_local $3) - (i32.const 54) + (i32.shl + (i32.const 1) + (i32.const 23) + ) ) - (block - (set_local $7 - (f64.reinterpret/i64 - (get_local $1) + ) + ) + ) + (set_local $12 + (i32.const 0) + ) + (block $break|2 + (loop $continue|2 + (block + (if + (i32.lt_s + (get_local $4) + (get_local $5) + ) + (block + (if + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + (br $break|2) + ) + (return + (get_local $0) ) ) - (set_local $4 - (if (result f64) - (i32.ge_s - (get_local $3) - (i32.const 2) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.gt_s + (get_local $4) + (get_local $5) ) - (f64.sub - (f64.const 1) - (f64.sub - (get_local $7) - (get_local $0) + (block + (block + (set_local $8 + (i32.sub + (get_local $9) + (get_local $3) + ) + ) + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (set_local $9 + (get_local $8) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (set_local $12 + (i32.shl + (get_local $12) + (i32.const 1) + ) + ) ) - ) - (f64.sub - (get_local $0) - (f64.sub - (get_local $7) - (f64.const 1) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) ) + (br $continue|3) ) ) ) - (set_local $4 - (f64.div - (get_local $4) - (get_local $7) - ) - ) - ) - (set_local $4 - (f64.const 0) ) - ) - (set_local $6 - (i32.add - (i32.and - (get_local $6) - (i32.const 1048575) + (set_local $8 + (i32.sub + (get_local $9) + (get_local $3) ) - (i32.const 1072079006) ) - ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $6) + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) ) - (i64.const 32) + (i32.const 0) ) - (i64.and - (get_local $1) - (i64.const 4294967295) + (block + (set_local $9 + (get_local $8) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) ) ) - ) - (set_local $5 - (f64.sub - (f64.reinterpret/i64 - (get_local $1) + (if + (i32.eq + (get_local $9) + (i32.const 0) + ) + (set_local $4 + (i32.const -30) + ) + (block $break|4 + (nop) + (loop $continue|4 + (if + (i32.eq + (i32.shr_u + (get_local $9) + (i32.const 23) + ) + (i32.const 0) + ) + (block + (block + ) + (block + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + ) + (br $continue|4) + ) + ) + ) ) - (f64.const 1) ) + (br $break|2) + ) + (br_if $continue|2 + (i32.const 0) ) ) ) - (set_local $8 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $5) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $9 + (i32.sub + (get_local $9) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $9 + (i32.or + (get_local $9) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) ) - (get_local $5) ) - ) - (set_local $9 - (f64.div - (get_local $5) - (f64.add - (f64.const 2) - (get_local $5) + (set_local $9 + (i32.shr_u + (get_local $9) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) ) ) ) - (set_local $10 - (f64.mul - (get_local $9) + (set_local $0 + (f32.reinterpret/i32 (get_local $9) ) ) - (set_local $11 - (f64.mul - (get_local $10) - (get_local $10) + (if + (get_local $7) + (set_local $1 + (f32.neg + (get_local $1) + ) ) ) - (set_local $12 - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $11) - (f64.const 0.15313837699209373) - ) + (if + (i32.and + (if (result i32) + (tee_local $11 + (i32.eq + (get_local $4) + (get_local $5) ) ) - ) - ) - ) - (set_local $13 - (f64.mul - (get_local $10) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $11) - (f64.const 0.14798198605116586) + (get_local $11) + (if (result i32) + (tee_local $11 + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + ) + (if (result i32) + (tee_local $11 + (f32.gt + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $11) + (if (result i32) + (tee_local $11 + (f32.eq + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (i32.rem_s + (get_local $12) + (i32.const 2) ) + (i32.const 1) ) + (get_local $11) ) ) + (get_local $11) ) ) + (i32.const 1) ) - ) - (set_local $14 - (f64.add - (get_local $13) - (get_local $12) + (block + (set_local $0 + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) ) ) - (set_local $15 - (f64.convert_s/i32 + (set_local $12 + (i32.and + (get_local $12) + (i32.const 2147483647) + ) + ) + (return + (if (result f32) + (get_local $6) + (f32.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/math/test_remf (; 42 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) (get_local $3) + (get_local $4) ) ) + ) + (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) (return - (f64.add + (f64.abs + (get_local $0) + ) + ) + ) + (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.abs + (get_local $0) + ) + ) + ) + (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (nop) + (set_local $1 + (f64.mul + (get_local $0) (f64.add - (f64.sub + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) (f64.add + (f64.const -0.3255658186224009) (f64.mul - (get_local $9) + (get_local $0) (f64.add - (get_local $8) - (get_local $14) + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) + ) ) ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) (f64.add + (f64.const 2.0209457602335057) (f64.mul - (get_local $15) - (f64.const 1.9082149292705877e-10) + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) + ) ) - (get_local $4) ) ) - (get_local $8) ) - (get_local $5) - ) - (f64.mul - (get_local $15) - (f64.const 0.6931471803691238) ) ) ) + (return + (f64.div + (get_local $1) + (get_local $2) + ) + ) ) - (func "$(lib)/math/NativeMath.log" (; 49 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) (local $2 i32) (local $3 i32) - (local $4 i32) + (local $4 f64) (local $5 f64) (local $6 f64) (local $7 f64) (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 i32) (nop) (set_local $1 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (set_local $2 (i32.wrap/i64 (i64.shr_u - (get_local $1) + (i64.reinterpret/f64 + (get_local $0) + ) (i64.const 32) ) ) ) - (set_local $3 - (i32.const 0) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) ) (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.lt_u - (get_local $2) - (i32.const 1048576) - ) - ) - (get_local $4) - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.ge_u + (get_local $2) + (i32.const 1072693248) + ) + (block + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) ) - (i32.const 1) ) ) - (i32.const 1) - ) - (block (if - (i64.eq - (i64.shl - (get_local $1) - (i64.const 1) + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) ) - (i64.const 0) + (i32.const 0) ) - (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) + (block + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.add + (f64.mul + (f64.const 2) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) ) ) + (return + (f64.const 0) + ) + ) + ) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) + ) ) ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block (if - (i32.shr_u + (i32.le_u (get_local $2) - (i32.const 31) + (i32.const 1012924416) ) (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) - (f64.const 0) ) ) ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 54) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) ) ) - (set_local $0 + ) + ) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (block + (set_local $6 (f64.mul - (get_local $0) - (f64.const 18014398509481984) + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) ) ) - (set_local $1 - (i64.reinterpret/f64 - (get_local $0) + (set_local $4 + (f64.sqrt + (get_local $6) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (set_local $5 + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) + (get_local $4) ) + (f64.const 6.123233995736766e-17) ) ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.eq - (get_local $2) - (i32.const 1072693248) - ) - ) - (i64.eq - (i64.shl - (get_local $1) - (i64.const 32) - ) - (i64.const 0) + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (get_local $4) + (get_local $5) ) - (get_local $4) ) - (i32.const 1) - ) - (return - (f64.const 0) ) ) ) ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) + (set_local $6 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) ) + (f64.const 0.5) ) ) - (set_local $3 - (i32.add - (get_local $3) - (i32.sub - (i32.shr_s - (get_local $2) - (i32.const 20) - ) - (i32.const 1023) - ) + (set_local $4 + (f64.sqrt + (get_local $6) ) ) - (set_local $2 - (i32.add - (i32.and - (get_local $2) - (i32.const 1048575) + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $4) + ) + (i64.const -4294967296) ) - (i32.const 1072079006) ) ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $2) + (set_local $8 + (f64.div + (f64.sub + (get_local $6) + (f64.mul + (get_local $7) + (get_local $7) ) - (i64.const 32) ) - (i64.and - (get_local $1) - (i64.const 4294967295) + (f64.add + (get_local $4) + (get_local $7) ) ) ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) - ) - ) (set_local $5 - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (set_local $6 - (f64.mul + (f64.add (f64.mul - (f64.const 0.5) - (get_local $5) + (call "$(lib)/math/NativeMath.__R" + (get_local $6) + ) + (get_local $4) ) - (get_local $5) + (get_local $8) ) ) - (set_local $7 - (f64.div - (get_local $5) + (return + (f64.mul + (f64.const 2) (f64.add - (f64.const 2) + (get_local $7) (get_local $5) ) ) ) - (set_local $8 - (f64.mul - (get_local $7) - (get_local $7) - ) - ) - (set_local $9 - (f64.mul - (get_local $8) - (get_local $8) - ) - ) - (set_local $10 - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $9) - (f64.const 0.15313837699209373) + ) + (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acos" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - ) - ) - ) - (set_local $11 - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $9) - (f64.const 0.14798198605116586) - ) - ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) + (get_local $4) ) + (i32.const 1) ) ) - (set_local $12 - (f64.add - (get_local $11) - (get_local $10) - ) - ) - (set_local $13 - (get_local $3) - ) - (return - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (get_local $12) - ) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) - ) - (f64.const 1.9082149292705877e-10) + ) + (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 f32) + (nop) + (set_local $1 + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul + (get_local $0) + (f32.const -0.008656363002955914) ) ) - (get_local $6) ) - (get_local $5) ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) - ) - (f64.const 0.6931471803691238) + ) + ) + (set_local $2 + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) ) ) ) + (return + (f32.div + (get_local $1) + (get_local $2) + ) + ) ) - (func "$(lib)/math/NativeMath.acosh" (; 50 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) (nop) (set_local $1 - (i64.and - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 52) - ) - (i64.const 2047) + (i32.reinterpret/f32 + (get_local $0) ) ) - (if - (i64.lt_u + (set_local $2 + (i32.and (get_local $1) - (i64.add - (i64.const 1023) - (i64.const 1) - ) + (i32.const 2147483647) ) - (return - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sqrt - (f64.add - (f64.mul - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (f64.mul - (f64.const 2) - (f64.sub - (get_local $0) - (f64.const 1) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.add + (f32.mul + (f32.const 2) + (f32.const 1.570796251296997) ) + (f32.const 7.52316384526264e-37) ) ) ) + (return + (f32.const 0) + ) + ) + ) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) ) ) ) ) (if - (i64.lt_u - (get_local $1) - (i64.add - (i64.const 1023) - (i64.const 26) - ) + (i32.lt_u + (get_local $2) + (i32.const 1056964608) ) - (return - (call "$(lib)/math/NativeMath.log" - (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) + (block + (if + (i32.le_u + (get_local $2) + (i32.const 847249408) + ) + (return + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) - (f64.div - (f64.const 1) - (f64.add - (get_local $0) - (f64.sqrt - (f64.sub - (f64.mul + ) + ) + (return + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (get_local $0) + (f32.sub + (f32.const 7.549789415861596e-08) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul (get_local $0) (get_local $0) ) - (f64.const 1) ) ) ) @@ -3108,97 +3430,181 @@ ) ) ) - (return - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (f64.const 0.6931471805599453) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) ) - ) - ) - (func $std/math/test_acosh (; 51 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.acosh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) + (block + (set_local $3 + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) ) + (f32.const 0.5) ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) + ) + (set_local $5 + (f32.sqrt + (get_local $3) + ) + ) + (set_local $4 + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) ) + (get_local $5) ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.acosh" - (get_local $0) + (f32.const 7.549789415861596e-08) + ) + ) + (return + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (get_local $5) + (get_local $4) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) + ) + ) + ) + (set_local $3 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + (set_local $5 + (f32.sqrt + (get_local $3) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $5) + ) + ) + (set_local $6 + (f32.reinterpret/i32 + (i32.and + (get_local $1) + (i32.const -4096) + ) + ) + ) + (set_local $7 + (f32.div + (f32.sub + (get_local $3) + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (f32.add + (get_local $5) + (get_local $6) + ) + ) + ) + (set_local $4 + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) + ) + (get_local $5) + ) + (get_local $7) + ) + ) + (return + (f32.mul + (f32.const 2) + (f32.add + (get_local $6) (get_local $4) ) - (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 52 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 f32) - (local $3 f32) - (local $4 i32) - (local $5 i32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) + (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) (nop) (set_local $1 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) - (block - (set_local $2 - (f32.const 0) - ) - (set_local $3 - (f32.const 0) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) ) ) - (set_local $4 + (set_local $3 (i32.const 1) ) + (block + (set_local $4 + (f64.const 0) + ) + (set_local $5 + (f64.const 0) + ) + ) (if (i32.and (if (result i32) - (tee_local $5 + (tee_local $6 (i32.lt_u - (get_local $1) - (i32.const 1054086096) + (get_local $2) + (i32.const 1071284858) ) ) - (get_local $5) + (get_local $6) (i32.and (i32.shr_u - (get_local $1) + (get_local $2) (i32.const 31) ) (i32.const 1) @@ -3209,29 +3615,29 @@ (block (if (i32.ge_u - (get_local $1) - (i32.const -1082130432) + (get_local $2) + (i32.const -1074790400) ) (block (if - (f32.eq + (f64.eq (get_local $0) - (f32.const -1) + (f64.const -1) ) (return - (f32.div + (f64.div (get_local $0) - (f32.const 0) + (f64.const 0) ) ) ) (return - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) (get_local $0) ) - (f32.const 0) + (f64.const 0) ) ) ) @@ -3239,11 +3645,11 @@ (if (i32.lt_u (i32.shl - (get_local $1) + (get_local $2) (i32.const 1) ) (i32.shl - (i32.const 864026624) + (i32.const 1017118720) (i32.const 1) ) ) @@ -3253,17 +3659,17 @@ ) (if (i32.le_u - (get_local $1) - (i32.const -1097468391) + (get_local $2) + (i32.const -1076707644) ) (block - (set_local $4 + (set_local $3 (i32.const 0) ) - (set_local $2 - (f32.const 0) + (set_local $4 + (f64.const 0) ) - (set_local $3 + (set_local $5 (get_local $0) ) ) @@ -3271,8 +3677,8 @@ ) (if (i32.ge_u - (get_local $1) - (i32.const 2139095040) + (get_local $2) + (i32.const 2146435072) ) (return (get_local $0) @@ -3280,226 +3686,277 @@ ) ) (if - (get_local $4) + (get_local $3) (block - (set_local $6 - (f32.add - (f32.const 1) - (get_local $0) + (set_local $1 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) ) ) - (set_local $5 - (i32.reinterpret/f32 - (get_local $6) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) ) ) - (set_local $5 + (set_local $6 (i32.add - (get_local $5) + (get_local $6) (i32.sub - (i32.const 1065353216) - (i32.const 1060439283) + (i32.const 1072693248) + (i32.const 1072079006) ) ) ) - (set_local $4 + (set_local $3 (i32.sub (i32.shr_u - (get_local $5) - (i32.const 23) + (get_local $6) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) (if (i32.lt_s - (get_local $4) - (i32.const 25) + (get_local $3) + (i32.const 54) ) (block - (set_local $2 - (if (result f32) - (i32.ge_s - (get_local $4) - (i32.const 2) - ) - (f32.sub - (f32.const 1) - (f32.sub - (get_local $6) + (set_local $7 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (if (result f64) + (i32.ge_s + (get_local $3) + (i32.const 2) + ) + (f64.sub + (f64.const 1) + (f64.sub + (get_local $7) (get_local $0) ) ) - (f32.sub + (f64.sub (get_local $0) - (f32.sub - (get_local $6) - (f32.const 1) + (f64.sub + (get_local $7) + (f64.const 1) ) ) ) ) - (set_local $2 - (f32.div - (get_local $2) - (get_local $6) + (set_local $4 + (f64.div + (get_local $4) + (get_local $7) ) ) ) - (set_local $2 - (f32.const 0) + (set_local $4 + (f64.const 0) ) ) - (set_local $5 + (set_local $6 (i32.add (i32.and - (get_local $5) - (i32.const 8388607) + (get_local $6) + (i32.const 1048575) ) - (i32.const 1060439283) + (i32.const 1072079006) ) ) - (set_local $3 - (f32.sub - (f32.reinterpret/i32 - (get_local $5) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) ) - (f32.const 1) ) ) - ) - ) - (set_local $7 - (f32.div - (get_local $3) - (f32.add - (f32.const 2) - (get_local $3) + (set_local $5 + (f64.sub + (f64.reinterpret/i64 + (get_local $1) + ) + (f64.const 1) + ) ) ) ) (set_local $8 - (f32.mul - (get_local $7) - (get_local $7) + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) ) ) (set_local $9 - (f32.mul - (get_local $8) - (get_local $8) + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) ) ) (set_local $10 - (f32.mul + (f64.mul + (get_local $9) (get_local $9) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $9) - (f32.const 0.24279078841209412) - ) - ) ) ) (set_local $11 - (f32.mul - (get_local $8) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $9) - (f32.const 0.2849878668785095) - ) - ) + (f64.mul + (get_local $10) + (get_local $10) ) ) (set_local $12 - (f32.add + (f64.mul (get_local $11) - (get_local $10) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $11) + (f64.const 0.15313837699209373) + ) + ) + ) + ) ) ) (set_local $13 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $3) + (f64.mul + (get_local $10) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $11) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) ) - (get_local $3) ) ) (set_local $14 - (f32.convert_s/i32 - (get_local $4) + (f64.add + (get_local $13) + (get_local $12) + ) + ) + (set_local $15 + (f64.convert_s/i32 + (get_local $3) ) ) (return - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $7) - (f32.add - (get_local $13) - (get_local $12) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $9) + (f64.add + (get_local $8) + (get_local $14) ) ) - (f32.add - (f32.mul - (get_local $14) - (f32.const 9.05800061445916e-06) + (f64.add + (f64.mul + (get_local $15) + (f64.const 1.9082149292705877e-10) ) - (get_local $2) + (get_local $4) ) ) - (get_local $13) + (get_local $8) ) - (get_local $3) + (get_local $5) ) - (f32.mul - (get_local $14) - (f32.const 0.6931381225585938) + (f64.mul + (get_local $15) + (f64.const 0.6931471803691238) ) ) ) ) - (func "$(lib)/math/NativeMathf.log" (; 53 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) (local $2 i32) (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 i32) (nop) (set_local $1 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 (i32.const 0) ) (if (i32.and (if (result i32) - (tee_local $3 + (tee_local $4 (i32.lt_u - (get_local $1) - (i32.const 8388608) + (get_local $2) + (i32.const 1048576) ) ) - (get_local $3) + (get_local $4) (i32.and (i32.shr_u - (get_local $1) + (get_local $2) (i32.const 31) ) (i32.const 1) @@ -3509,17 +3966,17 @@ ) (block (if - (i32.eq - (i32.shl + (i64.eq + (i64.shl (get_local $1) - (i32.const 1) + (i64.const 1) ) - (i32.const 0) + (i64.const 0) ) (return - (f32.div - (f32.const -1) - (f32.mul + (f64.div + (f64.const -1) + (f64.mul (get_local $0) (get_local $0) ) @@ -3528,240 +3985,293 @@ ) (if (i32.shr_u - (get_local $1) + (get_local $2) (i32.const 31) ) (return - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) (get_local $0) ) - (f32.const 0) + (f64.const 0) ) ) ) - (set_local $2 + (set_local $3 (i32.sub - (get_local $2) - (i32.const 25) + (get_local $3) + (i32.const 54) ) ) (set_local $0 - (f32.mul + (f64.mul (get_local $0) - (f32.const 33554432) + (f64.const 18014398509481984) ) ) (set_local $1 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) ) (if (i32.ge_u - (get_local $1) - (i32.const 2139095040) + (get_local $2) + (i32.const 2146435072) ) (return (get_local $0) ) (if - (i32.eq - (get_local $1) - (i32.const 1065353216) + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) ) (return - (f32.const 0) + (f64.const 0) ) ) ) ) - (set_local $1 + (set_local $2 (i32.add - (get_local $1) + (get_local $2) (i32.sub - (i32.const 1065353216) - (i32.const 1060439283) + (i32.const 1072693248) + (i32.const 1072079006) ) ) ) - (set_local $2 + (set_local $3 (i32.add - (get_local $2) + (get_local $3) (i32.sub (i32.shr_s - (get_local $1) - (i32.const 23) + (get_local $2) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) ) - (set_local $1 + (set_local $2 (i32.add (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and (get_local $1) - (i32.const 8388607) + (i64.const 4294967295) ) - (i32.const 1060439283) ) ) (set_local $0 - (f32.reinterpret/i32 + (f64.reinterpret/i64 (get_local $1) ) ) - (set_local $4 - (f32.sub - (get_local $0) - (f32.const 1) - ) - ) (set_local $5 - (f32.div - (get_local $4) - (f32.add - (f32.const 2) - (get_local $4) - ) + (f64.sub + (get_local $0) + (f64.const 1) ) ) (set_local $6 - (f32.mul - (get_local $5) + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) (get_local $5) ) ) (set_local $7 - (f32.mul - (get_local $6) - (get_local $6) + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) ) ) (set_local $8 - (f32.mul + (f64.mul + (get_local $7) (get_local $7) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $7) - (f32.const 0.24279078841209412) - ) - ) ) ) (set_local $9 - (f32.mul - (get_local $6) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $7) - (f32.const 0.2849878668785095) - ) - ) + (f64.mul + (get_local $8) + (get_local $8) ) ) (set_local $10 - (f32.add + (f64.mul (get_local $9) - (get_local $8) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) + ) + ) ) ) (set_local $11 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $4) + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) ) - (get_local $4) ) ) (set_local $12 - (f32.convert_s/i32 - (get_local $2) + (f64.add + (get_local $11) + (get_local $10) ) ) + (set_local $13 + (get_local $3) + ) (return - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $5) - (f32.add - (get_local $11) - (get_local $10) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) ) ) - (f32.mul - (get_local $12) - (f32.const 9.05800061445916e-06) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 1.9082149292705877e-10) ) ) - (get_local $11) + (get_local $6) ) - (get_local $4) + (get_local $5) ) - (f32.mul - (get_local $12) - (f32.const 0.6931381225585938) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 0.6931471803691238) ) ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 54 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) + (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) (nop) (set_local $1 - (i32.reinterpret/f32 - (get_local $0) + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) + ) + (i64.const 2047) ) ) - (set_local $2 - (i32.and + (if + (i64.lt_u (get_local $1) - (i32.const 2147483647) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 1) - (i32.const 23) - ) + (i64.add + (i64.const 1023) + (i64.const 1) ) ) (return - (call "$(lib)/math/NativeMathf.log1p" - (f32.add - (f32.sub + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) - (f32.sqrt - (f32.add - (f32.mul - (f32.sub + (f64.sqrt + (f64.add + (f64.mul + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) - (f32.sub + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) ) - (f32.mul - (f32.const 2) - (f32.sub + (f64.mul + (f64.const 2) + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) ) ) @@ -3771,34 +4281,31 @@ ) ) (if - (i32.lt_u - (get_local $2) - (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 26) ) ) (return - (call "$(lib)/math/NativeMathf.log" - (f32.sub - (f32.mul - (f32.const 2) + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) (get_local $0) ) - (f32.div - (f32.const 1) - (f32.add + (f64.div + (f64.const 1) + (f64.add (get_local $0) - (f32.sqrt - (f32.sub - (f32.mul + (f64.sqrt + (f64.sub + (f64.mul (get_local $0) (get_local $0) ) - (f32.const 1) + (f64.const 1) ) ) ) @@ -3808,273 +4315,22 @@ ) ) (return - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) - ) - (f32.const 0.6931471824645996) - ) - ) - ) - (func $std/math/test_acoshf (; 55 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.acosh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - ) - (func "$(lib)/math/NativeMath.asin" (; 56 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (nop) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) - ) - ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1072693248) - ) - (block - (set_local $3 - (i32.wrap/i64 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $2) - (i32.const 1072693248) - ) - (get_local $3) - ) - (i32.const 0) - ) - (return - (f64.add - (f64.mul - (get_local $0) - (f64.const 1.5707963267948966) - ) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) - ) - ) - ) - ) - (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) - (get_local $0) - ) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) - ) - (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 1045430272) - ) - ) - (i32.ge_u - (get_local $2) - (i32.const 1048576) - ) - (get_local $3) - ) - (i32.const 1) - ) - (return - (get_local $0) - ) - ) - (return - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - ) - ) - ) - (set_local $4 - (f64.mul - (f64.sub - (f64.const 1) - (f64.abs - (get_local $0) - ) - ) - (f64.const 0.5) - ) - ) - (set_local $5 - (f64.sqrt - (get_local $4) - ) - ) - (set_local $6 - (call "$(lib)/math/NativeMath.__R" - (get_local $4) - ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1072640819) - ) - (set_local $0 - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.mul - (f64.const 2) - (f64.add - (get_local $5) - (f64.mul - (get_local $5) - (get_local $6) - ) - ) - ) - (f64.const 6.123233995736766e-17) - ) - ) - ) - (block - (set_local $7 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $5) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $8 - (f64.div - (f64.sub - (get_local $4) - (f64.mul - (get_local $7) - (get_local $7) - ) - ) - (f64.add - (get_local $5) - (get_local $7) - ) - ) - ) - (set_local $0 - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.const 1.5707963267948966) - ) - (f64.sub - (f64.sub - (f64.mul - (f64.mul - (f64.const 2) - (get_local $5) - ) - (get_local $6) - ) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (f64.const 2) - (get_local $8) - ) - ) - ) - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.const 1.5707963267948966) - ) - (f64.mul - (f64.const 2) - (get_local $7) - ) - ) - ) - ) - ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f64.neg + (f64.add + (call "$(lib)/math/NativeMath.log" (get_local $0) ) + (f64.const 0.6931471805599453) ) ) - (return - (get_local $0) - ) ) - (func $std/math/test_asin (; 57 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.asin" + (call "$(lib)/math/NativeMath.acosh" (get_local $0) ) (get_local $1) @@ -4090,7 +4346,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.asin" + (call "$(lib)/math/JSMath.acosh" (get_local $0) ) (get_local $1) @@ -4104,344 +4360,330 @@ ) ) ) - (func "$(lib)/math/NativeMathf.asin" (; 58 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f64) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) (nop) (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) + (block + (set_local $2 + (f32.const 0) + ) + (set_local $3 + (f32.const 0) ) ) + (set_local $4 + (i32.const 1) + ) (if - (i32.ge_u - (get_local $2) - (i32.const 1065353216) - ) - (block - (if - (i32.eq - (get_local $2) - (i32.const 1065353216) - ) - (return - (f32.add - (f32.mul - (get_local $0) - (f32.const 1.5707963705062866) - ) - (f32.const 7.52316384526264e-37) + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (get_local $1) + (i32.const 1054086096) ) ) - ) - (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) - (get_local $0) + (get_local $5) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) ) + (i32.const 1) ) ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1056964608) + (i32.const 1) ) (block (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 964689920) + (i32.ge_u + (get_local $1) + (i32.const -1082130432) + ) + (block + (if + (f32.eq + (get_local $0) + (f32.const -1) + ) + (return + (f32.div + (get_local $0) + (f32.const 0) ) ) - (i32.ge_u - (get_local $2) - (i32.const 8388608) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) ) - (get_local $3) ) - (i32.const 1) + ) + ) + (if + (i32.lt_u + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.shl + (i32.const 864026624) + (i32.const 1) + ) ) (return (get_local $0) ) ) - (return - (f32.add - (get_local $0) - (f32.mul + (if + (i32.le_u + (get_local $1) + (i32.const -1097468391) + ) + (block + (set_local $4 + (i32.const 0) + ) + (set_local $2 + (f32.const 0) + ) + (set_local $3 (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) - ) ) ) ) ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) ) - (set_local $4 - (f32.mul - (f32.sub - (f32.const 1) - (f32.abs + (if + (get_local $4) + (block + (set_local $6 + (f32.add + (f32.const 1) (get_local $0) ) ) - (f32.const 0.5) - ) - ) - (set_local $5 - (f64.sqrt - (f64.promote/f32 - (get_local $4) + (set_local $5 + (i32.reinterpret/f32 + (get_local $6) + ) ) - ) - ) - (set_local $0 - (f32.demote/f64 - (f64.sub - (f64.promote/f32 - (f32.const 1.5707963705062866) - ) - (f64.mul - (f64.promote/f32 - (f32.const 2) + (set_local $5 + (i32.add + (get_local $5) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) ) - (f64.add + ) + ) + (set_local $4 + (i32.sub + (i32.shr_u (get_local $5) - (f64.mul - (get_local $5) - (f64.promote/f32 - (call "$(lib)/math/NativeMathf.__R" - (get_local $4) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 25) + ) + (block + (set_local $2 + (if (result f32) + (i32.ge_s + (get_local $4) + (i32.const 2) + ) + (f32.sub + (f32.const 1) + (f32.sub + (get_local $6) + (get_local $0) + ) + ) + (f32.sub + (get_local $0) + (f32.sub + (get_local $6) + (f32.const 1) ) ) ) ) + (set_local $2 + (f32.div + (get_local $2) + (get_local $6) + ) + ) + ) + (set_local $2 + (f32.const 0) + ) + ) + (set_local $5 + (i32.add + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 1060439283) ) ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.neg - (get_local $0) + (set_local $3 + (f32.sub + (f32.reinterpret/i32 + (get_local $5) + ) + (f32.const 1) + ) ) ) ) - (return - (get_local $0) - ) - ) - (func $std/math/test_asinf (; 59 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.asin" - (get_local $0) - ) - (get_local $1) - (get_local $2) + (set_local $7 + (f32.div (get_local $3) - ) - ) - ) - (func "$(lib)/math/NativeMath.asinh" (; 60 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i64) - (local $3 i64) - (nop) - (set_local $1 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (set_local $2 - (i64.and - (i64.shr_u - (get_local $1) - (i64.const 52) + (f32.add + (f32.const 2) + (get_local $3) ) - (i64.const 2047) - ) - ) - (set_local $3 - (i64.shr_u - (get_local $1) - (i64.const 63) ) ) - (set_local $1 - (i64.and - (get_local $1) - (i64.const 9223372036854775807) + (set_local $8 + (f32.mul + (get_local $7) + (get_local $7) ) ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) + (set_local $9 + (f32.mul + (get_local $8) + (get_local $8) ) ) - (if - (i64.ge_u - (get_local $2) - (i64.add - (i64.const 1023) - (i64.const 26) - ) - ) - (set_local $0 - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) + (set_local $10 + (f32.mul + (get_local $9) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $9) + (f32.const 0.24279078841209412) ) - (f64.const 0.6931471805599453) ) ) - (if - (i64.ge_u - (get_local $2) - (i64.add - (i64.const 1023) - (i64.const 1) - ) - ) - (set_local $0 - (call "$(lib)/math/NativeMath.log" - (f64.add - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) - ) - ) - (get_local $0) - ) - ) - ) - ) - ) - (if - (i64.ge_u - (get_local $2) - (i64.sub - (i64.const 1023) - (i64.const 26) - ) - ) - (set_local $0 - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (get_local $0) - (f64.div - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) - ) - ) - (f64.const 1) - ) - ) - ) - ) + ) + (set_local $11 + (f32.mul + (get_local $8) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $9) + (f32.const 0.2849878668785095) ) ) ) ) - (return - (if (result f64) - (i64.ne + (set_local $12 + (f32.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f32.mul + (f32.mul + (f32.const 0.5) (get_local $3) - (i64.const 0) - ) - (f64.neg - (get_local $0) ) - (get_local $0) + (get_local $3) + ) + ) + (set_local $14 + (f32.convert_s/i32 + (get_local $4) ) ) - ) - (func $std/math/test_asinh (; 61 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.asinh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $7) + (f32.add + (get_local $13) + (get_local $12) + ) ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.asinh" - (get_local $0) + (f32.add + (f32.mul + (get_local $14) + (f32.const 9.05800061445916e-06) + ) + (get_local $2) ) - (get_local $1) - (get_local $2) - (get_local $3) ) + (get_local $13) ) - (get_local $4) + (get_local $3) + ) + (f32.mul + (get_local $14) + (f32.const 0.6931381225585938) ) - (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.asinh" (; 62 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) (nop) (set_local $1 (i32.reinterpret/f32 @@ -4449,151 +4691,358 @@ ) ) (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (set_local $3 - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (set_local $1 - (get_local $2) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) - ) + (i32.const 0) ) (if - (i32.ge_u - (get_local $2) - (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $1) + (i32.const 8388608) + ) ) - ) - ) - (set_local $0 - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) + (get_local $3) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) ) - (f32.const 0.6931471824645996) ) + (i32.const 1) ) - (if - (i32.ge_u - (get_local $2) - (i32.add - (i32.const 1065353216) + (block + (if + (i32.eq (i32.shl + (get_local $1) (i32.const 1) - (i32.const 23) ) + (i32.const 0) ) - ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log" - (f32.add + (return + (f32.div + (f32.const -1) (f32.mul - (f32.const 2) (get_local $0) - ) - (f32.div - (f32.const 1) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (get_local $0) - ) + (get_local $0) ) ) ) ) (if - (i32.ge_u - (get_local $2) - (i32.sub - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) - ) + (i32.shr_u + (get_local $1) + (i32.const 31) ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log1p" - (f32.add + (return + (f32.div + (f32.sub + (get_local $0) (get_local $0) - (f32.div - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (f32.const 1) - ) - ) ) + (f32.const 0) ) ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) ) - ) - (return - (if (result f32) - (get_local $3) - (f32.neg + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return (get_local $0) ) - (get_local $0) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) + ) + (return + (f32.const 0) + ) + ) ) ) - ) - (func $std/math/test_asinhf (; 63 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.asinh" - (get_local $0) - ) + (set_local $1 + (i32.add (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) + ) + ) + ) + (set_local $2 + (i32.add (get_local $2) - (get_local $3) + (i32.sub + (i32.shr_s + (get_local $1) + (i32.const 23) + ) + (i32.const 127) + ) ) ) - ) - (func "$(lib)/math/NativeMath.atan" (; 64 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 i32) - (local $3 f64) - (local $4 f64) - (local $5 i32) + (set_local $1 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (set_local $4 + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (set_local $5 + (f32.div + (get_local $4) + (f32.add + (f32.const 2) + (get_local $4) + ) + ) + ) + (set_local $6 + (f32.mul + (get_local $5) + (get_local $5) + ) + ) + (set_local $7 + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $7) + (f32.const 0.24279078841209412) + ) + ) + ) + ) + (set_local $9 + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $7) + (f32.const 0.2849878668785095) + ) + ) + ) + ) + (set_local $10 + (f32.add + (get_local $9) + (get_local $8) + ) + ) + (set_local $11 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $4) + ) + (get_local $4) + ) + ) + (set_local $12 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (return + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $5) + (f32.add + (get_local $11) + (get_local $10) + ) + ) + (f32.mul + (get_local $12) + (f32.const 9.05800061445916e-06) + ) + ) + (get_local $11) + ) + (get_local $4) + ) + (f32.mul + (get_local $12) + (f32.const 0.6931381225585938) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + ) + (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) (local $6 f64) (local $7 f64) (local $8 f64) - (local $9 i32) (nop) (set_local $1 (i32.wrap/i64 @@ -4606,161 +5055,202 @@ ) ) (set_local $2 - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (set_local $1 (i32.and (get_local $1) (i32.const 2147483647) ) ) - (nop) (if (i32.ge_u - (get_local $1) - (i32.const 1141899264) + (get_local $2) + (i32.const 1072693248) ) (block - (if - (f64.ne - (tee_local $4 + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 (get_local $0) ) - (get_local $4) - ) - (return - (get_local $0) ) ) - (set_local $3 - (f64.add - (f64.const 1.5707963267948966) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) + ) + (i32.const 0) + ) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) + ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) ) ) ) (return - (if (result f64) - (get_local $2) - (f64.neg - (get_local $3) + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) ) - (get_local $3) ) ) ) ) - (nop) (if (i32.lt_u - (get_local $1) - (i32.const 1071382528) + (get_local $2) + (i32.const 1071644672) ) (block (if - (i32.lt_u - (get_local $1) - (i32.const 1044381696) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) ) (return (get_local $0) ) ) - (set_local $5 - (i32.const -1) + (return + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) ) ) - (block - (set_local $0 + ) + (set_local $4 + (f64.mul + (f64.sub + (f64.const 1) (f64.abs (get_local $0) ) ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1072889856) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1072037888) - ) - (block - (set_local $5 - (i32.const 0) - ) - (set_local $0 - (f64.div - (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.const 1) - ) - (f64.add - (f64.const 2) - (get_local $0) - ) + (f64.const 0.5) + ) + ) + (set_local $5 + (f64.sqrt + (get_local $4) + ) + ) + (set_local $6 + (call "$(lib)/math/NativeMath.__R" + (get_local $4) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (set_local $0 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $5) + (f64.mul + (get_local $5) + (get_local $6) ) ) ) - (block - (set_local $5 - (i32.const 1) + (f64.const 6.123233995736766e-17) + ) + ) + ) + (block + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $5) ) - (set_local $0 - (f64.div - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.add - (get_local $0) - (f64.const 1) - ) - ) + (i64.const -4294967296) + ) + ) + ) + (set_local $8 + (f64.div + (f64.sub + (get_local $4) + (f64.mul + (get_local $7) + (get_local $7) ) ) + (f64.add + (get_local $5) + (get_local $7) + ) ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1073971200) + ) + (set_local $0 + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) ) - (block - (set_local $5 - (i32.const 2) - ) - (set_local $0 - (f64.div - (f64.sub - (get_local $0) - (f64.const 1.5) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $5) ) - (f64.add - (f64.const 1) - (f64.mul - (f64.const 1.5) - (get_local $0) - ) + (get_local $6) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (get_local $8) ) ) ) - ) - (block - (set_local $5 - (i32.const 3) - ) - (set_local $0 - (f64.div - (f64.const -1) - (get_local $0) + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.mul + (f64.const 2) + (get_local $7) ) ) ) @@ -4768,47 +5258,144 @@ ) ) ) - (set_local $3 - (f64.mul - (get_local $0) - (get_local $0) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) ) - ) - (set_local $6 - (f64.mul - (get_local $3) - (get_local $3) + (return + (f64.neg + (get_local $0) + ) ) ) - (set_local $7 - (f64.mul - (get_local $3) - (f64.add - (f64.const 0.3333333333333293) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.14285714272503466) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.09090887133436507) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.06661073137387531) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.049768779946159324) - (f64.mul - (get_local $6) - (f64.const 0.016285820115365782) - ) - ) - ) - ) - ) + (return + (get_local $0) + ) + ) + (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f64) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (return + (f32.add + (f32.mul + (get_local $0) + (f32.const 1.5707963705062866) + ) + (f32.const 7.52316384526264e-37) + ) + ) + ) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1056964608) + ) + (block + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 964689920) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 8388608) + ) + (get_local $3) + ) + (i32.const 1) + ) + (return + (get_local $0) + ) + ) + (return + (f32.add + (get_local $0) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) ) ) ) @@ -4816,28 +5403,41 @@ ) ) ) - (set_local $8 - (f64.mul - (get_local $6) - (f64.add - (f64.const -0.19999999999876483) + (set_local $4 + (f32.mul + (f32.sub + (f32.const 1) + (f32.abs + (get_local $0) + ) + ) + (f32.const 0.5) + ) + ) + (set_local $5 + (f64.sqrt + (f64.promote/f32 + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.promote/f32 + (f32.const 1.5707963705062866) + ) (f64.mul - (get_local $6) + (f64.promote/f32 + (f32.const 2) + ) (f64.add - (f64.const -0.11111110405462356) + (get_local $5) (f64.mul - (get_local $6) - (f64.add - (f64.const -0.0769187620504483) - (f64.mul - (get_local $6) - (f64.add - (f64.const -0.058335701337905735) - (f64.mul - (get_local $6) - (f64.const -0.036531572744216916) - ) - ) + (get_local $5) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" + (get_local $4) ) ) ) @@ -4847,166 +5447,174 @@ ) ) (if - (i32.lt_s - (get_local $5) - (i32.const 0) + (i32.shr_u + (get_local $1) + (i32.const 31) ) (return - (f64.sub + (f32.neg (get_local $0) - (f64.mul + ) + ) + ) + (return + (get_local $0) + ) + ) + (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.asin" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + (set_local $3 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) ) + (f64.const 0.6931471805599453) ) ) - ) - (block $break|0 - (block $case4|0 - (block $case3|0 - (block $case2|0 - (block $case1|0 - (block $case0|0 - (set_local $9 - (get_local $5) - ) - (br_if $case0|0 - (i32.eq - (get_local $9) - (i32.const 0) - ) - ) - (br_if $case1|0 - (i32.eq - (get_local $9) - (i32.const 1) - ) - ) - (br_if $case2|0 - (i32.eq - (get_local $9) - (i32.const 2) - ) - ) - (br_if $case3|0 - (i32.eq - (get_local $9) - (i32.const 3) - ) - ) - (br $case4|0) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.4636476090008061) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 2.2698777452961687e-17) - ) - (get_local $0) - ) - ) - ) - (br $break|0) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 1) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) ) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.7853981633974483) - (f64.sub - (f64.sub + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add (f64.mul (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 3.061616997868383e-17) - ) - (get_local $0) - ) - ) - ) - (br $break|0) - ) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.982793723247329) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) + (get_local $0) ) + (f64.const 1) ) - (f64.const 1.3903311031230998e-17) ) (get_local $0) ) ) ) - (br $break|0) ) ) - (block - (set_local $3 - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.sub + (if + (i64.ge_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div (f64.mul (get_local $0) - (f64.add - (get_local $7) - (get_local $8) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) ) + (f64.const 1) ) - (f64.const 6.123233995736766e-17) ) - (get_local $0) ) ) ) - (br $break|0) ) ) - (unreachable) ) (return (if (result f64) - (get_local $2) - (f64.neg + (i64.ne (get_local $3) + (i64.const 0) ) - (get_local $3) + (f64.neg + (get_local $0) + ) + (get_local $0) ) ) ) - (func $std/math/test_atan (; 65 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.atan" + (call "$(lib)/math/NativeMath.asinh" (get_local $0) ) (get_local $1) @@ -5022,7 +5630,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.atan" + (call "$(lib)/math/JSMath.asinh" (get_local $0) ) (get_local $1) @@ -5036,16 +5644,10 @@ ) ) ) - (func "$(lib)/math/NativeMathf.atan" (; 66 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 i32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 i32) + (local $3 i32) (nop) (set_local $1 (i32.reinterpret/f32 @@ -5053,103 +5655,262 @@ ) ) (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $3 (i32.shr_u (get_local $1) (i32.const 31) ) ) (set_local $1 - (i32.and + (get_local $2) + ) + (set_local $0 + (f32.reinterpret/i32 (get_local $1) - (i32.const 2147483647) ) ) - (nop) (if (i32.ge_u - (get_local $1) - (i32.const 1283457024) - ) - (block - (if - (f32.ne - (tee_local $4 - (get_local $0) - ) - (get_local $4) - ) - (return - (get_local $0) - ) - ) - (set_local $3 - (f32.add - (f32.const 1.570796251296997) - (f32.const 7.52316384526264e-37) - ) - ) - (return - (if (result f32) - (get_local $2) - (f32.neg - (get_local $3) - ) - (get_local $3) + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) ) ) ) - ) - (nop) - (if - (i32.lt_u - (get_local $1) - (i32.const 1054867456) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.const 964689920) - ) - (return + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" (get_local $0) ) - ) - (set_local $5 - (i32.const -1) + (f32.const 0.6931471824645996) ) ) - (block + (if + (i32.ge_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) (set_local $0 - (f32.abs + (call "$(lib)/math/NativeMathf.log" + (f32.add + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (get_local $0) + ) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (get_local $0) + (f32.div + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (return + (if (result f32) + (get_local $3) + (f32.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 i32) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (nop) + (if + (i32.ge_u + (get_local $1) + (i32.const 1141899264) + ) + (block + (if + (f64.ne + (tee_local $4 + (get_local $0) + ) + (get_local $4) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) + ) + ) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1071382528) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 1044381696) + ) + (return + (get_local $0) + ) + ) + (set_local $5 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f64.abs (get_local $0) ) ) (if (i32.lt_u (get_local $1) - (i32.const 1066926080) + (i32.const 1072889856) ) (if (i32.lt_u (get_local $1) - (i32.const 1060110336) + (i32.const 1072037888) ) (block (set_local $5 (i32.const 0) ) (set_local $0 - (f32.div - (f32.sub - (f32.mul - (f32.const 2) + (f64.div + (f64.sub + (f64.mul + (f64.const 2) (get_local $0) ) - (f32.const 1) + (f64.const 1) ) - (f32.add - (f32.const 2) + (f64.add + (f64.const 2) (get_local $0) ) ) @@ -5160,14 +5921,14 @@ (i32.const 1) ) (set_local $0 - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) - (f32.const 1) + (f64.const 1) ) - (f32.add + (f64.add (get_local $0) - (f32.const 1) + (f64.const 1) ) ) ) @@ -5176,22 +5937,22 @@ (if (i32.lt_u (get_local $1) - (i32.const 1075576832) + (i32.const 1073971200) ) (block (set_local $5 (i32.const 2) ) (set_local $0 - (f32.div - (f32.sub + (f64.div + (f64.sub (get_local $0) - (f32.const 1.5) + (f64.const 1.5) ) - (f32.add - (f32.const 1) - (f32.mul - (f32.const 1.5) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) (get_local $0) ) ) @@ -5203,8 +5964,8 @@ (i32.const 3) ) (set_local $0 - (f32.div - (f32.const -1) + (f64.div + (f64.const -1) (get_local $0) ) ) @@ -5214,29 +5975,47 @@ ) ) (set_local $3 - (f32.mul + (f64.mul (get_local $0) (get_local $0) ) ) (set_local $6 - (f32.mul + (f64.mul (get_local $3) (get_local $3) ) ) (set_local $7 - (f32.mul + (f64.mul (get_local $3) - (f32.add - (f32.const 0.333333283662796) - (f32.mul + (f64.add + (f64.const 0.3333333333333293) + (f64.mul (get_local $6) - (f32.add - (f32.const 0.14253635704517365) - (f32.mul + (f64.add + (f64.const 0.14285714272503466) + (f64.mul (get_local $6) - (f32.const 0.06168760731816292) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $6) + (f64.const 0.016285820115365782) + ) + ) + ) + ) + ) + ) ) ) ) @@ -5244,13 +6023,31 @@ ) ) (set_local $8 - (f32.mul + (f64.mul (get_local $6) - (f32.add - (f32.const -0.19999158382415771) - (f32.mul + (f64.add + (f64.const -0.19999999999876483) + (f64.mul (get_local $6) - (f32.const -0.106480173766613) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.0769187620504483) + (f64.mul + (get_local $6) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $6) + (f64.const -0.036531572744216916) + ) + ) + ) + ) + ) + ) ) ) ) @@ -5261,11 +6058,11 @@ (i32.const 0) ) (return - (f32.sub + (f64.sub (get_local $0) - (f32.mul + (f64.mul (get_local $0) - (f32.add + (f64.add (get_local $7) (get_local $8) ) @@ -5310,18 +6107,18 @@ ) (block (set_local $3 - (f32.sub - (f32.const 0.46364760398864746) - (f32.sub - (f32.sub - (f32.mul + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f32.add + (f64.add (get_local $7) (get_local $8) ) ) - (f32.const 5.01215824399992e-09) + (f64.const 2.2698777452961687e-17) ) (get_local $0) ) @@ -5332,18 +6129,18 @@ ) (block (set_local $3 - (f32.sub - (f32.const 0.7853981256484985) - (f32.sub - (f32.sub - (f32.mul + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f32.add + (f64.add (get_local $7) (get_local $8) ) ) - (f32.const 3.774894707930798e-08) + (f64.const 3.061616997868383e-17) ) (get_local $0) ) @@ -5354,18 +6151,18 @@ ) (block (set_local $3 - (f32.sub - (f32.const 0.9827936887741089) - (f32.sub - (f32.sub - (f32.mul + (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f32.add + (f64.add (get_local $7) (get_local $8) ) ) - (f32.const 3.447321716976148e-08) + (f64.const 1.3903311031230998e-17) ) (get_local $0) ) @@ -5376,18 +6173,18 @@ ) (block (set_local $3 - (f32.sub - (f32.const 1.570796251296997) - (f32.sub - (f32.sub - (f32.mul + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f32.add + (f64.add (get_local $7) (get_local $8) ) ) - (f32.const 7.549789415861596e-08) + (f64.const 6.123233995736766e-17) ) (get_local $0) ) @@ -5399,129 +6196,538 @@ (unreachable) ) (return - (if (result f32) + (if (result f64) (get_local $2) - (f32.neg + (f64.neg (get_local $3) ) (get_local $3) ) ) ) - (func $std/math/test_atanf (; 67 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.atan" - (get_local $0) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.atan" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) ) - (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 68 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (local $2 i32) - (local $3 f64) - (local $4 f64) - (local $5 f64) - (local $6 f64) + (local $3 f32) + (local $4 f32) + (local $5 i32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 i32) (nop) (set_local $1 - (i64.reinterpret/f64 + (i32.reinterpret/f32 (get_local $0) ) ) (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 (i32.and - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) + (get_local $1) (i32.const 2147483647) ) ) + (nop) (if (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (f64.add - (get_local $0) - (get_local $0) - ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1048576) + (get_local $1) + (i32.const 1283457024) ) (block - (set_local $1 - (i64.reinterpret/f64 - (f64.mul + (if + (f32.ne + (tee_local $4 (get_local $0) - (f64.const 18014398509481984) - ) - ) - ) - (set_local $2 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) ) - (i32.const 2147483647) - ) - ) - (if - (i32.eq - (get_local $2) - (i32.const 0) + (get_local $4) ) (return (get_local $0) ) ) - (set_local $2 - (i32.add - (i32.div_u - (get_local $2) - (i32.const 3) - ) - (i32.const 696219795) + (set_local $3 + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) ) - ) - (set_local $2 - (i32.add - (i32.div_u + (return + (if (result f32) (get_local $2) - (i32.const 3) + (f32.neg + (get_local $3) + ) + (get_local $3) ) - (i32.const 715094163) ) ) ) - (set_local $1 - (i64.and + (nop) + (if + (i32.lt_u (get_local $1) - (i64.shl - (i64.const 1) - (i64.const 63) - ) + (i32.const 1054867456) ) - ) - (set_local $1 - (i64.or - (get_local $1) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 964689920) + ) + (return + (get_local $0) + ) + ) + (set_local $5 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f32.abs + (get_local $0) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1066926080) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1060110336) + ) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $0 + (f32.div + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.const 1) + ) + (f32.add + (f32.const 2) + (get_local $0) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f32.div + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.add + (get_local $0) + (f32.const 1) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1075576832) + ) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f32.div + (f32.sub + (get_local $0) + (f32.const 1.5) + ) + (f32.add + (f32.const 1) + (f32.mul + (f32.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f32.div + (f32.const -1) + (get_local $0) + ) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $6 + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + (set_local $7 + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.333333283662796) + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.14253635704517365) + (f32.mul + (get_local $6) + (f32.const 0.06168760731816292) + ) + ) + ) + ) + ) + ) + (set_local $8 + (f32.mul + (get_local $6) + (f32.add + (f32.const -0.19999158382415771) + (f32.mul + (get_local $6) + (f32.const -0.106480173766613) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (return + (f32.sub + (get_local $0) + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) + ) + ) + (br $case4|0) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.46364760398864746) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 5.01215824399992e-09) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.7853981256484985) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.774894707930798e-08) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.9827936887741089) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.447321716976148e-08) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 7.549789415861596e-08) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (unreachable) + ) + (return + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.cbrt" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (f64.add + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + (block + (set_local $1 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (set_local $2 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) + ) + (i32.const 696219795) + ) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) + ) + (i32.const 715094163) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.shl + (i64.const 1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.or + (get_local $1) (i64.shl (i64.extend_u/i32 (get_local $2) @@ -5639,7 +6845,7 @@ (get_local $3) ) ) - (func $std/math/test_cbrt (; 69 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cbrt (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -5676,7 +6882,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 70 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 75 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f64) @@ -5851,7 +7057,7 @@ ) ) ) - (func $std/math/test_cbrtf (; 71 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_cbrtf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.cbrt" @@ -5863,7 +7069,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.expm1" (; 72 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.expm1" (; 77 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -6357,7 +7563,7 @@ (get_local $14) ) ) - (func "$(lib)/math/NativeMath.exp" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.exp" (; 78 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 f64) @@ -6594,7 +7800,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 74 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.__expo2" (; 79 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (nop) (set_local $1 @@ -6631,7 +7837,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 75 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cosh" (; 80 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 f64) @@ -6740,7 +7946,7 @@ (get_local $3) ) ) - (func $std/math/test_cosh (; 76 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cosh (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -6777,7 +7983,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 77 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.expm1" (; 82 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -7238,7 +8444,7 @@ (get_local $14) ) ) - (func "$(lib)/math/NativeMathf.exp" (; 78 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.exp" (; 83 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -7460,7 +8666,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.__expo2" (; 79 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.__expo2" (; 84 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (nop) (set_local $1 @@ -7492,7 +8698,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.cosh" (; 80 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cosh" (; 85 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 f32) (set_local $1 @@ -7588,7 +8794,7 @@ ) ) ) - (func $std/math/test_coshf (; 81 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_coshf (; 86 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.cosh" @@ -7600,7 +8806,7 @@ ) ) ) - (func $std/math/test_exp (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_exp (; 87 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -7637,7 +8843,7 @@ ) ) ) - (func $std/math/test_expf (; 83 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.exp" @@ -7649,7 +8855,7 @@ ) ) ) - (func $std/math/test_expm1 (; 84 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_expm1 (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -7686,7 +8892,7 @@ ) ) ) - (func $std/math/test_expm1f (; 85 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_expm1f (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.expm1" @@ -7698,7 +8904,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.hypot" (; 86 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.hypot" (; 91 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i64) (local $4 i64) @@ -7999,7 +9205,7 @@ ) ) ) - (func $std/math/test_hypot (; 87 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_hypot (; 92 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (return (i32.and @@ -8038,7 +9244,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.hypot" (; 88 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.hypot" (; 93 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -8239,7 +9445,7 @@ ) ) ) - (func $std/math/test_hypotf (; 89 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_hypotf (; 94 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.hypot" @@ -8252,7 +9458,7 @@ ) ) ) - (func $std/math/test_log (; 90 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -8289,7 +9495,7 @@ ) ) ) - (func $std/math/test_logf (; 91 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log" @@ -8301,7 +9507,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log10" (; 92 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log10" (; 97 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -8690,7 +9896,7 @@ ) ) ) - (func $std/math/test_log10 (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -8727,7 +9933,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log10" (; 94 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log10" (; 99 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -9022,7 +10228,7 @@ ) ) ) - (func $std/math/test_log10f (; 95 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log10" @@ -9034,7 +10240,7 @@ ) ) ) - (func $std/math/test_log1p (; 96 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -9071,7 +10277,7 @@ ) ) ) - (func $std/math/test_log1pf (; 97 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" @@ -9083,7 +10289,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log2" (; 98 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 103 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -9459,7 +10665,7 @@ ) ) ) - (func $std/math/test_log2 (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -9496,7 +10702,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 100 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 105 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -9783,7 +10989,7 @@ ) ) ) - (func $std/math/test_log2f (; 101 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log2" @@ -9795,7 +11001,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.pow" (; 102 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.pow" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) (local $3 i32) (local $4 i32) @@ -11374,7 +12580,7 @@ ) ) ) - (func $std/math/test_pow (; 103 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_pow (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) (return (i32.and @@ -11413,7 +12619,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.pow" (; 104 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (func "$(lib)/math/NativeMathf.pow" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) (local $4 i32) @@ -12744,7 +13950,7 @@ ) ) ) - (func $std/math/test_powf (; 105 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_powf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.pow" @@ -12757,7 +13963,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.__murmurHash3" (; 106 ;) (type $II) (param $0 i64) (result i64) + (func "$(lib)/math/murmurHash3" (; 111 ;) (type $II) (param $0 i64) (result i64) (set_local $0 (i64.xor (get_local $0) @@ -12801,7 +14007,7 @@ (get_local $0) ) ) - (func "$(lib)/math/NativeMath.seedRandom" (; 107 ;) (type $Iv) (param $0 i64) + (func "$(lib)/math/NativeMath.seedRandom" (; 112 ;) (type $Iv) (param $0 i64) (if (i64.eqz (get_local $0) @@ -12810,36 +14016,43 @@ (call $abort (i32.const 0) (i32.const 32) - (i32.const 1055) + (i32.const 1030) (i32.const 4) ) (unreachable) ) ) - (set_global "$(lib)/math/NativeMath.random_seeded" + (set_global "$(lib)/math/random_seeded" (i32.const 1) ) - (set_global "$(lib)/math/NativeMath.random_state0" - (call "$(lib)/math/NativeMath.__murmurHash3" + (set_global "$(lib)/math/random_state0" + (call "$(lib)/math/murmurHash3" (get_local $0) ) ) - (set_global "$(lib)/math/NativeMath.random_state1" - (call "$(lib)/math/NativeMath.__murmurHash3" - (get_global "$(lib)/math/NativeMath.random_state0") + (set_global "$(lib)/math/random_state1" + (call "$(lib)/math/murmurHash3" + (get_global "$(lib)/math/random_state0") ) ) ) - (func "$(lib)/math/NativeMath.__xorShift128Plus" (; 108 ;) (type $I) (result i64) + (func "$(lib)/math/NativeMath.random" (; 113 ;) (type $F) (result f64) (local $0 i64) (local $1 i64) + (local $2 i64) + (if + (i32.eqz + (get_global "$(lib)/math/random_seeded") + ) + (unreachable) + ) (set_local $0 - (get_global "$(lib)/math/NativeMath.random_state0") + (get_global "$(lib)/math/random_state0") ) (set_local $1 - (get_global "$(lib)/math/NativeMath.random_state1") + (get_global "$(lib)/math/random_state1") ) - (set_global "$(lib)/math/NativeMath.random_state0" + (set_global "$(lib)/math/random_state0" (get_local $1) ) (set_local $0 @@ -12875,28 +14088,16 @@ ) ) ) - (set_global "$(lib)/math/NativeMath.random_state1" + (set_global "$(lib)/math/random_state1" (get_local $0) ) - (return - (i64.add - (get_local $1) - (get_local $0) - ) - ) - ) - (func "$(lib)/math/NativeMath.random" (; 109 ;) (type $F) (result f64) - (local $0 i64) - (if - (i32.eqz - (get_global "$(lib)/math/NativeMath.random_seeded") - ) - (unreachable) - ) - (set_local $0 + (set_local $2 (i64.or (i64.and - (call "$(lib)/math/NativeMath.__xorShift128Plus") + (i64.add + (get_local $1) + (get_local $0) + ) (i64.const 4503599627370495) ) (i64.const 4607182418800017408) @@ -12905,13 +14106,13 @@ (return (f64.sub (f64.reinterpret/i64 - (get_local $0) + (get_local $2) ) (f64.const 1) ) ) ) - (func "$(lib)/math/NativeMath.sinh" (; 110 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sinh" (; 114 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 f64) (local $3 f64) @@ -13046,7 +14247,7 @@ (get_local $5) ) ) - (func $std/math/test_sinh (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sinh (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13083,7 +14284,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.sinh" (; 112 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sinh" (; 116 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 f32) (local $3 f32) @@ -13206,7 +14407,7 @@ (get_local $4) ) ) - (func $std/math/test_sinhf (; 113 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sinhf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.sinh" @@ -13218,14 +14419,14 @@ ) ) ) - (func "$(lib)/math/NativeMath.sqrt" (; 114 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.sqrt" (; 118 ;) (type $FF) (param $0 f64) (result f64) (return (f64.sqrt (get_local $0) ) ) ) - (func $std/math/test_sqrt (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_sqrt (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13262,14 +14463,14 @@ ) ) ) - (func "$(lib)/math/NativeMathf.sqrt" (; 116 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.sqrt" (; 120 ;) (type $ff) (param $0 f32) (result f32) (return (f32.sqrt (get_local $0) ) ) ) - (func $std/math/test_sqrtf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_sqrtf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.sqrt" @@ -13281,7 +14482,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.tanh" (; 118 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.tanh" (; 122 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -13427,7 +14628,7 @@ ) ) ) - (func $std/math/test_tanh (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_tanh (; 123 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -13464,7 +14665,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.tanh" (; 120 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.tanh" (; 124 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -13599,7 +14800,7 @@ ) ) ) - (func $std/math/test_tanhf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_tanhf (; 125 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.tanh" @@ -13611,7 +14812,7 @@ ) ) ) - (func $start (; 122 ;) (type $v) + (func $start (; 126 ;) (type $v) (local $0 i32) (local $1 f64) (local $2 i32) @@ -13626,7 +14827,3130 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 80) + (i32.const 80) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 99) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 100) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 101) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 102) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 103) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 104) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 2147483647) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 2147483647) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -2) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 220) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 221) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 222) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 223) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 224) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 249) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 250) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 251) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 255) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 256) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 257) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 271) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 272) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 273) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 274) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 275) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 276) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 277) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 280) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_modf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 281) (i32.const 0) ) (unreachable) @@ -13634,10 +17958,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.718281828459045) - (get_global "$(lib)/math/JSMath.E") - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13645,7 +17970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 84) + (i32.const 282) (i32.const 0) ) (unreachable) @@ -13653,10 +17978,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.6931471805599453) - (get_global "$(lib)/math/JSMath.LN2") - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13664,7 +17990,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 85) + (i32.const 283) (i32.const 0) ) (unreachable) @@ -13672,10 +17998,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.302585092994046) - (get_global "$(lib)/math/JSMath.LN10") - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -13683,7 +18010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 86) + (i32.const 284) (i32.const 0) ) (unreachable) @@ -13691,10 +18018,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4426950408889634) - (get_global "$(lib)/math/JSMath.LOG2E") - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -13702,7 +18030,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 87) + (i32.const 285) (i32.const 0) ) (unreachable) @@ -13710,10 +18038,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 3.141592653589793) - (get_global "$(lib)/math/JSMath.PI") - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13721,7 +18050,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 88) + (i32.const 286) (i32.const 0) ) (unreachable) @@ -13729,10 +18058,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.7071067811865476) - (get_global "$(lib)/math/JSMath.SQRT1_2") - (f64.const 0) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13740,7 +18070,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 89) + (i32.const 287) (i32.const 0) ) (unreachable) @@ -13748,10 +18078,11 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4142135623730951) - (get_global "$(lib)/math/JSMath.SQRT2") - (f64.const 0) + (call $std/math/test_modf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -13759,7 +18090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 90) + (i32.const 288) (i32.const 0) ) (unreachable) @@ -13767,11 +18098,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.06684839057968) - (i32.const -2) - (f64.const -2.01671209764492) - (f64.const 0) + (call $std/math/test_modf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -13779,7 +18110,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 99) + (i32.const 289) (i32.const 0) ) (unreachable) @@ -13787,19 +18118,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 4.345239849338305) - (i32.const -1) - (f64.const 2.1726199246691524) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 100) + (i32.const 290) (i32.const 0) ) (unreachable) @@ -13807,19 +18138,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.38143342755525) - (i32.const 0) - (f64.const -8.38143342755525) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 101) + (i32.const 291) (i32.const 0) ) (unreachable) @@ -13827,11 +18160,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -6.531673581913484) - (i32.const 1) - (f64.const -13.063347163826968) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -13839,7 +18172,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 102) + (i32.const 292) (i32.const 0) ) (unreachable) @@ -13847,11 +18180,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 9.267056966972586) - (i32.const 2) - (f64.const 37.06822786789034) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -13859,7 +18192,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 103) + (i32.const 293) (i32.const 0) ) (unreachable) @@ -13867,11 +18200,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.6619858980995045) - (i32.const 3) - (f64.const 5.295887184796036) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -13879,7 +18212,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 104) + (i32.const 294) (i32.const 0) ) (unreachable) @@ -13887,11 +18220,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.4066039223853553) - (i32.const 4) - (f64.const -6.505662758165685) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13899,7 +18232,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 105) + (i32.const 295) (i32.const 0) ) (unreachable) @@ -13907,11 +18240,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5617597462207241) - (i32.const 5) - (f64.const 17.97631187906317) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13919,7 +18252,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 106) + (i32.const 296) (i32.const 0) ) (unreachable) @@ -13927,11 +18260,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7741522965913037) - (i32.const 6) - (f64.const 49.545746981843436) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -13939,7 +18272,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 107) + (i32.const 297) (i32.const 0) ) (unreachable) @@ -13947,11 +18280,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.6787637026394024) - (i32.const 7) - (f64.const -86.88175393784351) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -13959,7 +18292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 108) + (i32.const 298) (i32.const 0) ) (unreachable) @@ -13967,11 +18300,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const 2147483647) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13979,7 +18312,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 111) + (i32.const 299) (i32.const 0) ) (unreachable) @@ -13987,11 +18320,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const -2147483647) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -13999,7 +18332,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 112) + (i32.const 300) (i32.const 0) ) (unreachable) @@ -14007,11 +18340,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0) - (i32.const 2147483647) - (f64.const -0) - (f64.const 0) + (call $std/math/test_modf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -14019,7 +18352,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 113) + (i32.const 301) (i32.const 0) ) (unreachable) @@ -14027,11 +18360,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const -2) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -14039,7 +18372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 114) + (i32.const 302) (i32.const 0) ) (unreachable) @@ -14047,19 +18380,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 0) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 115) + (i32.const 303) (i32.const 0) ) (unreachable) @@ -14067,23 +18400,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.neg - (f64.const inf) - ) - (i32.const 0) - (f64.neg - (f64.const inf) + (call $std/math/test_modf + (f32.neg + (f32.const inf) ) - (f64.const 0) - (i32.const 0) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 116) + (i32.const 304) (i32.const 0) ) (unreachable) @@ -14091,11 +18422,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 0) - (f64.const 1) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -14103,7 +18434,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 117) + (i32.const 305) (i32.const 0) ) (unreachable) @@ -14111,19 +18442,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 1) - (f64.const 2) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 118) + (i32.const 306) (i32.const 0) ) (unreachable) @@ -14131,19 +18462,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 119) + (i32.const 307) (i32.const 0) ) (unreachable) @@ -14151,22 +18482,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 16) - ) + (call $std/math/test_modf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 120) + (i32.const 308) (i32.const 0) ) (unreachable) @@ -14174,11 +18502,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -14186,7 +18516,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 121) + (i32.const 309) (i32.const 0) ) (unreachable) @@ -14194,11 +18524,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -14206,7 +18536,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 122) + (i32.const 310) (i32.const 0) ) (unreachable) @@ -14214,19 +18544,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const -2147483647) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 123) + (i32.const 311) (i32.const 0) ) (unreachable) @@ -14234,23 +18564,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.neg - (f64.const inf) - ) - (i32.const 2147483647) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 124) + (i32.const 312) (i32.const 0) ) (unreachable) @@ -14258,11 +18584,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 8988465674311579538646525e283) - (i32.const -2097) - (f64.const 5e-324) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -14270,7 +18596,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 125) + (i32.const 313) (i32.const 0) ) (unreachable) @@ -14278,11 +18604,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 5e-324) - (i32.const 2097) - (f64.const 8988465674311579538646525e283) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -14290,7 +18618,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 126) + (i32.const 314) (i32.const 0) ) (unreachable) @@ -14298,22 +18626,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1.000244140625) - (i32.const -1074) - (f64.const 5e-324) - (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (call $std/math/test_modf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 127) + (i32.const 315) (i32.const 0) ) (unreachable) @@ -14321,22 +18646,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7499999999999999) - (i32.const -1073) - (f64.const 5e-324) - (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (call $std/math/test_modf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 128) + (i32.const 316) (i32.const 0) ) (unreachable) @@ -14344,22 +18666,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5000000000000012) - (i32.const -1024) - (f64.const 2.781342323134007e-309) - (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (call $std/math/test_modf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 129) + (i32.const 317) (i32.const 0) ) (unreachable) @@ -14367,19 +18686,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.066848754882812) - (i32.const -2) - (f32.const -2.016712188720703) + (call $std/math/test_modf + (f32.const inf) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 138) + (i32.const 318) (i32.const 0) ) (unreachable) @@ -14387,19 +18706,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 4.345239639282227) - (i32.const -1) - (f32.const 2.1726198196411133) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 139) + (i32.const 319) (i32.const 0) ) (unreachable) @@ -14407,10 +18728,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.381433486938477) - (i32.const 0) - (f32.const -8.381433486938477) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14419,7 +18740,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 140) + (i32.const 320) (i32.const 0) ) (unreachable) @@ -14427,19 +18748,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -6.531673431396484) - (i32.const 1) - (f32.const -13.063346862792969) + (call $std/math/test_modf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 141) + (i32.const 321) (i32.const 0) ) (unreachable) @@ -14447,19 +18768,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 9.267057418823242) - (i32.const 2) - (f32.const 37.06822967529297) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 142) + (i32.const 322) (i32.const 0) ) (unreachable) @@ -14467,19 +18788,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.6619858741760254) - (i32.const 3) - (f32.const 5.295886993408203) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 143) + (i32.const 323) (i32.const 0) ) (unreachable) @@ -14487,10 +18810,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.40660393238067627) - (i32.const 4) - (f32.const -6.50566291809082) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14499,7 +18822,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 144) + (i32.const 324) (i32.const 0) ) (unreachable) @@ -14507,19 +18830,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5617597699165344) - (i32.const 5) - (f32.const 17.9763126373291) + (call $std/math/test_modf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 145) + (i32.const 325) (i32.const 0) ) (unreachable) @@ -14527,19 +18850,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7741522789001465) - (i32.const 6) - (f32.const 49.545745849609375) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 146) + (i32.const 326) (i32.const 0) ) (unreachable) @@ -14547,10 +18870,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.6787636876106262) - (i32.const 7) - (f32.const -86.88175201416016) + (call $std/math/test_modf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14559,7 +18882,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 147) + (i32.const 327) (i32.const 0) ) (unreachable) @@ -14567,19 +18890,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const 2147483647) - (f32.const 0) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 150) + (i32.const 328) (i32.const 0) ) (unreachable) @@ -14587,19 +18912,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const -2147483647) - (f32.const 0) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 151) + (i32.const 329) (i32.const 0) ) (unreachable) @@ -14607,10 +18934,12 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0) - (i32.const 2147483647) - (f32.const -0) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14619,7 +18948,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 152) + (i32.const 330) (i32.const 0) ) (unreachable) @@ -14627,9 +18956,9 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf + (call $std/math/test_modf + (f32.const nan:0x400000) (f32.const nan:0x400000) - (i32.const 0) (f32.const nan:0x400000) (f32.const 0) (i32.const 0) @@ -14639,7 +18968,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 153) + (i32.const 331) (i32.const 0) ) (unreachable) @@ -14647,10 +18976,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 0) - (f32.const inf) + (call $std/math/test_modf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14659,7 +18988,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 154) + (i32.const 332) (i32.const 0) ) (unreachable) @@ -14667,14 +18996,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.neg - (f32.const inf) - ) - (i32.const 0) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_modf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -14683,7 +19008,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 155) + (i32.const 333) (i32.const 0) ) (unreachable) @@ -14691,9 +19016,9 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf + (call $std/math/test_modf (f32.const 1) - (i32.const 0) + (f32.const inf) (f32.const 1) (f32.const 0) (i32.const 0) @@ -14703,7 +19028,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 156) + (i32.const 334) (i32.const 0) ) (unreachable) @@ -14711,10 +19036,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 1) - (f32.const 2) + (call $std/math/test_modf + (f32.const -1) + (f32.const inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -14723,7 +19048,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 157) + (i32.const 335) (i32.const 0) ) (unreachable) @@ -14731,19 +19056,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const -1) - (f32.const 0.5) + (call $std/math/test_modf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 158) + (i32.const 336) (i32.const 0) ) (unreachable) @@ -14751,22 +19076,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 2147483647) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 16) - ) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 159) + (i32.const 337) (i32.const 0) ) (unreachable) @@ -14774,10 +19098,12 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) - (i32.const 1) - (f32.const nan:0x400000) + (call $std/math/test_modf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -14786,7 +19112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 160) + (i32.const 338) (i32.const 0) ) (unreachable) @@ -14794,10 +19120,12 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 2147483647) - (f32.const inf) + (call $std/math/test_modf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -14806,7 +19134,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 161) + (i32.const 339) (i32.const 0) ) (unreachable) @@ -14814,19 +19142,21 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const -2147483647) + (call $std/math/test_modf (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 162) + (i32.const 340) (i32.const 0) ) (unreachable) @@ -14834,23 +19164,23 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf + (call $std/math/test_modf (f32.neg (f32.const inf) ) - (i32.const 2147483647) (f32.neg (f32.const inf) ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 163) + (i32.const 341) (i32.const 0) ) (unreachable) @@ -14858,10 +19188,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1701411834604692317316873e14) - (i32.const -276) - (f32.const 1.401298464324817e-45) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -14870,7 +19200,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 164) + (i32.const 342) (i32.const 0) ) (unreachable) @@ -14878,10 +19208,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.401298464324817e-45) - (i32.const 276) - (f32.const 1701411834604692317316873e14) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -14890,7 +19220,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 165) + (i32.const 343) (i32.const 0) ) (unreachable) @@ -14898,45 +19228,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.000244140625) - (i32.const -149) - (f32.const 1.401298464324817e-45) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) - ) - ) - (block - (call $abort (i32.const 0) - (i32.const 4) - (i32.const 166) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7499999403953552) - (i32.const -148) - (f32.const 1.401298464324817e-45) - (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 167) + (i32.const 344) (i32.const 0) ) (unreachable) @@ -14944,22 +19248,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5000006556510925) - (i32.const -128) - (f32.const 1.4693693398263237e-39) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 168) + (i32.const 345) (i32.const 0) ) (unreachable) @@ -14967,10 +19268,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -8.06684839057968) (f64.const 4.535662560676869) - (f64.const -3.531185829902812) + (f64.const 1.0044767307740567) (f64.const 0) (i32.const 0) ) @@ -14979,7 +19280,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 177) + (i32.const 354) (i32.const 0) ) (unreachable) @@ -14987,7 +19288,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 4.345239849338305) (f64.const -8.88799136300345) (f64.const 4.345239849338305) @@ -14999,7 +19300,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 178) + (i32.const 355) (i32.const 0) ) (unreachable) @@ -15007,7 +19308,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -8.38143342755525) (f64.const -2.763607337379588) (f64.const -0.09061141541648476) @@ -15019,7 +19320,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 179) + (i32.const 356) (i32.const 0) ) (unreachable) @@ -15027,7 +19328,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -6.531673581913484) (f64.const 4.567535276842744) (f64.const -1.9641383050707404) @@ -15039,7 +19340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 180) + (i32.const 357) (i32.const 0) ) (unreachable) @@ -15047,10 +19348,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 9.267056966972586) (f64.const 4.811392084359796) - (f64.const 4.45566488261279) + (f64.const -0.35572720174700656) (f64.const 0) (i32.const 0) ) @@ -15059,7 +19360,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 181) + (i32.const 358) (i32.const 0) ) (unreachable) @@ -15067,10 +19368,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -6.450045556060236) (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) + (f64.const 0.17067236731650248) (f64.const 0) (i32.const 0) ) @@ -15079,7 +19380,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 182) + (i32.const 359) (i32.const 0) ) (unreachable) @@ -15087,10 +19388,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 7.858890253041697) (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) + (f64.const -0.016443286217702822) (f64.const 0) (i32.const 0) ) @@ -15099,7 +19400,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 183) + (i32.const 360) (i32.const 0) ) (unreachable) @@ -15107,7 +19408,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.792054511984896) (f64.const 7.67640268511754) (f64.const -0.792054511984896) @@ -15119,7 +19420,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 184) + (i32.const 361) (i32.const 0) ) (unreachable) @@ -15127,7 +19428,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.615702673197924) (f64.const 2.0119025790324803) (f64.const 0.615702673197924) @@ -15139,7 +19440,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 185) + (i32.const 362) (i32.const 0) ) (unreachable) @@ -15147,7 +19448,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5587586823609152) (f64.const 0.03223983060263804) (f64.const -0.0106815621160685) @@ -15159,7 +19460,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 186) + (i32.const 363) (i32.const 0) ) (unreachable) @@ -15167,7 +19468,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const 1) (f64.const 0) @@ -15179,7 +19480,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 189) + (i32.const 366) (i32.const 0) ) (unreachable) @@ -15187,7 +19488,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const 1) (f64.const -0) @@ -15199,7 +19500,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 190) + (i32.const 367) (i32.const 0) ) (unreachable) @@ -15207,7 +19508,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.5) (f64.const 1) (f64.const 0.5) @@ -15219,7 +19520,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 191) + (i32.const 368) (i32.const 0) ) (unreachable) @@ -15227,7 +19528,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5) (f64.const 1) (f64.const -0.5) @@ -15239,7 +19540,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 192) + (i32.const 369) (i32.const 0) ) (unreachable) @@ -15247,7 +19548,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const 1) (f64.const 0) @@ -15259,7 +19560,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 193) + (i32.const 370) (i32.const 0) ) (unreachable) @@ -15267,7 +19568,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const 1) (f64.const -0) @@ -15279,7 +19580,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 194) + (i32.const 371) (i32.const 0) ) (unreachable) @@ -15287,10 +19588,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.5) (f64.const 1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -15299,7 +19600,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 195) + (i32.const 372) (i32.const 0) ) (unreachable) @@ -15307,10 +19608,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.5) (f64.const 1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -15319,7 +19620,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 196) + (i32.const 373) (i32.const 0) ) (unreachable) @@ -15327,7 +19628,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 2) (f64.const 1) (f64.const 0) @@ -15339,7 +19640,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 197) + (i32.const 374) (i32.const 0) ) (unreachable) @@ -15347,7 +19648,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -2) (f64.const 1) (f64.const -0) @@ -15359,7 +19660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 198) + (i32.const 375) (i32.const 0) ) (unreachable) @@ -15367,7 +19668,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 1) (f64.const nan:0x8000000000000) @@ -15379,7 +19680,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 199) + (i32.const 376) (i32.const 0) ) (unreachable) @@ -15387,7 +19688,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -15401,7 +19702,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 200) + (i32.const 377) (i32.const 0) ) (unreachable) @@ -15409,7 +19710,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const 1) (f64.const nan:0x8000000000000) @@ -15421,7 +19722,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 201) + (i32.const 378) (i32.const 0) ) (unreachable) @@ -15429,7 +19730,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const -1) (f64.const 0) @@ -15441,7 +19742,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 202) + (i32.const 379) (i32.const 0) ) (unreachable) @@ -15449,7 +19750,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const -1) (f64.const -0) @@ -15461,7 +19762,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 203) + (i32.const 380) (i32.const 0) ) (unreachable) @@ -15469,7 +19770,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0.5) (f64.const -1) (f64.const 0.5) @@ -15481,7 +19782,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 204) + (i32.const 381) (i32.const 0) ) (unreachable) @@ -15489,7 +19790,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0.5) (f64.const -1) (f64.const -0.5) @@ -15501,7 +19802,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 205) + (i32.const 382) (i32.const 0) ) (unreachable) @@ -15509,7 +19810,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const -1) (f64.const 0) @@ -15521,7 +19822,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 206) + (i32.const 383) (i32.const 0) ) (unreachable) @@ -15529,7 +19830,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const -1) (f64.const -0) @@ -15541,7 +19842,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 207) + (i32.const 384) (i32.const 0) ) (unreachable) @@ -15549,10 +19850,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.5) (f64.const -1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -15561,7 +19862,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 208) + (i32.const 385) (i32.const 0) ) (unreachable) @@ -15569,10 +19870,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.5) (f64.const -1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -15581,7 +19882,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 209) + (i32.const 386) (i32.const 0) ) (unreachable) @@ -15589,7 +19890,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 2) (f64.const -1) (f64.const 0) @@ -15601,7 +19902,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 210) + (i32.const 387) (i32.const 0) ) (unreachable) @@ -15609,7 +19910,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -2) (f64.const -1) (f64.const -0) @@ -15621,7 +19922,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 211) + (i32.const 388) (i32.const 0) ) (unreachable) @@ -15629,7 +19930,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -1) (f64.const nan:0x8000000000000) @@ -15641,7 +19942,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 212) + (i32.const 389) (i32.const 0) ) (unreachable) @@ -15649,7 +19950,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -15663,7 +19964,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 213) + (i32.const 390) (i32.const 0) ) (unreachable) @@ -15671,7 +19972,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const -1) (f64.const nan:0x8000000000000) @@ -15683,7 +19984,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 214) + (i32.const 391) (i32.const 0) ) (unreachable) @@ -15691,7 +19992,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15703,7 +20004,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 215) + (i32.const 392) (i32.const 0) ) (unreachable) @@ -15711,7 +20012,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const -0) (f64.const nan:0x8000000000000) @@ -15723,7 +20024,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 216) + (i32.const 393) (i32.const 0) ) (unreachable) @@ -15731,7 +20032,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const inf) (f64.const 0) @@ -15743,7 +20044,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 217) + (i32.const 394) (i32.const 0) ) (unreachable) @@ -15751,7 +20052,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.neg (f64.const inf) @@ -15765,7 +20066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 218) + (i32.const 395) (i32.const 0) ) (unreachable) @@ -15773,7 +20074,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -15785,7 +20086,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 219) + (i32.const 396) (i32.const 0) ) (unreachable) @@ -15793,7 +20094,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15805,7 +20106,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 220) + (i32.const 397) (i32.const 0) ) (unreachable) @@ -15813,7 +20114,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const -0) (f64.const nan:0x8000000000000) @@ -15825,7 +20126,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 221) + (i32.const 398) (i32.const 0) ) (unreachable) @@ -15833,7 +20134,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const inf) (f64.const -0) @@ -15845,7 +20146,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 222) + (i32.const 399) (i32.const 0) ) (unreachable) @@ -15853,7 +20154,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.neg (f64.const inf) @@ -15867,7 +20168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 223) + (i32.const 400) (i32.const 0) ) (unreachable) @@ -15875,7 +20176,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -15887,7 +20188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 224) + (i32.const 401) (i32.const 0) ) (unreachable) @@ -15895,7 +20196,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15907,7 +20208,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 225) + (i32.const 402) (i32.const 0) ) (unreachable) @@ -15915,7 +20216,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15927,7 +20228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 226) + (i32.const 403) (i32.const 0) ) (unreachable) @@ -15935,7 +20236,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15947,7 +20248,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 227) + (i32.const 404) (i32.const 0) ) (unreachable) @@ -15955,7 +20256,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -15969,7 +20270,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 228) + (i32.const 405) (i32.const 0) ) (unreachable) @@ -15977,7 +20278,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const 0) (f64.const nan:0x8000000000000) @@ -15989,7 +20290,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 229) + (i32.const 406) (i32.const 0) ) (unreachable) @@ -15997,7 +20298,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const -0) (f64.const nan:0x8000000000000) @@ -16009,7 +20310,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 230) + (i32.const 407) (i32.const 0) ) (unreachable) @@ -16017,7 +20318,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -0) (f64.const nan:0x8000000000000) @@ -16029,7 +20330,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 231) + (i32.const 408) (i32.const 0) ) (unreachable) @@ -16037,7 +20338,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16051,7 +20352,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 232) + (i32.const 409) (i32.const 0) ) (unreachable) @@ -16059,7 +20360,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const -0) (f64.const nan:0x8000000000000) @@ -16071,7 +20372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 233) + (i32.const 410) (i32.const 0) ) (unreachable) @@ -16079,7 +20380,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const 2) (f64.const nan:0x8000000000000) @@ -16091,7 +20392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 234) + (i32.const 411) (i32.const 0) ) (unreachable) @@ -16099,7 +20400,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const -0.5) (f64.const nan:0x8000000000000) @@ -16111,7 +20412,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 235) + (i32.const 412) (i32.const 0) ) (unreachable) @@ -16119,7 +20420,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -16131,7 +20432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 236) + (i32.const 413) (i32.const 0) ) (unreachable) @@ -16139,7 +20440,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16153,7 +20454,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 237) + (i32.const 414) (i32.const 0) ) (unreachable) @@ -16161,7 +20462,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16175,7 +20476,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 238) + (i32.const 415) (i32.const 0) ) (unreachable) @@ -16183,7 +20484,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16197,7 +20498,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 239) + (i32.const 416) (i32.const 0) ) (unreachable) @@ -16205,7 +20506,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -16217,7 +20518,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 240) + (i32.const 417) (i32.const 0) ) (unreachable) @@ -16225,7 +20526,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -16237,7 +20538,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 241) + (i32.const 418) (i32.const 0) ) (unreachable) @@ -16245,7 +20546,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -16257,7 +20558,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 242) + (i32.const 419) (i32.const 0) ) (unreachable) @@ -16265,7 +20566,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.const inf) (f64.const 1) @@ -16277,7 +20578,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 243) + (i32.const 420) (i32.const 0) ) (unreachable) @@ -16285,7 +20586,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.const inf) (f64.const -1) @@ -16297,7 +20598,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 244) + (i32.const 421) (i32.const 0) ) (unreachable) @@ -16305,7 +20606,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.const inf) (f64.const nan:0x8000000000000) @@ -16317,7 +20618,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 245) + (i32.const 422) (i32.const 0) ) (unreachable) @@ -16325,7 +20626,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16339,7 +20640,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 246) + (i32.const 423) (i32.const 0) ) (unreachable) @@ -16347,7 +20648,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1) (f64.neg (f64.const inf) @@ -16361,7 +20662,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 247) + (i32.const 424) (i32.const 0) ) (unreachable) @@ -16369,7 +20670,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1) (f64.neg (f64.const inf) @@ -16383,7 +20684,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 248) + (i32.const 425) (i32.const 0) ) (unreachable) @@ -16391,7 +20692,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const inf) (f64.neg (f64.const inf) @@ -16405,7 +20706,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 249) + (i32.const 426) (i32.const 0) ) (unreachable) @@ -16413,7 +20714,7 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.neg (f64.const inf) ) @@ -16429,7 +20730,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 250) + (i32.const 427) (i32.const 0) ) (unreachable) @@ -16437,10 +20738,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.75) (f64.const 0.5) - (f64.const 0.25) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -16449,7 +20750,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 251) + (i32.const 428) (i32.const 0) ) (unreachable) @@ -16457,10 +20758,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.75) (f64.const 0.5) - (f64.const -0.25) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -16469,7 +20770,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 252) + (i32.const 429) (i32.const 0) ) (unreachable) @@ -16477,10 +20778,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const 1.75) (f64.const -0.5) - (f64.const 0.25) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -16489,7 +20790,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 253) + (i32.const 430) (i32.const 0) ) (unreachable) @@ -16497,10 +20798,10 @@ ) (if (i32.eqz - (call $std/math/test_fmod + (call $std/math/test_rem (f64.const -1.75) (f64.const -0.5) - (f64.const -0.25) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -16509,7 +20810,27 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 254) + (i32.const 431) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_rem + (f64.const 8e-323) + (f64.const inf) + (f64.const 8e-323) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 432) (i32.const 0) ) (unreachable) @@ -16517,10 +20838,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const -3.531186103820801) + (f32.const 1.004476547241211) (f32.const 0) (i32.const 0) ) @@ -16529,7 +20850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 263) + (i32.const 441) (i32.const 0) ) (unreachable) @@ -16537,7 +20858,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 4.345239639282227) (f32.const -8.887990951538086) (f32.const 4.345239639282227) @@ -16549,7 +20870,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 264) + (i32.const 442) (i32.const 0) ) (unreachable) @@ -16557,7 +20878,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) (f32.const -0.09061169624328613) @@ -16569,7 +20890,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 265) + (i32.const 443) (i32.const 0) ) (unreachable) @@ -16577,7 +20898,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -6.531673431396484) (f32.const 4.567535400390625) (f32.const -1.9641380310058594) @@ -16589,7 +20910,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 266) + (i32.const 444) (i32.const 0) ) (unreachable) @@ -16597,10 +20918,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const 4.455665111541748) + (f32.const -0.3557271957397461) (f32.const 0) (i32.const 0) ) @@ -16609,7 +20930,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 267) + (i32.const 445) (i32.const 0) ) (unreachable) @@ -16617,10 +20938,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) + (f32.const 0.17067205905914307) (f32.const 0) (i32.const 0) ) @@ -16629,7 +20950,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 268) + (i32.const 446) (i32.const 0) ) (unreachable) @@ -16637,10 +20958,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) + (f32.const -0.016443386673927307) (f32.const 0) (i32.const 0) ) @@ -16649,7 +20970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 269) + (i32.const 447) (i32.const 0) ) (unreachable) @@ -16657,7 +20978,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) (f32.const -0.7920545339584351) @@ -16669,7 +20990,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 270) + (i32.const 448) (i32.const 0) ) (unreachable) @@ -16677,7 +20998,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) (f32.const 0.6157026886940002) @@ -16689,7 +21010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 271) + (i32.const 449) (i32.const 0) ) (unreachable) @@ -16697,7 +21018,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5587586760520935) (f32.const 0.03223983198404312) (f32.const -0.010681532323360443) @@ -16709,7 +21030,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 272) + (i32.const 450) (i32.const 0) ) (unreachable) @@ -16717,7 +21038,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const 1) (f32.const 0) @@ -16729,7 +21050,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 275) + (i32.const 453) (i32.const 0) ) (unreachable) @@ -16737,7 +21058,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const 1) (f32.const -0) @@ -16749,7 +21070,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 276) + (i32.const 454) (i32.const 0) ) (unreachable) @@ -16757,7 +21078,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.5) (f32.const 1) (f32.const 0.5) @@ -16769,7 +21090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 277) + (i32.const 455) (i32.const 0) ) (unreachable) @@ -16777,7 +21098,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5) (f32.const 1) (f32.const -0.5) @@ -16789,7 +21110,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 278) + (i32.const 456) (i32.const 0) ) (unreachable) @@ -16797,7 +21118,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const 1) (f32.const 0) @@ -16809,7 +21130,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 279) + (i32.const 457) (i32.const 0) ) (unreachable) @@ -16817,7 +21138,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const 1) (f32.const -0) @@ -16829,7 +21150,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 280) + (i32.const 458) (i32.const 0) ) (unreachable) @@ -16837,10 +21158,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.5) (f32.const 1) - (f32.const 0.5) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -16849,7 +21170,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 281) + (i32.const 459) (i32.const 0) ) (unreachable) @@ -16857,10 +21178,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.5) (f32.const 1) - (f32.const -0.5) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -16869,7 +21190,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 282) + (i32.const 460) (i32.const 0) ) (unreachable) @@ -16877,7 +21198,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 2) (f32.const 1) (f32.const 0) @@ -16889,7 +21210,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 283) + (i32.const 461) (i32.const 0) ) (unreachable) @@ -16897,7 +21218,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -2) (f32.const 1) (f32.const -0) @@ -16909,7 +21230,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 284) + (i32.const 462) (i32.const 0) ) (unreachable) @@ -16917,7 +21238,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 1) (f32.const nan:0x400000) @@ -16929,7 +21250,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 285) + (i32.const 463) (i32.const 0) ) (unreachable) @@ -16937,7 +21258,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -16951,7 +21272,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 286) + (i32.const 464) (i32.const 0) ) (unreachable) @@ -16959,7 +21280,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const 1) (f32.const nan:0x400000) @@ -16971,7 +21292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 287) + (i32.const 465) (i32.const 0) ) (unreachable) @@ -16979,7 +21300,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const -1) (f32.const 0) @@ -16991,7 +21312,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 288) + (i32.const 466) (i32.const 0) ) (unreachable) @@ -16999,7 +21320,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const -1) (f32.const -0) @@ -17011,7 +21332,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 289) + (i32.const 467) (i32.const 0) ) (unreachable) @@ -17019,7 +21340,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0.5) (f32.const -1) (f32.const 0.5) @@ -17031,7 +21352,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 290) + (i32.const 468) (i32.const 0) ) (unreachable) @@ -17039,7 +21360,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0.5) (f32.const -1) (f32.const -0.5) @@ -17051,7 +21372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 291) + (i32.const 469) (i32.const 0) ) (unreachable) @@ -17059,7 +21380,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const -1) (f32.const 0) @@ -17071,7 +21392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 292) + (i32.const 470) (i32.const 0) ) (unreachable) @@ -17079,7 +21400,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const -1) (f32.const -0) @@ -17091,7 +21412,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 293) + (i32.const 471) (i32.const 0) ) (unreachable) @@ -17099,10 +21420,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.5) (f32.const -1) - (f32.const 0.5) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -17111,7 +21432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 294) + (i32.const 472) (i32.const 0) ) (unreachable) @@ -17119,10 +21440,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.5) (f32.const -1) - (f32.const -0.5) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -17131,7 +21452,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 295) + (i32.const 473) (i32.const 0) ) (unreachable) @@ -17139,7 +21460,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 2) (f32.const -1) (f32.const 0) @@ -17151,7 +21472,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 296) + (i32.const 474) (i32.const 0) ) (unreachable) @@ -17159,7 +21480,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -2) (f32.const -1) (f32.const -0) @@ -17171,7 +21492,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 297) + (i32.const 475) (i32.const 0) ) (unreachable) @@ -17179,7 +21500,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -1) (f32.const nan:0x400000) @@ -17191,7 +21512,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 298) + (i32.const 476) (i32.const 0) ) (unreachable) @@ -17199,7 +21520,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17213,7 +21534,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 299) + (i32.const 477) (i32.const 0) ) (unreachable) @@ -17221,7 +21542,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const -1) (f32.const nan:0x400000) @@ -17233,7 +21554,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 300) + (i32.const 478) (i32.const 0) ) (unreachable) @@ -17241,7 +21562,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const 0) (f32.const nan:0x400000) @@ -17253,7 +21574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 301) + (i32.const 479) (i32.const 0) ) (unreachable) @@ -17261,7 +21582,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const -0) (f32.const nan:0x400000) @@ -17273,7 +21594,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 302) + (i32.const 480) (i32.const 0) ) (unreachable) @@ -17281,7 +21602,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const inf) (f32.const 0) @@ -17293,7 +21614,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 303) + (i32.const 481) (i32.const 0) ) (unreachable) @@ -17301,7 +21622,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.neg (f32.const inf) @@ -17315,7 +21636,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 304) + (i32.const 482) (i32.const 0) ) (unreachable) @@ -17323,7 +21644,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17335,7 +21656,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 305) + (i32.const 483) (i32.const 0) ) (unreachable) @@ -17343,7 +21664,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const 0) (f32.const nan:0x400000) @@ -17355,7 +21676,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 306) + (i32.const 484) (i32.const 0) ) (unreachable) @@ -17363,7 +21684,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const -0) (f32.const nan:0x400000) @@ -17375,7 +21696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 307) + (i32.const 485) (i32.const 0) ) (unreachable) @@ -17383,7 +21704,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const inf) (f32.const -0) @@ -17395,7 +21716,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 308) + (i32.const 486) (i32.const 0) ) (unreachable) @@ -17403,7 +21724,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.neg (f32.const inf) @@ -17417,7 +21738,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 309) + (i32.const 487) (i32.const 0) ) (unreachable) @@ -17425,7 +21746,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17437,7 +21758,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 310) + (i32.const 488) (i32.const 0) ) (unreachable) @@ -17445,7 +21766,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const 0) (f32.const nan:0x400000) @@ -17457,7 +21778,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 311) + (i32.const 489) (i32.const 0) ) (unreachable) @@ -17465,7 +21786,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const 0) (f32.const nan:0x400000) @@ -17477,7 +21798,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 312) + (i32.const 490) (i32.const 0) ) (unreachable) @@ -17485,7 +21806,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 0) (f32.const nan:0x400000) @@ -17497,7 +21818,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 313) + (i32.const 491) (i32.const 0) ) (unreachable) @@ -17505,7 +21826,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17519,7 +21840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 314) + (i32.const 492) (i32.const 0) ) (unreachable) @@ -17527,7 +21848,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const 0) (f32.const nan:0x400000) @@ -17539,7 +21860,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 315) + (i32.const 493) (i32.const 0) ) (unreachable) @@ -17547,7 +21868,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const -0) (f32.const nan:0x400000) @@ -17559,7 +21880,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 316) + (i32.const 494) (i32.const 0) ) (unreachable) @@ -17567,7 +21888,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -0) (f32.const nan:0x400000) @@ -17579,7 +21900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 317) + (i32.const 495) (i32.const 0) ) (unreachable) @@ -17587,7 +21908,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17601,7 +21922,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 318) + (i32.const 496) (i32.const 0) ) (unreachable) @@ -17609,7 +21930,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const -0) (f32.const nan:0x400000) @@ -17621,7 +21942,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 319) + (i32.const 497) (i32.const 0) ) (unreachable) @@ -17629,7 +21950,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const 2) (f32.const nan:0x400000) @@ -17641,7 +21962,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 320) + (i32.const 498) (i32.const 0) ) (unreachable) @@ -17649,7 +21970,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const -0.5) (f32.const nan:0x400000) @@ -17661,7 +21982,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 321) + (i32.const 499) (i32.const 0) ) (unreachable) @@ -17669,7 +21990,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17681,7 +22002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 322) + (i32.const 500) (i32.const 0) ) (unreachable) @@ -17689,7 +22010,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17703,7 +22024,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 323) + (i32.const 501) (i32.const 0) ) (unreachable) @@ -17711,7 +22032,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17725,7 +22046,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 324) + (i32.const 502) (i32.const 0) ) (unreachable) @@ -17733,7 +22054,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17747,7 +22068,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 325) + (i32.const 503) (i32.const 0) ) (unreachable) @@ -17755,7 +22076,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17767,7 +22088,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 326) + (i32.const 504) (i32.const 0) ) (unreachable) @@ -17775,7 +22096,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17787,7 +22108,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 327) + (i32.const 505) (i32.const 0) ) (unreachable) @@ -17795,7 +22116,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -17807,7 +22128,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 328) + (i32.const 506) (i32.const 0) ) (unreachable) @@ -17815,7 +22136,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.const inf) (f32.const 1) @@ -17827,7 +22148,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 329) + (i32.const 507) (i32.const 0) ) (unreachable) @@ -17835,7 +22156,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.const inf) (f32.const -1) @@ -17847,7 +22168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 330) + (i32.const 508) (i32.const 0) ) (unreachable) @@ -17855,7 +22176,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.const inf) (f32.const nan:0x400000) @@ -17867,7 +22188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 331) + (i32.const 509) (i32.const 0) ) (unreachable) @@ -17875,7 +22196,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17889,7 +22210,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 332) + (i32.const 510) (i32.const 0) ) (unreachable) @@ -17897,7 +22218,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1) (f32.neg (f32.const inf) @@ -17911,7 +22232,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 333) + (i32.const 511) (i32.const 0) ) (unreachable) @@ -17919,7 +22240,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1) (f32.neg (f32.const inf) @@ -17933,7 +22254,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 334) + (i32.const 512) (i32.const 0) ) (unreachable) @@ -17941,7 +22262,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const inf) (f32.neg (f32.const inf) @@ -17955,7 +22276,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 335) + (i32.const 513) (i32.const 0) ) (unreachable) @@ -17963,7 +22284,7 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.neg (f32.const inf) ) @@ -17979,7 +22300,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 336) + (i32.const 514) (i32.const 0) ) (unreachable) @@ -17987,10 +22308,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.75) (f32.const 0.5) - (f32.const 0.25) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -17999,7 +22320,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 337) + (i32.const 515) (i32.const 0) ) (unreachable) @@ -18007,10 +22328,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.75) (f32.const 0.5) - (f32.const -0.25) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -18019,7 +22340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 338) + (i32.const 516) (i32.const 0) ) (unreachable) @@ -18027,10 +22348,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const 1.75) (f32.const -0.5) - (f32.const 0.25) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -18039,7 +22360,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 339) + (i32.const 517) (i32.const 0) ) (unreachable) @@ -18047,10 +22368,10 @@ ) (if (i32.eqz - (call $std/math/test_fmodf + (call $std/math/test_remf (f32.const -1.75) (f32.const -0.5) - (f32.const -0.25) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -18059,7 +22380,27 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 340) + (i32.const 518) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_remf + (f32.const 5.877471754111438e-39) + (f32.const inf) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 519) (i32.const 0) ) (unreachable) @@ -18078,7 +22419,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 350) + (i32.const 529) (i32.const 0) ) (unreachable) @@ -18097,7 +22438,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 351) + (i32.const 530) (i32.const 0) ) (unreachable) @@ -18116,7 +22457,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 352) + (i32.const 531) (i32.const 0) ) (unreachable) @@ -18135,7 +22476,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 353) + (i32.const 532) (i32.const 0) ) (unreachable) @@ -18154,7 +22495,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 354) + (i32.const 533) (i32.const 0) ) (unreachable) @@ -18173,7 +22514,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 355) + (i32.const 534) (i32.const 0) ) (unreachable) @@ -18192,7 +22533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 356) + (i32.const 535) (i32.const 0) ) (unreachable) @@ -18211,7 +22552,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 357) + (i32.const 536) (i32.const 0) ) (unreachable) @@ -18230,7 +22571,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 358) + (i32.const 537) (i32.const 0) ) (unreachable) @@ -18249,7 +22590,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 359) + (i32.const 538) (i32.const 0) ) (unreachable) @@ -18268,7 +22609,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 362) + (i32.const 541) (i32.const 0) ) (unreachable) @@ -18287,7 +22628,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 363) + (i32.const 542) (i32.const 0) ) (unreachable) @@ -18306,7 +22647,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 364) + (i32.const 543) (i32.const 0) ) (unreachable) @@ -18325,7 +22666,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 365) + (i32.const 544) (i32.const 0) ) (unreachable) @@ -18344,7 +22685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 366) + (i32.const 545) (i32.const 0) ) (unreachable) @@ -18365,7 +22706,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 367) + (i32.const 546) (i32.const 0) ) (unreachable) @@ -18384,7 +22725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 368) + (i32.const 547) (i32.const 0) ) (unreachable) @@ -18403,7 +22744,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 377) + (i32.const 556) (i32.const 0) ) (unreachable) @@ -18422,7 +22763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 378) + (i32.const 557) (i32.const 0) ) (unreachable) @@ -18441,7 +22782,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 379) + (i32.const 558) (i32.const 0) ) (unreachable) @@ -18460,7 +22801,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 380) + (i32.const 559) (i32.const 0) ) (unreachable) @@ -18479,7 +22820,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 381) + (i32.const 560) (i32.const 0) ) (unreachable) @@ -18498,7 +22839,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 382) + (i32.const 561) (i32.const 0) ) (unreachable) @@ -18517,7 +22858,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 383) + (i32.const 562) (i32.const 0) ) (unreachable) @@ -18536,7 +22877,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 384) + (i32.const 563) (i32.const 0) ) (unreachable) @@ -18555,7 +22896,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 385) + (i32.const 564) (i32.const 0) ) (unreachable) @@ -18574,7 +22915,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 386) + (i32.const 565) (i32.const 0) ) (unreachable) @@ -18593,7 +22934,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 389) + (i32.const 568) (i32.const 0) ) (unreachable) @@ -18612,7 +22953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 390) + (i32.const 569) (i32.const 0) ) (unreachable) @@ -18631,7 +22972,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 391) + (i32.const 570) (i32.const 0) ) (unreachable) @@ -18650,7 +22991,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 392) + (i32.const 571) (i32.const 0) ) (unreachable) @@ -18669,7 +23010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 393) + (i32.const 572) (i32.const 0) ) (unreachable) @@ -18690,7 +23031,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 394) + (i32.const 573) (i32.const 0) ) (unreachable) @@ -18709,7 +23050,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 395) + (i32.const 574) (i32.const 0) ) (unreachable) @@ -18728,7 +23069,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 405) + (i32.const 584) (i32.const 0) ) (unreachable) @@ -18747,7 +23088,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 406) + (i32.const 585) (i32.const 0) ) (unreachable) @@ -18766,7 +23107,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 407) + (i32.const 586) (i32.const 0) ) (unreachable) @@ -18785,7 +23126,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 408) + (i32.const 587) (i32.const 0) ) (unreachable) @@ -18804,7 +23145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 409) + (i32.const 588) (i32.const 0) ) (unreachable) @@ -18823,7 +23164,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 410) + (i32.const 589) (i32.const 0) ) (unreachable) @@ -18842,7 +23183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 411) + (i32.const 590) (i32.const 0) ) (unreachable) @@ -18861,7 +23202,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 412) + (i32.const 591) (i32.const 0) ) (unreachable) @@ -18880,7 +23221,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 413) + (i32.const 592) (i32.const 0) ) (unreachable) @@ -18899,7 +23240,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 414) + (i32.const 593) (i32.const 0) ) (unreachable) @@ -18918,7 +23259,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 417) + (i32.const 596) (i32.const 0) ) (unreachable) @@ -18937,7 +23278,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 418) + (i32.const 597) (i32.const 0) ) (unreachable) @@ -18956,7 +23297,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 419) + (i32.const 598) (i32.const 0) ) (unreachable) @@ -18975,7 +23316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 420) + (i32.const 599) (i32.const 0) ) (unreachable) @@ -18994,7 +23335,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 421) + (i32.const 600) (i32.const 0) ) (unreachable) @@ -19013,7 +23354,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 422) + (i32.const 601) (i32.const 0) ) (unreachable) @@ -19034,7 +23375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 423) + (i32.const 602) (i32.const 0) ) (unreachable) @@ -19053,7 +23394,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 424) + (i32.const 603) (i32.const 0) ) (unreachable) @@ -19072,7 +23413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 425) + (i32.const 604) (i32.const 0) ) (unreachable) @@ -19091,7 +23432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 426) + (i32.const 605) (i32.const 0) ) (unreachable) @@ -19110,7 +23451,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 435) + (i32.const 614) (i32.const 0) ) (unreachable) @@ -19129,7 +23470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 436) + (i32.const 615) (i32.const 0) ) (unreachable) @@ -19148,7 +23489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 437) + (i32.const 616) (i32.const 0) ) (unreachable) @@ -19167,7 +23508,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 438) + (i32.const 617) (i32.const 0) ) (unreachable) @@ -19186,7 +23527,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 439) + (i32.const 618) (i32.const 0) ) (unreachable) @@ -19205,7 +23546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 440) + (i32.const 619) (i32.const 0) ) (unreachable) @@ -19224,7 +23565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 441) + (i32.const 620) (i32.const 0) ) (unreachable) @@ -19243,7 +23584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 442) + (i32.const 621) (i32.const 0) ) (unreachable) @@ -19262,7 +23603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 443) + (i32.const 622) (i32.const 0) ) (unreachable) @@ -19281,7 +23622,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 444) + (i32.const 623) (i32.const 0) ) (unreachable) @@ -19300,7 +23641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 447) + (i32.const 626) (i32.const 0) ) (unreachable) @@ -19319,7 +23660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 448) + (i32.const 627) (i32.const 0) ) (unreachable) @@ -19338,7 +23679,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 449) + (i32.const 628) (i32.const 0) ) (unreachable) @@ -19357,7 +23698,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 450) + (i32.const 629) (i32.const 0) ) (unreachable) @@ -19376,7 +23717,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 451) + (i32.const 630) (i32.const 0) ) (unreachable) @@ -19395,7 +23736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 452) + (i32.const 631) (i32.const 0) ) (unreachable) @@ -19416,7 +23757,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 453) + (i32.const 632) (i32.const 0) ) (unreachable) @@ -19435,7 +23776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 454) + (i32.const 633) (i32.const 0) ) (unreachable) @@ -19454,7 +23795,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 455) + (i32.const 634) (i32.const 0) ) (unreachable) @@ -19473,7 +23814,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 456) + (i32.const 635) (i32.const 0) ) (unreachable) @@ -19492,7 +23833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 457) + (i32.const 636) (i32.const 0) ) (unreachable) @@ -19511,7 +23852,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 467) + (i32.const 646) (i32.const 0) ) (unreachable) @@ -19530,7 +23871,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 468) + (i32.const 647) (i32.const 0) ) (unreachable) @@ -19549,7 +23890,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 469) + (i32.const 648) (i32.const 0) ) (unreachable) @@ -19568,7 +23909,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 470) + (i32.const 649) (i32.const 0) ) (unreachable) @@ -19587,7 +23928,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 471) + (i32.const 650) (i32.const 0) ) (unreachable) @@ -19606,7 +23947,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 472) + (i32.const 651) (i32.const 0) ) (unreachable) @@ -19625,7 +23966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 473) + (i32.const 652) (i32.const 0) ) (unreachable) @@ -19644,7 +23985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 474) + (i32.const 653) (i32.const 0) ) (unreachable) @@ -19663,7 +24004,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 475) + (i32.const 654) (i32.const 0) ) (unreachable) @@ -19682,7 +24023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 476) + (i32.const 655) (i32.const 0) ) (unreachable) @@ -19701,7 +24042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 479) + (i32.const 658) (i32.const 0) ) (unreachable) @@ -19720,7 +24061,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 480) + (i32.const 659) (i32.const 0) ) (unreachable) @@ -19739,7 +24080,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 481) + (i32.const 660) (i32.const 0) ) (unreachable) @@ -19758,7 +24099,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 482) + (i32.const 661) (i32.const 0) ) (unreachable) @@ -19777,7 +24118,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 483) + (i32.const 662) (i32.const 0) ) (unreachable) @@ -19796,7 +24137,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 484) + (i32.const 663) (i32.const 0) ) (unreachable) @@ -19817,7 +24158,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 485) + (i32.const 664) (i32.const 0) ) (unreachable) @@ -19836,7 +24177,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 501) + (i32.const 680) (i32.const 0) ) (unreachable) @@ -19855,7 +24196,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 503) + (i32.const 682) (i32.const 0) ) (unreachable) @@ -19874,7 +24215,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 504) + (i32.const 683) (i32.const 0) ) (unreachable) @@ -19893,7 +24234,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 513) + (i32.const 692) (i32.const 0) ) (unreachable) @@ -19912,7 +24253,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 514) + (i32.const 693) (i32.const 0) ) (unreachable) @@ -19931,7 +24272,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 515) + (i32.const 694) (i32.const 0) ) (unreachable) @@ -19950,7 +24291,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 516) + (i32.const 695) (i32.const 0) ) (unreachable) @@ -19969,7 +24310,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 517) + (i32.const 696) (i32.const 0) ) (unreachable) @@ -19988,7 +24329,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 518) + (i32.const 697) (i32.const 0) ) (unreachable) @@ -20007,7 +24348,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 519) + (i32.const 698) (i32.const 0) ) (unreachable) @@ -20026,7 +24367,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 520) + (i32.const 699) (i32.const 0) ) (unreachable) @@ -20045,7 +24386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 521) + (i32.const 700) (i32.const 0) ) (unreachable) @@ -20064,7 +24405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 522) + (i32.const 701) (i32.const 0) ) (unreachable) @@ -20083,7 +24424,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 525) + (i32.const 704) (i32.const 0) ) (unreachable) @@ -20102,7 +24443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 526) + (i32.const 705) (i32.const 0) ) (unreachable) @@ -20121,7 +24462,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 527) + (i32.const 706) (i32.const 0) ) (unreachable) @@ -20140,7 +24481,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 528) + (i32.const 707) (i32.const 0) ) (unreachable) @@ -20159,7 +24500,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 529) + (i32.const 708) (i32.const 0) ) (unreachable) @@ -20178,7 +24519,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 530) + (i32.const 709) (i32.const 0) ) (unreachable) @@ -20199,7 +24540,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 531) + (i32.const 710) (i32.const 0) ) (unreachable) @@ -20218,7 +24559,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 532) + (i32.const 711) (i32.const 0) ) (unreachable) @@ -20237,7 +24578,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 542) + (i32.const 721) (i32.const 0) ) (unreachable) @@ -20256,7 +24597,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 543) + (i32.const 722) (i32.const 0) ) (unreachable) @@ -20275,7 +24616,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 544) + (i32.const 723) (i32.const 0) ) (unreachable) @@ -20294,7 +24635,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 545) + (i32.const 724) (i32.const 0) ) (unreachable) @@ -20313,7 +24654,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 546) + (i32.const 725) (i32.const 0) ) (unreachable) @@ -20332,7 +24673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 547) + (i32.const 726) (i32.const 0) ) (unreachable) @@ -20351,7 +24692,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 548) + (i32.const 727) (i32.const 0) ) (unreachable) @@ -20370,7 +24711,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 549) + (i32.const 728) (i32.const 0) ) (unreachable) @@ -20389,7 +24730,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 550) + (i32.const 729) (i32.const 0) ) (unreachable) @@ -20408,7 +24749,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 551) + (i32.const 730) (i32.const 0) ) (unreachable) @@ -20427,7 +24768,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 554) + (i32.const 733) (i32.const 0) ) (unreachable) @@ -20446,7 +24787,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 555) + (i32.const 734) (i32.const 0) ) (unreachable) @@ -20465,7 +24806,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 556) + (i32.const 735) (i32.const 0) ) (unreachable) @@ -20484,7 +24825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 557) + (i32.const 736) (i32.const 0) ) (unreachable) @@ -20503,7 +24844,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 558) + (i32.const 737) (i32.const 0) ) (unreachable) @@ -20522,7 +24863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 559) + (i32.const 738) (i32.const 0) ) (unreachable) @@ -20541,7 +24882,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 560) + (i32.const 739) (i32.const 0) ) (unreachable) @@ -20562,7 +24903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 561) + (i32.const 740) (i32.const 0) ) (unreachable) @@ -20581,7 +24922,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 562) + (i32.const 741) (i32.const 0) ) (unreachable) @@ -20600,7 +24941,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 563) + (i32.const 742) (i32.const 0) ) (unreachable) @@ -20619,7 +24960,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 572) + (i32.const 751) (i32.const 0) ) (unreachable) @@ -20638,7 +24979,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 573) + (i32.const 752) (i32.const 0) ) (unreachable) @@ -20657,7 +24998,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 574) + (i32.const 753) (i32.const 0) ) (unreachable) @@ -20676,7 +25017,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 575) + (i32.const 754) (i32.const 0) ) (unreachable) @@ -20695,7 +25036,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 576) + (i32.const 755) (i32.const 0) ) (unreachable) @@ -20714,7 +25055,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 577) + (i32.const 756) (i32.const 0) ) (unreachable) @@ -20733,7 +25074,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 578) + (i32.const 757) (i32.const 0) ) (unreachable) @@ -20752,7 +25093,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 579) + (i32.const 758) (i32.const 0) ) (unreachable) @@ -20771,7 +25112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 580) + (i32.const 759) (i32.const 0) ) (unreachable) @@ -20790,7 +25131,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 581) + (i32.const 760) (i32.const 0) ) (unreachable) @@ -20809,7 +25150,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 584) + (i32.const 763) (i32.const 0) ) (unreachable) @@ -20828,7 +25169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 585) + (i32.const 764) (i32.const 0) ) (unreachable) @@ -20847,7 +25188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 586) + (i32.const 765) (i32.const 0) ) (unreachable) @@ -20866,7 +25207,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 587) + (i32.const 766) (i32.const 0) ) (unreachable) @@ -20885,7 +25226,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 588) + (i32.const 767) (i32.const 0) ) (unreachable) @@ -20904,7 +25245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 589) + (i32.const 768) (i32.const 0) ) (unreachable) @@ -20923,7 +25264,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 590) + (i32.const 769) (i32.const 0) ) (unreachable) @@ -20944,7 +25285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 591) + (i32.const 770) (i32.const 0) ) (unreachable) @@ -20963,7 +25304,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 592) + (i32.const 771) (i32.const 0) ) (unreachable) @@ -20982,7 +25323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 593) + (i32.const 772) (i32.const 0) ) (unreachable) @@ -21001,7 +25342,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 603) + (i32.const 782) (i32.const 0) ) (unreachable) @@ -21020,7 +25361,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 604) + (i32.const 783) (i32.const 0) ) (unreachable) @@ -21039,7 +25380,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 605) + (i32.const 784) (i32.const 0) ) (unreachable) @@ -21058,7 +25399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 606) + (i32.const 785) (i32.const 0) ) (unreachable) @@ -21077,7 +25418,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 607) + (i32.const 786) (i32.const 0) ) (unreachable) @@ -21096,7 +25437,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 608) + (i32.const 787) (i32.const 0) ) (unreachable) @@ -21115,7 +25456,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 609) + (i32.const 788) (i32.const 0) ) (unreachable) @@ -21134,7 +25475,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 610) + (i32.const 789) (i32.const 0) ) (unreachable) @@ -21153,7 +25494,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 611) + (i32.const 790) (i32.const 0) ) (unreachable) @@ -21172,7 +25513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 612) + (i32.const 791) (i32.const 0) ) (unreachable) @@ -21191,7 +25532,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 615) + (i32.const 794) (i32.const 0) ) (unreachable) @@ -21210,7 +25551,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 616) + (i32.const 795) (i32.const 0) ) (unreachable) @@ -21233,7 +25574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 617) + (i32.const 796) (i32.const 0) ) (unreachable) @@ -21252,7 +25593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 618) + (i32.const 797) (i32.const 0) ) (unreachable) @@ -21271,7 +25612,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 619) + (i32.const 798) (i32.const 0) ) (unreachable) @@ -21290,7 +25631,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 648) + (i32.const 827) (i32.const 0) ) (unreachable) @@ -21309,7 +25650,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 649) + (i32.const 828) (i32.const 0) ) (unreachable) @@ -21328,7 +25669,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 650) + (i32.const 829) (i32.const 0) ) (unreachable) @@ -21347,7 +25688,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 651) + (i32.const 830) (i32.const 0) ) (unreachable) @@ -21366,7 +25707,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 652) + (i32.const 831) (i32.const 0) ) (unreachable) @@ -21385,7 +25726,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 653) + (i32.const 832) (i32.const 0) ) (unreachable) @@ -21404,7 +25745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 654) + (i32.const 833) (i32.const 0) ) (unreachable) @@ -21423,7 +25764,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 655) + (i32.const 834) (i32.const 0) ) (unreachable) @@ -21442,7 +25783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 656) + (i32.const 835) (i32.const 0) ) (unreachable) @@ -21461,7 +25802,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 657) + (i32.const 836) (i32.const 0) ) (unreachable) @@ -21480,7 +25821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 660) + (i32.const 839) (i32.const 0) ) (unreachable) @@ -21499,7 +25840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 661) + (i32.const 840) (i32.const 0) ) (unreachable) @@ -21522,7 +25863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 662) + (i32.const 841) (i32.const 0) ) (unreachable) @@ -21541,7 +25882,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 663) + (i32.const 842) (i32.const 0) ) (unreachable) @@ -21560,7 +25901,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 664) + (i32.const 843) (i32.const 0) ) (unreachable) @@ -21579,7 +25920,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 674) + (i32.const 853) (i32.const 0) ) (unreachable) @@ -21598,7 +25939,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 675) + (i32.const 854) (i32.const 0) ) (unreachable) @@ -21617,7 +25958,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 676) + (i32.const 855) (i32.const 0) ) (unreachable) @@ -21636,7 +25977,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 677) + (i32.const 856) (i32.const 0) ) (unreachable) @@ -21655,7 +25996,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 678) + (i32.const 857) (i32.const 0) ) (unreachable) @@ -21674,7 +26015,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 679) + (i32.const 858) (i32.const 0) ) (unreachable) @@ -21693,7 +26034,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 680) + (i32.const 859) (i32.const 0) ) (unreachable) @@ -21712,7 +26053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 681) + (i32.const 860) (i32.const 0) ) (unreachable) @@ -21731,7 +26072,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 682) + (i32.const 861) (i32.const 0) ) (unreachable) @@ -21750,7 +26091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 683) + (i32.const 862) (i32.const 0) ) (unreachable) @@ -21769,7 +26110,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 686) + (i32.const 865) (i32.const 0) ) (unreachable) @@ -21788,7 +26129,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 687) + (i32.const 866) (i32.const 0) ) (unreachable) @@ -21807,7 +26148,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 688) + (i32.const 867) (i32.const 0) ) (unreachable) @@ -21826,7 +26167,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 689) + (i32.const 868) (i32.const 0) ) (unreachable) @@ -21845,7 +26186,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 690) + (i32.const 869) (i32.const 0) ) (unreachable) @@ -21866,7 +26207,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 691) + (i32.const 870) (i32.const 0) ) (unreachable) @@ -21885,7 +26226,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 692) + (i32.const 871) (i32.const 0) ) (unreachable) @@ -21904,7 +26245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 693) + (i32.const 872) (i32.const 0) ) (unreachable) @@ -21923,7 +26264,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 702) + (i32.const 881) (i32.const 0) ) (unreachable) @@ -21942,7 +26283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 703) + (i32.const 882) (i32.const 0) ) (unreachable) @@ -21961,7 +26302,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 704) + (i32.const 883) (i32.const 0) ) (unreachable) @@ -21980,7 +26321,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 705) + (i32.const 884) (i32.const 0) ) (unreachable) @@ -21999,7 +26340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 706) + (i32.const 885) (i32.const 0) ) (unreachable) @@ -22018,7 +26359,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 707) + (i32.const 886) (i32.const 0) ) (unreachable) @@ -22037,7 +26378,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 708) + (i32.const 887) (i32.const 0) ) (unreachable) @@ -22056,7 +26397,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 709) + (i32.const 888) (i32.const 0) ) (unreachable) @@ -22075,7 +26416,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 710) + (i32.const 889) (i32.const 0) ) (unreachable) @@ -22094,7 +26435,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 711) + (i32.const 890) (i32.const 0) ) (unreachable) @@ -22113,7 +26454,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 714) + (i32.const 893) (i32.const 0) ) (unreachable) @@ -22132,7 +26473,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 715) + (i32.const 894) (i32.const 0) ) (unreachable) @@ -22151,7 +26492,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 716) + (i32.const 895) (i32.const 0) ) (unreachable) @@ -22170,7 +26511,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 717) + (i32.const 896) (i32.const 0) ) (unreachable) @@ -22189,7 +26530,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 718) + (i32.const 897) (i32.const 0) ) (unreachable) @@ -22210,7 +26551,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 719) + (i32.const 898) (i32.const 0) ) (unreachable) @@ -22229,7 +26570,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 720) + (i32.const 899) (i32.const 0) ) (unreachable) @@ -22248,7 +26589,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 730) + (i32.const 909) (i32.const 0) ) (unreachable) @@ -22267,7 +26608,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 731) + (i32.const 910) (i32.const 0) ) (unreachable) @@ -22286,7 +26627,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 732) + (i32.const 911) (i32.const 0) ) (unreachable) @@ -22305,7 +26646,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 733) + (i32.const 912) (i32.const 0) ) (unreachable) @@ -22324,7 +26665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 734) + (i32.const 913) (i32.const 0) ) (unreachable) @@ -22343,7 +26684,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 735) + (i32.const 914) (i32.const 0) ) (unreachable) @@ -22362,7 +26703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 736) + (i32.const 915) (i32.const 0) ) (unreachable) @@ -22381,7 +26722,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 737) + (i32.const 916) (i32.const 0) ) (unreachable) @@ -22400,7 +26741,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 738) + (i32.const 917) (i32.const 0) ) (unreachable) @@ -22419,7 +26760,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 739) + (i32.const 918) (i32.const 0) ) (unreachable) @@ -22438,7 +26779,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 742) + (i32.const 921) (i32.const 0) ) (unreachable) @@ -22457,7 +26798,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 743) + (i32.const 922) (i32.const 0) ) (unreachable) @@ -22480,7 +26821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 744) + (i32.const 923) (i32.const 0) ) (unreachable) @@ -22499,7 +26840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 745) + (i32.const 924) (i32.const 0) ) (unreachable) @@ -22518,7 +26859,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 746) + (i32.const 925) (i32.const 0) ) (unreachable) @@ -22537,7 +26878,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 747) + (i32.const 926) (i32.const 0) ) (unreachable) @@ -22556,7 +26897,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 748) + (i32.const 927) (i32.const 0) ) (unreachable) @@ -22575,7 +26916,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 749) + (i32.const 928) (i32.const 0) ) (unreachable) @@ -22594,7 +26935,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 750) + (i32.const 929) (i32.const 0) ) (unreachable) @@ -22613,7 +26954,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 751) + (i32.const 930) (i32.const 0) ) (unreachable) @@ -22632,7 +26973,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 760) + (i32.const 939) (i32.const 0) ) (unreachable) @@ -22651,7 +26992,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 761) + (i32.const 940) (i32.const 0) ) (unreachable) @@ -22670,7 +27011,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 762) + (i32.const 941) (i32.const 0) ) (unreachable) @@ -22689,7 +27030,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 763) + (i32.const 942) (i32.const 0) ) (unreachable) @@ -22708,7 +27049,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 764) + (i32.const 943) (i32.const 0) ) (unreachable) @@ -22727,7 +27068,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 765) + (i32.const 944) (i32.const 0) ) (unreachable) @@ -22746,7 +27087,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 766) + (i32.const 945) (i32.const 0) ) (unreachable) @@ -22765,7 +27106,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 767) + (i32.const 946) (i32.const 0) ) (unreachable) @@ -22784,7 +27125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 768) + (i32.const 947) (i32.const 0) ) (unreachable) @@ -22803,7 +27144,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 769) + (i32.const 948) (i32.const 0) ) (unreachable) @@ -22822,7 +27163,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 772) + (i32.const 951) (i32.const 0) ) (unreachable) @@ -22841,7 +27182,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 773) + (i32.const 952) (i32.const 0) ) (unreachable) @@ -22864,7 +27205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 774) + (i32.const 953) (i32.const 0) ) (unreachable) @@ -22883,7 +27224,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 775) + (i32.const 954) (i32.const 0) ) (unreachable) @@ -22902,7 +27243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 776) + (i32.const 955) (i32.const 0) ) (unreachable) @@ -22921,7 +27262,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 777) + (i32.const 956) (i32.const 0) ) (unreachable) @@ -22940,7 +27281,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 778) + (i32.const 957) (i32.const 0) ) (unreachable) @@ -22959,7 +27300,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 779) + (i32.const 958) (i32.const 0) ) (unreachable) @@ -22978,7 +27319,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 780) + (i32.const 959) (i32.const 0) ) (unreachable) @@ -22997,7 +27338,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 781) + (i32.const 960) (i32.const 0) ) (unreachable) @@ -23016,7 +27357,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 893) + (i32.const 1072) (i32.const 0) ) (unreachable) @@ -23035,7 +27376,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 894) + (i32.const 1073) (i32.const 0) ) (unreachable) @@ -23054,7 +27395,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 895) + (i32.const 1074) (i32.const 0) ) (unreachable) @@ -23073,7 +27414,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 896) + (i32.const 1075) (i32.const 0) ) (unreachable) @@ -23092,7 +27433,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 897) + (i32.const 1076) (i32.const 0) ) (unreachable) @@ -23111,7 +27452,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 898) + (i32.const 1077) (i32.const 0) ) (unreachable) @@ -23130,7 +27471,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 899) + (i32.const 1078) (i32.const 0) ) (unreachable) @@ -23149,7 +27490,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 900) + (i32.const 1079) (i32.const 0) ) (unreachable) @@ -23168,7 +27509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 901) + (i32.const 1080) (i32.const 0) ) (unreachable) @@ -23187,7 +27528,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 902) + (i32.const 1081) (i32.const 0) ) (unreachable) @@ -23206,7 +27547,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 905) + (i32.const 1084) (i32.const 0) ) (unreachable) @@ -23225,7 +27566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 906) + (i32.const 1085) (i32.const 0) ) (unreachable) @@ -23244,7 +27585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 907) + (i32.const 1086) (i32.const 0) ) (unreachable) @@ -23265,7 +27606,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 908) + (i32.const 1087) (i32.const 0) ) (unreachable) @@ -23284,7 +27625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 909) + (i32.const 1088) (i32.const 0) ) (unreachable) @@ -23303,7 +27644,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 918) + (i32.const 1097) (i32.const 0) ) (unreachable) @@ -23322,7 +27663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 919) + (i32.const 1098) (i32.const 0) ) (unreachable) @@ -23341,7 +27682,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 920) + (i32.const 1099) (i32.const 0) ) (unreachable) @@ -23360,7 +27701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 921) + (i32.const 1100) (i32.const 0) ) (unreachable) @@ -23379,7 +27720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 922) + (i32.const 1101) (i32.const 0) ) (unreachable) @@ -23398,7 +27739,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 923) + (i32.const 1102) (i32.const 0) ) (unreachable) @@ -23417,7 +27758,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 924) + (i32.const 1103) (i32.const 0) ) (unreachable) @@ -23436,7 +27777,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 925) + (i32.const 1104) (i32.const 0) ) (unreachable) @@ -23455,7 +27796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 926) + (i32.const 1105) (i32.const 0) ) (unreachable) @@ -23474,7 +27815,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 927) + (i32.const 1106) (i32.const 0) ) (unreachable) @@ -23493,7 +27834,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 930) + (i32.const 1109) (i32.const 0) ) (unreachable) @@ -23512,7 +27853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 931) + (i32.const 1110) (i32.const 0) ) (unreachable) @@ -23531,7 +27872,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 932) + (i32.const 1111) (i32.const 0) ) (unreachable) @@ -23552,7 +27893,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 933) + (i32.const 1112) (i32.const 0) ) (unreachable) @@ -23571,7 +27912,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 934) + (i32.const 1113) (i32.const 0) ) (unreachable) @@ -23590,7 +27931,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 944) + (i32.const 1123) (i32.const 0) ) (unreachable) @@ -23609,7 +27950,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 945) + (i32.const 1124) (i32.const 0) ) (unreachable) @@ -23628,7 +27969,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 946) + (i32.const 1125) (i32.const 0) ) (unreachable) @@ -23647,7 +27988,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 947) + (i32.const 1126) (i32.const 0) ) (unreachable) @@ -23666,7 +28007,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 948) + (i32.const 1127) (i32.const 0) ) (unreachable) @@ -23685,7 +28026,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 949) + (i32.const 1128) (i32.const 0) ) (unreachable) @@ -23704,7 +28045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 950) + (i32.const 1129) (i32.const 0) ) (unreachable) @@ -23723,7 +28064,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 951) + (i32.const 1130) (i32.const 0) ) (unreachable) @@ -23742,7 +28083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 952) + (i32.const 1131) (i32.const 0) ) (unreachable) @@ -23761,7 +28102,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 953) + (i32.const 1132) (i32.const 0) ) (unreachable) @@ -23780,7 +28121,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 956) + (i32.const 1135) (i32.const 0) ) (unreachable) @@ -23799,7 +28140,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 957) + (i32.const 1136) (i32.const 0) ) (unreachable) @@ -23818,7 +28159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 958) + (i32.const 1137) (i32.const 0) ) (unreachable) @@ -23837,7 +28178,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 959) + (i32.const 1138) (i32.const 0) ) (unreachable) @@ -23856,7 +28197,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 960) + (i32.const 1139) (i32.const 0) ) (unreachable) @@ -23877,7 +28218,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 961) + (i32.const 1140) (i32.const 0) ) (unreachable) @@ -23896,7 +28237,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 962) + (i32.const 1141) (i32.const 0) ) (unreachable) @@ -23915,7 +28256,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 963) + (i32.const 1142) (i32.const 0) ) (unreachable) @@ -23934,7 +28275,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 964) + (i32.const 1143) (i32.const 0) ) (unreachable) @@ -23953,7 +28294,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 965) + (i32.const 1144) (i32.const 0) ) (unreachable) @@ -23972,7 +28313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 966) + (i32.const 1145) (i32.const 0) ) (unreachable) @@ -23991,7 +28332,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 975) + (i32.const 1154) (i32.const 0) ) (unreachable) @@ -24010,7 +28351,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 976) + (i32.const 1155) (i32.const 0) ) (unreachable) @@ -24029,7 +28370,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 977) + (i32.const 1156) (i32.const 0) ) (unreachable) @@ -24048,7 +28389,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 978) + (i32.const 1157) (i32.const 0) ) (unreachable) @@ -24067,7 +28408,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 979) + (i32.const 1158) (i32.const 0) ) (unreachable) @@ -24086,7 +28427,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 980) + (i32.const 1159) (i32.const 0) ) (unreachable) @@ -24105,7 +28446,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 981) + (i32.const 1160) (i32.const 0) ) (unreachable) @@ -24124,7 +28465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 982) + (i32.const 1161) (i32.const 0) ) (unreachable) @@ -24143,7 +28484,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 983) + (i32.const 1162) (i32.const 0) ) (unreachable) @@ -24162,7 +28503,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 984) + (i32.const 1163) (i32.const 0) ) (unreachable) @@ -24181,7 +28522,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 987) + (i32.const 1166) (i32.const 0) ) (unreachable) @@ -24200,7 +28541,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 988) + (i32.const 1167) (i32.const 0) ) (unreachable) @@ -24219,7 +28560,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 989) + (i32.const 1168) (i32.const 0) ) (unreachable) @@ -24238,7 +28579,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 990) + (i32.const 1169) (i32.const 0) ) (unreachable) @@ -24257,7 +28598,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 991) + (i32.const 1170) (i32.const 0) ) (unreachable) @@ -24278,7 +28619,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 992) + (i32.const 1171) (i32.const 0) ) (unreachable) @@ -24297,7 +28638,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 993) + (i32.const 1172) (i32.const 0) ) (unreachable) @@ -24316,7 +28657,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 994) + (i32.const 1173) (i32.const 0) ) (unreachable) @@ -24338,7 +28679,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 995) + (i32.const 1174) (i32.const 0) ) (unreachable) @@ -24360,7 +28701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 996) + (i32.const 1175) (i32.const 0) ) (unreachable) @@ -24382,7 +28723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 997) + (i32.const 1176) (i32.const 0) ) (unreachable) @@ -24401,7 +28742,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 998) + (i32.const 1177) (i32.const 0) ) (unreachable) @@ -24420,7 +28761,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 999) + (i32.const 1178) (i32.const 0) ) (unreachable) @@ -24439,7 +28780,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1000) + (i32.const 1179) (i32.const 0) ) (unreachable) @@ -24458,7 +28799,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1010) + (i32.const 1189) (i32.const 0) ) (unreachable) @@ -24477,7 +28818,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1011) + (i32.const 1190) (i32.const 0) ) (unreachable) @@ -24496,7 +28837,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1012) + (i32.const 1191) (i32.const 0) ) (unreachable) @@ -24515,7 +28856,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1013) + (i32.const 1192) (i32.const 0) ) (unreachable) @@ -24534,7 +28875,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1014) + (i32.const 1193) (i32.const 0) ) (unreachable) @@ -24553,7 +28894,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1015) + (i32.const 1194) (i32.const 0) ) (unreachable) @@ -24572,7 +28913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1016) + (i32.const 1195) (i32.const 0) ) (unreachable) @@ -24591,7 +28932,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1017) + (i32.const 1196) (i32.const 0) ) (unreachable) @@ -24610,7 +28951,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1018) + (i32.const 1197) (i32.const 0) ) (unreachable) @@ -24629,7 +28970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1019) + (i32.const 1198) (i32.const 0) ) (unreachable) @@ -24648,7 +28989,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1022) + (i32.const 1201) (i32.const 0) ) (unreachable) @@ -24667,7 +29008,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1023) + (i32.const 1202) (i32.const 0) ) (unreachable) @@ -24686,7 +29027,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1024) + (i32.const 1203) (i32.const 0) ) (unreachable) @@ -24705,7 +29046,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1025) + (i32.const 1204) (i32.const 0) ) (unreachable) @@ -24724,7 +29065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1026) + (i32.const 1205) (i32.const 0) ) (unreachable) @@ -24745,7 +29086,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1027) + (i32.const 1206) (i32.const 0) ) (unreachable) @@ -24764,7 +29105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1028) + (i32.const 1207) (i32.const 0) ) (unreachable) @@ -24786,7 +29127,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1029) + (i32.const 1208) (i32.const 0) ) (unreachable) @@ -24808,7 +29149,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1030) + (i32.const 1209) (i32.const 0) ) (unreachable) @@ -24827,7 +29168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1039) + (i32.const 1218) (i32.const 0) ) (unreachable) @@ -24846,7 +29187,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1040) + (i32.const 1219) (i32.const 0) ) (unreachable) @@ -24865,7 +29206,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1041) + (i32.const 1220) (i32.const 0) ) (unreachable) @@ -24884,7 +29225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1042) + (i32.const 1221) (i32.const 0) ) (unreachable) @@ -24903,7 +29244,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1043) + (i32.const 1222) (i32.const 0) ) (unreachable) @@ -24922,7 +29263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1044) + (i32.const 1223) (i32.const 0) ) (unreachable) @@ -24941,7 +29282,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1045) + (i32.const 1224) (i32.const 0) ) (unreachable) @@ -24960,7 +29301,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1046) + (i32.const 1225) (i32.const 0) ) (unreachable) @@ -24979,7 +29320,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1047) + (i32.const 1226) (i32.const 0) ) (unreachable) @@ -24998,7 +29339,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1048) + (i32.const 1227) (i32.const 0) ) (unreachable) @@ -25017,7 +29358,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1051) + (i32.const 1230) (i32.const 0) ) (unreachable) @@ -25036,7 +29377,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1052) + (i32.const 1231) (i32.const 0) ) (unreachable) @@ -25055,7 +29396,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1053) + (i32.const 1232) (i32.const 0) ) (unreachable) @@ -25074,7 +29415,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1054) + (i32.const 1233) (i32.const 0) ) (unreachable) @@ -25093,7 +29434,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1055) + (i32.const 1234) (i32.const 0) ) (unreachable) @@ -25114,7 +29455,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1056) + (i32.const 1235) (i32.const 0) ) (unreachable) @@ -25133,7 +29474,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1057) + (i32.const 1236) (i32.const 0) ) (unreachable) @@ -25153,7 +29494,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1067) + (i32.const 1246) (i32.const 0) ) (unreachable) @@ -25173,7 +29514,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1068) + (i32.const 1247) (i32.const 0) ) (unreachable) @@ -25193,7 +29534,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1069) + (i32.const 1248) (i32.const 0) ) (unreachable) @@ -25213,7 +29554,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1070) + (i32.const 1249) (i32.const 0) ) (unreachable) @@ -25233,7 +29574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1071) + (i32.const 1250) (i32.const 0) ) (unreachable) @@ -25253,7 +29594,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1072) + (i32.const 1251) (i32.const 0) ) (unreachable) @@ -25273,7 +29614,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1073) + (i32.const 1252) (i32.const 0) ) (unreachable) @@ -25293,7 +29634,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1074) + (i32.const 1253) (i32.const 0) ) (unreachable) @@ -25313,7 +29654,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1075) + (i32.const 1254) (i32.const 0) ) (unreachable) @@ -25333,7 +29674,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1076) + (i32.const 1255) (i32.const 0) ) (unreachable) @@ -25353,7 +29694,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1079) + (i32.const 1258) (i32.const 0) ) (unreachable) @@ -25373,7 +29714,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1080) + (i32.const 1259) (i32.const 0) ) (unreachable) @@ -25393,7 +29734,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1081) + (i32.const 1260) (i32.const 0) ) (unreachable) @@ -25413,7 +29754,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1082) + (i32.const 1261) (i32.const 0) ) (unreachable) @@ -25433,7 +29774,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1083) + (i32.const 1262) (i32.const 0) ) (unreachable) @@ -25453,7 +29794,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1084) + (i32.const 1263) (i32.const 0) ) (unreachable) @@ -25473,7 +29814,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1085) + (i32.const 1264) (i32.const 0) ) (unreachable) @@ -25493,7 +29834,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1086) + (i32.const 1265) (i32.const 0) ) (unreachable) @@ -25513,7 +29854,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1087) + (i32.const 1266) (i32.const 0) ) (unreachable) @@ -25533,7 +29874,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1088) + (i32.const 1267) (i32.const 0) ) (unreachable) @@ -25553,7 +29894,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1089) + (i32.const 1268) (i32.const 0) ) (unreachable) @@ -25573,7 +29914,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1090) + (i32.const 1269) (i32.const 0) ) (unreachable) @@ -25593,7 +29934,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1091) + (i32.const 1270) (i32.const 0) ) (unreachable) @@ -25615,7 +29956,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1092) + (i32.const 1271) (i32.const 0) ) (unreachable) @@ -25637,7 +29978,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1093) + (i32.const 1272) (i32.const 0) ) (unreachable) @@ -25659,7 +30000,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1094) + (i32.const 1273) (i32.const 0) ) (unreachable) @@ -25681,7 +30022,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1095) + (i32.const 1274) (i32.const 0) ) (unreachable) @@ -25701,7 +30042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1096) + (i32.const 1275) (i32.const 0) ) (unreachable) @@ -25721,7 +30062,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1097) + (i32.const 1276) (i32.const 0) ) (unreachable) @@ -25741,7 +30082,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1106) + (i32.const 1285) (i32.const 0) ) (unreachable) @@ -25761,7 +30102,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1107) + (i32.const 1286) (i32.const 0) ) (unreachable) @@ -25781,7 +30122,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1108) + (i32.const 1287) (i32.const 0) ) (unreachable) @@ -25801,7 +30142,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1109) + (i32.const 1288) (i32.const 0) ) (unreachable) @@ -25821,7 +30162,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1110) + (i32.const 1289) (i32.const 0) ) (unreachable) @@ -25841,7 +30182,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1111) + (i32.const 1290) (i32.const 0) ) (unreachable) @@ -25861,7 +30202,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1112) + (i32.const 1291) (i32.const 0) ) (unreachable) @@ -25881,7 +30222,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1113) + (i32.const 1292) (i32.const 0) ) (unreachable) @@ -25901,7 +30242,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1114) + (i32.const 1293) (i32.const 0) ) (unreachable) @@ -25921,7 +30262,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1115) + (i32.const 1294) (i32.const 0) ) (unreachable) @@ -25941,7 +30282,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1118) + (i32.const 1297) (i32.const 0) ) (unreachable) @@ -25961,7 +30302,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1119) + (i32.const 1298) (i32.const 0) ) (unreachable) @@ -25981,7 +30322,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1120) + (i32.const 1299) (i32.const 0) ) (unreachable) @@ -26001,7 +30342,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1121) + (i32.const 1300) (i32.const 0) ) (unreachable) @@ -26021,7 +30362,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1122) + (i32.const 1301) (i32.const 0) ) (unreachable) @@ -26041,7 +30382,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1123) + (i32.const 1302) (i32.const 0) ) (unreachable) @@ -26061,7 +30402,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1124) + (i32.const 1303) (i32.const 0) ) (unreachable) @@ -26081,7 +30422,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1125) + (i32.const 1304) (i32.const 0) ) (unreachable) @@ -26101,7 +30442,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1126) + (i32.const 1305) (i32.const 0) ) (unreachable) @@ -26121,7 +30462,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1127) + (i32.const 1306) (i32.const 0) ) (unreachable) @@ -26141,7 +30482,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1128) + (i32.const 1307) (i32.const 0) ) (unreachable) @@ -26161,7 +30502,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1129) + (i32.const 1308) (i32.const 0) ) (unreachable) @@ -26181,7 +30522,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1130) + (i32.const 1309) (i32.const 0) ) (unreachable) @@ -26203,7 +30544,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1131) + (i32.const 1310) (i32.const 0) ) (unreachable) @@ -26225,7 +30566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1132) + (i32.const 1311) (i32.const 0) ) (unreachable) @@ -26247,7 +30588,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1133) + (i32.const 1312) (i32.const 0) ) (unreachable) @@ -26269,7 +30610,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1134) + (i32.const 1313) (i32.const 0) ) (unreachable) @@ -26289,7 +30630,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1135) + (i32.const 1314) (i32.const 0) ) (unreachable) @@ -26309,7 +30650,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1136) + (i32.const 1315) (i32.const 0) ) (unreachable) @@ -26328,7 +30669,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1146) + (i32.const 1325) (i32.const 0) ) (unreachable) @@ -26347,7 +30688,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1147) + (i32.const 1326) (i32.const 0) ) (unreachable) @@ -26366,7 +30707,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1148) + (i32.const 1327) (i32.const 0) ) (unreachable) @@ -26385,7 +30726,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1149) + (i32.const 1328) (i32.const 0) ) (unreachable) @@ -26404,7 +30745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1150) + (i32.const 1329) (i32.const 0) ) (unreachable) @@ -26423,7 +30764,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1151) + (i32.const 1330) (i32.const 0) ) (unreachable) @@ -26442,7 +30783,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1152) + (i32.const 1331) (i32.const 0) ) (unreachable) @@ -26461,7 +30802,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1153) + (i32.const 1332) (i32.const 0) ) (unreachable) @@ -26480,7 +30821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1154) + (i32.const 1333) (i32.const 0) ) (unreachable) @@ -26499,7 +30840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1155) + (i32.const 1334) (i32.const 0) ) (unreachable) @@ -26520,7 +30861,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1158) + (i32.const 1337) (i32.const 0) ) (unreachable) @@ -26541,7 +30882,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1159) + (i32.const 1338) (i32.const 0) ) (unreachable) @@ -26560,7 +30901,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1160) + (i32.const 1339) (i32.const 0) ) (unreachable) @@ -26579,7 +30920,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1161) + (i32.const 1340) (i32.const 0) ) (unreachable) @@ -26598,7 +30939,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1162) + (i32.const 1341) (i32.const 0) ) (unreachable) @@ -26617,7 +30958,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1163) + (i32.const 1342) (i32.const 0) ) (unreachable) @@ -26638,7 +30979,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1164) + (i32.const 1343) (i32.const 0) ) (unreachable) @@ -26657,7 +30998,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1165) + (i32.const 1344) (i32.const 0) ) (unreachable) @@ -26678,7 +31019,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1174) + (i32.const 1353) (i32.const 0) ) (unreachable) @@ -26699,7 +31040,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1175) + (i32.const 1354) (i32.const 0) ) (unreachable) @@ -26718,7 +31059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1176) + (i32.const 1355) (i32.const 0) ) (unreachable) @@ -26737,7 +31078,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1177) + (i32.const 1356) (i32.const 0) ) (unreachable) @@ -26756,7 +31097,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1178) + (i32.const 1357) (i32.const 0) ) (unreachable) @@ -26775,7 +31116,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1179) + (i32.const 1358) (i32.const 0) ) (unreachable) @@ -26796,7 +31137,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1180) + (i32.const 1359) (i32.const 0) ) (unreachable) @@ -26815,7 +31156,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1181) + (i32.const 1360) (i32.const 0) ) (unreachable) @@ -26836,7 +31177,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1184) + (i32.const 1363) (i32.const 0) ) (unreachable) @@ -26857,7 +31198,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1185) + (i32.const 1364) (i32.const 0) ) (unreachable) @@ -26876,7 +31217,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1186) + (i32.const 1365) (i32.const 0) ) (unreachable) @@ -26895,7 +31236,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1187) + (i32.const 1366) (i32.const 0) ) (unreachable) @@ -26914,7 +31255,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1188) + (i32.const 1367) (i32.const 0) ) (unreachable) @@ -26933,7 +31274,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1189) + (i32.const 1368) (i32.const 0) ) (unreachable) @@ -26954,7 +31295,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1190) + (i32.const 1369) (i32.const 0) ) (unreachable) @@ -26973,7 +31314,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1191) + (i32.const 1370) (i32.const 0) ) (unreachable) @@ -26992,7 +31333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1201) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -27011,7 +31352,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1202) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -27030,7 +31371,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1203) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -27049,7 +31390,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1204) + (i32.const 1383) (i32.const 0) ) (unreachable) @@ -27068,7 +31409,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1205) + (i32.const 1384) (i32.const 0) ) (unreachable) @@ -27087,7 +31428,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1206) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -27106,7 +31447,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1207) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -27125,7 +31466,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1208) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -27144,7 +31485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1209) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -27163,7 +31504,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1210) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -27184,7 +31525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1213) + (i32.const 1392) (i32.const 0) ) (unreachable) @@ -27205,7 +31546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1214) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -27224,7 +31565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1215) + (i32.const 1394) (i32.const 0) ) (unreachable) @@ -27243,7 +31584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1216) + (i32.const 1395) (i32.const 0) ) (unreachable) @@ -27262,7 +31603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1217) + (i32.const 1396) (i32.const 0) ) (unreachable) @@ -27281,7 +31622,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1218) + (i32.const 1397) (i32.const 0) ) (unreachable) @@ -27302,7 +31643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1219) + (i32.const 1398) (i32.const 0) ) (unreachable) @@ -27321,7 +31662,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1220) + (i32.const 1399) (i32.const 0) ) (unreachable) @@ -27340,7 +31681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1229) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -27359,7 +31700,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1230) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -27378,7 +31719,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1231) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -27397,7 +31738,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1232) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -27416,7 +31757,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1233) + (i32.const 1412) (i32.const 0) ) (unreachable) @@ -27435,7 +31776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1234) + (i32.const 1413) (i32.const 0) ) (unreachable) @@ -27454,7 +31795,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1235) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -27473,7 +31814,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1236) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -27492,7 +31833,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1237) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -27511,7 +31852,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1238) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -27532,7 +31873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1241) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -27553,7 +31894,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1242) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -27572,7 +31913,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1243) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -27591,7 +31932,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1244) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -27610,7 +31951,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1245) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -27629,7 +31970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1246) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -27650,7 +31991,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1247) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -27669,7 +32010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1248) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -27688,7 +32029,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1258) + (i32.const 1437) (i32.const 0) ) (unreachable) @@ -27707,7 +32048,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1259) + (i32.const 1438) (i32.const 0) ) (unreachable) @@ -27726,7 +32067,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1260) + (i32.const 1439) (i32.const 0) ) (unreachable) @@ -27745,7 +32086,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1261) + (i32.const 1440) (i32.const 0) ) (unreachable) @@ -27764,7 +32105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1262) + (i32.const 1441) (i32.const 0) ) (unreachable) @@ -27783,7 +32124,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1263) + (i32.const 1442) (i32.const 0) ) (unreachable) @@ -27802,7 +32143,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1264) + (i32.const 1443) (i32.const 0) ) (unreachable) @@ -27821,7 +32162,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1265) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -27840,7 +32181,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1266) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -27859,7 +32200,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1267) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -27878,7 +32219,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1270) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -27897,7 +32238,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1271) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -27916,7 +32257,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1272) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -27935,7 +32276,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1273) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -27956,7 +32297,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1274) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -27975,7 +32316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1275) + (i32.const 1454) (i32.const 0) ) (unreachable) @@ -27996,7 +32337,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1276) + (i32.const 1455) (i32.const 0) ) (unreachable) @@ -28015,7 +32356,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1277) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -28034,7 +32375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1286) + (i32.const 1465) (i32.const 0) ) (unreachable) @@ -28053,7 +32394,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1287) + (i32.const 1466) (i32.const 0) ) (unreachable) @@ -28072,7 +32413,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1288) + (i32.const 1467) (i32.const 0) ) (unreachable) @@ -28091,7 +32432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1289) + (i32.const 1468) (i32.const 0) ) (unreachable) @@ -28110,7 +32451,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1290) + (i32.const 1469) (i32.const 0) ) (unreachable) @@ -28129,7 +32470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1291) + (i32.const 1470) (i32.const 0) ) (unreachable) @@ -28148,7 +32489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1292) + (i32.const 1471) (i32.const 0) ) (unreachable) @@ -28167,7 +32508,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1293) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -28186,7 +32527,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1294) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -28205,7 +32546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1295) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -28224,7 +32565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1298) + (i32.const 1477) (i32.const 0) ) (unreachable) @@ -28243,7 +32584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1299) + (i32.const 1478) (i32.const 0) ) (unreachable) @@ -28262,7 +32603,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1300) + (i32.const 1479) (i32.const 0) ) (unreachable) @@ -28281,7 +32622,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1301) + (i32.const 1480) (i32.const 0) ) (unreachable) @@ -28302,7 +32643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1302) + (i32.const 1481) (i32.const 0) ) (unreachable) @@ -28321,7 +32662,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1303) + (i32.const 1482) (i32.const 0) ) (unreachable) @@ -28342,7 +32683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1304) + (i32.const 1483) (i32.const 0) ) (unreachable) @@ -28361,7 +32702,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1305) + (i32.const 1484) (i32.const 0) ) (unreachable) @@ -28383,7 +32724,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1306) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -28402,7 +32743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1316) + (i32.const 1495) (i32.const 0) ) (unreachable) @@ -28421,7 +32762,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1317) + (i32.const 1496) (i32.const 0) ) (unreachable) @@ -28440,7 +32781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1318) + (i32.const 1497) (i32.const 0) ) (unreachable) @@ -28459,7 +32800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1319) + (i32.const 1498) (i32.const 0) ) (unreachable) @@ -28478,7 +32819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1320) + (i32.const 1499) (i32.const 0) ) (unreachable) @@ -28497,7 +32838,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1321) + (i32.const 1500) (i32.const 0) ) (unreachable) @@ -28516,7 +32857,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1322) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -28535,7 +32876,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1323) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -28554,7 +32895,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1324) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -28573,7 +32914,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1325) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -28594,7 +32935,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1328) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -28615,7 +32956,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1329) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -28634,7 +32975,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1330) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -28653,7 +32994,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1331) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -28672,7 +33013,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1332) + (i32.const 1511) (i32.const 0) ) (unreachable) @@ -28691,7 +33032,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1333) + (i32.const 1512) (i32.const 0) ) (unreachable) @@ -28712,7 +33053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1334) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -28731,7 +33072,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1335) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -28750,7 +33091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1344) + (i32.const 1523) (i32.const 0) ) (unreachable) @@ -28769,7 +33110,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1345) + (i32.const 1524) (i32.const 0) ) (unreachable) @@ -28788,7 +33129,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1346) + (i32.const 1525) (i32.const 0) ) (unreachable) @@ -28807,7 +33148,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1347) + (i32.const 1526) (i32.const 0) ) (unreachable) @@ -28826,7 +33167,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1348) + (i32.const 1527) (i32.const 0) ) (unreachable) @@ -28845,7 +33186,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1349) + (i32.const 1528) (i32.const 0) ) (unreachable) @@ -28864,7 +33205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1350) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -28883,7 +33224,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1351) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -28902,7 +33243,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1352) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -28921,7 +33262,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1353) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -28942,7 +33283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1356) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -28963,7 +33304,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1357) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -28982,7 +33323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1358) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -29001,7 +33342,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1359) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -29020,7 +33361,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1360) + (i32.const 1539) (i32.const 0) ) (unreachable) @@ -29039,7 +33380,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1361) + (i32.const 1540) (i32.const 0) ) (unreachable) @@ -29060,7 +33401,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1362) + (i32.const 1541) (i32.const 0) ) (unreachable) @@ -29079,7 +33420,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1363) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -29099,7 +33440,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1373) + (i32.const 1552) (i32.const 0) ) (unreachable) @@ -29119,7 +33460,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1374) + (i32.const 1553) (i32.const 0) ) (unreachable) @@ -29139,7 +33480,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1375) + (i32.const 1554) (i32.const 0) ) (unreachable) @@ -29159,7 +33500,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1376) + (i32.const 1555) (i32.const 0) ) (unreachable) @@ -29179,7 +33520,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1377) + (i32.const 1556) (i32.const 0) ) (unreachable) @@ -29199,7 +33540,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1378) + (i32.const 1557) (i32.const 0) ) (unreachable) @@ -29219,7 +33560,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1379) + (i32.const 1558) (i32.const 0) ) (unreachable) @@ -29239,7 +33580,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 1559) (i32.const 0) ) (unreachable) @@ -29259,7 +33600,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -29279,7 +33620,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -29299,7 +33640,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1385) + (i32.const 1564) (i32.const 0) ) (unreachable) @@ -29319,7 +33660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -29339,7 +33680,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -29359,7 +33700,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -29379,7 +33720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -29399,7 +33740,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1390) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -29419,7 +33760,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1391) + (i32.const 1570) (i32.const 0) ) (unreachable) @@ -29439,7 +33780,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 1571) (i32.const 0) ) (unreachable) @@ -29459,7 +33800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -29479,7 +33820,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -29499,7 +33840,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -29519,7 +33860,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -29539,7 +33880,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -29561,7 +33902,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -29581,7 +33922,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -29601,7 +33942,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1400) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -29621,7 +33962,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1401) + (i32.const 1580) (i32.const 0) ) (unreachable) @@ -29641,7 +33982,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1402) + (i32.const 1581) (i32.const 0) ) (unreachable) @@ -29661,7 +34002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1403) + (i32.const 1582) (i32.const 0) ) (unreachable) @@ -29681,7 +34022,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1404) + (i32.const 1583) (i32.const 0) ) (unreachable) @@ -29701,7 +34042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1405) + (i32.const 1584) (i32.const 0) ) (unreachable) @@ -29721,7 +34062,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1406) + (i32.const 1585) (i32.const 0) ) (unreachable) @@ -29741,7 +34082,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1407) + (i32.const 1586) (i32.const 0) ) (unreachable) @@ -29763,7 +34104,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 1587) (i32.const 0) ) (unreachable) @@ -29783,7 +34124,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -29805,7 +34146,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 1589) (i32.const 0) ) (unreachable) @@ -29825,7 +34166,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 1590) (i32.const 0) ) (unreachable) @@ -29847,7 +34188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 1591) (i32.const 0) ) (unreachable) @@ -29867,7 +34208,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 1592) (i32.const 0) ) (unreachable) @@ -29887,7 +34228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 1593) (i32.const 0) ) (unreachable) @@ -29909,7 +34250,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 1594) (i32.const 0) ) (unreachable) @@ -29929,7 +34270,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 1595) (i32.const 0) ) (unreachable) @@ -29949,7 +34290,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 1596) (i32.const 0) ) (unreachable) @@ -29969,7 +34310,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1418) + (i32.const 1597) (i32.const 0) ) (unreachable) @@ -29989,7 +34330,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1419) + (i32.const 1598) (i32.const 0) ) (unreachable) @@ -30009,7 +34350,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 1599) (i32.const 0) ) (unreachable) @@ -30031,7 +34372,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 1600) (i32.const 0) ) (unreachable) @@ -30051,7 +34392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 1601) (i32.const 0) ) (unreachable) @@ -30071,7 +34412,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 1602) (i32.const 0) ) (unreachable) @@ -30091,7 +34432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 1603) (i32.const 0) ) (unreachable) @@ -30111,7 +34452,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 1604) (i32.const 0) ) (unreachable) @@ -30131,7 +34472,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 1605) (i32.const 0) ) (unreachable) @@ -30153,7 +34494,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 1606) (i32.const 0) ) (unreachable) @@ -30173,7 +34514,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1428) + (i32.const 1607) (i32.const 0) ) (unreachable) @@ -30193,7 +34534,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1429) + (i32.const 1608) (i32.const 0) ) (unreachable) @@ -30213,7 +34554,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1430) + (i32.const 1609) (i32.const 0) ) (unreachable) @@ -30233,7 +34574,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1431) + (i32.const 1610) (i32.const 0) ) (unreachable) @@ -30253,7 +34594,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1432) + (i32.const 1611) (i32.const 0) ) (unreachable) @@ -30273,7 +34614,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1433) + (i32.const 1612) (i32.const 0) ) (unreachable) @@ -30293,7 +34634,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1434) + (i32.const 1613) (i32.const 0) ) (unreachable) @@ -30315,7 +34656,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1435) + (i32.const 1614) (i32.const 0) ) (unreachable) @@ -30335,7 +34676,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1436) + (i32.const 1615) (i32.const 0) ) (unreachable) @@ -30355,7 +34696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 1616) (i32.const 0) ) (unreachable) @@ -30375,7 +34716,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 1617) (i32.const 0) ) (unreachable) @@ -30395,7 +34736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 1618) (i32.const 0) ) (unreachable) @@ -30415,7 +34756,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 1619) (i32.const 0) ) (unreachable) @@ -30435,7 +34776,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 1620) (i32.const 0) ) (unreachable) @@ -30455,7 +34796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 1621) (i32.const 0) ) (unreachable) @@ -30475,7 +34816,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 1622) (i32.const 0) ) (unreachable) @@ -30495,7 +34836,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 1623) (i32.const 0) ) (unreachable) @@ -30517,7 +34858,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 1624) (i32.const 0) ) (unreachable) @@ -30537,7 +34878,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 1625) (i32.const 0) ) (unreachable) @@ -30557,7 +34898,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1447) + (i32.const 1626) (i32.const 0) ) (unreachable) @@ -30579,7 +34920,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1448) + (i32.const 1627) (i32.const 0) ) (unreachable) @@ -30599,7 +34940,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 1628) (i32.const 0) ) (unreachable) @@ -30619,7 +34960,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 1629) (i32.const 0) ) (unreachable) @@ -30641,7 +34982,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1451) + (i32.const 1630) (i32.const 0) ) (unreachable) @@ -30661,7 +35002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 1631) (i32.const 0) ) (unreachable) @@ -30681,7 +35022,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 1632) (i32.const 0) ) (unreachable) @@ -30701,7 +35042,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 1633) (i32.const 0) ) (unreachable) @@ -30723,7 +35064,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 1634) (i32.const 0) ) (unreachable) @@ -30743,7 +35084,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 1635) (i32.const 0) ) (unreachable) @@ -30763,7 +35104,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1457) + (i32.const 1636) (i32.const 0) ) (unreachable) @@ -30783,7 +35124,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1458) + (i32.const 1637) (i32.const 0) ) (unreachable) @@ -30803,7 +35144,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1459) + (i32.const 1638) (i32.const 0) ) (unreachable) @@ -30823,7 +35164,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1460) + (i32.const 1639) (i32.const 0) ) (unreachable) @@ -30843,7 +35184,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1461) + (i32.const 1640) (i32.const 0) ) (unreachable) @@ -30863,7 +35204,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1462) + (i32.const 1641) (i32.const 0) ) (unreachable) @@ -30885,7 +35226,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1463) + (i32.const 1642) (i32.const 0) ) (unreachable) @@ -30907,7 +35248,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1464) + (i32.const 1643) (i32.const 0) ) (unreachable) @@ -30931,7 +35272,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 1644) (i32.const 0) ) (unreachable) @@ -30955,7 +35296,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 1645) (i32.const 0) ) (unreachable) @@ -30977,7 +35318,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 1646) (i32.const 0) ) (unreachable) @@ -31001,7 +35342,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 1647) (i32.const 0) ) (unreachable) @@ -31023,7 +35364,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 1648) (i32.const 0) ) (unreachable) @@ -31045,7 +35386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 1649) (i32.const 0) ) (unreachable) @@ -31067,7 +35408,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 1650) (i32.const 0) ) (unreachable) @@ -31089,7 +35430,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 1651) (i32.const 0) ) (unreachable) @@ -31109,7 +35450,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 1652) (i32.const 0) ) (unreachable) @@ -31129,7 +35470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 1653) (i32.const 0) ) (unreachable) @@ -31149,7 +35490,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1475) + (i32.const 1654) (i32.const 0) ) (unreachable) @@ -31169,7 +35510,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1476) + (i32.const 1655) (i32.const 0) ) (unreachable) @@ -31189,7 +35530,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1485) + (i32.const 1664) (i32.const 0) ) (unreachable) @@ -31209,7 +35550,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1486) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -31229,7 +35570,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1487) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -31249,7 +35590,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1488) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -31269,7 +35610,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1489) + (i32.const 1668) (i32.const 0) ) (unreachable) @@ -31289,7 +35630,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1490) + (i32.const 1669) (i32.const 0) ) (unreachable) @@ -31309,7 +35650,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1491) + (i32.const 1670) (i32.const 0) ) (unreachable) @@ -31329,7 +35670,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1492) + (i32.const 1671) (i32.const 0) ) (unreachable) @@ -31349,7 +35690,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1493) + (i32.const 1672) (i32.const 0) ) (unreachable) @@ -31369,7 +35710,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1494) + (i32.const 1673) (i32.const 0) ) (unreachable) @@ -31389,7 +35730,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1497) + (i32.const 1676) (i32.const 0) ) (unreachable) @@ -31409,7 +35750,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 1677) (i32.const 0) ) (unreachable) @@ -31429,7 +35770,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 1678) (i32.const 0) ) (unreachable) @@ -31449,7 +35790,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -31469,7 +35810,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -31489,7 +35830,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -31509,7 +35850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 1682) (i32.const 0) ) (unreachable) @@ -31529,7 +35870,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 1683) (i32.const 0) ) (unreachable) @@ -31549,7 +35890,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1505) + (i32.const 1684) (i32.const 0) ) (unreachable) @@ -31569,7 +35910,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1506) + (i32.const 1685) (i32.const 0) ) (unreachable) @@ -31589,7 +35930,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 1686) (i32.const 0) ) (unreachable) @@ -31609,7 +35950,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 1687) (i32.const 0) ) (unreachable) @@ -31629,7 +35970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 1688) (i32.const 0) ) (unreachable) @@ -31651,7 +35992,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 1689) (i32.const 0) ) (unreachable) @@ -31671,7 +36012,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 1690) (i32.const 0) ) (unreachable) @@ -31691,7 +36032,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -31711,7 +36052,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -31731,7 +36072,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -31751,7 +36092,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1515) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -31771,7 +36112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1516) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -31791,7 +36132,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1517) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -31811,7 +36152,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1518) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -31831,7 +36172,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1519) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -31853,7 +36194,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1520) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -31873,7 +36214,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1521) + (i32.const 1700) (i32.const 0) ) (unreachable) @@ -31895,7 +36236,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1522) + (i32.const 1701) (i32.const 0) ) (unreachable) @@ -31915,7 +36256,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1523) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -31937,7 +36278,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -31957,7 +36298,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -31977,7 +36318,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -31999,7 +36340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -32019,7 +36360,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 1707) (i32.const 0) ) (unreachable) @@ -32039,7 +36380,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 1708) (i32.const 0) ) (unreachable) @@ -32059,7 +36400,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 1709) (i32.const 0) ) (unreachable) @@ -32079,7 +36420,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 1710) (i32.const 0) ) (unreachable) @@ -32099,7 +36440,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 1711) (i32.const 0) ) (unreachable) @@ -32121,7 +36462,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1533) + (i32.const 1712) (i32.const 0) ) (unreachable) @@ -32141,7 +36482,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1534) + (i32.const 1713) (i32.const 0) ) (unreachable) @@ -32161,7 +36502,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 1714) (i32.const 0) ) (unreachable) @@ -32181,7 +36522,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 1715) (i32.const 0) ) (unreachable) @@ -32201,7 +36542,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -32221,7 +36562,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -32243,7 +36584,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -32263,7 +36604,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -32283,7 +36624,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -32303,7 +36644,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -32323,7 +36664,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1543) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -32343,7 +36684,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1544) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -32363,7 +36704,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1545) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -32383,7 +36724,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1546) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -32405,7 +36746,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1547) + (i32.const 1726) (i32.const 0) ) (unreachable) @@ -32425,7 +36766,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1548) + (i32.const 1727) (i32.const 0) ) (unreachable) @@ -32445,7 +36786,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1549) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -32465,7 +36806,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1550) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -32485,7 +36826,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1551) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -32505,7 +36846,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -32525,7 +36866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -32545,7 +36886,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -32565,7 +36906,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -32585,7 +36926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -32607,7 +36948,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -32627,7 +36968,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -32647,7 +36988,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -32669,7 +37010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -32689,7 +37030,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1561) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -32709,7 +37050,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1562) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -32731,7 +37072,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1563) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -32751,7 +37092,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -32771,7 +37112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -32791,7 +37132,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -32813,7 +37154,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -32833,7 +37174,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -32853,7 +37194,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -32873,7 +37214,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 1749) (i32.const 0) ) (unreachable) @@ -32893,7 +37234,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 1750) (i32.const 0) ) (unreachable) @@ -32913,7 +37254,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1572) + (i32.const 1751) (i32.const 0) ) (unreachable) @@ -32933,7 +37274,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 1752) (i32.const 0) ) (unreachable) @@ -32953,7 +37294,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 1753) (i32.const 0) ) (unreachable) @@ -32975,7 +37316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 1754) (i32.const 0) ) (unreachable) @@ -32997,7 +37338,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 1755) (i32.const 0) ) (unreachable) @@ -33021,7 +37362,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 1756) (i32.const 0) ) (unreachable) @@ -33045,7 +37386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -33067,7 +37408,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -33091,7 +37432,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -33113,7 +37454,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -33135,7 +37476,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -33157,7 +37498,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -33179,7 +37520,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -33199,7 +37540,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -33219,7 +37560,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -33239,7 +37580,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -33259,7 +37600,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 1767) (i32.const 0) ) (unreachable) @@ -33310,7 +37651,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1595) + (i32.const 1774) (i32.const 2) ) (unreachable) @@ -33341,7 +37682,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1665) + (i32.const 1844) (i32.const 0) ) (unreachable) @@ -33360,7 +37701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 1845) (i32.const 0) ) (unreachable) @@ -33379,7 +37720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 1846) (i32.const 0) ) (unreachable) @@ -33398,7 +37739,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 1847) (i32.const 0) ) (unreachable) @@ -33417,7 +37758,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 1848) (i32.const 0) ) (unreachable) @@ -33436,7 +37777,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 1849) (i32.const 0) ) (unreachable) @@ -33455,7 +37796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 1850) (i32.const 0) ) (unreachable) @@ -33474,7 +37815,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 1851) (i32.const 0) ) (unreachable) @@ -33493,7 +37834,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 1852) (i32.const 0) ) (unreachable) @@ -33512,7 +37853,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1674) + (i32.const 1853) (i32.const 0) ) (unreachable) @@ -33531,7 +37872,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1677) + (i32.const 1856) (i32.const 0) ) (unreachable) @@ -33550,7 +37891,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 1857) (i32.const 0) ) (unreachable) @@ -33569,7 +37910,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 1858) (i32.const 0) ) (unreachable) @@ -33592,7 +37933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 1859) (i32.const 0) ) (unreachable) @@ -33611,7 +37952,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 1860) (i32.const 0) ) (unreachable) @@ -33630,7 +37971,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1690) + (i32.const 1869) (i32.const 0) ) (unreachable) @@ -33649,7 +37990,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 1870) (i32.const 0) ) (unreachable) @@ -33668,7 +38009,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 1871) (i32.const 0) ) (unreachable) @@ -33687,7 +38028,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 1872) (i32.const 0) ) (unreachable) @@ -33706,7 +38047,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 1873) (i32.const 0) ) (unreachable) @@ -33725,7 +38066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 1874) (i32.const 0) ) (unreachable) @@ -33744,7 +38085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 1875) (i32.const 0) ) (unreachable) @@ -33763,7 +38104,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 1876) (i32.const 0) ) (unreachable) @@ -33782,7 +38123,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 1877) (i32.const 0) ) (unreachable) @@ -33801,7 +38142,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 1878) (i32.const 0) ) (unreachable) @@ -33820,7 +38161,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1702) + (i32.const 1881) (i32.const 0) ) (unreachable) @@ -33839,7 +38180,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 1882) (i32.const 0) ) (unreachable) @@ -33858,7 +38199,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 1883) (i32.const 0) ) (unreachable) @@ -33881,7 +38222,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 1884) (i32.const 0) ) (unreachable) @@ -33900,7 +38241,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 1885) (i32.const 0) ) (unreachable) @@ -33919,7 +38260,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1716) + (i32.const 1895) (i32.const 0) ) (unreachable) @@ -33938,7 +38279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 1896) (i32.const 0) ) (unreachable) @@ -33957,7 +38298,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 1897) (i32.const 0) ) (unreachable) @@ -33976,7 +38317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 1898) (i32.const 0) ) (unreachable) @@ -33995,7 +38336,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 1899) (i32.const 0) ) (unreachable) @@ -34014,7 +38355,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 1900) (i32.const 0) ) (unreachable) @@ -34033,7 +38374,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 1901) (i32.const 0) ) (unreachable) @@ -34052,7 +38393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 1902) (i32.const 0) ) (unreachable) @@ -34071,7 +38412,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 1903) (i32.const 0) ) (unreachable) @@ -34090,7 +38431,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 1904) (i32.const 0) ) (unreachable) @@ -34109,7 +38450,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1728) + (i32.const 1907) (i32.const 0) ) (unreachable) @@ -34128,7 +38469,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 1908) (i32.const 0) ) (unreachable) @@ -34149,7 +38490,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 1909) (i32.const 0) ) (unreachable) @@ -34168,7 +38509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 1910) (i32.const 0) ) (unreachable) @@ -34187,7 +38528,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 1911) (i32.const 0) ) (unreachable) @@ -34206,7 +38547,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 1912) (i32.const 0) ) (unreachable) @@ -34225,7 +38566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 1913) (i32.const 0) ) (unreachable) @@ -34244,7 +38585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 1914) (i32.const 0) ) (unreachable) @@ -34263,7 +38604,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 1915) (i32.const 0) ) (unreachable) @@ -34282,7 +38623,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 1916) (i32.const 0) ) (unreachable) @@ -34301,7 +38642,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -34320,7 +38661,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -34339,7 +38680,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -34358,7 +38699,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -34377,7 +38718,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -34396,7 +38737,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 1922) (i32.const 0) ) (unreachable) @@ -34415,7 +38756,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 1923) (i32.const 0) ) (unreachable) @@ -34434,7 +38775,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -34453,7 +38794,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -34472,7 +38813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 1926) (i32.const 0) ) (unreachable) @@ -34491,7 +38832,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 1927) (i32.const 0) ) (unreachable) @@ -34510,7 +38851,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -34529,7 +38870,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 1929) (i32.const 0) ) (unreachable) @@ -34548,7 +38889,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 1930) (i32.const 0) ) (unreachable) @@ -34567,7 +38908,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 1931) (i32.const 0) ) (unreachable) @@ -34586,7 +38927,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 1932) (i32.const 0) ) (unreachable) @@ -34605,7 +38946,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 1933) (i32.const 0) ) (unreachable) @@ -34624,7 +38965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 1934) (i32.const 0) ) (unreachable) @@ -34643,7 +38984,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 1935) (i32.const 0) ) (unreachable) @@ -34662,7 +39003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 1936) (i32.const 0) ) (unreachable) @@ -34681,7 +39022,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -34700,7 +39041,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -34719,7 +39060,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -34738,7 +39079,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -34757,7 +39098,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -34776,7 +39117,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -34795,7 +39136,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -34814,7 +39155,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -34833,7 +39174,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -34852,7 +39193,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -34871,7 +39212,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1768) + (i32.const 1947) (i32.const 0) ) (unreachable) @@ -34890,7 +39231,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1769) + (i32.const 1948) (i32.const 0) ) (unreachable) @@ -34909,7 +39250,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1770) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -34928,7 +39269,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1771) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -34947,7 +39288,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1772) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -34966,7 +39307,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1773) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -34985,7 +39326,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1774) + (i32.const 1953) (i32.const 0) ) (unreachable) @@ -35004,7 +39345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1775) + (i32.const 1954) (i32.const 0) ) (unreachable) @@ -35023,7 +39364,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1776) + (i32.const 1955) (i32.const 0) ) (unreachable) @@ -35042,7 +39383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1777) + (i32.const 1956) (i32.const 0) ) (unreachable) @@ -35061,7 +39402,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1778) + (i32.const 1957) (i32.const 0) ) (unreachable) @@ -35080,7 +39421,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1779) + (i32.const 1958) (i32.const 0) ) (unreachable) @@ -35099,7 +39440,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1780) + (i32.const 1959) (i32.const 0) ) (unreachable) @@ -35118,7 +39459,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1781) + (i32.const 1960) (i32.const 0) ) (unreachable) @@ -35137,7 +39478,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1782) + (i32.const 1961) (i32.const 0) ) (unreachable) @@ -35156,7 +39497,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1783) + (i32.const 1962) (i32.const 0) ) (unreachable) @@ -35175,7 +39516,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1784) + (i32.const 1963) (i32.const 0) ) (unreachable) @@ -35194,7 +39535,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1785) + (i32.const 1964) (i32.const 0) ) (unreachable) @@ -35213,7 +39554,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1786) + (i32.const 1965) (i32.const 0) ) (unreachable) @@ -35232,7 +39573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1787) + (i32.const 1966) (i32.const 0) ) (unreachable) @@ -35251,7 +39592,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1788) + (i32.const 1967) (i32.const 0) ) (unreachable) @@ -35270,7 +39611,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1789) + (i32.const 1968) (i32.const 0) ) (unreachable) @@ -35289,7 +39630,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1790) + (i32.const 1969) (i32.const 0) ) (unreachable) @@ -35308,7 +39649,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1791) + (i32.const 1970) (i32.const 0) ) (unreachable) @@ -35327,7 +39668,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1792) + (i32.const 1971) (i32.const 0) ) (unreachable) @@ -35346,7 +39687,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1793) + (i32.const 1972) (i32.const 0) ) (unreachable) @@ -35365,7 +39706,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1794) + (i32.const 1973) (i32.const 0) ) (unreachable) @@ -35384,7 +39725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1795) + (i32.const 1974) (i32.const 0) ) (unreachable) @@ -35403,7 +39744,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1796) + (i32.const 1975) (i32.const 0) ) (unreachable) @@ -35422,7 +39763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1797) + (i32.const 1976) (i32.const 0) ) (unreachable) @@ -35441,7 +39782,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1798) + (i32.const 1977) (i32.const 0) ) (unreachable) @@ -35460,7 +39801,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1799) + (i32.const 1978) (i32.const 0) ) (unreachable) @@ -35479,7 +39820,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1800) + (i32.const 1979) (i32.const 0) ) (unreachable) @@ -35498,7 +39839,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1801) + (i32.const 1980) (i32.const 0) ) (unreachable) @@ -35517,7 +39858,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1810) + (i32.const 1989) (i32.const 0) ) (unreachable) @@ -35536,7 +39877,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1811) + (i32.const 1990) (i32.const 0) ) (unreachable) @@ -35555,7 +39896,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1812) + (i32.const 1991) (i32.const 0) ) (unreachable) @@ -35574,7 +39915,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1813) + (i32.const 1992) (i32.const 0) ) (unreachable) @@ -35593,7 +39934,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1814) + (i32.const 1993) (i32.const 0) ) (unreachable) @@ -35612,7 +39953,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1815) + (i32.const 1994) (i32.const 0) ) (unreachable) @@ -35631,7 +39972,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1816) + (i32.const 1995) (i32.const 0) ) (unreachable) @@ -35650,7 +39991,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1817) + (i32.const 1996) (i32.const 0) ) (unreachable) @@ -35669,7 +40010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1818) + (i32.const 1997) (i32.const 0) ) (unreachable) @@ -35688,7 +40029,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1819) + (i32.const 1998) (i32.const 0) ) (unreachable) @@ -35707,7 +40048,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1822) + (i32.const 2001) (i32.const 0) ) (unreachable) @@ -35726,7 +40067,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1823) + (i32.const 2002) (i32.const 0) ) (unreachable) @@ -35747,7 +40088,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1824) + (i32.const 2003) (i32.const 0) ) (unreachable) @@ -35766,7 +40107,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1825) + (i32.const 2004) (i32.const 0) ) (unreachable) @@ -35785,7 +40126,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1826) + (i32.const 2005) (i32.const 0) ) (unreachable) @@ -35804,7 +40145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1827) + (i32.const 2006) (i32.const 0) ) (unreachable) @@ -35823,7 +40164,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1828) + (i32.const 2007) (i32.const 0) ) (unreachable) @@ -35842,7 +40183,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1829) + (i32.const 2008) (i32.const 0) ) (unreachable) @@ -35861,7 +40202,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1830) + (i32.const 2009) (i32.const 0) ) (unreachable) @@ -35880,7 +40221,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1831) + (i32.const 2010) (i32.const 0) ) (unreachable) @@ -35899,7 +40240,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1832) + (i32.const 2011) (i32.const 0) ) (unreachable) @@ -35918,7 +40259,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1833) + (i32.const 2012) (i32.const 0) ) (unreachable) @@ -35937,7 +40278,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1834) + (i32.const 2013) (i32.const 0) ) (unreachable) @@ -35956,7 +40297,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1835) + (i32.const 2014) (i32.const 0) ) (unreachable) @@ -35975,7 +40316,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1836) + (i32.const 2015) (i32.const 0) ) (unreachable) @@ -35994,7 +40335,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1837) + (i32.const 2016) (i32.const 0) ) (unreachable) @@ -36013,7 +40354,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1838) + (i32.const 2017) (i32.const 0) ) (unreachable) @@ -36032,7 +40373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1839) + (i32.const 2018) (i32.const 0) ) (unreachable) @@ -36051,7 +40392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1840) + (i32.const 2019) (i32.const 0) ) (unreachable) @@ -36070,7 +40411,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1841) + (i32.const 2020) (i32.const 0) ) (unreachable) @@ -36089,7 +40430,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1842) + (i32.const 2021) (i32.const 0) ) (unreachable) @@ -36108,7 +40449,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1843) + (i32.const 2022) (i32.const 0) ) (unreachable) @@ -36127,7 +40468,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1912) + (i32.const 2091) (i32.const 0) ) (unreachable) @@ -36146,7 +40487,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 2092) (i32.const 0) ) (unreachable) @@ -36165,7 +40506,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 2093) (i32.const 0) ) (unreachable) @@ -36184,7 +40525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 2094) (i32.const 0) ) (unreachable) @@ -36203,7 +40544,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 2095) (i32.const 0) ) (unreachable) @@ -36222,7 +40563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 2096) (i32.const 0) ) (unreachable) @@ -36241,7 +40582,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 2097) (i32.const 0) ) (unreachable) @@ -36260,7 +40601,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 2098) (i32.const 0) ) (unreachable) @@ -36279,7 +40620,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 2099) (i32.const 0) ) (unreachable) @@ -36298,7 +40639,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 2100) (i32.const 0) ) (unreachable) @@ -36317,7 +40658,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1924) + (i32.const 2103) (i32.const 0) ) (unreachable) @@ -36336,7 +40677,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 2104) (i32.const 0) ) (unreachable) @@ -36355,7 +40696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 2105) (i32.const 0) ) (unreachable) @@ -36376,7 +40717,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 2106) (i32.const 0) ) (unreachable) @@ -36395,7 +40736,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 2107) (i32.const 0) ) (unreachable) @@ -36414,7 +40755,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1937) + (i32.const 2116) (i32.const 0) ) (unreachable) @@ -36433,7 +40774,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 2117) (i32.const 0) ) (unreachable) @@ -36452,7 +40793,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 2118) (i32.const 0) ) (unreachable) @@ -36471,7 +40812,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 2119) (i32.const 0) ) (unreachable) @@ -36490,7 +40831,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 2120) (i32.const 0) ) (unreachable) @@ -36509,7 +40850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 2121) (i32.const 0) ) (unreachable) @@ -36528,7 +40869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 2122) (i32.const 0) ) (unreachable) @@ -36547,7 +40888,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 2123) (i32.const 0) ) (unreachable) @@ -36566,7 +40907,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 2124) (i32.const 0) ) (unreachable) @@ -36585,7 +40926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 2125) (i32.const 0) ) (unreachable) @@ -36604,7 +40945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1949) + (i32.const 2128) (i32.const 0) ) (unreachable) @@ -36623,7 +40964,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 2129) (i32.const 0) ) (unreachable) @@ -36642,7 +40983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 2130) (i32.const 0) ) (unreachable) @@ -36663,7 +41004,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 2131) (i32.const 0) ) (unreachable) @@ -36682,7 +41023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 2132) (i32.const 0) ) (unreachable) diff --git a/tests/compiler/std/mod.optimized.wat b/tests/compiler/std/mod.optimized.wat new file mode 100644 index 0000000000..05781836fd --- /dev/null +++ b/tests/compiler/std/mod.optimized.wat @@ -0,0 +1,3294 @@ +(module + (type $FFFi (func (param f64 f64 f64) (result i32))) + (type $FFF (func (param f64 f64) (result f64))) + (type $FFi (func (param f64 f64) (result i32))) + (type $iiiiv (func (param i32 i32 i32 i32))) + (type $fffi (func (param f32 f32 f32) (result i32))) + (type $fff (func (param f32 f32) (result f32))) + (type $ffi (func (param f32 f32) (result i32))) + (type $v (func)) + (import "JSOp" "mod" (func $std/mod/JSOp.mod (param f64 f64) (result f64))) + (import "env" "abort" (func $abort (param i32 i32 i32 i32))) + (memory $0 1) + (data (i32.const 4) "\n\00\00\00s\00t\00d\00/\00m\00o\00d\00.\00t\00s") + (export "memory" (memory $0)) + (start $start) + (func "$(lib)/math/NativeMath.mod" (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i64) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (block $folding-inner0 + (set_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $5 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i64.eq + (i64.shl + (get_local $5) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $7) + (f64.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) + ) + (i32.const 1) + ) + ) + (get_local $7) + (i32.eq + (get_local $3) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (set_local $2 + (if (result i64) + (get_local $3) + (i64.or + (i64.and + (get_local $2) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $2) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) + ) + ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i64) + (get_local $6) + (i64.or + (i64.and + (get_local $5) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $5) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i64.shl + (get_local $5) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $3) + (get_local $6) + ) + (block + (if + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) + ) + ) + (i64.const 63) + ) + ) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) + ) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) + ) + ) + (i64.const 63) + ) + ) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) + ) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (loop $continue|3 + (if + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f64.reinterpret/i64 + (i64.or + (tee_local $2 + (select + (i64.or + (i64.sub + (get_local $2) + (i64.const 4503599627370496) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $3) + ) + (i64.const 52) + ) + ) + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + ) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + ) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) + ) + (i64.const 63) + ) + ) + ) + ) + ) + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + (func $std/mod/check (; 3 ;) (type $FFi) (param $0 f64) (param $1 f64) (result i32) + (local $2 f64) + (if + (f64.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + (return + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + ) + (if + (f64.eq + (get_local $1) + (f64.const 0) + ) + (return + (f64.eq + (f64.div + (f64.const 1) + (get_local $1) + ) + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (f64.eq + (get_local $0) + (get_local $1) + ) + ) + (func $std/mod/test_fmod (; 4 ;) (type $FFFi) (param $0 f64) (param $1 f64) (param $2 f64) (result i32) + (local $3 i32) + (i32.and + (if (result i32) + (tee_local $3 + (call $std/mod/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + (if (result i32) + (tee_local $3 + (i32.const 0) + ) + (get_local $3) + (call $std/mod/check + (call $std/mod/JSOp.mod + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + (get_local $3) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (block $folding-inner0 + (set_local $4 + (i32.and + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.and + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (get_local $3) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $3) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (set_local $2 + (if (result i32) + (get_local $4) + (i32.or + (i32.and + (get_local $2) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i32.shl + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $5) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i32.shl + (get_local $5) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $6) + ) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f32.reinterpret/i32 + (i32.or + (tee_local $2 + (select + (i32.or + (i32.sub + (get_local $2) + (i32.const 8388608) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + (i32.shr_u + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + ) + ) + (get_local $8) + ) + ) + ) + ) + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + (func $std/mod/check (; 6 ;) (type $ffi) (param $0 f32) (param $1 f32) (result i32) + (local $2 f32) + (if + (f32.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + (return + (f32.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + ) + (if + (f32.eq + (get_local $1) + (f32.const 0) + ) + (return + (f32.eq + (f32.div + (f32.const 1) + (get_local $1) + ) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (f32.eq + (get_local $0) + (get_local $1) + ) + ) + (func $std/mod/test_fmodf (; 7 ;) (type $fffi) (param $0 f32) (param $1 f32) (param $2 f32) (result i32) + (call $std/mod/check + (call "$(lib)/math/NativeMathf.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + (func $start (; 8 ;) (type $v) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const 2) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 21) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const -2) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 22) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const 2) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 23) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const -2) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 24) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3.5) + (f64.const 2) + (f64.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 25) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3.5) + (f64.const -2) + (f64.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 26) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3.5) + (f64.const 2) + (f64.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 27) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3.5) + (f64.const -2) + (f64.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 28) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const 2.5) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 29) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const -2.5) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 30) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const 2.5) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 31) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const -2.5) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 32) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 33) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 34) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 35) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 36) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 37) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 38) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 39) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 40) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.25) + (f64.const 1) + (f64.const 0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 41) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.25) + (f64.const -1) + (f64.const 0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 42) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.25) + (f64.const 1) + (f64.const -0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 43) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.25) + (f64.const -1) + (f64.const -0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 44) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const 1.25) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 45) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const -1.25) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 46) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const 1.25) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 47) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const -1.25) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 48) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -13) + (f64.const 64) + (f64.const -13) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 49) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 52) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 53) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 54) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 55) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const 1) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 56) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const 1) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 57) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const -1) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 58) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const -1) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 59) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 60) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 61) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 62) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 63) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 64) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 65) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 66) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 67) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 68) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 69) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 70) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 71) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 72) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const inf) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 73) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const inf) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 74) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const -inf) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 75) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const -inf) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 76) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const inf) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 77) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const inf) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 78) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const -inf) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 79) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const -inf) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 80) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 81) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 82) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 83) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 91) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 92) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 93) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 94) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 95) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 96) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const 2) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const -2) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const 2) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const -2) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3.5) + (f32.const 2) + (f32.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 109) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3.5) + (f32.const -2) + (f32.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3.5) + (f32.const 2) + (f32.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3.5) + (f32.const -2) + (f32.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const 2.5) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const -2.5) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const 2.5) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const -2.5) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 134) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 137) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const inf) + (f32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const inf) + (f32.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const -inf) + (f32.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const inf) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const inf) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const -inf) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const -inf) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const -inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const -inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + ) +) diff --git a/tests/compiler/std/mod.ts b/tests/compiler/std/mod.ts new file mode 100644 index 0000000000..9328f6160b --- /dev/null +++ b/tests/compiler/std/mod.ts @@ -0,0 +1,167 @@ +const js = true; + +declare namespace JSOp { + export function mod(x: f64, y: f64): f64; +} + +function check(actual: T, expected: T): bool { + if (isNaN(expected)) return isNaN(actual); + if (expected == 0) return 1 / expected == 1 / actual; + return actual == expected; +} + +// === f64 % f64 ================================ + +function test_fmod(left: f64, right: f64, expected: f64): bool { + return check( left % right , expected) && + (!js || check(JSOp.mod(left , right), expected)); +} + +// sanity +assert(test_fmod(3.0, 2.0, 1.0)); +assert(test_fmod(3.0, -2.0, 1.0)); +assert(test_fmod(-3.0, 2.0, -1.0)); +assert(test_fmod(-3.0, -2.0, -1.0)); +assert(test_fmod(3.5, 2.0, 1.5)); +assert(test_fmod(3.5, -2.0, 1.5)); +assert(test_fmod(-3.5, 2.0, -1.5)); +assert(test_fmod(-3.5, -2.0, -1.5)); +assert(test_fmod(3.0, 2.5, 0.5)); +assert(test_fmod(3.0, -2.5, 0.5)); +assert(test_fmod(-3.0, 2.5, -0.5)); +assert(test_fmod(-3.0, -2.5, -0.5)); +assert(test_fmod(0.5, 1.0, 0.5)); +assert(test_fmod(0.5, -1.0, 0.5)); +assert(test_fmod(-0.5, 1.0, -0.5)); +assert(test_fmod(-0.5, -1.0, -0.5)); +assert(test_fmod(1.5, 1.0, 0.5)); +assert(test_fmod(1.5, -1.0, 0.5)); +assert(test_fmod(-1.5, 1.0, -0.5)); +assert(test_fmod(-1.5, -1.0, -0.5)); +assert(test_fmod(1.25, 1.0, 0.25)); +assert(test_fmod(1.25, -1.0, 0.25)); +assert(test_fmod(-1.25, 1.0, -0.25)); +assert(test_fmod(-1.25, -1.0, -0.25)); +assert(test_fmod(1.0, 1.25, 1.0)); +assert(test_fmod(1.0, -1.25, 1.0)); +assert(test_fmod(-1.0, 1.25, -1.0)); +assert(test_fmod(-1.0, -1.25, -1.0)); +assert(test_fmod(-13, 64, -13)); + +// special +assert(test_fmod(0.0, 0.0, NaN)); +assert(test_fmod(-0.0, 0.0, NaN)); +assert(test_fmod(0.0, -0.0, NaN)); +assert(test_fmod(-0.0, -0.0, NaN)); +assert(test_fmod(0.0, 1.0, 0.0)); +assert(test_fmod(-0.0, 1.0, -0.0)); +assert(test_fmod(0.0, -1.0, 0.0)); +assert(test_fmod(-0.0, -1.0, -0.0)); +assert(test_fmod(1.0, 0.0, NaN)); +assert(test_fmod(-1.0, 0.0, NaN)); +assert(test_fmod(1.0, -0.0, NaN)); +assert(test_fmod(-1.0, -0.0, NaN)); +assert(test_fmod(NaN, 0.0, NaN)); +assert(test_fmod(NaN, -0.0, NaN)); +assert(test_fmod(NaN, 1.0, NaN)); +assert(test_fmod(NaN, -1.0, NaN)); +assert(test_fmod(NaN, 0.0, NaN)); +assert(test_fmod(NaN, -0.0, NaN)); +assert(test_fmod(NaN, 1.0, NaN)); +assert(test_fmod(NaN, -1.0, NaN)); +assert(test_fmod(NaN, NaN, NaN)); +assert(test_fmod(0.0, Infinity, 0.0)); +assert(test_fmod(-0.0, Infinity, -0.0)); +assert(test_fmod(0.0, -Infinity, 0.0)); +assert(test_fmod(-0.0, -Infinity, -0.0)); +assert(test_fmod(1.0, Infinity, 1.0)); +assert(test_fmod(-1.0, Infinity, -1.0)); +assert(test_fmod(1.0, -Infinity, 1.0)); +assert(test_fmod(-1.0, -Infinity, -1.0)); +assert(test_fmod(Infinity, 0.0, NaN)); +assert(test_fmod(Infinity, -0.0, NaN)); +assert(test_fmod(-Infinity, 0.0, NaN)); +assert(test_fmod(-Infinity, -0.0, NaN)); +assert(test_fmod(Infinity, 1.0, NaN)); +assert(test_fmod(Infinity, -1.0, NaN)); +assert(test_fmod(-Infinity, 1.0, NaN)); +assert(test_fmod(-Infinity, -1.0, NaN)); +assert(test_fmod(Infinity, Infinity, NaN)); +assert(test_fmod(-Infinity, Infinity, NaN)); +assert(test_fmod(Infinity, -Infinity, NaN)); +assert(test_fmod(-Infinity, -Infinity, NaN)); +assert(test_fmod(Infinity, NaN, NaN)); +assert(test_fmod(-Infinity, NaN, NaN)); +assert(test_fmod(NaN, Infinity, NaN)); +assert(test_fmod(NaN, -Infinity, NaN)); + +// === f32 % f32 ================================ + +function test_fmodf(left: f32, right: f32, expected: f32): bool { + return check(left % right, expected); +} + +// sanity +assert(test_fmodf(3.0, 2.0, 1.0)); +assert(test_fmodf(3.0, -2.0, 1.0)); +assert(test_fmodf(-3.0, 2.0, -1.0)); +assert(test_fmodf(-3.0, -2.0, -1.0)); +assert(test_fmodf(3.5, 2.0, 1.5)); +assert(test_fmodf(3.5, -2.0, 1.5)); +assert(test_fmodf(-3.5, 2.0, -1.5)); +assert(test_fmodf(-3.5, -2.0, -1.5)); +assert(test_fmodf(3.0, 2.5, 0.5)); +assert(test_fmodf(3.0, -2.5, 0.5)); +assert(test_fmodf(-3.0, 2.5, -0.5)); +assert(test_fmodf(-3.0, -2.5, -0.5)); +assert(test_fmodf(0.5, 1.0, 0.5)); +assert(test_fmodf(0.5, -1.0, 0.5)); +assert(test_fmodf(-0.5, 1.0, -0.5)); +assert(test_fmodf(-0.5, -1.0, -0.5)); +assert(test_fmodf(1.5, 1.0, 0.5)); +assert(test_fmodf(1.5, -1.0, 0.5)); +assert(test_fmodf(-1.5, 1.0, -0.5)); +assert(test_fmodf(-1.5, -1.0, -0.5)); + +// special +assert(test_fmodf(0.0, 0.0, NaN)); +assert(test_fmodf(-0.0, 0.0, NaN)); +assert(test_fmodf(0.0, -0.0, NaN)); +assert(test_fmodf(-0.0, -0.0, NaN)); +assert(test_fmodf(1.0, 0.0, NaN)); +assert(test_fmodf(-1.0, 0.0, NaN)); +assert(test_fmodf(1.0, -0.0, NaN)); +assert(test_fmodf(-1.0, -0.0, NaN)); +assert(test_fmodf(NaN, 0.0, NaN)); +assert(test_fmodf(NaN, -0.0, NaN)); +assert(test_fmodf(NaN, 1.0, NaN)); +assert(test_fmodf(NaN, -1.0, NaN)); +assert(test_fmodf(NaN, 0.0, NaN)); +assert(test_fmodf(NaN, -0.0, NaN)); +assert(test_fmodf(NaN, 1.0, NaN)); +assert(test_fmodf(NaN, -1.0, NaN)); +assert(test_fmodf(NaN, NaN, NaN)); +assert(test_fmodf(0.0, Infinity, 0.0)); +assert(test_fmodf(-0.0, Infinity, -0.0)); +assert(test_fmodf(0.0, -Infinity, 0.0)); +assert(test_fmodf(-0.0, -Infinity, -0.0)); +assert(test_fmodf(1.0, Infinity, 1.0)); +assert(test_fmodf(-1.0, Infinity, -1.0)); +assert(test_fmodf(1.0, -Infinity, 1.0)); +assert(test_fmodf(-1.0, -Infinity, -1.0)); +assert(test_fmodf(Infinity, 0.0, NaN)); +assert(test_fmodf(Infinity, -0.0, NaN)); +assert(test_fmodf(-Infinity, 0.0, NaN)); +assert(test_fmodf(-Infinity, -0.0, NaN)); +assert(test_fmodf(Infinity, 1.0, NaN)); +assert(test_fmodf(Infinity, -1.0, NaN)); +assert(test_fmodf(-Infinity, 1.0, NaN)); +assert(test_fmodf(-Infinity, -1.0, NaN)); +assert(test_fmodf(Infinity, Infinity, NaN)); +assert(test_fmodf(-Infinity, Infinity, NaN)); +assert(test_fmodf(Infinity, -Infinity, NaN)); +assert(test_fmodf(-Infinity, -Infinity, NaN)); +assert(test_fmodf(Infinity, NaN, NaN)); +assert(test_fmodf(-Infinity, NaN, NaN)); +assert(test_fmodf(NaN, Infinity, NaN)); +assert(test_fmodf(NaN, -Infinity, NaN)); diff --git a/tests/compiler/std/mod.untouched.wat b/tests/compiler/std/mod.untouched.wat new file mode 100644 index 0000000000..66ee81f5c1 --- /dev/null +++ b/tests/compiler/std/mod.untouched.wat @@ -0,0 +1,3534 @@ +(module + (type $FFFi (func (param f64 f64 f64) (result i32))) + (type $FFF (func (param f64 f64) (result f64))) + (type $FFi (func (param f64 f64) (result i32))) + (type $i (func (result i32))) + (type $iiiiv (func (param i32 i32 i32 i32))) + (type $fffi (func (param f32 f32 f32) (result i32))) + (type $fff (func (param f32 f32) (result f32))) + (type $ffi (func (param f32 f32) (result i32))) + (type $v (func)) + (import "JSOp" "mod" (func $std/mod/JSOp.mod (param f64 f64) (result f64))) + (import "env" "abort" (func $abort (param i32 i32 i32 i32))) + (global $std/mod/js i32 (i32.const 1)) + (global $HEAP_BASE i32 (i32.const 28)) + (memory $0 1) + (data (i32.const 4) "\n\00\00\00s\00t\00d\00/\00m\00o\00d\00.\00t\00s\00") + (export "memory" (memory $0)) + (start $start) + (func "$(lib)/math/NativeMath.mod" (; 2 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f64) + (local $8 i32) + (local $9 i64) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $8) + (f64.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (block + (if + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i64.shl + (get_local $2) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $2 + (i64.and + (get_local $2) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i64.shl + (get_local $3) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $3 + (i64.and + (get_local $3) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $3 + (i64.or + (get_local $3) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (if + (i64.eqz + (get_local $9) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + ) + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (if + (i64.eqz + (get_local $9) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i64.sub + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $4) + ) + (i64.const 52) + ) + ) + ) + ) + (set_local $2 + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 63) + ) + ) + ) + (return + (f64.reinterpret/i64 + (get_local $2) + ) + ) + ) + (func $std/mod/check (; 3 ;) (type $FFi) (param $0 f64) (param $1 f64) (result i32) + (local $2 f64) + (if + (f64.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + (return + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + ) + (if + (f64.eq + (get_local $1) + (f64.const 0) + ) + (return + (f64.eq + (f64.div + (f64.convert_u/i32 + (i32.const 1) + ) + (get_local $1) + ) + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) + ) + (return + (f64.eq + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/mod/test_fmod (; 4 ;) (type $FFFi) (param $0 f64) (param $1 f64) (param $2 f64) (result i32) + (local $3 i32) + (return + (i32.and + (if (result i32) + (tee_local $3 + (call $std/mod/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $3) + (call $std/mod/check + (call $std/mod/JSOp.mod + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + (get_local $3) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 i32) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $8) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) + ) + ) + (i32.const 1) + ) + ) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (block + (if + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $2 + (i32.and + (get_local $2) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $9 + (i32.shl + (get_local $3) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $3 + (i32.and + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $3 + (i32.or + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (set_local $2 + (i32.or + (get_local $2) + (get_local $6) + ) + ) + (return + (f32.reinterpret/i32 + (get_local $2) + ) + ) + ) + (func $std/mod/check (; 6 ;) (type $ffi) (param $0 f32) (param $1 f32) (result i32) + (local $2 f32) + (if + (f32.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + (return + (f32.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + ) + (if + (f32.eq + (get_local $1) + (f32.const 0) + ) + (return + (f32.eq + (f32.div + (f32.convert_u/i32 + (i32.const 1) + ) + (get_local $1) + ) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (return + (f32.eq + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/mod/test_fmodf (; 7 ;) (type $fffi) (param $0 f32) (param $1 f32) (param $2 f32) (result i32) + (return + (call $std/mod/check + (call "$(lib)/math/NativeMathf.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + ) + ) + ) + (func $start (; 8 ;) (type $v) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const 2) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 21) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const -2) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 22) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const 2) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 23) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const -2) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 24) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3.5) + (f64.const 2) + (f64.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 25) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3.5) + (f64.const -2) + (f64.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 26) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3.5) + (f64.const 2) + (f64.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 27) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3.5) + (f64.const -2) + (f64.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 28) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const 2.5) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 29) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 3) + (f64.const -2.5) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 30) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const 2.5) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 31) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -3) + (f64.const -2.5) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 32) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 33) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 34) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 35) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 36) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 37) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 38) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 39) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 40) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.25) + (f64.const 1) + (f64.const 0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 41) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1.25) + (f64.const -1) + (f64.const 0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 42) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.25) + (f64.const 1) + (f64.const -0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 43) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1.25) + (f64.const -1) + (f64.const -0.25) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 44) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const 1.25) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 45) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const -1.25) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 46) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const 1.25) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 47) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const -1.25) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 48) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -13) + (f64.const 64) + (f64.const -13) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 49) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 52) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 53) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 54) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 55) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const 1) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 56) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const 1) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 57) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const -1) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 58) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const -1) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 59) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 60) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 61) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 62) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 63) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 64) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 65) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 66) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 67) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 68) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 69) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 70) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 71) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 72) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.const inf) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 73) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.const inf) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 74) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 75) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 76) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.const inf) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 77) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.const inf) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 78) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 79) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 80) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 81) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 82) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 83) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 84) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 85) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 86) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 87) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 88) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 89) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 90) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 91) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 92) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 93) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 94) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 95) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmod + (f64.const nan:0x8000000000000) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 96) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const 2) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 105) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const -2) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 106) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const 2) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 107) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const -2) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 108) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3.5) + (f32.const 2) + (f32.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 109) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3.5) + (f32.const -2) + (f32.const 1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3.5) + (f32.const 2) + (f32.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3.5) + (f32.const -2) + (f32.const -1.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const 2.5) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 3) + (f32.const -2.5) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const 2.5) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -3) + (f32.const -2.5) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 134) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 137) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.const inf) + (f32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.const inf) + (f32.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.const inf) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.const inf) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const -1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 154) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 155) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/mod/test_fmodf + (f32.const nan:0x400000) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + ) +) From ac4065c02e6c87cec732a5cfeac34faaa7bf92e3 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 30 Mar 2018 13:55:49 +0200 Subject: [PATCH 4/5] Additional tests --- NOTICE | 247 +- scripts/hexfloat.html | 11 +- std/assembly/math.ts | 36 +- tests/compiler/std/libm.optimized.wat | 113 +- tests/compiler/std/libm.untouched.wat | 128 +- tests/compiler/std/math.optimized.wat | 46064 +++++++++++++-------- tests/compiler/std/math.ts | 2236 +- tests/compiler/std/math.untouched.wat | 50482 ++++++++++++++++-------- 8 files changed, 65770 insertions(+), 33547 deletions(-) diff --git a/NOTICE b/NOTICE index be312e1b8a..adaa69cb8c 100644 --- a/NOTICE +++ b/NOTICE @@ -1,39 +1,248 @@ Copyright (c) 2017-2018 AssemblyScript authors. The following authors have all licensed their contributions to AssemblyScript -under the licensing terms detailed in LICENSE. +under the licensing terms detailed in LICENSE: * Daniel Wirtz * Max Graey * Igor Sbitnev * Norton Wang -================================================================================ +Portions of this software are derived from third-party works licensed under +the following terms: -This program includes parts of TypeScript: - - https://github.com/Microsoft/TypeScript +* TypeScript: https://github.com/Microsoft/TypeScript Copyright (c) Microsoft Corporation. All rights reserved. - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 + Apache License, Version 2.0 (see LICENSE file) -================================================================================ +* Binaryen: https://github.com/WebAssembly/binaryen -This program includes parts of Binaryen: + Copyright 2015 WebAssembly Community Group participants + Apache License, Version 2.0 (see LICENSE file) - https://github.com/WebAssembly/binaryen +* musl: http://www.musl-libc.org - Copyright 2015 WebAssembly Community Group participants - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 + musl as a whole is licensed under the following standard MIT license: -================================================================================ + ---------------------------------------------------------------------- + Copyright © 2005-2014 Rich Felker, et al. -This program includes parts of musl: + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: - http://www.musl-libc.org + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. - Copyright © 2005-2014 Rich Felker, et al. - MIT License - https://opensource.org/licenses/MIT + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + ---------------------------------------------------------------------- + + Authors/contributors include: + + Alex Dowad + Alexander Monakov + Anthony G. Basile + Arvid Picciani + Bobby Bingham + Boris Brezillon + Brent Cook + Chris Spiegel + Clément Vasseur + Daniel Micay + Denys Vlasenko + Emil Renner Berthing + Felix Fietkau + Felix Janda + Gianluca Anzolin + Hauke Mehrtens + Hiltjo Posthuma + Isaac Dunham + Jaydeep Patil + Jens Gustedt + Jeremy Huntwork + Jo-Philipp Wich + Joakim Sindholt + John Spencer + Josiah Worcester + Justin Cormack + Khem Raj + Kylie McClain + Luca Barbato + Luka Perkov + M Farkas-Dyck (Strake) + Mahesh Bodapati + Michael Forney + Natanael Copa + Nicholas J. Kain + orc + Pascal Cuoq + Petr Hosek + Pierre Carrier + Rich Felker + Richard Pennington + Shiz + sin + Solar Designer + Stefan Kristiansson + Szabolcs Nagy + Timo Teräs + Trutz Behn + Valentin Ochs + William Haddon + + Portions of this software are derived from third-party works licensed + under terms compatible with the above MIT license: + + The TRE regular expression implementation (src/regex/reg* and + src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed + under a 2-clause BSD license (license text in the source files). The + included version has been heavily modified by Rich Felker in 2012, in + the interests of size, simplicity, and namespace cleanliness. + + Much of the math library code (src/math/* and src/complex/*) is + Copyright © 1993,2004 Sun Microsystems or + Copyright © 2003-2011 David Schultz or + Copyright © 2003-2009 Steven G. Kargl or + Copyright © 2003-2009 Bruce D. Evans or + Copyright © 2008 Stephen L. Moshier + and labelled as such in comments in the individual source files. All + have been licensed under extremely permissive terms. + + The ARM memcpy code (src/string/arm/memcpy_el.S) is Copyright © 2008 + The Android Open Source Project and is licensed under a two-clause BSD + license. It was taken from Bionic libc, used on Android. + + The implementation of DES for crypt (src/crypt/crypt_des.c) is + Copyright © 1994 David Burren. It is licensed under a BSD license. + + The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was + originally written by Solar Designer and placed into the public + domain. The code also comes with a fallback permissive license for use + in jurisdictions that may not recognize the public domain. + + The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011 + Valentin Ochs and is licensed under an MIT-style license. + + The BSD PRNG implementation (src/prng/random.c) and XSI search API + (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and + licensed under following terms: "Permission to use, copy, modify, + and/or distribute this code for any purpose with or without fee is + hereby granted. There is no warranty." + + The x86_64 port was written by Nicholas J. Kain and is licensed under + the standard MIT terms. + + The mips and microblaze ports were originally written by Richard + Pennington for use in the ellcc project. The original code was adapted + by Rich Felker for build system and code conventions during upstream + integration. It is licensed under the standard MIT terms. + + The mips64 port was contributed by Imagination Technologies and is + licensed under the standard MIT terms. + + The powerpc port was also originally written by Richard Pennington, + and later supplemented and integrated by John Spencer. It is licensed + under the standard MIT terms. + + All other files which have no copyright comments are original works + produced specifically for use as part of this library, written either + by Rich Felker, the main author of the library, or by one or more + contibutors listed above. Details on authorship of individual files + can be found in the git version control history of the project. The + omission of copyright and license comments in each file is in the + interest of source tree size. + + In addition, permission is hereby granted for all public header files + (include/* and arch/*/bits/*) and crt files intended to be linked into + applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit + the copyright notice and permission notice otherwise required by the + license, and to use these files without any requirement of + attribution. These files include substantial contributions from: + + Bobby Bingham + John Spencer + Nicholas J. Kain + Rich Felker + Richard Pennington + Stefan Kristiansson + Szabolcs Nagy + + all of whom have explicitly granted such permission. + + This file previously contained text expressing a belief that most of + the files covered by the above exception were sufficiently trivial not + to be subject to copyright, resulting in confusion over whether it + negated the permissions granted in the license. In the spirit of + permissive licensing, and of not having licensing issues being an + obstacle to adoption, that text has been removed. + +* V8: https://developers.google.com/v8/ + + This license applies to all parts of V8 that are not externally + maintained libraries. The externally maintained libraries used by V8 + are: + + - PCRE test suite, located in + test/mjsunit/third_party/regexp-pcre/regexp-pcre.js. This is based on the + test suite from PCRE-7.3, which is copyrighted by the University + of Cambridge and Google, Inc. The copyright notice and license + are embedded in regexp-pcre.js. + + - Layout tests, located in test/mjsunit/third_party/object-keys. These are + based on layout tests from webkit.org which are copyrighted by + Apple Computer, Inc. and released under a 3-clause BSD license. + + - Strongtalk assembler, the basis of the files assembler-arm-inl.h, + assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, + assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, + assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, + assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. + This code is copyrighted by Sun Microsystems Inc. and released + under a 3-clause BSD license. + + - Valgrind client API header, located at third_party/valgrind/valgrind.h + This is release under the BSD license. + + These libraries have their own licenses; we recommend you read them, + as their terms may differ from the terms below. + + Further license information can be found in LICENSE files located in + sub-directories. + + Copyright 2014, the V8 project authors. All rights reserved. + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/scripts/hexfloat.html b/scripts/hexfloat.html index 733f899a0e..d53fdb685b 100644 --- a/scripts/hexfloat.html +++ b/scripts/hexfloat.html @@ -10,7 +10,8 @@

Hexadecimal float to decimal float converter

- + +

@@ -21,17 +22,19 @@

Hexadecimal float to decimal float converter

diff --git a/std/assembly/math.ts b/std/assembly/math.ts index 79a282e94b..a29aae4dfc 100644 --- a/std/assembly/math.ts +++ b/std/assembly/math.ts @@ -1034,7 +1034,7 @@ export namespace NativeMath { } export function random(): f64 { // see: v8/src/base/random-number-generator.cc - if (!random_seeded) unreachable(); + if (!random_seeded) throw new Error("PRNG must be seeded."); var s1 = random_state0; var s0 = random_state1; random_state0 = s0; @@ -1047,8 +1047,20 @@ export namespace NativeMath { return reinterpret(r) - 1; } - export function round(x: f64): f64 { - return builtin_nearest(x); + export function round(x: f64): f64 { // see: musl/src/math/round.c + const toint = 1.0 / f64.EPSILON; + var ux = reinterpret(x); + var e = (ux >> 52 & 0x7ff); + var y: f64; + if (e >= 0x3FF + 52) return x; + if (ux >> 63) x = -x; + if (e < 0x3FF - 1) return 0 * reinterpret(ux); + y = x + toint - toint - x; + if (y > 0.5) y = y + x - 1; + else if (y <= -0.5) y = y + x + 1; + else y = y + x; + if (ux >> 63) y = -y; + return y; } export function sign(x: f64): f64 { @@ -2128,8 +2140,20 @@ export namespace NativeMathf { return NativeMath.random(); } - export function round(x: f32): f32 { - return builtin_nearest(x); + export function round(x: f32): f32 { // see: musl/src/math/roundf.c + const toint = 1.0 / f32.EPSILON; + var ux = reinterpret(x); + var e = (ux >> 23 & 0xff); + var y: f32; + if (e >= 0x7F + 23) return x; + if (ux >> 31) x = -x; + if (e < 0x7F - 1) return 0 * reinterpret(ux); + y = x + toint - toint - x; + if (y > 0.5) y = y + x - 1; + else if (y <= -0.5) y = y + x + 1; + else y = y + x; + if (ux >> 31) y = -y; + return y; } export function sign(x: f32): f32 { @@ -2358,3 +2382,5 @@ function murmurHash3(h: u64): u64 { h ^= h >> 33; return h; } + +declare function logf(f: f64): void; \ No newline at end of file diff --git a/tests/compiler/std/libm.optimized.wat b/tests/compiler/std/libm.optimized.wat index 5cddb134a2..4b31e71dbf 100644 --- a/tests/compiler/std/libm.optimized.wat +++ b/tests/compiler/std/libm.optimized.wat @@ -5616,9 +5616,118 @@ ) ) (func "$(lib)/math/NativeMath.round" (; 55 ;) (type $FF) (param $0 f64) (result f64) - (f64.nearest - (get_local $0) + (local $1 f64) + (local $2 i64) + (local $3 i32) + (if + (i32.ge_s + (tee_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (i32.const 1075) + ) + (return + (get_local $0) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $0 + (f64.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 1022) + ) + (return + (f64.mul + (f64.const 0) + (f64.reinterpret/i64 + (get_local $2) + ) + ) + ) + ) + (set_local $1 + (if (result f64) + (f64.gt + (tee_local $1 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) + (get_local $0) + ) + ) + (f64.const 0.5) + ) + (f64.sub + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (select + (f64.add + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.le + (get_local $1) + (f64.const -0.5) + ) + ) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $1 + (f64.neg + (get_local $1) + ) + ) ) + (get_local $1) ) (func $std/libm/round (; 56 ;) (type $FF) (param $0 f64) (result f64) (call "$(lib)/math/NativeMath.round" diff --git a/tests/compiler/std/libm.untouched.wat b/tests/compiler/std/libm.untouched.wat index f09bb58946..88ec2b629a 100644 --- a/tests/compiler/std/libm.untouched.wat +++ b/tests/compiler/std/libm.untouched.wat @@ -6648,11 +6648,135 @@ ) ) (func "$(lib)/math/NativeMath.round" (; 55 ;) (type $FF) (param $0 f64) (result f64) - (return - (f64.nearest + (local $1 i64) + (local $2 i32) + (local $3 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (nop) + (if + (i32.ge_s + (get_local $2) + (i32.add + (i32.const 1023) + (i32.const 52) + ) + ) + (return + (get_local $0) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $0 + (f64.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.sub + (i32.const 1023) + (i32.const 1) + ) + ) + (return + (f64.mul + (f64.const 0) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + ) + (set_local $3 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) (get_local $0) ) ) + (if + (f64.gt + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 + (f64.sub + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (if + (f64.le + (get_local $3) + (f64.const -0.5) + ) + (set_local $3 + (f64.add + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (get_local $0) + ) + ) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $3 + (f64.neg + (get_local $3) + ) + ) + ) + (return + (get_local $3) + ) ) (func $std/libm/round (; 56 ;) (type $FF) (param $0 f64) (result f64) (return diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index b4e8e882e4..4df8712f80 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -1,23 +1,24 @@ (module (type $F (func (result f64))) (type $iiiiv (func (param i32 i32 i32 i32))) + (type $f (func (result f32))) (type $FFFii (func (param f64 f64 f64 i32) (result i32))) (type $FFFF (func (param f64 f64 f64) (result f64))) (type $Fi (func (param f64) (result i32))) (type $FiF (func (param f64 i32) (result f64))) (type $Fv (func (param f64))) - (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) - (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) - (type $fif (func (param f32 i32) (result f32))) (type $fffii (func (param f32 f32 f32 i32) (result i32))) (type $ffff (func (param f32 f32 f32) (result f32))) (type $fi (func (param f32) (result i32))) + (type $fif (func (param f32 i32) (result f32))) + (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) + (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) + (type $FF (func (param f64) (result f64))) + (type $ff (func (param f32) (result f32))) (type $FFFFii (func (param f64 f64 f64 f64 i32) (result i32))) (type $FFF (func (param f64 f64) (result f64))) (type $ffffii (func (param f32 f32 f32 f32 i32) (result i32))) (type $fff (func (param f32 f32) (result f32))) - (type $FF (func (param f64) (result f64))) - (type $ff (func (param f32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) (type $v (func)) @@ -30,27 +31,35 @@ (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) - (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) (import "JSMath" "asin" (func $(lib)/math/JSMath.asin (param f64) (result f64))) (import "JSMath" "asinh" (func $(lib)/math/JSMath.asinh (param f64) (result f64))) (import "JSMath" "atan" (func $(lib)/math/JSMath.atan (param f64) (result f64))) + (import "JSMath" "atanh" (func $(lib)/math/JSMath.atanh (param f64) (result f64))) + (import "JSMath" "atan2" (func $(lib)/math/JSMath.atan2 (param f64 f64) (result f64))) (import "JSMath" "cbrt" (func $(lib)/math/JSMath.cbrt (param f64) (result f64))) + (import "JSMath" "ceil" (func $(lib)/math/JSMath.ceil (param f64) (result f64))) (import "JSMath" "cosh" (func $(lib)/math/JSMath.cosh (param f64) (result f64))) (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) (import "JSMath" "expm1" (func $(lib)/math/JSMath.expm1 (param f64) (result f64))) + (import "JSMath" "floor" (func $(lib)/math/JSMath.floor (param f64) (result f64))) (import "JSMath" "hypot" (func $(lib)/math/JSMath.hypot (param f64 f64) (result f64))) (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) + (import "JSMath" "max" (func $(lib)/math/JSMath.max (param f64 f64) (result f64))) + (import "JSMath" "min" (func $(lib)/math/JSMath.min (param f64 f64) (result f64))) + (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "pow" (func $(lib)/math/JSMath.pow (param f64 f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) + (import "JSMath" "sign" (func $(lib)/math/JSMath.sign (param f64) (result f64))) (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) + (import "JSMath" "trunc" (func $(lib)/math/JSMath.trunc (param f64) (result f64))) (global "$(lib)/math/random_seeded" (mut i32) (i32.const 0)) (global "$(lib)/math/random_state0" (mut i64) (i64.const 0)) (global "$(lib)/math/random_state1" (mut i64) (i64.const 0)) @@ -59,7 +68,7 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 23 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 31 ;) (type $Fi) (param $0 f64) (result i32) (i32.wrap/i64 (i64.shr_u (i64.reinterpret/f64 @@ -69,7 +78,7 @@ ) ) ) - (func $std/math/eulp (; 24 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 32 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i32) (if (i32.eqz @@ -99,7 +108,7 @@ (i32.const -1075) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 25 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 33 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (set_local $2 (get_local $0) @@ -213,7 +222,7 @@ ) ) ) - (func $std/math/ulperr (; 26 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 34 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (if @@ -314,7 +323,7 @@ (get_local $2) ) ) - (func $std/math/check (; 27 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 35 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) (if (f64.eq @@ -367,18 +376,43 @@ ) (i32.const 1) ) - (func $std/math/test_scalbn (; 28 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.scalbn" + (func $std/math/signbitf (; 36 ;) (type $fi) (param $0 f32) (result i32) + (i32.shr_u + (i32.reinterpret/f32 (get_local $0) - (get_local $1) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 31) + ) + ) + (func $std/math/eulpf (; 37 ;) (type $fi) (param $0 f32) (result i32) + (local $1 i32) + (if + (i32.eqz + (tee_local $1 + (i32.and + (i32.shr_u + (i32.reinterpret/f32 + (get_local $0) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.add + (get_local $1) + (i32.const -150) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 29 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 38 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (set_local $2 (get_local $0) @@ -490,43 +524,7 @@ ) ) ) - (func $std/math/signbitf (; 30 ;) (type $fi) (param $0 f32) (result i32) - (i32.shr_u - (i32.reinterpret/f32 - (get_local $0) - ) - (i32.const 31) - ) - ) - (func $std/math/eulpf (; 31 ;) (type $fi) (param $0 f32) (result i32) - (local $1 i32) - (if - (i32.eqz - (tee_local $1 - (i32.and - (i32.shr_u - (i32.reinterpret/f32 - (get_local $0) - ) - (i32.const 23) - ) - (i32.const 255) - ) - ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) - ) - ) - ) - (i32.add - (get_local $1) - (i32.const -150) - ) - ) - (func $std/math/ulperrf (; 32 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 39 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (if @@ -627,7 +625,7 @@ (get_local $2) ) ) - (func $std/math/check (; 33 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) (if (f32.eq @@ -682,7 +680,18 @@ ) (i32.const 1) ) - (func $std/math/test_scalbnf (; 34 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 41 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func $std/math/test_scalbnf (; 42 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" (get_local $0) @@ -693,1852 +702,1759 @@ (get_local $4) ) ) - (func "$(lib)/math/NativeMath.mod" (; 35 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i32) - (local $4 i64) - (local $5 i64) - (local $6 i32) - (local $7 i32) - (local $8 f64) - (block $folding-inner0 - (set_local $3 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $2 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 52) + (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) + (f64.abs + (get_local $0) + ) + ) + (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) ) - (i64.const 2047) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) - (set_local $6 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $5 - (i64.reinterpret/f64 - (get_local $1) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (f32.abs + (get_local $0) + ) + ) + (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (f64.div + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) + ) + ) ) ) - (i64.const 52) ) - (i64.const 2047) ) ) ) - (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i64.eq - (i64.shl - (get_local $5) - (i64.const 1) - ) - (i64.const 0) + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) ) ) - (get_local $7) - (f64.ne - (tee_local $8 - (get_local $1) - ) - (get_local $8) + ) + ) + ) + ) + ) + ) + ) + ) + (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 f64) + (local $4 i32) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 32) ) - (i32.const 1) ) ) - (get_local $7) - (i32.eq - (get_local $3) - (i32.const 2047) + (i32.const 2147483647) + ) + ) + (i32.const 1072693248) + ) + (block + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (i32.wrap/i64 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + ) + ) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.const 0) ) ) - (i32.const 1) ) (return (f64.div - (f64.mul + (f64.const 0) + (f64.sub (get_local $0) - (get_local $1) - ) - (f64.mul (get_local $0) - (get_local $1) ) ) ) ) - (if - (i64.le_u - (i64.shl + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1071644672) + ) + (block + (if + (i32.le_u (get_local $2) - (i64.const 1) + (i32.const 1012924416) ) - (i64.shl - (get_local $5) - (i64.const 1) + (return + (f64.const 1.5707963267948966) ) ) - (block - (br_if $folding-inner0 - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $5) - (i64.const 1) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) ) ) ) - (return - (get_local $0) - ) ) ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - ) + ) + (if + (i32.shr_u + (get_local $4) + (i32.const 31) ) - (set_local $2 - (if (result i64) - (get_local $3) - (i64.or - (i64.and - (get_local $2) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $2) - (i64.const 12) - ) - ) - (loop $continue|0 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) ) ) - (br $continue|0) ) ) - ) - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) ) + (f64.const 6.123233995736766e-17) ) ) ) ) ) - (set_local $5 - (if (result i64) - (get_local $6) - (i64.or + ) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.reinterpret/i64 (i64.and - (get_local $5) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $4 - (i64.shl - (get_local $5) - (i64.const 12) - ) - ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $4) - (i64.const 63) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $4 - (i64.shl - (get_local $4) - (i64.const 1) + (i64.reinterpret/f64 + (tee_local $1 + (f64.sqrt + (tee_local $0 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) + ) + (f64.const 0.5) + ) ) ) - (br $continue|1) ) ) + (i64.const -4294967296) ) - (i64.shl - (get_local $5) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $6) - ) + ) + ) + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $0) + ) + (get_local $1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.mul + (get_local $3) + (get_local $3) ) ) + (f64.add + (get_local $1) + (get_local $3) + ) ) ) ) - (loop $continue|2 - (if - (i32.gt_s - (get_local $3) - (get_local $6) - ) - (block - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) - (set_local $2 - (get_local $4) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (br $continue|2) - ) - ) - ) - (if - (i64.eqz - (i64.shr_u - (tee_local $4 - (i64.sub - (get_local $2) - (get_local $5) - ) - ) - (i64.const 63) - ) - ) - (block - (br_if $folding-inner0 - (i64.eqz - (get_local $4) - ) - ) - (set_local $2 - (get_local $4) - ) - ) - ) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - (return - (f64.reinterpret/i64 - (i64.or - (tee_local $2 - (select - (i64.or - (i64.sub - (get_local $2) - (i64.const 4503599627370496) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) - ) - (i64.const 52) - ) - ) - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $3) - ) - ) - ) - (i32.gt_s - (get_local $3) - (i32.const 0) - ) - ) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) - ) - (i64.const 63) - ) - ) - ) - ) - ) - (f64.mul - (f64.const 0) - (get_local $0) ) ) - (func $std/math/test_mod (; 36 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) + (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (i32.and (if (result i32) - (tee_local $5 + (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.mod" + (call "$(lib)/math/NativeMath.acos" (get_local $0) - (get_local $1) ) + (get_local $1) (get_local $2) (get_local $3) - (get_local $4) ) ) (if (result i32) - (tee_local $5 + (tee_local $4 (i32.const 0) ) - (get_local $5) + (get_local $4) (call $std/math/check - (call $std/math/JSOp.mod + (call "$(lib)/math/JSMath.acos" (get_local $0) - (get_local $1) ) + (get_local $1) (get_local $2) (get_local $3) - (get_local $4) ) ) - (get_local $5) + (get_local $4) ) (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.mod" (; 37 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (block $folding-inner0 - (set_local $4 - (i32.and - (i32.shr_u - (tee_local $2 - (i32.reinterpret/f32 + (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) + (f32.div + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul (get_local $0) + (f32.const -0.008656363002955914) ) ) - (i32.const 23) ) - (i32.const 255) ) ) - (set_local $6 - (i32.and - (i32.shr_u - (tee_local $5 + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) + ) + ) + ) + ) + (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 f32) + (local $4 i32) + (if + (i32.ge_u + (tee_local $2 + (i32.and + (tee_local $4 (i32.reinterpret/f32 - (get_local $1) + (get_local $0) ) ) - (i32.const 23) + (i32.const 2147483647) ) - (i32.const 255) ) + (i32.const 1065353216) ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.and - (if (result i32) - (tee_local $3 - (i32.eqz - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - ) - (get_local $3) - (f32.ne - (tee_local $7 - (get_local $1) - ) - (get_local $7) - ) - ) - (i32.const 1) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (return + (f32.const 3.141592502593994) ) ) - (get_local $3) - (i32.eq - (get_local $4) - (i32.const 255) + (return + (f32.const 0) ) ) - (i32.const 1) ) (return (f32.div - (f32.mul + (f32.const 0) + (f32.sub (get_local $0) - (get_local $1) - ) - (f32.mul (get_local $0) - (get_local $1) ) ) ) ) - (if - (i32.le_u - (i32.shl + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1056964608) + ) + (block + (if + (i32.le_u (get_local $2) - (i32.const 1) + (i32.const 847249408) ) - (i32.shl - (get_local $5) - (i32.const 1) + (return + (f32.const 1.570796251296997) ) ) - (block - (br_if $folding-inner0 - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $5) - (i32.const 1) + (return + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (get_local $0) + (f32.sub + (f32.const 7.549789415861596e-08) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) ) ) ) - (return - (get_local $0) - ) ) ) - (set_local $8 - (i32.and - (get_local $2) - (i32.const -2147483648) - ) + ) + (if + (i32.shr_u + (get_local $4) + (i32.const 31) ) - (set_local $2 - (if (result i32) - (get_local $4) - (i32.or - (i32.and - (get_local $2) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (block (result i32) - (set_local $3 - (i32.shl - (get_local $2) - (i32.const 9) - ) - ) - (loop $continue|0 - (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (return + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) ) ) - (br $continue|0) ) ) - ) - (i32.shl - (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) + ) + (get_local $1) + ) + (f32.const 7.549789415861596e-08) ) ) ) ) ) - (set_local $5 - (if (result i32) - (get_local $6) - (i32.or + ) + (f32.mul + (f32.const 2) + (f32.add + (tee_local $3 + (f32.reinterpret/i32 (i32.and - (get_local $5) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (block (result i32) - (set_local $3 - (i32.shl - (get_local $5) - (i32.const 9) - ) - ) - (loop $continue|1 - (if - (i32.eqz - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.const 1) + (i32.reinterpret/f32 + (tee_local $1 + (f32.sqrt + (tee_local $0 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) ) ) - (br $continue|1) ) ) - ) - (i32.shl - (get_local $5) - (i32.sub - (i32.const 1) - (get_local $6) - ) + (i32.const -4096) ) ) ) - ) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $6) - ) - (block - (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub - (get_local $2) - (get_local $5) - ) - ) - (i32.const 31) - ) - ) - (block - (br_if $folding-inner0 - (i32.eqz - (get_local $3) - ) - ) - (set_local $2 - (get_local $3) - ) - ) + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (get_local $1) + ) + (f32.div + (f32.sub + (get_local $0) + (f32.mul + (get_local $3) + (get_local $3) ) ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) + (f32.add + (get_local $1) + (get_local $3) ) - (br $continue|2) - ) - ) - ) - (if - (i32.eqz - (i32.shr_u - (tee_local $3 - (i32.sub - (get_local $2) - (get_local $5) - ) - ) - (i32.const 31) - ) - ) - (block - (br_if $folding-inner0 - (i32.eqz - (get_local $3) - ) - ) - (set_local $2 - (get_local $3) - ) - ) - ) - (loop $continue|3 - (if - (i32.eqz - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - (return - (f32.reinterpret/i32 - (i32.or - (tee_local $2 - (select - (i32.or - (i32.sub - (get_local $2) - (i32.const 8388608) - ) - (i32.shl - (get_local $4) - (i32.const 23) - ) - ) - (i32.shr_u - (get_local $2) - (i32.sub - (i32.const 1) - (get_local $4) - ) - ) - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - ) - ) - (get_local $8) ) ) ) ) - (f32.mul - (f32.const 0) - (get_local $0) - ) ) - (func $std/math/test_modf (; 38 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.mod" + (call "$(lib)/math/NativeMathf.acos" (get_local $0) - (get_local $1) ) + (get_local $1) (get_local $2) (get_local $3) - (get_local $4) ) ) - (func "$(lib)/math/NativeMath.rem" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) (local $2 i32) - (local $3 i64) - (local $4 i32) - (local $5 i64) + (local $3 i32) + (local $4 f64) + (local $5 f64) (local $6 i32) - (local $7 i32) - (local $8 i64) - (local $9 i64) - (local $10 f64) - (local $11 i32) + (local $7 i64) + (local $8 f64) (set_local $2 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $9 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 52) - ) - (i64.const 2047) - ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $8 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (i64.const 52) - ) - (i64.const 2047) - ) - ) + (i32.const 1) ) (if (i32.and (if (result i32) - (tee_local $4 - (i32.and - (if (result i32) - (tee_local $4 - (i64.eq - (i64.shl - (get_local $8) - (i64.const 1) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) - (i64.const 0) - ) - ) - (get_local $4) - (f64.ne - (tee_local $10 - (get_local $1) + (i64.const 32) ) - (get_local $10) ) ) - (i32.const 1) + (i32.const 1071284858) ) ) - (get_local $4) - (i32.eq - (get_local $2) - (i32.const 2047) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) ) ) (i32.const 1) ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) - (get_local $1) - ) - ) - ) - ) - (if - (i64.eq - (i64.shl - (get_local $9) - (i64.const 1) - ) - (i64.const 0) - ) - (return - (get_local $0) - ) - ) - (set_local $3 - (get_local $9) - ) - (set_local $3 - (if (result i64) - (get_local $2) - (i64.or - (i64.and + (block + (if + (i32.ge_u (get_local $3) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $5 - (i64.shl - (get_local $3) - (i64.const 12) - ) + (i32.const -1074790400) ) - (loop $continue|0 + (block (if - (i64.eq - (i64.shr_u - (get_local $5) - (i64.const 63) - ) - (i64.const 0) + (f64.eq + (get_local $0) + (f64.const -1) ) - (block - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) - ) - ) - (set_local $5 - (i64.shl - (get_local $5) - (i64.const 1) - ) + (return + (f64.div + (get_local $0) + (f64.const 0) ) - (br $continue|0) ) ) - ) - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $2) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) ) ) ) ) - ) - ) - (set_local $4 - (i32.wrap/i64 - (i64.shr_u - (get_local $8) - (i64.const 63) - ) - ) - ) - (set_local $8 - (if (result i64) - (get_local $6) - (i64.or - (i64.and - (get_local $8) - (i64.const 4503599627370495) - ) - (i64.const 4503599627370496) - ) - (block (result i64) - (set_local $5 - (i64.shl - (get_local $8) - (i64.const 12) - ) - ) - (loop $continue|1 - (if - (i64.eq - (i64.shr_u - (get_local $5) - (i64.const 63) - ) - (i64.const 0) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $5 - (i64.shl - (get_local $5) - (i64.const 1) - ) - ) - (br $continue|1) - ) + (if + (i32.lt_u + (i32.shl + (get_local $3) + (i32.const 1) ) + (i32.const 2034237440) ) - (i64.shl - (get_local $8) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $6) - ) - ) + (return + (get_local $0) ) ) - ) - ) - (set_local $11 - (i32.wrap/i64 - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - ) - (block $break|2 - (loop $continue|2 (if - (i32.lt_s - (get_local $2) - (get_local $6) + (i32.le_u + (get_local $3) + (i32.const -1076707644) ) (block - (br_if $break|2 - (i32.eq - (i32.add - (get_local $2) - (i32.const 1) - ) - (get_local $6) - ) + (set_local $2 + (i32.const 0) ) - (return + (set_local $1 (get_local $0) ) ) ) - (loop $continue|3 - (if - (i32.gt_s - (get_local $2) - (get_local $6) - ) - (block - (if - (i64.eq - (i64.shr_u - (tee_local $5 - (i64.sub - (get_local $3) - (get_local $8) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $2) + (block + (set_local $5 + (if (result f64) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.const 614242) ) ) - (i64.const 63) + (i32.const 20) ) - (i64.const 0) + (i32.const 1023) ) - (block - (set_local $3 - (get_local $5) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) + ) + (i32.const 54) + ) + (f64.div + (select + (f64.sub + (f64.const 1) + (f64.sub + (tee_local $1 + (f64.reinterpret/i64 + (get_local $7) + ) ) + (get_local $0) ) ) - ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (set_local $7 - (i32.shl - (get_local $7) - (i32.const 1) + (f64.sub + (get_local $0) + (f64.sub + (get_local $1) + (f64.const 1) + ) ) - ) - (set_local $2 - (i32.sub + (i32.ge_s (get_local $2) - (i32.const 1) + (i32.const 2) ) ) - (br $continue|3) + (get_local $1) ) + (f64.const 0) ) ) - (if - (i64.eq - (i64.shr_u - (tee_local $5 - (i64.sub - (get_local $3) - (get_local $8) + (set_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $7) + (i64.const 4294967295) ) ) - (i64.const 63) ) - (i64.const 0) + (f64.const 1) ) - (block - (set_local $3 - (get_local $5) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) + ) + ) + ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $4 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) ) ) + (get_local $4) ) ) - (if - (i64.eq - (get_local $3) - (i64.const 0) - ) - (set_local $2 - (i32.const -60) - ) - (loop $continue|4 - (if - (i64.eq - (i64.shr_u - (get_local $3) - (i64.const 52) + (get_local $8) + ) + ) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $4) + (f64.add + (tee_local $4 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $1) + ) + (get_local $1) + ) ) - (i64.const 0) - ) - (block - (set_local $3 - (i64.shl - (get_local $3) - (i64.const 1) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) ) ) - (set_local $2 - (i32.sub + ) + ) + (f64.add + (f64.mul + (tee_local $0 + (f64.convert_s/i32 (get_local $2) - (i32.const 1) ) ) - (br $continue|4) + (f64.const 1.9082149292705877e-10) ) + (get_local $5) ) ) + (get_local $4) ) + (get_local $1) + ) + (f64.mul + (get_local $0) + (f64.const 0.6931471803691238) ) ) - (set_local $0 - (f64.reinterpret/i64 - (tee_local $3 - (select - (i64.or - (i64.sub - (get_local $3) - (i64.const 4503599627370496) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $2) + ) + (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i64) + (local $4 f64) + (local $5 i32) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) ) - (i64.const 52) ) + (i32.const 1048576) ) - (i64.shr_u + ) + (get_local $5) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (i32.const 1) + ) + (block + (if + (i64.eq + (i64.shl (get_local $3) - (i64.extend_u/i32 - (i32.sub - (i32.const 1) - (get_local $2) - ) - ) + (i64.const 1) ) - (i32.gt_s - (get_local $2) - (i32.const 0) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) ) ) ) - ) - ) - (if - (get_local $4) - (set_local $1 - (f64.neg - (get_local $1) - ) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.eq - (get_local $2) - (get_local $6) - ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) ) - (get_local $4) - (if (result i32) - (tee_local $4 - (i32.eq - (i32.add - (get_local $2) - (i32.const 1) - ) - (get_local $6) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) ) + (f64.const 0) ) - (if (result i32) - (tee_local $4 - (f64.gt + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 54) + ) + ) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 (f64.mul - (f64.const 2) (get_local $0) + (f64.const 18014398509481984) ) - (get_local $1) - ) - ) - (get_local $4) - (if (result i32) - (tee_local $4 - (f64.eq - (f64.mul - (f64.const 2) - (get_local $0) - ) - (get_local $1) - ) - ) - (i32.and - (get_local $7) - (i32.const 1) ) - (get_local $4) ) + (i64.const 32) ) - (get_local $4) ) ) - (i32.const 1) ) - (block - (set_local $0 - (f64.sub - (get_local $0) - (get_local $1) - ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2146435072) ) - (set_local $7 - (i32.add - (get_local $7) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $1) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $3) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $5) + ) (i32.const 1) ) + (return + (f64.const 0) + ) ) ) ) - (select - (f64.neg - (get_local $0) - ) - (get_local $0) - (get_local $11) - ) - ) - (func $std/math/test_rem (; 40 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMath.rem" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (func "$(lib)/math/NativeMathf.rem" (; 41 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 f32) - (local $9 i32) - (local $10 i32) - (set_local $3 - (i32.and - (i32.shr_u - (tee_local $5 - (i32.reinterpret/f32 - (get_local $0) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 614242) + ) ) + (i32.const 20) ) - (i32.const 23) + (i32.const 1023) ) - (i32.const 255) ) ) (set_local $6 - (i32.and - (i32.shr_u - (tee_local $7 - (i32.reinterpret/f32 - (get_local $1) + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $4 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (i64.const 32) + ) + (i64.and + (get_local $3) + (i64.const 4294967295) + ) + ) + ) + (f64.const 1) ) ) - (i32.const 23) ) - (i32.const 255) + (get_local $4) ) ) - (set_local $4 - (get_local $5) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $4) + (f64.add + (f64.const 2) + (get_local $4) + ) + ) + ) + (get_local $7) + ) + ) + (get_local $8) + ) ) - (if - (i32.and - (if (result i32) - (tee_local $2 - (i32.and - (if (result i32) - (tee_local $2 - (i32.eqz - (i32.shl - (get_local $7) - (i32.const 1) + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (f64.add + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $0) + (f64.const 0.14798198605116586) + ) + ) + ) + ) + ) ) ) - ) - (get_local $2) - (f32.ne - (tee_local $8 - (get_local $1) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $0) + (f64.const 0.15313837699209373) + ) + ) + ) + ) ) - (get_local $8) ) ) - (i32.const 1) + ) + (f64.mul + (f64.convert_s/i32 + (get_local $2) + ) + (f64.const 1.9082149292705877e-10) ) ) + (get_local $6) + ) + (get_local $4) + ) + (f64.mul + (f64.convert_s/i32 (get_local $2) - (i32.eq - (get_local $3) - (i32.const 255) + ) + (f64.const 0.6931471803691238) + ) + ) + ) + (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (if + (i64.lt_u + (tee_local $1 + (i64.and + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 52) + ) + (i64.const 2047) ) ) - (i32.const 1) + (i64.const 1024) ) (return - (f32.div - (f32.mul - (get_local $0) - (get_local $1) - ) - (f32.mul - (get_local $0) - (get_local $1) + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sqrt + (f64.add + (f64.mul + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + ) + ) ) ) ) ) (if - (i32.eqz - (i32.shl - (get_local $5) - (i32.const 1) - ) + (i64.lt_u + (get_local $1) + (i64.const 1049) ) (return - (get_local $0) - ) - ) - (set_local $4 - (if (result i32) - (get_local $3) - (i32.or - (i32.and - (get_local $4) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (block (result i32) - (set_local $2 - (i32.shl - (get_local $4) - (i32.const 9) + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) ) - ) - (loop $continue|0 - (if - (i32.eqz - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - ) - (block - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (f64.div + (f64.const 1) + (f64.add + (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) ) ) - (br $continue|0) ) ) ) - (i32.shl - (get_local $4) - (i32.sub - (i32.const 1) - (get_local $3) - ) - ) ) ) ) - (set_local $9 - (i32.shr_u - (get_local $7) - (i32.const 31) + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) ) + (f64.const 0.6931471805599453) ) - (set_local $7 + ) + (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and (if (result i32) - (get_local $6) - (i32.or - (i32.and - (get_local $7) - (i32.const 8388607) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (i32.const 8388608) ) - (block (result i32) - (set_local $2 - (i32.shl - (get_local $7) - (i32.const 9) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acosh" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (loop $continue|1 - (if - (i32.eqz - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - ) - (block - (set_local $6 - (i32.sub - (get_local $6) - (i32.const 1) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (set_local $2 + (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $3 + (i32.reinterpret/f32 + (get_local $0) ) - (br $continue|1) ) + (i32.const 1054086096) ) ) - (i32.shl - (get_local $7) - (i32.sub - (i32.const 1) - (get_local $6) - ) + (get_local $6) + (i32.shr_u + (get_local $3) + (i32.const 31) ) ) + (i32.const 1) ) - ) - (set_local $10 - (i32.shr_u - (get_local $5) - (i32.const 31) - ) - ) - (set_local $5 - (i32.const 0) - ) - (block $break|2 - (loop $continue|2 + (block (if - (i32.lt_s + (i32.ge_u (get_local $3) - (get_local $6) + (i32.const -1082130432) ) (block - (br_if $break|2 - (i32.eq - (i32.add - (get_local $3) - (i32.const 1) + (if + (f32.eq + (get_local $0) + (f32.const -1) + ) + (return + (f32.div + (get_local $0) + (f32.const 0) ) - (get_local $6) ) ) (return - (get_local $0) + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) ) ) ) - (loop $continue|3 - (if - (i32.gt_s + (if + (i32.lt_u + (i32.shl (get_local $3) - (get_local $6) - ) - (block - (if - (i32.eqz - (i32.shr_u - (tee_local $2 - (i32.sub - (get_local $4) - (get_local $7) - ) - ) - (i32.const 31) - ) - ) - (block - (set_local $4 - (get_local $2) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - ) - ) - (set_local $4 - (i32.shl - (get_local $4) - (i32.const 1) - ) - ) - (set_local $5 - (i32.shl - (get_local $5) - (i32.const 1) - ) - ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) - ) - ) - (br $continue|3) + (i32.const 1) ) + (i32.const 1728053248) + ) + (return + (get_local $0) ) ) (if - (i32.eqz - (i32.shr_u - (tee_local $2 - (i32.sub - (get_local $4) - (get_local $7) - ) - ) - (i32.const 31) - ) + (i32.le_u + (get_local $3) + (i32.const -1097468391) ) (block - (set_local $4 - (get_local $2) + (set_local $2 + (i32.const 0) ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) + (set_local $1 + (get_local $0) ) ) ) - (if - (get_local $4) - (loop $continue|4 - (if - (i32.eqz - (i32.shr_u - (get_local $4) - (i32.const 23) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + ) + ) + (if + (get_local $2) + (block + (set_local $5 + (if (result f32) + (i32.lt_s + (tee_local $2 + (i32.sub + (i32.shr_u + (tee_local $6 + (i32.add + (i32.reinterpret/f32 + (tee_local $1 + (f32.add + (f32.const 1) + (get_local $0) + ) + ) + ) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) ) ) - (block - (set_local $4 - (i32.shl - (get_local $4) - (i32.const 1) + (i32.const 25) + ) + (f32.div + (select + (f32.sub + (f32.const 1) + (f32.sub + (get_local $1) + (get_local $0) ) ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 1) + (f32.sub + (get_local $0) + (f32.sub + (get_local $1) + (f32.const 1) ) ) - (br $continue|4) + (i32.ge_s + (get_local $2) + (i32.const 2) + ) ) + (get_local $1) ) + (f32.const 0) ) - (set_local $3 - (i32.const -30) + ) + (set_local $1 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $6) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (f32.const 1) ) ) ) ) (set_local $0 - (f32.reinterpret/i32 - (tee_local $4 - (select - (i32.or - (i32.sub - (get_local $4) - (i32.const 8388608) - ) - (i32.shl - (get_local $3) - (i32.const 23) - ) - ) - (i32.shr_u - (get_local $4) - (i32.sub - (i32.const 1) - (get_local $3) + (f32.mul + (tee_local $7 + (f32.mul + (tee_local $4 + (f32.div + (get_local $1) + (f32.add + (f32.const 2) + (get_local $1) + ) ) ) - (i32.gt_s - (get_local $3) - (i32.const 0) - ) + (get_local $4) ) ) + (get_local $7) ) ) - (if - (get_local $9) - (set_local $1 - (f32.neg - (get_local $1) - ) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $2 - (i32.eq - (get_local $3) - (get_local $6) - ) - ) - (get_local $2) - (if (result i32) - (tee_local $2 - (i32.eq - (i32.add - (get_local $3) - (i32.const 1) - ) - (get_local $6) - ) - ) - (if (result i32) - (tee_local $2 - (f32.gt + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 (f32.mul - (f32.const 2) - (get_local $0) - ) - (get_local $1) - ) - ) - (get_local $2) - (if (result i32) - (tee_local $2 - (f32.eq (f32.mul - (f32.const 2) - (get_local $0) + (f32.const 0.5) + (get_local $1) ) (get_local $1) ) ) - (i32.and - (i32.rem_s - (get_local $5) - (i32.const 2) + (f32.add + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $0) + (f32.const 0.2849878668785095) + ) + ) + ) + (f32.mul + (get_local $0) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $0) + (f32.const 0.24279078841209412) + ) + ) ) - (i32.const 1) ) - (get_local $2) ) ) - (get_local $2) - ) - ) - (i32.const 1) - ) - (block - (set_local $0 - (f32.sub - (get_local $0) - (get_local $1) - ) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) + (f32.add + (f32.mul + (tee_local $0 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (f32.const 9.05800061445916e-06) + ) + (get_local $5) + ) ) + (get_local $4) ) + (get_local $1) ) - ) - (select - (f32.neg + (f32.mul (get_local $0) + (f32.const 0.6931381225585938) ) - (get_local $0) - (get_local $10) ) ) - (func $std/math/test_remf (; 42 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.rem" - (get_local $0) - (get_local $1) + (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 8388608) + ) + ) + (get_local $6) + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (i32.const 1) ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) - (f64.abs - (get_local $0) - ) - ) - (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.abs" - (get_local $0) + (block + (if + (i32.eqz + (i32.shl + (get_local $1) + (i32.const 1) + ) + ) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) ) + ) + ) + (if + (i32.shr_u (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) ) ) - (if (result i32) - (tee_local $4 - (i32.const 0) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.abs" + ) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul (get_local $0) + (f32.const 33554432) ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) + ) + (if + (i32.eq (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 1065353216) + ) + (return + (f32.const 0) ) ) - (get_local $4) ) - (i32.const 1) ) - ) - (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) - (f32.abs - (get_local $0) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4913933) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) ) - ) - (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.abs" - (get_local $0) + (set_local $3 + (f32.mul + (tee_local $5 + (f32.mul + (tee_local $4 + (f32.div + (tee_local $0 + (f32.sub + (f32.reinterpret/i32 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) + ) + (i32.const 1060439283) + ) + ) + (f32.const 1) + ) + ) + (f32.add + (f32.const 2) + (get_local $0) + ) + ) + ) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) - (f64.div - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.16666666666666666) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.3255658186224009) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.20121253213486293) - (f64.mul + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $4) + (f32.add + (tee_local $4 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $0) + ) (get_local $0) - (f64.add - (f64.const -0.04005553450067941) - (f64.mul - (get_local $0) - (f64.add - (f64.const 7.915349942898145e-04) - (f64.mul - (get_local $0) - (f64.const 3.479331075960212e-05) - ) - ) + ) + ) + (f32.add + (f32.mul + (get_local $5) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $3) + (f32.const 0.2849878668785095) + ) + ) + ) + (f32.mul + (get_local $3) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $3) + (f32.const 0.24279078841209412) ) ) ) ) ) ) + (f32.mul + (tee_local $3 + (f32.convert_s/i32 + (get_local $2) + ) + ) + (f32.const 9.05800061445916e-06) + ) ) + (get_local $4) ) + (get_local $0) ) - (f64.add - (f64.const 1) - (f64.mul - (get_local $0) - (f64.add - (f64.const -2.403394911734414) - (f64.mul + (f32.mul + (get_local $3) + (f32.const 0.6931381225585938) + ) + ) + ) + (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (if + (i32.lt_u + (tee_local $1 + (i32.and + (i32.reinterpret/f32 (get_local $0) - (f64.add - (f64.const 2.0209457602335057) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.6882839716054533) - (f64.mul + ) + (i32.const 2147483647) + ) + ) + (i32.const 1073741824) + ) + (return + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1166016512) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) (get_local $0) - (f64.const 0.07703815055590194) ) + (f32.const 1) ) ) ) @@ -2547,17 +2463,33 @@ ) ) ) + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) ) - (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) - (local $3 f64) - (local $4 i32) + (local $3 i32) + (local $4 f64) (if (i32.ge_u (tee_local $2 (i32.and - (tee_local $4 + (tee_local $3 (i32.wrap/i64 (i64.shr_u (i64.reinterpret/f64 @@ -2587,18 +2519,13 @@ ) ) ) - (block - (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f64.const 3.141592653589793) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) ) - ) - (return - (f64.const 0) + (f64.const 7.52316384526264e-37) ) ) ) @@ -2620,29 +2547,35 @@ ) (block (if - (i32.le_u - (get_local $2) - (i32.const 1012924416) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (get_local $3) + ) + (i32.const 1) ) (return - (f64.const 1.5707963267948966) + (get_local $0) ) ) (return - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub + (f64.add + (get_local $0) + (f64.mul (get_local $0) - (f64.sub - (f64.const 6.123233995736766e-17) + (call "$(lib)/math/NativeMath.__R" (f64.mul (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) + (get_local $0) ) ) ) @@ -2650,100 +2583,119 @@ ) ) ) - (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f64.mul - (f64.const 2) - (f64.sub - (f64.const 1.5707963267948966) - (f64.add - (tee_local $1 - (f64.sqrt - (tee_local $0 - (f64.mul - (f64.add - (f64.const 1) - (get_local $0) - ) - (f64.const 0.5) - ) - ) - ) - ) - (f64.sub - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $0) - ) - (get_local $1) - ) - (f64.const 6.123233995736766e-17) + (set_local $0 + (f64.sqrt + (tee_local $1 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) ) ) + (f64.const 0.5) ) ) ) ) - (f64.mul - (f64.const 2) - (f64.add - (tee_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (tee_local $1 - (f64.sqrt - (tee_local $0 - (f64.mul - (f64.sub - (f64.const 1) - (get_local $0) - ) - (f64.const 0.5) - ) - ) - ) + (set_local $4 + (call "$(lib)/math/NativeMath.__R" + (get_local $1) + ) + ) + (set_local $0 + (if (result f64) + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $0) + (f64.mul + (get_local $0) + (get_local $4) ) ) - (i64.const -4294967296) ) + (f64.const 6.123233995736766e-17) ) ) - (f64.add - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $0) - ) - (get_local $1) - ) - (f64.div + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub (f64.sub - (get_local $0) (f64.mul - (get_local $3) - (get_local $3) - ) + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $4) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (f64.div + (f64.sub + (get_local $1) + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const -4294967296) + ) + ) + ) + (get_local $1) + ) + ) + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + ) ) - (f64.add - (get_local $1) - (get_local $3) + (f64.sub + (f64.const 0.7853981633974483) + (f64.mul + (f64.const 2) + (get_local $1) + ) ) ) ) ) ) + (if + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) + ) + ) + ) + (get_local $0) ) - (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.acos" + (call "$(lib)/math/NativeMath.asin" (get_local $0) ) (get_local $1) @@ -2757,7 +2709,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.acos" + (call "$(lib)/math/JSMath.asin" (get_local $0) ) (get_local $1) @@ -2770,43 +2722,15 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) - (f32.div - (f32.mul - (get_local $0) - (f32.add - (f32.const 0.16666586697101593) - (f32.mul - (get_local $0) - (f32.add - (f32.const -0.04274342209100723) - (f32.mul - (get_local $0) - (f32.const -0.008656363002955914) - ) - ) - ) - ) - ) - (f32.add - (f32.const 1) - (f32.mul - (get_local $0) - (f32.const -0.7066296339035034) - ) - ) - ) - ) - (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) + (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (local $2 i32) - (local $3 f32) - (local $4 i32) + (local $3 f64) (if (i32.ge_u - (tee_local $2 + (tee_local $1 (i32.and - (tee_local $4 + (tee_local $2 (i32.reinterpret/f32 (get_local $0) ) @@ -2819,21 +2743,16 @@ (block (if (i32.eq - (get_local $2) + (get_local $1) (i32.const 1065353216) ) - (block - (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f32.const 3.141592502593994) + (return + (f32.add + (f32.mul + (get_local $0) + (f32.const 1.5707963705062866) ) - ) - (return - (f32.const 0) + (f32.const 7.52316384526264e-37) ) ) ) @@ -2850,93 +2769,64 @@ ) (if (i32.lt_u - (get_local $2) + (get_local $1) (i32.const 1056964608) ) (block (if - (i32.le_u - (get_local $2) - (i32.const 847249408) + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (get_local $1) + (i32.const 964689920) + ) + ) + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (get_local $2) + ) + (i32.const 1) ) (return - (f32.const 1.570796251296997) + (get_local $0) ) ) (return - (f32.sub - (f32.const 1.570796251296997) - (f32.sub + (f32.add + (get_local $0) + (f32.mul (get_local $0) - (f32.sub - (f32.const 7.549789415861596e-08) + (call "$(lib)/math/NativeMathf.__R" (f32.mul (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (if - (i32.shr_u - (get_local $4) - (i32.const 31) - ) - (return - (f32.mul - (f32.const 2) - (f32.sub - (f32.const 1.570796251296997) - (f32.add - (tee_local $1 - (f32.sqrt - (tee_local $0 - (f32.mul - (f32.add - (f32.const 1) - (get_local $0) - ) - (f32.const 0.5) - ) - ) - ) - ) - (f32.sub - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $0) - ) - (get_local $1) + (get_local $0) ) - (f32.const 7.549789415861596e-08) ) ) ) ) ) ) - (f32.mul - (f32.const 2) - (f32.add - (tee_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (tee_local $1 - (f32.sqrt + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.const 1.5707963705062866) + (f64.mul + (f64.const 2) + (f64.add + (tee_local $3 + (f64.sqrt + (f64.promote/f32 (tee_local $0 (f32.mul (f32.sub (f32.const 1) - (get_local $0) + (f32.abs + (get_local $0) + ) ) (f32.const 0.5) ) @@ -2944,37 +2834,35 @@ ) ) ) - (i32.const -4096) - ) - ) - ) - (f32.add - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $0) - ) - (get_local $1) - ) - (f32.div - (f32.sub - (get_local $0) - (f32.mul - (get_local $3) + (f64.mul (get_local $3) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" + (get_local $0) + ) + ) ) ) - (f32.add - (get_local $1) - (get_local $3) - ) ) ) ) ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f32.neg + (get_local $0) + ) + ) + ) + (get_local $0) ) - (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.acos" + (call "$(lib)/math/NativeMathf.asin" (get_local $0) ) (get_local $1) @@ -2982,660 +2870,642 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (local $5 f64) - (local $6 i32) - (local $7 i64) - (local $8 f64) - (set_local $2 - (i32.const 1) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.lt_u - (tee_local $3 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) - ) - ) - (i32.const 1071284858) + (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (set_local $1 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) ) ) - (get_local $6) - (i32.shr_u - (get_local $3) - (i32.const 31) - ) + (i64.const 52) ) - (i32.const 1) + (i64.const 2047) ) - (block - (if - (i32.ge_u - (get_local $3) - (i32.const -1074790400) - ) - (block - (if - (f64.eq - (get_local $0) - (f64.const -1) - ) - (return - (f64.div - (get_local $0) - (f64.const 0) - ) - ) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.const 0) - ) - ) - ) + ) + (set_local $3 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) ) - (if - (i32.lt_u - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 2034237440) - ) - (return + ) + ) + (if + (i64.ge_u + (get_local $1) + (i64.const 1049) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" (get_local $0) ) - ) - (if - (i32.le_u - (get_local $3) - (i32.const -1076707644) - ) - (block - (set_local $2 - (i32.const 0) - ) - (set_local $1 - (get_local $0) - ) - ) + (f64.const 0.6931471805599453) ) ) (if - (i32.ge_u - (get_local $3) - (i32.const 2146435072) - ) - (return - (get_local $0) + (i64.ge_u + (get_local $1) + (i64.const 1024) ) - ) - ) - (if - (get_local $2) - (block - (set_local $5 - (if (result f64) - (i32.lt_s - (tee_local $2 - (i32.sub - (i32.shr_u - (tee_local $6 - (i32.add - (i32.wrap/i64 - (i64.shr_u - (tee_local $7 - (i64.reinterpret/f64 - (f64.add - (f64.const 1) - (get_local $0) - ) - ) - ) - (i64.const 32) - ) - ) - (i32.const 614242) - ) - ) - (i32.const 20) - ) - (i32.const 1023) - ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) ) - (i32.const 54) - ) - (f64.div - (select - (f64.sub - (f64.const 1) - (f64.sub - (tee_local $1 - (f64.reinterpret/i64 - (get_local $7) + (f64.div + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) ) + (f64.const 1) ) - (get_local $0) ) - ) - (f64.sub (get_local $0) - (f64.sub - (get_local $1) - (f64.const 1) - ) - ) - (i32.ge_s - (get_local $2) - (i32.const 2) ) ) - (get_local $1) ) - (f64.const 0) ) ) - (set_local $1 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $6) - (i32.const 1048575) + (if + (i64.ge_u + (get_local $1) + (i64.const 997) + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) ) - (i32.const 1072079006) ) + (f64.const 1) ) - (i64.const 32) - ) - (i64.and - (get_local $7) - (i64.const 4294967295) ) ) ) - (f64.const 1) ) ) ) ) - (set_local $0 - (f64.mul - (tee_local $8 - (f64.mul - (tee_local $4 - (f64.div - (get_local $1) - (f64.add - (f64.const 2) - (get_local $1) - ) - ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (i64.ne + (get_local $3) + (i64.const 0) + ) + ) + ) + (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) ) - (get_local $4) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (get_local $8) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) ) + (i32.const 1) ) - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $4) - (f64.add - (tee_local $4 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $1) - ) - (get_local $1) - ) - ) - (f64.add - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul + ) + (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $1 + (i32.and + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1166016512) + ) + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 1073741824) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log" + (f32.add + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul (get_local $0) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $0) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) - ) - ) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul (get_local $0) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $0) - (f64.const 0.15313837699209373) - ) - ) ) + (f32.const 1) ) ) + (get_local $0) ) ) ) - (f64.add - (f64.mul - (tee_local $0 - (f64.convert_s/i32 - (get_local $2) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 964689920) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (get_local $0) + (f32.div + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (f32.const 1) ) ) - (f64.const 1.9082149292705877e-10) ) - (get_local $5) ) ) - (get_local $4) ) - (get_local $1) ) - (f64.mul + ) + (select + (f32.neg (get_local $0) - (f64.const 0.6931471803691238) ) + (get_local $0) + (get_local $2) ) ) - (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 i32) - (local $3 i64) - (local $4 f64) - (local $5 i32) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.lt_u - (tee_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) - ) - ) + (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.asinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (set_local $4 + (i32.shr_u + (tee_local $3 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) ) - (i32.const 1048576) + (i64.const 32) ) ) - (get_local $5) - (i32.shr_u - (get_local $1) - (i32.const 31) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) ) ) - (i32.const 1) + (i32.const 1141899264) ) (block (if - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) + (f64.ne + (tee_local $1 + (get_local $0) ) - (i64.const 0) + (get_local $1) ) (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) + (get_local $0) + ) + ) + (return + (select + (f64.neg + (tee_local $1 + (f64.const 1.5707963267948966) ) ) + (get_local $1) + (get_local $4) ) ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1071382528) + ) + (block (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.lt_u + (get_local $3) + (i32.const 1044381696) ) (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.const 0) - ) + (get_local $0) ) ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 54) + (set_local $3 + (i32.const -1) + ) + ) + (block + (set_local $0 + (f64.abs + (get_local $0) ) ) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (f64.mul + (set_local $0 + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072889856) + ) + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1072037888) + ) + (block (result f64) + (set_local $3 + (i32.const 0) + ) + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) (get_local $0) - (f64.const 18014398509481984) ) ) ) - (i64.const 32) + (block (result f64) + (set_local $3 + (i32.const 1) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) + ) + ) ) - ) - ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eq - (get_local $1) - (i32.const 1072693248) + (if (result f64) + (i32.lt_u + (get_local $3) + (i32.const 1073971200) + ) + (block (result f64) + (set_local $3 + (i32.const 2) + ) + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) + ) + ) ) ) - (i64.eq - (i64.shl - (get_local $3) - (i64.const 32) + (block (result f64) + (set_local $3 + (i32.const 3) + ) + (f64.div + (f64.const -1) + (get_local $0) ) - (i64.const 0) ) - (get_local $5) ) - (i32.const 1) - ) - (return - (f64.const 0) ) ) ) ) (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 614242) - ) - ) - (i32.const 20) + (f64.mul + (tee_local $1 + (f64.mul + (get_local $0) + (get_local $0) ) - (i32.const 1023) ) + (get_local $1) ) ) - (set_local $6 + (set_local $1 (f64.mul - (f64.mul - (f64.const 0.5) - (tee_local $4 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $1) - (i32.const 1048575) + (get_local $1) + (f64.add + (f64.const 0.3333333333333293) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.14285714272503466) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $2) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $2) + (f64.const 0.016285820115365782) + ) ) - (i32.const 1072079006) ) ) - (i64.const 32) - ) - (i64.and - (get_local $3) - (i64.const 4294967295) ) ) ) - (f64.const 1) ) ) ) - (get_local $4) ) ) - (set_local $0 + (set_local $2 (f64.mul - (tee_local $8 + (get_local $2) + (f64.add + (f64.const -0.19999999999876483) (f64.mul - (tee_local $7 - (f64.div - (get_local $4) + (get_local $2) + (f64.add + (f64.const -0.11111110405462356) + (f64.mul + (get_local $2) (f64.add - (f64.const 2) - (get_local $4) + (f64.const -0.0769187620504483) + (f64.mul + (get_local $2) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $2) + (f64.const -0.036531572744216916) + ) + ) + ) ) ) ) - (get_local $7) ) ) - (get_local $8) ) ) - (f64.add - (f64.add + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (return (f64.sub - (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (f64.add - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $0) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) - ) + (get_local $0) + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (block $tablify|0 + (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 + (get_local $3) ) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.3999999999940942) + ) + (br $case4|0) + ) + (set_local $1 + (f64.sub + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub (f64.mul (get_local $0) (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $0) - (f64.const 0.15313837699209373) - ) + (get_local $1) + (get_local $2) ) ) + (f64.const 2.2698777452961687e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) - ) - (f64.const 1.9082149292705877e-10) - ) - ) - (get_local $6) - ) - (get_local $4) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $2) - ) - (f64.const 0.6931471803691238) - ) - ) - ) - (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (if - (i64.lt_u - (tee_local $1 - (i64.and - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) + (set_local $1 + (f64.sub + (f64.const 0.7853981633974483) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) + ) + ) + (f64.const 3.061616997868383e-17) + ) + (get_local $0) + ) ) - (i64.const 52) ) - (i64.const 2047) + (br $break|0) ) - ) - (i64.const 1024) - ) - (return - (call "$(lib)/math/NativeMath.log1p" - (f64.add + (set_local $1 (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sqrt - (f64.add - (f64.mul - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (f64.mul - (f64.const 2) - (f64.sub + (f64.const 0.982793723247329) + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f64.const 1) + (f64.add + (get_local $1) + (get_local $2) + ) ) + (f64.const 1.3903311031230998e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) - ) - ) - (if - (i64.lt_u - (get_local $1) - (i64.const 1049) - ) - (return - (call "$(lib)/math/NativeMath.log" + (set_local $1 (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (get_local $0) - (f64.sqrt - (f64.sub - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $1) + (get_local $2) ) ) + (f64.const 6.123233995736766e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) + (unreachable) ) - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) + (select + (f64.neg + (get_local $1) ) - (f64.const 0.6931471805599453) + (get_local $1) + (get_local $4) ) ) - (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.acosh" + (call "$(lib)/math/NativeMath.atan" (get_local $0) ) (get_local $1) @@ -3649,7 +3519,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.acosh" + (call "$(lib)/math/JSMath.atan" (get_local $0) ) (get_local $1) @@ -3662,498 +3532,518 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) (local $1 f32) (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 i32) - (local $7 f32) - (set_local $2 - (i32.const 1) + (local $3 f32) + (local $4 i32) + (set_local $4 + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) ) (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.lt_u - (tee_local $3 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 1054086096) - ) - ) - (get_local $6) - (i32.shr_u - (get_local $3) - (i32.const 31) + (i32.ge_u + (tee_local $2 + (i32.and + (get_local $2) + (i32.const 2147483647) ) ) - (i32.const 1) + (i32.const 1283457024) ) (block (if - (i32.ge_u - (get_local $3) - (i32.const -1082130432) - ) - (block - (if - (f32.eq - (get_local $0) - (f32.const -1) - ) - (return - (f32.div - (get_local $0) - (f32.const 0) - ) - ) + (f32.ne + (tee_local $1 + (get_local $0) ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.const 0) + (get_local $1) + ) + (return + (get_local $0) + ) + ) + (return + (select + (f32.neg + (tee_local $1 + (f32.const 1.570796251296997) ) ) + (get_local $1) + (get_local $4) ) ) + ) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1054867456) + ) + (block (if (i32.lt_u - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 1728053248) + (get_local $2) + (i32.const 964689920) ) (return (get_local $0) ) ) - (if - (i32.le_u - (get_local $3) - (i32.const -1097468391) - ) - (block - (set_local $2 - (i32.const 0) - ) - (set_local $1 - (get_local $0) - ) - ) - ) - ) - (if - (i32.ge_u - (get_local $3) - (i32.const 2139095040) - ) - (return - (get_local $0) + (set_local $2 + (i32.const -1) ) ) - ) - (if - (get_local $2) (block - (set_local $5 + (set_local $0 + (f32.abs + (get_local $0) + ) + ) + (set_local $0 (if (result f32) - (i32.lt_s - (tee_local $2 - (i32.sub - (i32.shr_u - (tee_local $6 - (i32.add - (i32.reinterpret/f32 - (tee_local $1 - (f32.add - (f32.const 1) - (get_local $0) - ) - ) - ) - (i32.const 4913933) - ) + (i32.lt_u + (get_local $2) + (i32.const 1066926080) + ) + (if (result f32) + (i32.lt_u + (get_local $2) + (i32.const 1060110336) + ) + (block (result f32) + (set_local $2 + (i32.const 0) + ) + (f32.div + (f32.sub + (f32.mul + (f32.const 2) + (get_local $0) ) - (i32.const 23) + (f32.const 1) + ) + (f32.add + (f32.const 2) + (get_local $0) ) - (i32.const 127) ) ) - (i32.const 25) - ) - (f32.div - (select - (f32.sub - (f32.const 1) + (block (result f32) + (set_local $2 + (i32.const 1) + ) + (f32.div (f32.sub - (get_local $1) (get_local $0) + (f32.const 1) + ) + (f32.add + (get_local $0) + (f32.const 1) ) ) - (f32.sub - (get_local $0) + ) + ) + (if (result f32) + (i32.lt_u + (get_local $2) + (i32.const 1075576832) + ) + (block (result f32) + (set_local $2 + (i32.const 2) + ) + (f32.div (f32.sub - (get_local $1) + (get_local $0) + (f32.const 1.5) + ) + (f32.add (f32.const 1) + (f32.mul + (f32.const 1.5) + (get_local $0) + ) ) ) - (i32.ge_s - (get_local $2) - (i32.const 2) + ) + (block (result f32) + (set_local $2 + (i32.const 3) + ) + (f32.div + (f32.const -1) + (get_local $0) ) ) - (get_local $1) ) - (f32.const 0) ) ) - (set_local $1 - (f32.sub - (f32.reinterpret/i32 - (i32.add - (i32.and - (get_local $6) - (i32.const 8388607) - ) - (i32.const 1060439283) - ) - ) - (f32.const 1) + ) + ) + (set_local $3 + (f32.mul + (tee_local $1 + (f32.mul + (get_local $0) + (get_local $0) ) ) + (get_local $1) ) ) - (set_local $0 + (set_local $1 (f32.mul - (tee_local $7 + (get_local $1) + (f32.add + (f32.const 0.333333283662796) (f32.mul - (tee_local $4 - (f32.div - (get_local $1) - (f32.add - (f32.const 2) - (get_local $1) - ) + (get_local $3) + (f32.add + (f32.const 0.14253635704517365) + (f32.mul + (get_local $3) + (f32.const 0.06168760731816292) ) ) - (get_local $4) ) ) - (get_local $7) ) ) - (f32.add - (f32.add + (set_local $3 + (f32.mul + (get_local $3) + (f32.add + (f32.const -0.19999158382415771) + (f32.mul + (get_local $3) + (f32.const -0.106480173766613) + ) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (return (f32.sub - (f32.add - (f32.mul - (get_local $4) - (f32.add - (tee_local $4 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $1) - ) - (get_local $1) - ) - ) - (f32.add - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $0) - (f32.const 0.2849878668785095) - ) - ) + (get_local $0) + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) + ) + ) + ) + ) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (block $tablify|0 + (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 + (get_local $2) ) - (f32.mul - (get_local $0) - (f32.add - (f32.const 0.40000972151756287) + ) + (br $case4|0) + ) + (set_local $1 + (f32.sub + (f32.const 0.46364760398864746) + (f32.sub + (f32.sub (f32.mul (get_local $0) - (f32.const 0.24279078841209412) + (f32.add + (get_local $1) + (get_local $3) + ) ) + (f32.const 5.01215824399992e-09) ) + (get_local $0) ) ) ) + (br $break|0) ) - (f32.add - (f32.mul - (tee_local $0 - (f32.convert_s/i32 - (get_local $2) + (set_local $1 + (f32.sub + (f32.const 0.7853981256484985) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) + ) + (f32.const 3.774894707930798e-08) ) - ) - (f32.const 9.05800061445916e-06) - ) - (get_local $5) - ) - ) - (get_local $4) - ) - (get_local $1) - ) - (f32.mul - (get_local $0) - (f32.const 0.6931381225585938) - ) - ) - ) - (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 f32) - (local $6 i32) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.lt_u - (tee_local $1 - (i32.reinterpret/f32 (get_local $0) ) ) - (i32.const 8388608) - ) - ) - (get_local $6) - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - ) - (i32.const 1) - ) - (block - (if - (i32.eqz - (i32.shl - (get_local $1) - (i32.const 1) - ) - ) - (return - (f32.div - (f32.const -1) - (f32.mul - (get_local $0) - (get_local $0) - ) ) + (br $break|0) ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.div + (set_local $1 + (f32.sub + (f32.const 0.9827936887741089) (f32.sub - (get_local $0) + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) + ) + (f32.const 3.447321716976148e-08) + ) (get_local $0) ) - (f32.const 0) ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 25) - ) + (br $break|0) ) (set_local $1 - (i32.reinterpret/f32 - (f32.mul + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $1) + (get_local $3) + ) + ) + (f32.const 7.549789415861596e-08) + ) (get_local $0) - (f32.const 33554432) ) ) ) + (br $break|0) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2139095040) - ) - (return - (get_local $0) - ) - (if - (i32.eq - (get_local $1) - (i32.const 1065353216) - ) - (return - (f32.const 0) - ) - ) + (unreachable) + ) + (select + (f32.neg + (get_local $1) + ) + (get_local $1) + (get_local $4) + ) + ) + (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) + ) + (func "$(lib)/math/NativeMath.atanh" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 4913933) - ) + (i64.and + (i64.shr_u + (tee_local $1 + (i64.reinterpret/f64 + (get_local $0) ) - (i32.const 23) ) - (i32.const 127) + (i64.const 52) ) + (i64.const 2047) ) ) (set_local $3 - (f32.mul - (tee_local $5 - (f32.mul - (tee_local $4 - (f32.div - (tee_local $0 - (f32.sub - (f32.reinterpret/i32 - (i32.add - (i32.and - (get_local $1) - (i32.const 8388607) - ) - (i32.const 1060439283) - ) - ) - (f32.const 1) - ) - ) - (f32.add - (f32.const 2) - (get_local $0) - ) - ) - ) - (get_local $4) - ) + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) ) - (get_local $5) ) ) - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $4) - (f32.add - (tee_local $4 - (f32.mul - (f32.mul - (f32.const 0.5) + (if + (i64.lt_u + (get_local $2) + (i64.const 1022) + ) + (if + (i64.ge_u + (get_local $2) + (i64.const 991) + ) + (set_local $0 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.mul + (f64.mul + (f64.const 2) (get_local $0) ) (get_local $0) ) - ) - (f32.add - (f32.mul - (get_local $5) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $3) - (f32.const 0.2849878668785095) - ) - ) - ) - (f32.mul - (get_local $3) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $3) - (f32.const 0.24279078841209412) - ) - ) + (f64.sub + (f64.const 1) + (get_local $0) ) ) ) ) - (f32.mul - (tee_local $3 - (f32.convert_s/i32 - (get_local $2) + ) + ) + ) + (set_local $0 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.mul + (f64.const 2) + (f64.div + (get_local $0) + (f64.sub + (f64.const 1) + (get_local $0) ) ) - (f32.const 9.05800061445916e-06) ) ) - (get_local $4) ) + ) + ) + (select + (f64.neg (get_local $0) ) - (f32.mul + (get_local $0) + (i64.ne (get_local $3) - (f32.const 0.6931381225585938) + (i64.const 0) ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (func $std/math/test_atanh (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.atanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.atanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.atanh" (; 75 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (if - (i32.lt_u + (local $2 i32) + (set_local $2 + (i32.shr_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 (tee_local $1 (i32.and - (i32.reinterpret/f32 - (get_local $0) - ) + (get_local $1) (i32.const 2147483647) ) ) - (i32.const 1073741824) ) - (return - (call "$(lib)/math/NativeMathf.log1p" - (f32.add - (f32.sub - (get_local $0) - (f32.const 1) - ) - (f32.sqrt + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1056964608) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 796917760) + ) + (set_local $0 + (f32.mul + (f32.const 0.5) + (call "$(lib)/math/NativeMathf.log1p" (f32.add (f32.mul - (f32.sub + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.mul + (f32.mul + (f32.const 2) + (get_local $0) + ) (get_local $0) - (f32.const 1) ) (f32.sub - (get_local $0) (f32.const 1) - ) - ) - (f32.mul - (f32.const 2) - (f32.sub (get_local $0) - (f32.const 1) ) ) ) @@ -4161,31 +4051,17 @@ ) ) ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1166016512) - ) - (return - (call "$(lib)/math/NativeMathf.log" - (f32.sub + (set_local $0 + (f32.mul + (f32.const 0.5) + (call "$(lib)/math/NativeMathf.log1p" (f32.mul (f32.const 2) - (get_local $0) - ) - (f32.div - (f32.const 1) - (f32.add + (f32.div (get_local $0) - (f32.sqrt - (f32.sub - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) + (f32.sub + (f32.const 1) + (get_local $0) ) ) ) @@ -4193,16 +4069,17 @@ ) ) ) - (f32.add - (call "$(lib)/math/NativeMathf.log" + (select + (f32.neg (get_local $0) ) - (f32.const 0.6931471824645996) + (get_local $0) + (get_local $2) ) ) - (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atanhf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.acosh" + (call "$(lib)/math/NativeMathf.atanh" (get_local $0) ) (get_local $1) @@ -4210,1032 +4087,1091 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) + (func "$(lib)/math/NativeMath.atan2" (; 77 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i32) (local $3 i32) - (local $4 f64) - (if - (i32.ge_u - (tee_local $2 - (i32.and - (tee_local $3 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) + (local $4 i32) + (local $5 i32) + (local $6 f64) + (local $7 i64) + (local $8 i32) + (block $folding-inner0 + (if + (i32.and + (if (result i32) + (tee_local $2 + (f64.ne + (tee_local $6 + (get_local $1) ) + (get_local $6) ) ) - (i32.const 2147483647) + (get_local $2) + (f64.ne + (tee_local $6 + (get_local $0) + ) + (get_local $6) + ) + ) + (i32.const 1) + ) + (return + (f64.add + (get_local $1) + (get_local $0) ) ) - (i32.const 1072693248) ) - (block - (if - (i32.eqz - (i32.or - (i32.sub - (get_local $2) - (i32.const 1072693248) - ) - (i32.wrap/i64 - (i64.reinterpret/f64 - (get_local $0) - ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 + (get_local $1) ) ) + (i64.const 32) ) - (return - (f64.add - (f64.mul + ) + ) + (set_local $8 + (i32.wrap/i64 + (get_local $7) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $7 + (i64.reinterpret/f64 (get_local $0) - (f64.const 1.5707963267948966) ) - (f64.const 7.52316384526264e-37) ) + (i64.const 32) + ) + ) + ) + (if + (i32.eqz + (i32.or + (i32.sub + (get_local $3) + (i32.const 1072693248) + ) + (get_local $8) ) ) (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) - (get_local $0) + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + ) + (set_local $5 + (i32.or + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 30) ) + (i32.const 2) ) ) ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) + (set_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) ) - (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 1045430272) + (if + (i32.eqz + (i32.or + (tee_local $4 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (i32.wrap/i64 + (get_local $7) + ) + ) + ) + (block $break|0 + (block $case3|0 + (block $case2|0 + (if + (i32.eqz + (i32.or + (i32.eqz + (tee_local $2 + (get_local $5) + ) + ) + (i32.eq + (get_local $2) + (i32.const 1) + ) + ) + ) + (block + (br_if $case2|0 + (i32.eq + (get_local $2) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $2) + (i32.const 3) + ) + ) + (br $break|0) ) ) - (i32.ge_u - (get_local $2) - (i32.const 1048576) + (return + (get_local $0) ) - (get_local $3) ) - (i32.const 1) + (return + (f64.const 3.141592653589793) + ) ) (return - (get_local $0) + (f64.const -3.141592653589793) ) ) - (return - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) + ) + (br_if $folding-inner0 + (i32.eqz + (i32.or + (get_local $3) + (get_local $8) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 2146435072) + ) + (if + (i32.eq + (get_local $4) + (i32.const 2146435072) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (block $tablify|0 + (br_table $case0|1 $case1|1 $case2|1 $case3|1 $tablify|0 + (get_local $5) + ) + ) + (br $break|1) + ) + (return + (f64.const 0.7853981633974483) + ) + ) + (return + (f64.const -0.7853981633974483) ) ) + (return + (f64.const 2.356194490192345) + ) + ) + (return + (f64.const -2.356194490192345) ) ) - ) - ) - ) - (set_local $0 - (f64.sqrt - (tee_local $1 - (f64.mul - (f64.sub - (f64.const 1) - (f64.abs - (get_local $0) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (block $tablify|00 + (br_table $case0|2 $case1|2 $case2|2 $case3|2 $tablify|00 + (get_local $5) + ) + ) + (br $break|2) + ) + (return + (f64.const 0) + ) + ) + (return + (f64.const -0) + ) + ) + (return + (f64.const 3.141592653589793) ) ) - (f64.const 0.5) + (return + (f64.const -3.141592653589793) + ) ) ) ) - ) - (set_local $4 - (call "$(lib)/math/NativeMath.__R" - (get_local $1) - ) - ) - (set_local $0 - (if (result f64) - (i32.ge_u - (get_local $2) - (i32.const 1072640819) - ) - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.mul - (f64.const 2) - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (get_local $4) + (br_if $folding-inner0 + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (i32.add + (get_local $3) + (i32.const 67108864) ) + (get_local $4) ) ) - (f64.const 6.123233995736766e-17) + (get_local $2) + (i32.eq + (get_local $4) + (i32.const 2146435072) + ) ) + (i32.const 1) ) - (f64.sub - (f64.const 0.7853981633974483) - (f64.sub - (f64.sub - (f64.mul - (f64.mul - (f64.const 2) - (get_local $0) - ) + ) + (set_local $0 + (if (result f64) + (if (result i32) + (tee_local $2 + (i32.and + (get_local $5) + (i32.const 2) + ) + ) + (i32.lt_u + (i32.add (get_local $4) + (i32.const 67108864) ) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (f64.const 2) - (f64.div - (f64.sub - (get_local $1) - (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const -4294967296) - ) - ) - ) - (get_local $1) - ) - ) - (f64.add - (get_local $0) - (get_local $1) - ) + (get_local $3) + ) + (get_local $2) + ) + (f64.const 0) + (call "$(lib)/math/NativeMath.atan" + (f64.abs + (f64.div + (get_local $0) + (get_local $1) + ) + ) + ) + ) + ) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (block $tablify|01 + (br_table $case0|3 $case1|3 $case2|3 $case3|3 $tablify|01 + (get_local $5) ) ) + (br $break|3) + ) + (return + (get_local $0) + ) + ) + (return + (f64.neg + (get_local $0) ) ) + ) + (return (f64.sub - (f64.const 0.7853981633974483) - (f64.mul - (f64.const 2) - (get_local $1) + (f64.const 3.141592653589793) + (f64.sub + (get_local $0) + (f64.const 1.2246467991473532e-16) ) ) ) ) + (return + (f64.sub + (f64.sub + (get_local $0) + (f64.const 1.2246467991473532e-16) + ) + (f64.const 3.141592653589793) + ) + ) ) + (unreachable) ) - (if - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - (return - (f64.neg - (get_local $0) - ) + (select + (f64.const -1.5707963267948966) + (f64.const 1.5707963267948966) + (i32.and + (get_local $5) + (i32.const 1) ) ) - (get_local $0) ) - (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) + (func $std/math/test_atan2 (; 78 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) (i32.and (if (result i32) - (tee_local $4 + (tee_local $5 (call $std/math/check - (call "$(lib)/math/NativeMath.asin" + (call "$(lib)/math/NativeMath.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) (if (result i32) - (tee_local $4 + (tee_local $5 (i32.const 0) ) - (get_local $4) + (get_local $5) (call $std/math/check - (call "$(lib)/math/JSMath.asin" + (call "$(lib)/math/JSMath.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (get_local $4) + (get_local $5) ) (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMathf.atan2" (; 79 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) - (local $3 f64) - (if - (i32.ge_u - (tee_local $1 - (i32.and + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 f32) + (block $folding-inner0 + (if + (i32.and + (if (result i32) (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) + (f32.ne + (tee_local $6 + (get_local $1) + ) + (get_local $6) ) ) - (i32.const 2147483647) - ) - ) - (i32.const 1065353216) - ) - (block - (if - (i32.eq - (get_local $1) - (i32.const 1065353216) - ) - (return - (f32.add - (f32.mul + (get_local $2) + (f32.ne + (tee_local $6 (get_local $0) - (f32.const 1.5707963705062866) ) - (f32.const 7.52316384526264e-37) + (get_local $6) ) ) + (i32.const 1) ) (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) - (get_local $0) - ) + (f32.add + (get_local $1) + (get_local $0) ) ) ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1056964608) + (set_local $3 + (i32.reinterpret/f32 + (get_local $0) + ) ) - (block - (if - (i32.and - (if (result i32) - (tee_local $2 - (i32.lt_u - (get_local $1) - (i32.const 964689920) - ) - ) - (i32.ge_u - (get_local $1) - (i32.const 8388608) - ) - (get_local $2) + (if + (i32.eq + (tee_local $4 + (i32.reinterpret/f32 + (get_local $1) ) - (i32.const 1) - ) - (return - (get_local $0) ) + (i32.const 1065353216) ) (return - (f32.add + (call "$(lib)/math/NativeMathf.atan" (get_local $0) - (f32.mul - (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) ) ) ) - ) - (set_local $0 - (f32.demote/f64 - (f64.sub - (f64.const 1.5707963705062866) - (f64.mul - (f64.const 2) - (f64.add - (tee_local $3 - (f64.sqrt - (f64.promote/f32 - (tee_local $0 - (f32.mul - (f32.sub - (f32.const 1) - (f32.abs - (get_local $0) - ) - ) - (f32.const 0.5) - ) - ) - ) - ) - ) - (f64.mul - (get_local $3) - (f64.promote/f32 - (call "$(lib)/math/NativeMathf.__R" - (get_local $0) - ) - ) - ) + (set_local $5 + (i32.or + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (i32.and + (i32.shr_u + (get_local $4) + (i32.const 30) ) + (i32.const 2) ) ) ) - ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (return - (f32.neg - (get_local $0) + (set_local $4 + (i32.and + (get_local $4) + (i32.const 2147483647) ) ) - ) - (get_local $0) - ) - (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.asin" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i64) - (local $3 i64) - (set_local $1 - (i64.and - (i64.shr_u - (tee_local $2 - (i64.reinterpret/f64 - (get_local $0) + (if + (i32.eqz + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) ) ) - (i64.const 52) ) - (i64.const 2047) - ) - ) - (set_local $3 - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (i64.and - (get_local $2) - (i64.const 9223372036854775807) + (block $break|0 + (block $case3|0 + (block $case2|0 + (if + (i32.eqz + (i32.or + (i32.eqz + (tee_local $2 + (get_local $5) + ) + ) + (i32.eq + (get_local $2) + (i32.const 1) + ) + ) + ) + (block + (br_if $case2|0 + (i32.eq + (get_local $2) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $2) + (i32.const 3) + ) + ) + (br $break|0) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f32.const 3.1415927410125732) + ) + ) + (return + (f32.const -3.1415927410125732) + ) ) ) - ) - (if - (i64.ge_u - (get_local $1) - (i64.const 1049) - ) - (set_local $0 - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (f64.const 0.6931471805599453) + (br_if $folding-inner0 + (i32.eqz + (get_local $4) ) ) (if - (i64.ge_u - (get_local $1) - (i64.const 1024) + (i32.eq + (get_local $4) + (i32.const 2139095040) ) - (set_local $0 - (call "$(lib)/math/NativeMath.log" - (f64.add - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) + (if + (i32.eq + (get_local $3) + (i32.const 2139095040) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (block $tablify|0 + (br_table $case0|1 $case1|1 $case2|1 $case3|1 $tablify|0 + (get_local $5) ) - (f64.const 1) ) + (br $break|1) ) - (get_local $0) + (return + (f32.const 0.7853981852531433) + ) + ) + (return + (f32.const -0.7853981852531433) ) ) + (return + (f32.const 2.356194496154785) + ) + ) + (return + (f32.const -2.356194496154785) ) ) - ) - (if - (i64.ge_u - (get_local $1) - (i64.const 997) - ) - (set_local $0 - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (get_local $0) - (f64.div - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (block $tablify|00 + (br_table $case0|2 $case1|2 $case2|2 $case3|2 $tablify|00 + (get_local $5) ) ) - (f64.const 1) + (br $break|2) + ) + (return + (f32.const 0) ) ) + (return + (f32.const 0) + ) + ) + (return + (f32.const 3.1415927410125732) ) ) + (return + (f32.const -3.1415927410125732) + ) ) ) ) - ) - (select - (f64.neg - (get_local $0) - ) - (get_local $0) - (i64.ne - (get_local $3) - (i64.const 0) - ) - ) - ) - (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.asinh" - (get_local $0) + (br_if $folding-inner0 + (i32.and + (if (result i32) + (tee_local $2 + (i32.lt_u + (i32.add + (get_local $4) + (i32.const 218103808) + ) + (get_local $3) + ) ) - (get_local $1) (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.asinh" - (get_local $0) + (i32.eq + (get_local $3) + (i32.const 2139095040) ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) - ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (set_local $1 - (i32.and - (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) ) + (i32.const 1) ) - (i32.const 2147483647) - ) - ) - (set_local $2 - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) - ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 1166016512) ) (set_local $0 - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) + (if (result f32) + (if (result i32) + (tee_local $2 + (i32.and + (get_local $5) + (i32.const 2) + ) + ) + (i32.lt_u + (i32.add + (get_local $3) + (i32.const 218103808) + ) + (get_local $4) + ) + (get_local $2) ) - (f32.const 0.6931471824645996) - ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 1073741824) - ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log" - (f32.add - (f32.mul - (f32.const 2) + (f32.const 0) + (call "$(lib)/math/NativeMathf.atan" + (f32.abs + (f32.div (get_local $0) + (get_local $1) ) - (f32.div - (f32.const 1) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) + ) + ) + ) + ) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (block $tablify|01 + (br_table $case0|3 $case1|3 $case2|3 $case3|3 $tablify|01 + (get_local $5) ) - (get_local $0) ) + (br $break|3) + ) + (return + (get_local $0) + ) + ) + (return + (f32.neg + (get_local $0) ) ) ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 964689920) - ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log1p" - (f32.add + (return + (f32.sub + (f32.const 3.1415927410125732) + (f32.sub (get_local $0) - (f32.div - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (f32.const 1) - ) - ) + (f32.const -8.742277657347586e-08) ) ) ) ) + (return + (f32.sub + (f32.sub + (get_local $0) + (f32.const -8.742277657347586e-08) + ) + (f32.const 3.1415927410125732) + ) + ) ) + (unreachable) ) (select - (f32.neg - (get_local $0) + (f32.const -1.5707963705062866) + (f32.const 1.5707963705062866) + (i32.and + (get_local $5) + (i32.const 1) ) - (get_local $0) - (get_local $2) ) ) - (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atan2f (; 80 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.asinh" + (call "$(lib)/math/NativeMathf.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 81 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 f64) (local $3 i32) - (local $4 i32) - (set_local $4 - (i32.shr_u - (tee_local $3 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) - ) - ) - (i32.const 31) - ) - ) + (local $4 i64) (if (i32.ge_u (tee_local $3 (i32.and - (get_local $3) + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) (i32.const 2147483647) ) ) - (i32.const 1141899264) + (i32.const 2146435072) ) - (block - (if - (f64.ne - (tee_local $1 + (return + (f64.add + (get_local $0) + (get_local $0) + ) + ) + ) + (set_local $3 + (if (result i32) + (i32.lt_u + (get_local $3) + (i32.const 1048576) + ) + (block (result i32) + (if + (i32.eqz + (tee_local $3 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + ) + (i64.const 32) + ) + ) + (i32.const 2147483647) + ) + ) + ) + (return (get_local $0) ) - (get_local $1) ) - (return - (get_local $0) - ) - ) - (return - (select - (f64.neg - (tee_local $1 - (f64.const 1.5707963267948966) - ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) ) - (get_local $1) - (get_local $4) + (i32.const 696219795) ) ) - ) - ) - (if - (i32.lt_u - (get_local $3) - (i32.const 1071382528) - ) - (block - (if - (i32.lt_u + (i32.add + (i32.div_u (get_local $3) - (i32.const 1044381696) - ) - (return - (get_local $0) + (i32.const 3) ) - ) - (set_local $3 - (i32.const -1) + (i32.const 715094163) ) ) - (block - (set_local $0 - (f64.abs - (get_local $0) - ) - ) - (set_local $0 - (if (result f64) - (i32.lt_u - (get_local $3) - (i32.const 1072889856) - ) - (if (result f64) - (i32.lt_u - (get_local $3) - (i32.const 1072037888) - ) - (block (result f64) - (set_local $3 - (i32.const 0) - ) - (f64.div - (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.const 1) - ) - (f64.add - (f64.const 2) - (get_local $0) - ) - ) - ) - (block (result f64) - (set_local $3 - (i32.const 1) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.reinterpret/i64 + (i64.or + (i64.and + (get_local $4) + (i64.const -9223372036854775808) ) - (f64.div - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.add - (get_local $0) - (f64.const 1) + (i64.shl + (i64.extend_u/i32 + (get_local $3) ) - ) - ) - ) - (if (result f64) - (i32.lt_u - (get_local $3) - (i32.const 1073971200) - ) - (block (result f64) - (set_local $3 - (i32.const 2) - ) - (f64.div - (f64.sub - (get_local $0) - (f64.const 1.5) - ) - (f64.add - (f64.const 1) - (f64.mul - (f64.const 1.5) - (get_local $0) - ) - ) - ) - ) - (block (result f64) - (set_local $3 - (i32.const 3) - ) - (f64.div - (f64.const -1) - (get_local $0) + (i64.const 32) ) ) ) ) + (get_local $1) ) - ) - ) - (set_local $2 - (f64.mul - (tee_local $1 - (f64.mul - (get_local $0) - (get_local $0) - ) + (f64.div + (get_local $1) + (get_local $0) ) - (get_local $1) ) ) - (set_local $1 - (f64.mul - (get_local $1) - (f64.add - (f64.const 0.3333333333333293) - (f64.mul - (get_local $2) - (f64.add - (f64.const 0.14285714272503466) + (set_local $2 + (f64.div + (f64.sub + (tee_local $2 + (f64.div + (get_local $0) (f64.mul - (get_local $2) - (f64.add - (f64.const 0.09090887133436507) - (f64.mul - (get_local $2) - (f64.add - (f64.const 0.06661073137387531) - (f64.mul - (get_local $2) - (f64.add - (f64.const 0.049768779946159324) + (tee_local $1 + (f64.reinterpret/i64 + (i64.and + (i64.add + (i64.reinterpret/f64 (f64.mul - (get_local $2) - (f64.const 0.016285820115365782) + (get_local $1) + (f64.add + (f64.add + (f64.const 1.87595182427177) + (f64.mul + (get_local $2) + (f64.add + (f64.const -1.8849797954337717) + (f64.mul + (get_local $2) + (f64.const 1.6214297201053545) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.mul + (get_local $2) + (get_local $2) + ) + (get_local $2) + ) + (f64.add + (f64.const -0.758397934778766) + (f64.mul + (get_local $2) + (f64.const 0.14599619288661245) + ) + ) + ) + ) ) ) + (i64.const 2147483648) ) + (i64.const -1073741824) ) ) ) + (get_local $1) ) ) ) + (get_local $1) + ) + (f64.add + (f64.add + (get_local $1) + (get_local $1) + ) + (get_local $2) ) ) ) - (set_local $2 + (f64.add + (get_local $1) (f64.mul + (get_local $1) (get_local $2) - (f64.add - (f64.const -0.19999999999876483) - (f64.mul + ) + ) + ) + (func $std/math/test_cbrt (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cbrt" + (get_local $0) + ) + (get_local $1) (get_local $2) - (f64.add - (f64.const -0.11111110405462356) - (f64.mul - (get_local $2) - (f64.add - (f64.const -0.0769187620504483) - (f64.mul - (get_local $2) - (f64.add - (f64.const -0.058335701337905735) - (f64.mul - (get_local $2) - (f64.const -0.036531572744216916) - ) - ) - ) - ) - ) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cbrt" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) + (i32.const 1) ) + ) + (func "$(lib)/math/NativeMathf.cbrt" (; 83 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f64) + (local $2 f64) + (local $3 i32) + (local $4 i32) (if - (i32.lt_s - (get_local $3) - (i32.const 0) + (i32.ge_u + (tee_local $3 + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (i32.const 2139095040) ) (return - (f64.sub + (f32.add + (get_local $0) (get_local $0) - (f64.mul - (get_local $0) - (f64.add - (get_local $1) - (get_local $2) - ) - ) ) ) ) - (block $break|0 - (block $case4|0 - (block $case3|0 - (block $case2|0 - (block $case1|0 - (block $case0|0 - (block $tablify|0 - (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 - (get_local $3) + (set_local $3 + (if (result i32) + (i32.lt_u + (get_local $3) + (i32.const 8388608) + ) + (block (result i32) + (if + (i32.eqz + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (i32.add + (i32.div_u + (i32.and + (tee_local $4 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 16777216) + ) ) ) - (br $case4|0) + (i32.const 2147483647) ) - (set_local $1 - (f64.sub - (f64.const 0.4636476090008061) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $1) - (get_local $2) - ) - ) - (f64.const 2.2698777452961687e-17) - ) - (get_local $0) + (i32.const 3) + ) + (i32.const 642849266) + ) + ) + (i32.add + (i32.div_u + (get_local $3) + (i32.const 3) + ) + (i32.const 709958130) + ) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.promote/f32 + (f32.reinterpret/i32 + (i32.or + (i32.and + (get_local $4) + (i32.const -2147483648) ) + (get_local $3) ) ) - (br $break|0) ) - (set_local $1 - (f64.sub - (f64.const 0.7853981633974483) - (f64.sub - (f64.sub - (f64.mul + ) + (get_local $1) + ) + (get_local $1) + ) + ) + (set_local $2 + (f64.mul + (f64.mul + (tee_local $1 + (f64.div + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 (get_local $0) - (f64.add - (get_local $1) - (get_local $2) - ) ) - (f64.const 3.061616997868383e-17) ) - (get_local $0) + (get_local $2) ) ) - ) - (br $break|0) - ) - (set_local $1 - (f64.sub - (f64.const 0.982793723247329) - (f64.sub - (f64.sub - (f64.mul + (f64.add + (f64.add + (f64.promote/f32 (get_local $0) - (f64.add - (get_local $1) - (get_local $2) - ) ) - (f64.const 1.3903311031230998e-17) + (get_local $2) ) - (get_local $0) + (get_local $2) ) ) ) - (br $break|0) + (get_local $1) ) - (set_local $1 - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $1) - (get_local $2) - ) - ) - (f64.const 6.123233995736766e-17) + (get_local $1) + ) + ) + (f32.demote/f64 + (f64.div + (f64.mul + (get_local $1) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 + (get_local $0) ) + ) + (get_local $2) + ) + ) + (f64.add + (f64.add + (f64.promote/f32 (get_local $0) ) + (get_local $2) ) + (get_local $2) ) - (br $break|0) ) - (unreachable) ) - (select - (f64.neg - (get_local $1) + ) + (func $std/math/test_cbrtf (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.cbrt" + (get_local $0) ) (get_local $1) - (get_local $4) + (get_local $2) + (get_local $3) ) ) - (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func "$(lib)/math/NativeMath.ceil" (; 85 ;) (type $FF) (param $0 f64) (result f64) + (f64.ceil + (get_local $0) + ) + ) + (func $std/math/test_ceil (; 86 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.atan" + (call "$(lib)/math/NativeMath.ceil" (get_local $0) ) (get_local $1) @@ -5249,7 +5185,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.atan" + (call "$(lib)/math/JSMath.ceil" (get_local $0) ) (get_local $1) @@ -5262,525 +5198,782 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) + (func "$(lib)/math/NativeMathf.ceil" (; 87 ;) (type $ff) (param $0 f32) (result f32) + (f32.ceil + (get_local $0) + ) + ) + (func $std/math/test_ceilf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.ceil" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.expm1" (; 89 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) (local $2 i32) - (local $3 f32) - (local $4 i32) - (set_local $4 - (i32.shr_u - (tee_local $2 - (i32.reinterpret/f32 - (get_local $0) + (local $3 f64) + (local $4 f64) + (local $5 i32) + (local $6 i64) + (local $7 i32) + (local $8 f64) + (set_local $7 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $6 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) ) + (i64.const 2147483647) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (get_local $6) + (i64.const 63) ) - (i32.const 31) ) ) (if (i32.ge_u - (tee_local $2 - (i32.and - (get_local $2) - (i32.const 2147483647) - ) - ) - (i32.const 1283457024) + (get_local $7) + (i32.const 1078159482) ) (block (if - (f32.ne - (tee_local $1 + (f64.ne + (tee_local $3 (get_local $0) ) - (get_local $1) + (get_local $3) ) (return (get_local $0) ) ) - (return - (select - (f32.neg - (tee_local $1 - (f32.const 1.570796251296997) - ) + (if + (get_local $5) + (return + (f64.const -1) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) ) - (get_local $1) - (get_local $4) ) ) ) ) (if - (i32.lt_u - (get_local $2) - (i32.const 1054867456) + (i32.gt_u + (get_local $7) + (i32.const 1071001154) ) (block (if (i32.lt_u - (get_local $2) - (i32.const 964689920) - ) - (return - (get_local $0) - ) - ) - (set_local $2 - (i32.const -1) - ) - ) - (block - (set_local $0 - (f32.abs - (get_local $0) + (get_local $7) + (i32.const 1072734898) ) - ) - (set_local $0 - (if (result f32) - (i32.lt_u - (get_local $2) - (i32.const 1066926080) - ) - (if (result f32) - (i32.lt_u - (get_local $2) - (i32.const 1060110336) - ) - (block (result f32) - (set_local $2 - (i32.const 0) - ) - (f32.div - (f32.sub - (f32.mul - (f32.const 2) - (get_local $0) - ) - (f32.const 1) - ) - (f32.add - (f32.const 2) - (get_local $0) - ) + (set_local $3 + (if (result f64) + (get_local $5) + (block (result f64) + (set_local $1 + (f64.const -1.9082149292705877e-10) + ) + (set_local $2 + (i32.const -1) + ) + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) ) ) - (block (result f32) + (block (result f64) + (set_local $1 + (f64.const 1.9082149292705877e-10) + ) (set_local $2 (i32.const 1) ) - (f32.div - (f32.sub - (get_local $0) - (f32.const 1) - ) - (f32.add - (get_local $0) - (f32.const 1) - ) + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) ) ) ) - (if (result f32) - (i32.lt_u - (get_local $2) - (i32.const 1075576832) - ) - (block (result f32) - (set_local $2 - (i32.const 2) - ) - (f32.div - (f32.sub - (get_local $0) - (f32.const 1.5) - ) - (f32.add - (f32.const 1) - (f32.mul - (f32.const 1.5) - (get_local $0) + ) + (block + (set_local $3 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $1 + (f64.convert_s/i32 + (tee_local $2 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (select + (f64.const -0.5) + (f64.const 0.5) + (get_local $5) + ) + ) + ) + ) ) ) + (f64.const 0.6931471803691238) ) ) - (block (result f32) - (set_local $2 - (i32.const 3) - ) - (f32.div - (f32.const -1) - (get_local $0) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $8 + (f64.sub + (f64.sub + (get_local $3) + (tee_local $0 + (f64.sub + (get_local $3) + (get_local $1) ) ) ) + (get_local $1) ) ) ) - ) - (set_local $3 - (f32.mul - (tee_local $1 - (f32.mul - (get_local $0) - (get_local $0) - ) + (if + (i32.lt_u + (get_local $7) + (i32.const 1016070144) + ) + (return + (get_local $0) ) - (get_local $1) ) ) (set_local $1 - (f32.mul - (get_local $1) - (f32.add - (f32.const 0.333333283662796) - (f32.mul - (get_local $3) - (f32.add - (f32.const 0.14253635704517365) - (f32.mul - (get_local $3) - (f32.const 0.06168760731816292) + (f64.sub + (f64.const 3) + (f64.mul + (tee_local $3 + (f64.add + (f64.const 1) + (f64.mul + (tee_local $4 + (f64.mul + (get_local $0) + (tee_local $1 + (f64.mul + (f64.const 0.5) + (get_local $0) + ) + ) + ) + ) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $4) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $4) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $4) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $4) + (f64.const -2.0109921818362437e-07) + ) + ) + ) + ) + ) + ) + ) + ) ) ) ) + (get_local $1) ) ) ) - (set_local $3 - (f32.mul - (get_local $3) - (f32.add - (f32.const -0.19999158382415771) - (f32.mul + (set_local $1 + (f64.mul + (get_local $4) + (f64.div + (f64.sub (get_local $3) - (f32.const -0.106480173766613) + (get_local $1) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $1) + ) ) ) ) ) (if - (i32.lt_s + (i32.eqz (get_local $2) - (i32.const 0) ) (return - (f32.sub + (f64.sub (get_local $0) - (f32.mul + (f64.sub + (f64.mul + (get_local $0) + (get_local $1) + ) + (get_local $4) + ) + ) + ) + ) + (set_local $1 + (f64.sub + (f64.sub + (f64.mul (get_local $0) - (f32.add + (f64.sub (get_local $1) - (get_local $3) + (get_local $8) ) ) + (get_local $8) ) + (get_local $4) ) ) - (block $break|0 - (block $case4|0 - (block $case3|0 - (block $case2|0 - (block $case1|0 - (block $case0|0 - (block $tablify|0 - (br_table $case0|0 $case1|0 $case2|0 $case3|0 $tablify|0 - (get_local $2) - ) - ) - (br $case4|0) - ) - (set_local $1 - (f32.sub - (f32.const 0.46364760398864746) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $1) - (get_local $3) - ) - ) - (f32.const 5.01215824399992e-09) - ) - (get_local $0) - ) - ) - ) - (br $break|0) + (if + (i32.eq + (get_local $2) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.sub + (get_local $0) + (get_local $1) ) - (set_local $1 - (f32.sub - (f32.const 0.7853981256484985) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $1) - (get_local $3) - ) - ) - (f32.const 3.774894707930798e-08) - ) + ) + (f64.const 0.5) + ) + ) + ) + (if + (i32.eq + (get_local $2) + (i32.const 1) + ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) + ) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $1) + (f64.add (get_local $0) + (f64.const 0.5) ) ) ) - (br $break|0) ) - (set_local $1 - (f32.sub - (f32.const 0.9827936887741089) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $1) - (get_local $3) - ) - ) - (f32.const 3.447321716976148e-08) - ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub (get_local $0) + (get_local $1) ) ) ) - (br $break|0) ) - (set_local $1 - (f32.sub - (f32.const 1.570796251296997) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $1) - (get_local $3) - ) - ) - (f32.const 7.549789415861596e-08) - ) - (get_local $0) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.shl + (i64.add + (i64.extend_u/i32 + (get_local $2) ) + (i64.const 1023) ) + (i64.const 52) ) - (br $break|0) - ) - (unreachable) - ) - (select - (f32.neg - (get_local $1) - ) - (get_local $1) - (get_local $4) - ) - ) - (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.atan" - (get_local $0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.cbrt" (; 73 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 f64) - (local $3 i32) - (local $4 i64) (if - (i32.ge_u - (tee_local $3 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 + (i32.and + (if (result i32) + (tee_local $5 + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + ) + (get_local $5) + (i32.gt_s + (get_local $2) + (i32.const 56) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.add + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + ) + (return + (f64.sub + (tee_local $0 + (select + (f64.mul + (f64.mul (get_local $0) + (f64.const 2) ) + (f64.const 8988465674311579538646525e283) + ) + (f64.mul + (get_local $0) + (get_local $3) + ) + (i32.eq + (get_local $2) + (i32.const 1024) ) - (i64.const 32) ) ) - (i32.const 2147483647) + (f64.const 1) ) ) - (i32.const 2146435072) ) - (return - (f64.add - (get_local $0) - (get_local $0) + ) + (set_local $6 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $2) + ) ) + (i64.const 52) ) ) - (set_local $3 - (if (result i32) - (i32.lt_u - (get_local $3) - (i32.const 1048576) - ) - (block (result i32) - (if - (i32.eqz - (tee_local $3 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) - ) - ) - ) - (i64.const 32) - ) - ) - (i32.const 2147483647) - ) - ) - ) - (return + (tee_local $0 + (select + (f64.mul + (f64.add + (f64.sub (get_local $0) + (get_local $1) ) - ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $6) + ) ) - (i32.const 696219795) ) + (get_local $3) ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $1) + (f64.reinterpret/i64 + (get_local $6) + ) + ) + ) + (f64.const 1) ) - (i32.const 715094163) + (get_local $3) + ) + (i32.lt_s + (get_local $2) + (i32.const 20) ) ) ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.or - (i64.and - (get_local $4) - (i64.const -9223372036854775808) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $3) + ) + (func "$(lib)/math/NativeMath.exp" (; 90 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 f64) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (set_local $4 + (i32.shr_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) + ) + ) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (i32.const 1082532651) + ) + (block + (if + (f64.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + (return + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (return + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + ) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1071001154) + ) + (set_local $0 + (f64.sub + (tee_local $2 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (tee_local $3 + (if (result i32) + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) + ) + ) + ) + (i32.sub + (i32.sub + (i32.const 1) + (get_local $4) + ) + (get_local $4) + ) + ) ) - (i64.const 32) ) + (f64.const 0.6931471803691238) ) ) ) - (get_local $1) + (tee_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $3) + ) + (f64.const 1.9082149292705877e-10) + ) + ) ) - (f64.div + ) + (if + (i32.gt_u (get_local $1) + (i32.const 1043333120) + ) + (set_local $2 (get_local $0) ) + (return + (f64.add + (f64.const 1) + (get_local $0) + ) + ) ) ) - (set_local $2 - (f64.div - (f64.sub - (tee_local $2 + (set_local $0 + (f64.add + (f64.const 1) + (f64.add + (f64.sub (f64.div - (get_local $0) (f64.mul - (tee_local $1 - (f64.reinterpret/i64 - (i64.and - (i64.add - (i64.reinterpret/f64 - (f64.mul - (get_local $1) - (f64.add + (get_local $0) + (tee_local $0 + (f64.sub + (get_local $0) + (f64.mul + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $0) (f64.add - (f64.const 1.87595182427177) + (f64.const 6.613756321437934e-05) (f64.mul - (get_local $2) + (get_local $0) (f64.add - (f64.const -1.8849797954337717) + (f64.const -1.6533902205465252e-06) (f64.mul - (get_local $2) - (f64.const 1.6214297201053545) + (get_local $0) + (f64.const 4.1381367970572385e-08) ) ) ) ) - (f64.mul - (f64.mul - (f64.mul - (get_local $2) - (get_local $2) - ) - (get_local $2) - ) - (f64.add - (f64.const -0.758397934778766) - (f64.mul - (get_local $2) - (f64.const 0.14599619288661245) - ) - ) - ) ) ) ) - (i64.const 2147483648) ) - (i64.const -1073741824) ) ) ) - (get_local $1) + ) + (f64.sub + (f64.const 2) + (get_local $0) ) ) + (get_local $5) ) - (get_local $1) + (get_local $2) ) - (f64.add - (f64.add - (get_local $1) + ) + ) + (if + (i32.eqz + (get_local $3) + ) + (return + (get_local $0) + ) + ) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.__expo2" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) + ) + ) + (tee_local $1 + (f64.const 2247116418577894884661631e283) + ) + ) + (get_local $1) + ) + ) + (func "$(lib)/math/NativeMath.cosh" (; 92 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i64) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $2 + (i64.and + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $1 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (i32.const 1072049730) + ) + (block + (if + (i32.lt_u (get_local $1) + (i32.const 1045430272) + ) + (return + (f64.const 1) + ) + ) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + ) + (get_local $0) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $0) + ) + ) + ) ) - (get_local $2) ) ) ) - (f64.add - (get_local $1) - (f64.mul + (if + (i32.lt_u (get_local $1) - (get_local $2) + (i32.const 1082535490) + ) + (return + (f64.mul + (f64.const 0.5) + (f64.add + (tee_local $0 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) + ) + (f64.div + (f64.const 1) + (get_local $0) + ) + ) + ) ) ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) + ) ) - (func $std/math/test_cbrt (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_cosh (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.cbrt" + (call "$(lib)/math/NativeMath.cosh" (get_local $0) ) (get_local $1) @@ -5794,7 +5987,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.cbrt" + (call "$(lib)/math/JSMath.cosh" (get_local $0) ) (get_local $1) @@ -5807,320 +6000,147 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 75 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f64) - (local $2 f64) + (func "$(lib)/math/NativeMathf.expm1" (; 94 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) (local $3 i32) - (local $4 i32) - (if - (i32.ge_u + (local $4 f32) + (local $5 f32) + (local $6 f32) + (set_local $2 + (i32.and (tee_local $3 - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 2147483647) + (i32.reinterpret/f32 + (get_local $0) ) ) - (i32.const 2139095040) - ) - (return - (f32.add - (get_local $0) - (get_local $0) - ) + (i32.const 2147483647) ) ) (set_local $3 - (if (result i32) - (i32.lt_u - (get_local $3) - (i32.const 8388608) - ) - (block (result i32) - (if - (i32.eqz - (get_local $3) - ) - (return - (get_local $0) - ) + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1100331076) + ) + (block + (if + (i32.gt_u + (get_local $2) + (i32.const 2139095040) ) - (i32.add - (i32.div_u - (i32.and - (tee_local $4 - (i32.reinterpret/f32 - (f32.mul - (get_local $0) - (f32.const 16777216) - ) - ) - ) - (i32.const 2147483647) - ) - (i32.const 3) - ) - (i32.const 642849266) + (return + (get_local $0) ) ) - (i32.add - (i32.div_u - (get_local $3) - (i32.const 3) + (if + (get_local $3) + (return + (f32.const -1) ) - (i32.const 709958130) ) - ) - ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.promote/f32 - (f32.reinterpret/i32 - (i32.or - (i32.and - (get_local $4) - (i32.const -2147483648) - ) - (get_local $3) - ) - ) + (if + (f32.gt + (get_local $0) + (f32.const 88.7216796875) + ) + (return + (f32.mul + (get_local $0) + (f32.const 1701411834604692317316873e14) ) ) - (get_local $1) ) - (get_local $1) ) ) - (set_local $2 - (f64.mul - (f64.mul - (tee_local $1 - (f64.div - (f64.mul - (get_local $1) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (get_local $2) + (if + (i32.gt_u + (get_local $2) + (i32.const 1051816472) + ) + (block + (if + (i32.lt_u + (get_local $2) + (i32.const 1065686418) + ) + (set_local $0 + (if (result f32) + (get_local $3) + (block (result f32) + (set_local $1 + (f32.const -9.05800061445916e-06) + ) + (set_local $2 + (i32.const -1) + ) + (f32.add + (get_local $0) + (f32.const 0.6931381225585938) ) ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (get_local $2) - ) - (get_local $2) - ) - ) - ) - (get_local $1) - ) - (get_local $1) - ) - ) - (f32.demote/f64 - (f64.div - (f64.mul - (get_local $1) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (get_local $2) - ) - ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (get_local $2) - ) - (get_local $2) - ) - ) - ) - ) - (func $std/math/test_cbrtf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.cbrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMath.expm1" (; 77 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 i32) - (local $3 f64) - (local $4 f64) - (local $5 i32) - (local $6 i64) - (local $7 i32) - (local $8 f64) - (set_local $7 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (tee_local $6 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) - ) - (i64.const 2147483647) - ) - ) - ) - (set_local $5 - (i32.wrap/i64 - (i64.shr_u - (get_local $6) - (i64.const 63) - ) - ) - ) - (if - (i32.ge_u - (get_local $7) - (i32.const 1078159482) - ) - (block - (if - (f64.ne - (tee_local $3 - (get_local $0) - ) - (get_local $3) - ) - (return - (get_local $0) - ) - ) - (if - (get_local $5) - (return - (f64.const -1) - ) - ) - (if - (f64.gt - (get_local $0) - (f64.const 709.782712893384) - ) - (return - (f64.mul - (get_local $0) - (f64.const 8988465674311579538646525e283) - ) - ) - ) - ) - ) - (if - (i32.gt_u - (get_local $7) - (i32.const 1071001154) - ) - (block - (if - (i32.lt_u - (get_local $7) - (i32.const 1072734898) - ) - (set_local $3 - (if (result f64) - (get_local $5) - (block (result f64) - (set_local $1 - (f64.const -1.9082149292705877e-10) - ) - (set_local $2 - (i32.const -1) - ) - (f64.add - (get_local $0) - (f64.const 0.6931471803691238) - ) - ) - (block (result f64) - (set_local $1 - (f64.const 1.9082149292705877e-10) - ) - (set_local $2 - (i32.const 1) - ) - (f64.sub - (get_local $0) - (f64.const 0.6931471803691238) + (block (result f32) + (set_local $1 + (f32.const 9.05800061445916e-06) + ) + (set_local $2 + (i32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 0.6931381225585938) ) ) ) ) (block - (set_local $3 - (f64.sub + (set_local $0 + (f32.sub (get_local $0) - (f64.mul + (f32.mul (tee_local $1 - (f64.convert_s/i32 + (f32.convert_s/i32 (tee_local $2 - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) (get_local $0) ) (select - (f64.const -0.5) - (f64.const 0.5) - (get_local $5) + (f32.const -0.5) + (f32.const 0.5) + (get_local $3) ) ) ) ) ) ) - (f64.const 0.6931471803691238) + (f32.const 0.6931381225585938) ) ) ) (set_local $1 - (f64.mul + (f32.mul (get_local $1) - (f64.const 1.9082149292705877e-10) + (f32.const 9.05800061445916e-06) ) ) ) ) - (set_local $8 - (f64.sub - (f64.sub - (get_local $3) + (set_local $5 + (f32.sub + (f32.sub + (get_local $0) (tee_local $0 - (f64.sub - (get_local $3) + (f32.sub + (get_local $0) (get_local $1) ) ) @@ -6131,56 +6151,41 @@ ) (if (i32.lt_u - (get_local $7) - (i32.const 1016070144) + (get_local $2) + (i32.const 855638016) ) (return (get_local $0) ) + (set_local $2 + (i32.const 0) + ) ) ) (set_local $1 - (f64.sub - (f64.const 3) - (f64.mul - (tee_local $3 - (f64.add - (f64.const 1) - (f64.mul + (f32.sub + (f32.const 3) + (f32.mul + (tee_local $6 + (f32.add + (f32.const 1) + (f32.mul (tee_local $4 - (f64.mul + (f32.mul (get_local $0) (tee_local $1 - (f64.mul - (f64.const 0.5) + (f32.mul + (f32.const 0.5) (get_local $0) ) ) ) ) - (f64.add - (f64.const -0.03333333333333313) - (f64.mul + (f32.add + (f32.const -0.03333321213722229) + (f32.mul (get_local $4) - (f64.add - (f64.const 1.5873015872548146e-03) - (f64.mul - (get_local $4) - (f64.add - (f64.const -7.93650757867488e-05) - (f64.mul - (get_local $4) - (f64.add - (f64.const 4.008217827329362e-06) - (f64.mul - (get_local $4) - (f64.const -2.0109921818362437e-07) - ) - ) - ) - ) - ) - ) + (f32.const 1.5807170420885086e-03) ) ) ) @@ -6191,16 +6196,16 @@ ) ) (set_local $1 - (f64.mul + (f32.mul (get_local $4) - (f64.div - (f64.sub - (get_local $3) + (f32.div + (f32.sub + (get_local $6) (get_local $1) ) - (f64.sub - (f64.const 6) - (f64.mul + (f32.sub + (f32.const 6) + (f32.mul (get_local $0) (get_local $1) ) @@ -6213,10 +6218,10 @@ (get_local $2) ) (return - (f64.sub + (f32.sub (get_local $0) - (f64.sub - (f64.mul + (f32.sub + (f32.mul (get_local $0) (get_local $1) ) @@ -6226,16 +6231,16 @@ ) ) (set_local $1 - (f64.sub - (f64.sub - (f64.mul + (f32.sub + (f32.sub + (f32.mul (get_local $0) - (f64.sub + (f32.sub (get_local $1) - (get_local $8) + (get_local $5) ) ) - (get_local $8) + (get_local $5) ) (get_local $4) ) @@ -6246,15 +6251,15 @@ (i32.const -1) ) (return - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.sub + (f32.sub + (f32.mul + (f32.const 0.5) + (f32.sub (get_local $0) (get_local $1) ) ) - (f64.const 0.5) + (f32.const 0.5) ) ) ) @@ -6265,29 +6270,29 @@ ) (block (if - (f64.lt + (f32.lt (get_local $0) - (f64.const -0.25) + (f32.const -0.25) ) (return - (f64.mul - (f64.const -2) - (f64.sub + (f32.mul + (f32.const -2) + (f32.sub (get_local $1) - (f64.add + (f32.add (get_local $0) - (f64.const 0.5) + (f32.const 0.5) ) ) ) ) ) (return - (f64.add - (f64.const 1) - (f64.mul - (f64.const 2) - (f64.sub + (f32.add + (f32.const 1) + (f32.mul + (f32.const 2) + (f32.sub (get_local $0) (get_local $1) ) @@ -6296,29 +6301,27 @@ ) ) ) - (set_local $3 - (f64.reinterpret/i64 - (i64.shl - (i64.add - (i64.extend_u/i32 - (get_local $2) - ) - (i64.const 1023) + (set_local $4 + (f32.reinterpret/i32 + (i32.shl + (i32.add + (get_local $2) + (i32.const 127) ) - (i64.const 52) + (i32.const 23) ) ) ) (if (i32.and (if (result i32) - (tee_local $5 + (tee_local $3 (i32.lt_s (get_local $2) (i32.const 0) ) ) - (get_local $5) + (get_local $3) (i32.gt_s (get_local $2) (i32.const 56) @@ -6328,106 +6331,99 @@ ) (block (set_local $0 - (f64.add - (f64.sub + (f32.add + (f32.sub (get_local $0) (get_local $1) ) - (f64.const 1) + (f32.const 1) ) ) (return - (f64.sub + (f32.sub (tee_local $0 (select - (f64.mul - (f64.mul + (f32.mul + (f32.mul (get_local $0) - (f64.const 2) + (f32.const 2) ) - (f64.const 8988465674311579538646525e283) + (f32.const 1701411834604692317316873e14) ) - (f64.mul + (f32.mul (get_local $0) - (get_local $3) + (get_local $4) ) (i32.eq (get_local $2) - (i32.const 1024) + (i32.const 128) ) ) ) - (f64.const 1) + (f32.const 1) ) ) ) ) - (set_local $6 - (i64.shl - (i64.sub - (i64.const 1023) - (i64.extend_u/i32 - (get_local $2) - ) + (set_local $3 + (i32.shl + (i32.sub + (i32.const 127) + (get_local $2) ) - (i64.const 52) + (i32.const 23) ) ) (tee_local $0 (select - (f64.mul - (f64.add - (f64.sub + (f32.mul + (f32.add + (f32.sub (get_local $0) (get_local $1) ) - (f64.sub - (f64.const 1) - (f64.reinterpret/i64 - (get_local $6) + (f32.sub + (f32.const 1) + (f32.reinterpret/i32 + (get_local $3) ) ) ) - (get_local $3) + (get_local $4) ) - (f64.mul - (f64.add - (f64.sub + (f32.mul + (f32.add + (f32.sub (get_local $0) - (f64.add + (f32.add (get_local $1) - (f64.reinterpret/i64 - (get_local $6) + (f32.reinterpret/i32 + (get_local $3) ) ) ) - (f64.const 1) + (f32.const 1) ) - (get_local $3) + (get_local $4) ) (i32.lt_s (get_local $2) - (i32.const 20) + (i32.const 23) ) ) ) ) - (func "$(lib)/math/NativeMath.exp" (; 78 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMathf.exp" (; 95 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (local $2 f64) - (local $3 i32) - (local $4 i32) - (local $5 f64) - (set_local $4 + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 i32) + (set_local $2 (i32.shr_u (tee_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) + (i32.reinterpret/f32 + (get_local $0) ) ) (i32.const 31) @@ -6441,39 +6437,43 @@ (i32.const 2147483647) ) ) - (i32.const 1082532651) + (i32.const 1118743632) ) (block (if - (f64.ne - (tee_local $2 - (get_local $0) + (i32.and + (if (result i32) + (tee_local $5 + (i32.ge_u + (get_local $1) + (i32.const 1118925336) + ) + ) + (i32.eqz + (get_local $2) + ) + (get_local $5) ) - (get_local $2) - ) - (return - (get_local $0) - ) - ) - (if - (f64.gt - (get_local $0) - (f64.const 709.782712893384) + (i32.const 1) ) (return - (f64.mul + (f32.mul (get_local $0) - (f64.const 8988465674311579538646525e283) + (f32.const 1701411834604692317316873e14) ) ) ) (if - (f64.lt - (get_local $0) - (f64.const -745.1332191019411) + (select + (i32.ge_u + (get_local $1) + (i32.const 1120924085) + ) + (get_local $2) + (get_local $2) ) (return - (f64.const 0) + (f32.const 0) ) ) ) @@ -6481,29 +6481,29 @@ (if (i32.gt_u (get_local $1) - (i32.const 1071001154) + (i32.const 1051816472) ) (set_local $0 - (f64.sub - (tee_local $2 - (f64.sub + (f32.sub + (tee_local $3 + (f32.sub (get_local $0) - (f64.mul - (f64.convert_s/i32 - (tee_local $3 + (f32.mul + (f32.convert_s/i32 + (tee_local $1 (if (result i32) - (i32.ge_u + (i32.gt_u (get_local $1) - (i32.const 1072734898) + (i32.const 1065686418) ) - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) (get_local $0) ) - (f64.copysign - (f64.const 0.5) + (f32.copysign + (f32.const 0.5) (get_local $0) ) ) @@ -6511,23 +6511,23 @@ (i32.sub (i32.sub (i32.const 1) - (get_local $4) + (get_local $2) ) - (get_local $4) + (get_local $2) ) ) ) ) - (f64.const 0.6931471803691238) + (f32.const 0.693145751953125) ) ) ) - (tee_local $5 - (f64.mul - (f64.convert_s/i32 - (get_local $3) + (tee_local $4 + (f32.mul + (f32.convert_s/i32 + (get_local $1) ) - (f64.const 1.9082149292705877e-10) + (f32.const 1.428606765330187e-06) ) ) ) @@ -6535,160 +6535,139 @@ (if (i32.gt_u (get_local $1) - (i32.const 1043333120) - ) - (set_local $2 - (get_local $0) + (i32.const 956301312) ) - (return - (f64.add - (f64.const 1) + (block + (set_local $1 + (i32.const 0) + ) + (set_local $3 + (get_local $0) + ) + ) + (return + (f32.add + (f32.const 1) (get_local $0) ) ) ) ) (set_local $0 - (f64.add - (f64.const 1) - (f64.add - (f64.sub - (f64.div - (f64.mul + (f32.add + (f32.const 1) + (f32.add + (f32.sub + (f32.div + (f32.mul (get_local $0) (tee_local $0 - (f64.sub + (f32.sub (get_local $0) - (f64.mul + (f32.mul (tee_local $0 - (f64.mul + (f32.mul (get_local $0) (get_local $0) ) ) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul + (f32.add + (f32.const 0.16666625440120697) + (f32.mul (get_local $0) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $0) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $0) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $0) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) + (f32.const -2.7667332906275988e-03) ) ) ) ) ) ) - (f64.sub - (f64.const 2) + (f32.sub + (f32.const 2) (get_local $0) ) ) - (get_local $5) + (get_local $4) ) - (get_local $2) + (get_local $3) ) ) ) (if (i32.eqz - (get_local $3) + (get_local $1) ) (return (get_local $0) ) ) - (call "$(lib)/math/NativeMath.scalbn" + (call "$(lib)/math/NativeMathf.scalbn" (get_local $0) - (get_local $3) + (get_local $1) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 79 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (f64.mul - (f64.mul - (call "$(lib)/math/NativeMath.exp" - (f64.sub + (func "$(lib)/math/NativeMathf.__expo2" (; 96 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (f32.mul + (f32.mul + (call "$(lib)/math/NativeMathf.exp" + (f32.sub (get_local $0) - (f64.const 1416.0996898839683) + (f32.const 162.88958740234375) ) ) (tee_local $1 - (f64.const 2247116418577894884661631e283) + (f32.const 1661534994731144841129758e11) ) ) (get_local $1) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 80 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMathf.cosh" (; 97 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (local $2 i64) (set_local $0 - (f64.reinterpret/i64 - (tee_local $2 - (i64.and - (i64.reinterpret/f64 + (f32.reinterpret/i32 + (tee_local $1 + (i32.and + (i32.reinterpret/f32 (get_local $0) ) - (i64.const 9223372036854775807) + (i32.const 2147483647) ) ) ) ) (if (i32.lt_u - (tee_local $1 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 32) - ) - ) - ) - (i32.const 1072049730) + (get_local $1) + (i32.const 1060205079) ) (block (if (i32.lt_u (get_local $1) - (i32.const 1045430272) + (i32.const 964689920) ) (return - (f64.const 1) + (f32.const 1) ) ) (return - (f64.add - (f64.const 1) - (f64.div - (f64.mul + (f32.add + (f32.const 1) + (f32.div + (f32.mul (tee_local $0 - (call "$(lib)/math/NativeMath.expm1" + (call "$(lib)/math/NativeMathf.expm1" (get_local $0) ) ) (get_local $0) ) - (f64.mul - (f64.const 2) - (f64.add - (f64.const 1) + (f32.mul + (f32.const 2) + (f32.add + (f32.const 1) (get_local $0) ) ) @@ -6700,36 +6679,46 @@ (if (i32.lt_u (get_local $1) - (i32.const 1082535490) + (i32.const 1118925335) ) (return - (f64.mul - (f64.const 0.5) - (f64.add + (f32.mul + (f32.const 0.5) + (f32.add (tee_local $0 - (call "$(lib)/math/NativeMath.exp" + (call "$(lib)/math/NativeMathf.exp" (get_local $0) ) ) - (f64.div - (f64.const 1) + (f32.div + (f32.const 1) (get_local $0) ) ) ) ) ) - (call "$(lib)/math/NativeMath.__expo2" + (call "$(lib)/math/NativeMathf.__expo2" (get_local $0) ) ) - (func $std/math/test_cosh (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_coshf (; 98 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $std/math/test_exp (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.cosh" + (call "$(lib)/math/NativeMath.exp" (get_local $0) ) (get_local $1) @@ -6743,7 +6732,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.cosh" + (call "$(lib)/math/JSMath.exp" (get_local $0) ) (get_local $1) @@ -6756,768 +6745,602 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 82 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (set_local $2 - (i32.and - (tee_local $3 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 2147483647) - ) - ) - (set_local $3 - (i32.shr_u - (get_local $3) - (i32.const 31) + (func $std/math/test_expf (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1100331076) - ) - (block - (if - (i32.gt_u + ) + (func $std/math/test_expm1 (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) + ) + (get_local $1) (get_local $2) - (i32.const 2139095040) - ) - (return - (get_local $0) - ) - ) - (if - (get_local $3) - (return - (f32.const -1) + (get_local $3) ) ) - (if - (f32.gt - (get_local $0) - (f32.const 88.7216796875) + (if (result i32) + (tee_local $4 + (i32.const 0) ) - (return - (f32.mul + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.expm1" (get_local $0) - (f32.const 1701411834604692317316873e14) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) + (i32.const 1) ) - (if - (i32.gt_u - (get_local $2) - (i32.const 1051816472) + ) + (func $std/math/test_expm1f (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) ) - (block - (if - (i32.lt_u - (get_local $2) - (i32.const 1065686418) - ) - (set_local $0 - (if (result f32) - (get_local $3) - (block (result f32) - (set_local $1 - (f32.const -9.05800061445916e-06) - ) - (set_local $2 - (i32.const -1) - ) - (f32.add - (get_local $0) - (f32.const 0.6931381225585938) - ) - ) - (block (result f32) - (set_local $1 - (f32.const 9.05800061445916e-06) - ) - (set_local $2 - (i32.const 1) - ) - (f32.sub - (get_local $0) - (f32.const 0.6931381225585938) - ) - ) - ) - ) - (block - (set_local $0 - (f32.sub - (get_local $0) - (f32.mul - (tee_local $1 - (f32.convert_s/i32 - (tee_local $2 - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) - ) - (select - (f32.const -0.5) - (f32.const 0.5) - (get_local $3) - ) - ) - ) - ) - ) - ) - (f32.const 0.6931381225585938) - ) - ) - ) - (set_local $1 - (f32.mul - (get_local $1) - (f32.const 9.05800061445916e-06) - ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.floor" (; 103 ;) (type $FF) (param $0 f64) (result f64) + (f64.floor + (get_local $0) + ) + ) + (func $std/math/test_floor (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.floor" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (set_local $5 - (f32.sub - (f32.sub + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.floor" (get_local $0) - (tee_local $0 - (f32.sub - (get_local $0) - (get_local $1) - ) - ) ) (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) - (if - (i32.lt_u - (get_local $2) - (i32.const 855638016) - ) - (return - (get_local $0) - ) - (set_local $2 - (i32.const 0) - ) - ) + (i32.const 1) ) - (set_local $1 - (f32.sub - (f32.const 3) - (f32.mul - (tee_local $6 - (f32.add - (f32.const 1) - (f32.mul - (tee_local $4 - (f32.mul - (get_local $0) - (tee_local $1 - (f32.mul - (f32.const 0.5) - (get_local $0) - ) - ) - ) - ) - (f32.add - (f32.const -0.03333321213722229) - (f32.mul - (get_local $4) - (f32.const 1.5807170420885086e-03) - ) - ) - ) - ) - ) - (get_local $1) - ) - ) + ) + (func "$(lib)/math/NativeMathf.floor" (; 105 ;) (type $ff) (param $0 f32) (result f32) + (f32.floor + (get_local $0) ) - (set_local $1 - (f32.mul - (get_local $4) - (f32.div - (f32.sub - (get_local $6) - (get_local $1) - ) - (f32.sub - (f32.const 6) - (f32.mul - (get_local $0) - (get_local $1) - ) - ) - ) + ) + (func $std/math/test_floorf (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.floor" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) + ) + (func "$(lib)/math/NativeMath.hypot" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i64) + (local $5 i64) + (local $6 f64) + (local $7 i32) + (local $8 i32) + (local $9 i64) + (local $10 i32) + (local $11 f64) (if - (i32.eqz - (get_local $2) - ) - (return - (f32.sub - (get_local $0) - (f32.sub - (f32.mul + (i64.lt_u + (tee_local $5 + (i64.and + (i64.reinterpret/f64 (get_local $0) - (get_local $1) ) - (get_local $4) + (i64.const 9223372036854775807) ) ) - ) - ) - (set_local $1 - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.sub + (tee_local $4 + (i64.and + (i64.reinterpret/f64 (get_local $1) - (get_local $5) ) + (i64.const 9223372036854775807) ) + ) + ) + (block + (set_local $9 (get_local $5) ) + (set_local $5 + (get_local $4) + ) + (set_local $4 + (get_local $9) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 (get_local $4) ) ) (if (i32.eq - (get_local $2) - (i32.const -1) - ) - (return - (f32.sub - (f32.mul - (f32.const 0.5) - (f32.sub - (get_local $0) - (get_local $1) + (tee_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 52) ) ) - (f32.const 0.5) ) + (i32.const 2047) + ) + (return + (get_local $1) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $5) ) ) (if - (i32.eq - (get_local $2) + (i32.and + (if (result i32) + (tee_local $10 + (i32.eq + (tee_local $8 + (i32.wrap/i64 + (i64.shr_u + (get_local $5) + (i64.const 52) + ) + ) + ) + (i32.const 2047) + ) + ) + (get_local $10) + (i64.eq + (get_local $4) + (i64.const 0) + ) + ) (i32.const 1) ) - (block - (if - (f32.lt + (return + (get_local $0) + ) + ) + (if + (i32.gt_s + (i32.sub + (get_local $8) + (get_local $7) + ) + (i32.const 64) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $6 + (f64.const 1) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1533) + ) + (block + (set_local $6 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul (get_local $0) - (f32.const -0.25) + (f64.const 1.90109156629516e-211) ) - (return - (f32.mul - (f32.const -2) - (f32.sub - (get_local $1) - (f32.add - (get_local $0) - (f32.const 0.5) - ) - ) - ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) ) ) - (return - (f32.add - (f32.const 1) - (f32.mul - (f32.const 2) - (f32.sub - (get_local $0) - (get_local $1) - ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 573) + ) + (block + (set_local $6 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) ) ) ) ) ) - (set_local $4 - (f32.reinterpret/i32 - (i32.shl - (i32.add + (set_local $3 + (f64.sub + (get_local $0) + (tee_local $2 + (f64.add + (f64.sub + (get_local $0) + (tee_local $2 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + ) (get_local $2) - (i32.const 127) ) - (i32.const 23) ) ) ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_s + (set_local $11 + (f64.add + (f64.add + (f64.sub + (f64.mul (get_local $2) - (i32.const 0) + (get_local $2) + ) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $0) + ) ) ) - (get_local $3) - (i32.gt_s - (get_local $2) - (i32.const 56) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) ) ) - (i32.const 1) + (f64.mul + (get_local $3) + (get_local $3) + ) ) - (block - (set_local $0 - (f32.add - (f32.sub - (get_local $0) + ) + (set_local $3 + (f64.sub + (get_local $1) + (tee_local $2 + (f64.add + (f64.sub (get_local $1) + (tee_local $2 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) ) - (f32.const 1) + (get_local $2) ) ) - (return - (f32.sub - (tee_local $0 - (select - (f32.mul - (f32.mul - (get_local $0) - (f32.const 2) + ) + ) + (f64.mul + (get_local $6) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $2) + (get_local $2) + ) + (tee_local $1 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (get_local $3) ) - (f32.const 1701411834604692317316873e14) - ) - (f32.mul - (get_local $0) - (get_local $4) ) - (i32.eq - (get_local $2) - (i32.const 128) + (f64.mul + (get_local $3) + (get_local $3) ) ) + (get_local $11) ) - (f32.const 1) + (get_local $1) ) + (get_local $0) ) ) ) - (set_local $3 - (i32.shl - (i32.sub - (i32.const 127) - (get_local $2) - ) - (i32.const 23) - ) - ) - (tee_local $0 - (select - (f32.mul - (f32.add - (f32.sub + ) + (func $std/math/test_hypot (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.hypot" (get_local $0) (get_local $1) ) - (f32.sub - (f32.const 1) - (f32.reinterpret/i32 - (get_local $3) - ) - ) + (get_local $2) + (get_local $3) + (get_local $4) ) - (get_local $4) ) - (f32.mul - (f32.add - (f32.sub + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.hypot" (get_local $0) - (f32.add - (get_local $1) - (f32.reinterpret/i32 - (get_local $3) - ) - ) + (get_local $1) ) - (f32.const 1) + (get_local $2) + (get_local $3) + (get_local $4) ) - (get_local $4) - ) - (i32.lt_s - (get_local $2) - (i32.const 23) ) + (get_local $5) ) + (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.exp" (; 83 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMathf.hypot" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 i32) - (set_local $2 - (i32.shr_u - (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (i32.const 31) - ) - ) + (local $3 i32) + (local $4 i32) + (local $5 f32) (if - (i32.ge_u - (tee_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (i32.const 1118743632) - ) - (block - (if + (i32.lt_u + (tee_local $3 (i32.and - (if (result i32) - (tee_local $5 - (i32.ge_u - (get_local $1) - (i32.const 1118925336) - ) - ) - (i32.eqz - (get_local $2) - ) - (get_local $5) - ) - (i32.const 1) - ) - (return - (f32.mul + (i32.reinterpret/f32 (get_local $0) - (f32.const 1701411834604692317316873e14) ) + (i32.const 2147483647) ) ) - (if - (select - (i32.ge_u + (tee_local $2 + (i32.and + (i32.reinterpret/f32 (get_local $1) - (i32.const 1120924085) ) - (get_local $2) - (get_local $2) - ) - (return - (f32.const 0) + (i32.const 2147483647) ) ) ) + (block + (set_local $4 + (get_local $3) + ) + (set_local $3 + (get_local $2) + ) + (set_local $2 + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $3) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (get_local $2) + ) ) (if - (i32.gt_u + (i32.eq + (get_local $2) + (i32.const 2139095040) + ) + (return (get_local $1) - (i32.const 1051816472) ) - (set_local $0 - (f32.sub - (tee_local $3 - (f32.sub - (get_local $0) - (f32.mul - (f32.convert_s/i32 - (tee_local $1 - (if (result i32) - (i32.gt_u - (get_local $1) - (i32.const 1065686418) - ) - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) - ) - (f32.copysign - (f32.const 0.5) - (get_local $0) - ) - ) - ) - (i32.sub - (i32.sub - (i32.const 1) - (get_local $2) - ) - (get_local $2) - ) - ) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i32.ge_u + (get_local $3) + (i32.const 2139095040) ) ) - (f32.const 0.693145751953125) + (get_local $4) + (i32.eqz + (get_local $2) + ) ) + (i32.const 1) ) ) - (tee_local $4 - (f32.mul - (f32.convert_s/i32 - (get_local $1) - ) - (f32.const 1.428606765330187e-06) + (get_local $4) + (i32.ge_u + (i32.sub + (get_local $3) + (get_local $2) ) + (i32.const 209715200) ) ) + (i32.const 1) ) - (if - (i32.gt_u + (return + (f32.add + (get_local $0) (get_local $1) - (i32.const 956301312) ) - (block - (set_local $1 - (i32.const 0) - ) - (set_local $3 + ) + ) + (set_local $5 + (f32.const 1) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 1568669696) + ) + (block + (set_local $5 + (f32.const 1237940039285380274899124e3) + ) + (set_local $0 + (f32.mul (get_local $0) + (f32.const 8.077935669463161e-28) ) ) - (return - (f32.add - (f32.const 1) - (get_local $0) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 8.077935669463161e-28) ) ) ) - ) - (set_local $0 - (f32.add - (f32.const 1) - (f32.add - (f32.sub - (f32.div - (f32.mul - (get_local $0) - (tee_local $0 - (f32.sub - (get_local $0) - (f32.mul - (tee_local $0 - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - (f32.add - (f32.const 0.16666625440120697) - (f32.mul - (get_local $0) - (f32.const -2.7667332906275988e-03) - ) - ) - ) - ) - ) - ) - (f32.sub - (f32.const 2) - (get_local $0) - ) + (if + (i32.lt_u + (get_local $2) + (i32.const 562036736) + ) + (block + (set_local $5 + (f32.const 8.077935669463161e-28) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1237940039285380274899124e3) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 1237940039285380274899124e3) ) - (get_local $4) ) - (get_local $3) ) ) ) - (if - (i32.eqz - (get_local $1) - ) - (return - (get_local $0) - ) - ) - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $0) - (get_local $1) - ) - ) - (func "$(lib)/math/NativeMathf.__expo2" (; 84 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) (f32.mul - (f32.mul - (call "$(lib)/math/NativeMathf.exp" - (f32.sub - (get_local $0) - (f32.const 162.88958740234375) - ) - ) - (tee_local $1 - (f32.const 1661534994731144841129758e11) - ) - ) - (get_local $1) - ) - ) - (func "$(lib)/math/NativeMathf.cosh" (; 85 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (set_local $0 - (f32.reinterpret/i32 - (tee_local $1 - (i32.and - (i32.reinterpret/f32 - (get_local $0) - ) - (i32.const 2147483647) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1060205079) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.const 964689920) - ) - (return - (f32.const 1) - ) - ) - (return - (f32.add - (f32.const 1) - (f32.div - (f32.mul - (tee_local $0 - (call "$(lib)/math/NativeMathf.expm1" - (get_local $0) - ) - ) + (get_local $5) + (f32.sqrt + (f32.demote/f64 + (f64.add + (f64.mul + (f64.promote/f32 (get_local $0) ) - (f32.mul - (f32.const 2) - (f32.add - (f32.const 1) - (get_local $0) - ) - ) - ) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1118925335) - ) - (return - (f32.mul - (f32.const 0.5) - (f32.add - (tee_local $0 - (call "$(lib)/math/NativeMathf.exp" + (f64.promote/f32 (get_local $0) ) ) - (f32.div - (f32.const 1) - (get_local $0) - ) - ) - ) - ) - ) - (call "$(lib)/math/NativeMathf.__expo2" - (get_local $0) - ) - ) - (func $std/math/test_coshf (; 86 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.cosh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func $std/math/test_exp (; 87 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.exp" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.exp" - (get_local $0) + (f64.mul + (f64.promote/f32 + (get_local $1) + ) + (f64.promote/f32 + (get_local $1) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (get_local $4) ) - (i32.const 1) ) ) - (func $std/math/test_expf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_hypotf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.exp" + (call "$(lib)/math/NativeMathf.hypot" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (func $std/math/test_expm1 (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.expm1" + (call "$(lib)/math/NativeMath.log" (get_local $0) ) (get_local $1) @@ -7531,7 +7354,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.expm1" + (call "$(lib)/math/JSMath.log" (get_local $0) ) (get_local $1) @@ -7544,9 +7367,9 @@ (i32.const 1) ) ) - (func $std/math/test_expm1f (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check - (call "$(lib)/math/NativeMathf.expm1" + (call "$(lib)/math/NativeMathf.log" (get_local $0) ) (get_local $1) @@ -7554,723 +7377,197 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.hypot" (; 91 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 f64) - (local $3 f64) + (func "$(lib)/math/NativeMath.log10" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i32) + (local $3 i32) (local $4 i64) - (local $5 i64) + (local $5 i32) (local $6 f64) - (local $7 i32) - (local $8 i32) - (local $9 i64) - (local $10 i32) - (local $11 f64) - (if - (i64.lt_u - (tee_local $5 - (i64.and - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 9223372036854775807) - ) - ) - (tee_local $4 - (i64.and - (i64.reinterpret/f64 - (get_local $1) - ) - (i64.const 9223372036854775807) - ) - ) - ) - (block - (set_local $9 - (get_local $5) - ) - (set_local $5 - (get_local $4) - ) - (set_local $4 - (get_local $9) - ) - ) - ) - (set_local $1 - (f64.reinterpret/i64 - (get_local $4) - ) - ) - (if - (i32.eq - (tee_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $4) - (i64.const 52) - ) - ) - ) - (i32.const 2047) - ) - (return - (get_local $1) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $5) - ) - ) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) (if (i32.and (if (result i32) - (tee_local $10 - (i32.eq - (tee_local $8 + (tee_local $5 + (i32.lt_u + (tee_local $2 (i32.wrap/i64 (i64.shr_u - (get_local $5) - (i64.const 52) + (tee_local $4 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) ) ) ) - (i32.const 2047) + (i32.const 1048576) ) ) - (get_local $10) - (i64.eq - (get_local $4) - (i64.const 0) + (get_local $5) + (i32.shr_u + (get_local $2) + (i32.const 31) ) ) (i32.const 1) ) - (return - (get_local $0) - ) - ) - (if - (i32.gt_s - (i32.sub - (get_local $8) - (get_local $7) - ) - (i32.const 64) - ) - (return - (f64.add - (get_local $0) - (get_local $1) - ) - ) - ) - (set_local $6 - (f64.const 1) - ) - (if - (i32.gt_s - (get_local $8) - (i32.const 1533) - ) (block - (set_local $6 - (f64.const 5260135901548373507240989e186) - ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 1.90109156629516e-211) + (if + (i64.eq + (i64.shl + (get_local $4) + (i64.const 1) + ) + (i64.const 0) ) - ) - (set_local $1 - (f64.mul - (get_local $1) - (f64.const 1.90109156629516e-211) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) ) ) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 573) - ) - (block - (set_local $6 - (f64.const 1.90109156629516e-211) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 5260135901548373507240989e186) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) ) ) - (set_local $1 - (f64.mul - (get_local $1) - (f64.const 5260135901548373507240989e186) - ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) ) ) - ) - ) - (set_local $3 - (f64.sub - (get_local $0) - (tee_local $2 - (f64.add - (f64.sub - (get_local $0) - (tee_local $2 - (f64.mul - (get_local $0) - (f64.const 134217729) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (tee_local $4 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) ) ) + (i64.const 32) ) - (get_local $2) ) ) ) - ) - (set_local $11 - (f64.add - (f64.add - (f64.sub - (f64.mul - (get_local $2) - (get_local $2) - ) - (tee_local $0 - (f64.mul - (get_local $0) - (get_local $0) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $5 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $4) + (i64.const 32) + ) + (i64.const 0) ) + (get_local $5) ) + (i32.const 1) ) - (f64.mul - (f64.mul - (f64.const 2) - (get_local $2) - ) - (get_local $3) + (return + (f64.const 0) ) ) - (f64.mul - (get_local $3) - (get_local $3) - ) ) ) (set_local $3 - (f64.sub - (get_local $1) - (tee_local $2 - (f64.add - (f64.sub - (get_local $1) - (tee_local $2 - (f64.mul - (get_local $1) - (f64.const 134217729) - ) + (i32.add + (get_local $3) + (i32.sub + (i32.shr_u + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 614242) ) ) - (get_local $2) + (i32.const 20) ) + (i32.const 1023) ) ) ) - (f64.mul - (get_local $6) - (f64.sqrt - (f64.add - (f64.add - (f64.add - (f64.add - (f64.add - (f64.sub - (f64.mul - (get_local $2) - (get_local $2) - ) - (tee_local $1 - (f64.mul - (get_local $1) - (get_local $1) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (tee_local $1 + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) ) ) + (i64.const 32) ) - (f64.mul - (f64.mul - (f64.const 2) - (get_local $2) - ) - (get_local $3) + (i64.and + (get_local $4) + (i64.const 4294967295) ) ) - (f64.mul - (get_local $3) - (get_local $3) - ) ) - (get_local $11) + (f64.const 1) ) - (get_local $1) ) - (get_local $0) ) + (get_local $1) ) ) - ) - (func $std/math/test_hypot (; 92 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) - (i32.and - (if (result i32) - (tee_local $5 - (call $std/math/check - (call "$(lib)/math/NativeMath.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (if (result i32) - (tee_local $5 - (i32.const 0) - ) - (get_local $5) - (call $std/math/check - (call "$(lib)/math/JSMath.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (get_local $5) - ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.hypot" (; 93 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 f32) - (if - (i32.lt_u - (tee_local $3 - (i32.and - (i32.reinterpret/f32 - (get_local $0) - ) - (i32.const 2147483647) - ) - ) - (tee_local $2 - (i32.and - (i32.reinterpret/f32 - (get_local $1) - ) - (i32.const 2147483647) - ) - ) - ) - (block - (set_local $4 - (get_local $3) - ) - (set_local $3 - (get_local $2) - ) - (set_local $2 - (get_local $4) - ) - ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $3) - ) - ) - (set_local $1 - (f32.reinterpret/i32 - (get_local $2) - ) - ) - (if - (i32.eq - (get_local $2) - (i32.const 2139095040) - ) - (return - (get_local $1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.and - (if (result i32) - (tee_local $4 - (i32.ge_u - (get_local $3) - (i32.const 2139095040) - ) - ) - (get_local $4) - (i32.eqz - (get_local $2) - ) - ) - (i32.const 1) - ) - ) - (get_local $4) - (i32.ge_u - (i32.sub - (get_local $3) - (get_local $2) - ) - (i32.const 209715200) - ) - ) - (i32.const 1) - ) - (return - (f32.add - (get_local $0) - (get_local $1) - ) - ) - ) - (set_local $5 - (f32.const 1) - ) - (if - (i32.ge_u - (get_local $3) - (i32.const 1568669696) - ) - (block - (set_local $5 - (f32.const 1237940039285380274899124e3) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 8.077935669463161e-28) - ) - ) - (set_local $1 - (f32.mul - (get_local $1) - (f32.const 8.077935669463161e-28) - ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 562036736) - ) - (block - (set_local $5 - (f32.const 8.077935669463161e-28) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 1237940039285380274899124e3) - ) - ) - (set_local $1 - (f32.mul - (get_local $1) - (f32.const 1237940039285380274899124e3) - ) - ) - ) - ) - ) - (f32.mul - (get_local $5) - (f32.sqrt - (f32.demote/f64 - (f64.add - (f64.mul - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (f64.mul - (f64.promote/f32 - (get_local $1) - ) - (f64.promote/f32 - (get_local $1) - ) - ) - ) - ) - ) - ) - ) - (func $std/math/test_hypotf (; 94 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (func $std/math/test_log (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) - ) - (i32.const 1) - ) - ) - (func $std/math/test_logf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMath.log10" (; 97 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 i32) - (local $3 i32) - (local $4 i64) - (local $5 i32) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.lt_u - (tee_local $2 - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) - ) - ) - ) - (i32.const 1048576) - ) - ) - (get_local $5) - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - ) - (i32.const 1) - ) - (block - (if - (i64.eq - (i64.shl - (get_local $4) - (i64.const 1) - ) - (i64.const 0) - ) - (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.const 0) - ) - ) - ) - (set_local $3 - (i32.sub - (get_local $3) - (i32.const 54) - ) - ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (tee_local $4 - (i64.reinterpret/f64 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) - ) - ) - ) - (i64.const 32) - ) - ) - ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.eq - (get_local $2) - (i32.const 1072693248) - ) - ) - (i64.eq - (i64.shl - (get_local $4) - (i64.const 32) - ) - (i64.const 0) - ) - (get_local $5) - ) - (i32.const 1) - ) - (return - (f64.const 0) - ) - ) - ) - ) - (set_local $3 - (i32.add - (get_local $3) - (i32.sub - (i32.shr_u - (tee_local $2 - (i32.add - (get_local $2) - (i32.const 614242) - ) - ) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - ) - (set_local $6 - (f64.mul - (f64.mul - (f64.const 0.5) - (tee_local $1 - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.and - (get_local $2) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (i64.const 32) - ) - (i64.and - (get_local $4) - (i64.const 4294967295) - ) - ) - ) - (f64.const 1) - ) - ) - ) - (get_local $1) - ) - ) - (set_local $0 - (f64.mul - (tee_local $8 - (f64.mul - (tee_local $7 - (f64.div - (get_local $1) - (f64.add - (f64.const 2) - (get_local $1) - ) - ) + (set_local $0 + (f64.mul + (tee_local $8 + (f64.mul + (tee_local $7 + (f64.div + (get_local $1) + (f64.add + (f64.const 2) + (get_local $1) + ) + ) ) (get_local $7) ) @@ -8398,7 +7695,7 @@ (get_local $0) ) ) - (func $std/math/test_log10 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -8431,7 +7728,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log10" (; 99 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log10" (; 115 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -8671,7 +7968,7 @@ ) ) ) - (func $std/math/test_log10f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log10" (get_local $0) @@ -8681,7 +7978,7 @@ (get_local $3) ) ) - (func $std/math/test_log1p (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 117 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -8714,7 +8011,7 @@ (i32.const 1) ) ) - (func $std/math/test_log1pf (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 118 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" (get_local $0) @@ -8724,7 +8021,7 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.log2" (; 103 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 119 ;) (type $FF) (param $0 f64) (result f64) (local $1 f64) (local $2 i32) (local $3 f64) @@ -9030,7 +8327,7 @@ (get_local $1) ) ) - (func $std/math/test_log2 (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 120 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (i32.and (if (result i32) @@ -9063,7 +8360,7 @@ (i32.const 1) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 105 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 121 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 f32) @@ -9291,7 +8588,7 @@ ) ) ) - (func $std/math/test_log2f (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 122 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check (call "$(lib)/math/NativeMathf.log2" (get_local $0) @@ -9301,1118 +8598,1229 @@ (get_local $3) ) ) - (func "$(lib)/math/NativeMath.pow" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 f64) - (local $3 f64) - (local $4 i32) + (func "$(lib)/math/NativeMath.max" (; 123 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (f64.max + (get_local $0) + (get_local $1) + ) + ) + (func $std/math/test_max (; 124 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 f64) - (local $10 i32) - (local $11 i32) - (local $12 f64) - (local $13 i32) - (local $14 f64) - (local $15 i32) - (local $16 f64) - (local $17 f64) - (local $18 f64) - (local $19 i64) - (block $folding-inner1 - (block $folding-inner0 - (set_local $4 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.max" + (get_local $0) + (get_local $1) ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (set_local $13 - (i32.wrap/i64 - (get_local $19) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.max" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (set_local $5 - (i32.and + (get_local $5) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.max" (; 125 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (f32.max + (get_local $0) + (get_local $1) + ) + ) + (func $std/math/test_maxf (; 126 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.max" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.min" (; 127 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (f64.min + (get_local $0) + (get_local $1) + ) + ) + (func $std/math/test_min (; 128 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) (get_local $4) - (i32.const 2147483647) ) ) - (if - (i32.eqz - (i32.or - (tee_local $10 - (i32.and - (tee_local $11 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (i64.const 32) - ) - ) - ) - (i32.const 2147483647) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.min" (; 129 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (f32.min + (get_local $0) + (get_local $1) + ) + ) + (func $std/math/test_minf (; 130 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.mod" (; 131 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i64) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (block $folding-inner0 + (set_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) ) ) - (tee_local $6 - (i32.wrap/i64 - (get_local $19) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $5 + (i64.reinterpret/f64 + (get_local $1) ) ) + (i64.const 52) ) - ) - (return - (f64.const 1) + (i64.const 2047) ) ) - (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i32.gt_s - (get_local $5) - (i32.const 2146435072) - ) - ) - (get_local $7) - (if (result i32) - (tee_local $7 - (i32.eq - (get_local $5) - (i32.const 2146435072) - ) - ) - (i32.ne - (get_local $13) - (i32.const 0) - ) - (get_local $7) - ) - ) - (i32.const 1) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i64.eq + (i64.shl + (get_local $5) + (i64.const 1) ) - ) - (get_local $7) - (i32.gt_s - (get_local $10) - (i32.const 2146435072) + (i64.const 0) ) ) - (i32.const 1) - ) - ) - (get_local $7) - (if (result i32) - (tee_local $7 - (i32.eq - (get_local $10) - (i32.const 2146435072) + (get_local $7) + (f64.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) ) ) - (i32.ne - (get_local $6) - (i32.const 0) - ) - (get_local $7) + (i32.const 1) ) ) - (i32.const 1) + (get_local $7) + (i32.eq + (get_local $3) + (i32.const 2047) + ) ) - (return - (f64.add + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul (get_local $0) (get_local $1) ) ) ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) + ) + (if + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1128267776) + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $5) + (i64.const 1) + ) ) - (set_local $15 - (i32.const 2) + ) + (return + (get_local $0) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (set_local $2 + (if (result i64) + (get_local $3) + (i64.or + (i64.and + (get_local $2) + (i64.const 4503599627370495) ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1072693248) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $2) + (i64.const 12) ) + ) + (loop $continue|0 (if - (i32.gt_s - (tee_local $8 - (i32.sub - (i32.shr_s - (get_local $10) - (i32.const 20) - ) - (i32.const 1023) - ) + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) ) - (i32.const 20) ) - (if - (i32.eq - (i32.shl - (tee_local $7 - (i32.shr_u - (get_local $6) - (i32.sub - (i32.const 52) - (get_local $8) - ) - ) - ) - (i32.sub - (i32.const 52) - (get_local $8) - ) - ) - (get_local $6) - ) - (set_local $15 + (block + (set_local $3 (i32.sub - (i32.const 2) - (i32.and - (get_local $7) - (i32.const 1) - ) + (get_local $3) + (i32.const 1) ) ) - ) - (if - (i32.eqz - (get_local $6) - ) - (if - (i32.eq - (i32.shl - (tee_local $7 - (i32.shr_s - (get_local $10) - (i32.sub - (i32.const 20) - (get_local $8) - ) - ) - ) - (i32.sub - (i32.const 20) - (get_local $8) - ) - ) - (get_local $10) - ) - (set_local $15 - (i32.sub - (i32.const 2) - (i32.and - (get_local $7) - (i32.const 1) - ) - ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) + (br $continue|0) + ) + ) + ) + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $3) ) ) ) ) ) - (if - (i32.eqz - (get_local $6) + ) + (set_local $5 + (if (result i64) + (get_local $6) + (i64.or + (i64.and + (get_local $5) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) ) - (block - (if - (i32.eq - (get_local $10) - (i32.const 2146435072) + (block (result i64) + (set_local $4 + (i64.shl + (get_local $5) + (i64.const 12) ) + ) + (loop $continue|1 (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1072693248) + (i64.eqz + (i64.shr_u + (get_local $4) + (i64.const 63) ) - (get_local $13) ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (get_local $1) - (f64.const 0) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) ) ) - (return - (select - (f64.const 0) - (f64.neg - (get_local $1) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) + (set_local $4 + (i64.shl + (get_local $4) + (i64.const 1) ) ) + (br $continue|1) ) - (return - (f64.const nan:0x8000000000000) + ) + ) + (i64.shl + (get_local $5) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) ) ) ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $3) + (get_local $6) + ) + (block (if - (i32.eq - (get_local $10) - (i32.const 1072693248) - ) - (block - (if - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - (return - (get_local $0) + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) + ) ) + (i64.const 63) ) - (return - (f64.div - (f64.const 1) - (get_local $0) + ) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) ) ) + (set_local $2 + (get_local $4) + ) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 1073741824) - ) - (return - (f64.mul - (get_local $0) - (get_local $0) - ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 1071644672) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) ) - (if - (i32.ge_s - (get_local $4) - (i32.const 0) - ) - (return - (f64.sqrt - (get_local $0) - ) - ) + ) + (br $continue|2) + ) + ) + ) + (if + (i64.eqz + (i64.shr_u + (tee_local $4 + (i64.sub + (get_local $2) + (get_local $5) ) ) + (i64.const 63) ) ) - (set_local $2 - (f64.abs - (get_local $0) + (block + (br_if $folding-inner0 + (i64.eqz + (get_local $4) + ) + ) + (set_local $2 + (get_local $4) ) ) + ) + (loop $continue|3 (if - (i32.eqz - (get_local $13) + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) ) - (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.and - (if (result i32) - (tee_local $7 - (i32.eq - (get_local $5) - (i32.const 2146435072) - ) - ) - (get_local $7) - (i32.eqz - (get_local $5) - ) - ) - (i32.const 1) - ) - ) - (get_local $7) - (i32.eq - (get_local $5) - (i32.const 1072693248) - ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) ) - (i32.const 1) ) - (block - (if - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - (set_local $2 - (f64.div - (f64.const 1) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f64.reinterpret/i64 + (i64.or + (tee_local $2 + (select + (i64.or + (i64.sub (get_local $2) + (i64.const 4503599627370496) ) - ) - ) - (if - (i32.lt_s - (get_local $4) - (i32.const 0) - ) - (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1072693248) + (i64.shl + (i64.extend_u/i32 + (get_local $3) ) - (get_local $15) + (i64.const 52) ) - (if - (i32.eq - (get_local $15) + ) + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.sub (i32.const 1) - ) - (set_local $2 - (f64.neg - (get_local $2) - ) - ) - ) - (set_local $2 - (f64.div - (f64.sub - (get_local $2) - (get_local $2) - ) - (f64.sub - (get_local $2) - (get_local $2) - ) + (get_local $3) ) ) ) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) ) - (return - (get_local $2) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) ) + (i64.const 63) ) ) ) - (set_local $12 - (f64.const 1) - ) - (if - (i32.lt_s + ) + ) + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + (func $std/math/test_mod (; 132 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 (i32.const 0) ) - (block - (if - (i32.eqz - (get_local $15) + (get_local $5) + (call $std/math/check + (call $std/math/JSOp.mod + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 133 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (block $folding-inner0 + (set_local $4 + (i32.and + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.and + (if (result i32) + (tee_local $3 + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) ) - (f64.sub - (get_local $0) - (get_local $0) + (get_local $3) + (f32.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) ) ) + (i32.const 1) ) ) - (if - (i32.eq - (get_local $15) + (get_local $3) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (block + (br_if $folding-inner0 + (i32.eq + (i32.shl + (get_local $2) (i32.const 1) ) - (set_local $12 - (f64.const -1) + (i32.shl + (get_local $5) + (i32.const 1) ) ) ) + (return + (get_local $0) + ) ) - (set_local $2 - (if (result f64) - (i32.gt_s - (get_local $10) - (i32.const 1105199104) + ) + (set_local $8 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (set_local $2 + (if (result i32) + (get_local $4) + (i32.or + (i32.and + (get_local $2) + (i32.const 8388607) ) - (block (result f64) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $2) + (i32.const 9) + ) + ) + (loop $continue|0 (if - (i32.gt_s - (get_local $10) - (i32.const 1139802112) + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) ) (block - (if - (i32.le_s - (get_local $5) - (i32.const 1072693247) - ) - (return - (select - (f64.const inf) - (f64.const 0) - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (f64.const inf) - (f64.const 0) - (i32.gt_s - (get_local $11) - (i32.const 0) - ) - ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) ) ) + (br $continue|0) ) ) + ) + (i32.shl + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + ) + ) + ) + (set_local $5 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $5) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $3 + (i32.shl + (get_local $5) + (i32.const 9) + ) + ) + (loop $continue|1 (if - (i32.lt_s - (get_local $5) - (i32.const 1072693247) + (i32.eqz + (i32.shr_u + (get_local $3) + (i32.const 31) + ) ) - (return - (select - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1e-300) - ) - (f64.const 1e-300) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) ) - (i32.lt_s - (get_local $11) - (i32.const 0) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.const 1) ) ) + (br $continue|1) ) ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1072693248) - ) - (return - (select - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - (i32.gt_s - (get_local $11) - (i32.const 0) + ) + (i32.shl + (get_local $5) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + (loop $continue|2 + (if + (i32.gt_s + (get_local $4) + (get_local $6) + ) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) ) ) + (i32.const 31) ) ) - (set_local $0 - (f64.mul - (f64.mul - (tee_local $3 - (f64.sub - (get_local $2) - (f64.const 1) - ) - ) + (block + (br_if $folding-inner0 + (i32.eqz (get_local $3) ) - (f64.sub - (f64.const 0.5) - (f64.mul - (get_local $3) - (f64.sub - (f64.const 0.3333333333333333) - (f64.mul - (get_local $3) - (f64.const 0.25) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) + ) + ) + ) + (if + (i32.eqz + (i32.shr_u + (tee_local $3 + (i32.sub + (get_local $2) + (get_local $5) + ) + ) + (i32.const 31) + ) + ) + (block + (br_if $folding-inner0 + (i32.eqz + (get_local $3) + ) + ) + (set_local $2 + (get_local $3) + ) + ) + ) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (return + (f32.reinterpret/i32 + (i32.or + (tee_local $2 + (select + (i32.or + (i32.sub + (get_local $2) + (i32.const 8388608) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + (i32.shr_u + (get_local $2) + (i32.sub + (i32.const 1) + (get_local $4) + ) + ) + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + ) + ) + (get_local $8) + ) + ) + ) + ) + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + (func $std/math/test_modf (; 134 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.mod" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.pow" (; 135 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 f64) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 i32) + (local $14 f64) + (local $15 i32) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 i64) + (block $folding-inner1 + (block $folding-inner0 + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) + ) + ) + (set_local $5 + (i32.and + (get_local $4) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (i32.or + (tee_local $10 + (i32.and + (tee_local $11 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (get_local $1) + ) ) + (i64.const 32) ) ) ) + (i32.const 2147483647) ) ) - (set_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (tee_local $16 - (f64.mul - (f64.const 1.4426950216293335) - (get_local $3) + (tee_local $6 + (i32.wrap/i64 + (get_local $19) + ) + ) + ) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.and + (if (result i32) + (tee_local $7 + (i32.gt_s + (get_local $5) + (i32.const 2146435072) + ) ) - ) - (tee_local $17 - (f64.sub - (f64.mul - (get_local $3) - (f64.const 1.9259629911266175e-08) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) ) - (f64.mul - (get_local $0) - (f64.const 1.4426950408889634) + (i32.ne + (get_local $13) + (i32.const 0) ) + (get_local $7) ) ) + (i32.const 1) ) ) - (i64.const -4294967296) + (get_local $7) + (i32.gt_s + (get_local $10) + (i32.const 2146435072) + ) ) + (i32.const 1) ) ) - (f64.sub - (get_local $17) - (f64.sub - (get_local $9) - (get_local $16) + (get_local $7) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $6) + (i32.const 0) ) + (get_local $7) ) ) - (block (result f64) - (set_local $4 - (i32.const 0) + (i32.const 1) + ) + (return + (f64.add + (get_local $0) + (get_local $1) + ) + ) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1128267776) + ) + (set_local $15 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1072693248) ) (if - (i32.lt_s - (get_local $5) - (i32.const 1048576) - ) - (block - (set_local $4 + (i32.gt_s + (tee_local $8 (i32.sub - (get_local $4) - (i32.const 53) + (i32.shr_s + (get_local $10) + (i32.const 20) + ) + (i32.const 1023) ) ) - (set_local $5 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (tee_local $2 - (f64.mul - (get_local $2) - (f64.const 9007199254740992) - ) + (i32.const 20) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $8) ) ) - (i64.const 32) + ) + (i32.sub + (i32.const 52) + (get_local $8) ) ) + (get_local $6) ) - ) - ) - (set_local $4 - (i32.add - (get_local $4) - (i32.sub - (i32.shr_s - (get_local $5) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - ) - (set_local $5 - (i32.or - (tee_local $6 - (i32.and - (get_local $5) - (i32.const 1048575) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) ) ) - (i32.const 1072693248) ) - ) - (set_local $8 - (if (result i32) - (i32.le_s + (if + (i32.eqz (get_local $6) - (i32.const 235662) ) - (i32.const 0) - (if (result i32) - (i32.lt_s - (get_local $6) - (i32.const 767610) - ) - (i32.const 1) - (block (result i32) - (set_local $4 - (i32.add - (get_local $4) - (i32.const 1) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 20) + (get_local $8) + ) + ) ) - ) - (set_local $5 (i32.sub - (get_local $5) - (i32.const 1048576) + (i32.const 20) + (get_local $8) ) ) - (i32.const 0) + (get_local $10) ) - ) - ) - ) - (set_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (tee_local $18 - (f64.mul - (tee_local $16 - (f64.sub - (tee_local $2 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $2) - ) - (i64.const 4294967295) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $5) - ) - (i64.const 32) - ) - ) - ) - ) - (tee_local $0 - (select - (f64.const 1.5) - (f64.const 1) - (get_local $8) - ) - ) - ) - ) - (tee_local $17 - (f64.div - (f64.const 1) - (f64.add - (get_local $2) - (get_local $0) - ) - ) - ) + (set_local $15 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) ) ) ) - (i64.const -4294967296) ) ) ) - (set_local $2 - (f64.sub - (get_local $2) - (f64.sub - (tee_local $9 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.add - (i32.or - (i32.shr_s - (get_local $5) - (i32.const 1) - ) - (i32.const 536870912) - ) - (i32.const 524288) - ) - (i32.shl - (get_local $8) - (i32.const 18) - ) - ) - ) - (i64.const 32) - ) - ) - ) - (get_local $0) + ) + ) + ) + (if + (i32.eqz + (get_local $6) + ) + (block + (if + (i32.eq + (get_local $10) + (i32.const 2146435072) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) ) + (get_local $13) ) - ) - (set_local $2 - (f64.sub - (tee_local $2 - (f64.add - (f64.mul - (f64.mul - (tee_local $14 - (f64.mul - (get_local $18) - (get_local $18) - ) - ) - (get_local $14) - ) - (f64.add - (f64.const 0.5999999999999946) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.4285714285785502) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.33333332981837743) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.272728123808534) - (f64.mul - (get_local $14) - (f64.add - (f64.const 0.23066074577556175) - (f64.mul - (get_local $14) - (f64.const 0.20697501780033842) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f64.mul - (tee_local $0 - (f64.mul - (get_local $17) - (f64.sub - (f64.sub - (get_local $16) - (f64.mul - (get_local $3) - (get_local $9) - ) - ) - (f64.mul - (get_local $3) - (get_local $2) - ) - ) - ) - ) - (f64.add - (get_local $3) - (get_local $18) - ) - ) - ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) ) - (f64.sub - (f64.sub - (tee_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (f64.add - (f64.const 3) - (tee_local $14 - (f64.mul - (get_local $3) - (get_local $3) - ) - ) - ) - (get_local $2) - ) - ) - (i64.const -4294967296) - ) - ) + (return + (select + (get_local $1) + (f64.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) ) - (f64.const 3) ) - (get_local $14) ) - ) - ) - (set_local $9 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (f64.add - (f64.add - (tee_local $18 - (f64.mul - (f64.const 0.9617967009544373) - (tee_local $0 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (tee_local $16 - (f64.mul - (get_local $3) - (get_local $9) - ) - ) - (tee_local $17 - (f64.add - (f64.mul - (get_local $0) - (get_local $9) - ) - (f64.mul - (get_local $2) - (get_local $18) - ) - ) - ) - ) - ) - (i64.const -4294967296) - ) - ) - ) - ) - ) - (tee_local $2 - (f64.add - (f64.add - (f64.mul - (f64.const -7.028461650952758e-09) - (get_local $0) - ) - (f64.mul - (f64.sub - (get_local $17) - (f64.sub - (get_local $0) - (get_local $16) - ) - ) - (f64.const 0.9617966939259756) - ) - ) - (select - (f64.const 1.350039202129749e-08) - (f64.const 0) - (get_local $8) - ) - ) - ) - ) - (tee_local $0 - (select - (f64.const 0.5849624872207642) - (f64.const 0) - (get_local $8) - ) - ) - ) - (tee_local $3 - (f64.convert_s/i32 - (get_local $4) - ) - ) + (return + (select + (f64.const 0) + (f64.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) ) ) - (i64.const -4294967296) ) ) + (return + (f64.const nan:0x8000000000000) + ) ) - (f64.sub - (get_local $2) - (f64.sub - (f64.sub - (f64.sub - (get_local $9) - (get_local $3) - ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1072693248) + ) + (block + (if + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + (return (get_local $0) ) - (get_local $18) ) - ) - ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (tee_local $19 - (i64.reinterpret/f64 - (tee_local $2 - (f64.add - (tee_local $1 - (f64.add - (f64.mul - (f64.sub - (get_local $1) - (tee_local $0 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $1) - ) - (i64.const -4294967296) - ) - ) - ) - ) - (get_local $9) - ) - (f64.mul - (get_local $1) - (get_local $2) - ) - ) - ) - (tee_local $0 - (f64.mul - (get_local $0) - (get_local $9) - ) - ) - ) + (return + (f64.div + (f64.const 1) + (get_local $0) ) ) ) - (i64.const 32) ) - ) - ) - (set_local $13 - (i32.wrap/i64 - (get_local $19) - ) - ) - (if - (i32.ge_s - (get_local $6) - (i32.const 1083179008) - ) - (br_if $folding-inner1 - (i32.or - (i32.or - (i32.sub - (get_local $6) - (i32.const 1083179008) - ) - (get_local $13) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) ) - (f64.gt - (f64.add - (get_local $1) - (f64.const 8.008566259537294e-17) - ) - (f64.sub - (get_local $2) + (return + (f64.mul + (get_local $0) (get_local $0) ) ) ) - ) - (if - (i32.ge_s - (i32.and - (get_local $6) - (i32.const 2147483647) + (if + (i32.eq + (get_local $11) + (i32.const 1071644672) ) - (i32.const 1083231232) - ) - (br_if $folding-inner0 - (i32.or - (i32.or - (i32.sub - (get_local $6) - (i32.const -1064252416) - ) - (get_local $13) + (if + (i32.ge_s + (get_local $4) + (i32.const 0) ) - (f64.le - (get_local $1) - (f64.sub - (get_local $2) + (return + (f64.sqrt (get_local $0) ) ) @@ -10420,812 +9828,331 @@ ) ) ) - (set_local $8 - (i32.sub - (i32.shr_s - (tee_local $13 - (i32.and - (get_local $6) - (i32.const 2147483647) - ) - ) - (i32.const 20) - ) - (i32.const 1023) + (set_local $2 + (f64.abs + (get_local $0) ) ) - (set_local $4 - (i32.const 0) - ) (if - (i32.gt_s + (i32.eqz (get_local $13) - (i32.const 1071644672) ) - (block - (set_local $8 - (i32.sub - (i32.shr_s + (if + (i32.and + (if (result i32) + (tee_local $7 (i32.and - (tee_local $4 - (i32.add - (get_local $6) - (i32.shr_s - (i32.const 1048576) - (i32.add - (get_local $8) - (i32.const 1) - ) + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2146435072) ) ) + (get_local $7) + (i32.eqz + (get_local $5) + ) ) - (i32.const 2147483647) + (i32.const 1) ) - (i32.const 20) ) - (i32.const 1023) + (get_local $7) + (i32.eq + (get_local $5) + (i32.const 1072693248) + ) ) + (i32.const 1) ) - (set_local $3 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.and - (get_local $4) - (i32.xor - (i32.shr_s - (i32.const 1048575) - (get_local $8) - ) - (i32.const -1) - ) - ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f64.div + (f64.const 1) + (get_local $2) ) - (i64.const 32) ) ) - ) - (set_local $4 - (i32.shr_s - (i32.or - (i32.and - (get_local $4) - (i32.const 1048575) - ) - (i32.const 1048576) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) ) - (i32.sub - (i32.const 20) - (get_local $8) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $15) + ) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f64.div + (f64.sub + (get_local $2) + (get_local $2) + ) + (f64.sub + (get_local $2) + (get_local $2) + ) + ) + ) ) ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) + (return + (get_local $2) ) - (set_local $4 - (i32.sub - (i32.const 0) - (get_local $4) + ) + ) + ) + (set_local $12 + (f64.const 1) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $15) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.sub + (get_local $0) + (get_local $0) + ) ) ) ) - (set_local $0 - (f64.sub - (get_local $0) - (get_local $3) + (if + (i32.eq + (get_local $15) + (i32.const 1) + ) + (set_local $12 + (f64.const -1) ) ) ) ) - (return - (f64.mul - (get_local $12) - (tee_local $2 - (if (result f64) - (i32.le_s - (i32.shr_s - (tee_local $6 - (i32.add - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (tee_local $2 - (f64.sub - (f64.const 1) - (f64.sub - (f64.sub - (f64.div - (f64.mul - (tee_local $2 - (f64.add - (tee_local $16 - (f64.mul - (tee_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (f64.add - (get_local $1) - (get_local $0) - ) - ) - (i64.const -4294967296) - ) - ) - ) - (f64.const 0.6931471824645996) - ) - ) - (tee_local $17 - (f64.add - (f64.mul - (f64.sub - (get_local $1) - (f64.sub - (get_local $3) - (get_local $0) - ) - ) - (f64.const 0.6931471805599453) - ) - (f64.mul - (get_local $3) - (f64.const -1.904654299957768e-09) - ) - ) - ) - ) - ) - (tee_local $9 - (f64.sub - (get_local $2) - (f64.mul - (tee_local $3 - (f64.mul - (get_local $2) - (get_local $2) - ) - ) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul - (get_local $3) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $3) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $3) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $3) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (f64.sub - (get_local $9) - (f64.const 2) - ) - ) - (f64.add - (tee_local $0 - (f64.sub - (get_local $17) - (f64.sub - (get_local $2) - (get_local $16) - ) - ) - ) - (f64.mul - (get_local $2) - (get_local $0) - ) - ) - ) - (get_local $2) - ) - ) - ) - ) - (i64.const 32) - ) + (set_local $2 + (if (result f64) + (i32.gt_s + (get_local $10) + (i32.const 1105199104) + ) + (block (result f64) + (if + (i32.gt_s + (get_local $10) + (i32.const 1139802112) + ) + (block + (if + (i32.le_s + (get_local $5) + (i32.const 1072693247) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.lt_s + (get_local $11) + (i32.const 0) ) - (i32.shl - (get_local $4) - (i32.const 20) + ) + ) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.const inf) + (f64.const 0) + (i32.gt_s + (get_local $11) + (i32.const 0) ) ) ) - (i32.const 20) ) - (i32.const 0) ) - (call "$(lib)/math/NativeMath.scalbn" - (get_local $2) - (get_local $4) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 1072693247) ) - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $2) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) ) - (i64.const 4294967295) + (f64.const 1.e+300) ) - (i64.shl - (i64.extend_u/i32 - (get_local $6) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) ) - (i64.const 32) + (f64.const 1e-300) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) ) ) ) ) - ) - ) - ) - ) - (return - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - ) - ) - (f64.mul - (f64.mul - (get_local $12) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - ) - (func $std/math/test_pow (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) - (i32.and - (if (result i32) - (tee_local $5 - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (if (result i32) - (tee_local $5 - (i32.const 0) - ) - (get_local $5) - (call $std/math/check - (call "$(lib)/math/JSMath.pow" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (get_local $5) - ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.pow" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 f32) - (local $3 f32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 f32) - (local $9 f32) - (local $10 i32) - (local $11 i32) - (local $12 f32) - (local $13 f32) - (local $14 f32) - (local $15 i32) - (local $16 f32) - (block $folding-inner1 - (block $folding-inner0 - (set_local $5 - (i32.and - (tee_local $15 - (i32.reinterpret/f32 - (get_local $0) + (if + (i32.gt_s + (get_local $5) + (i32.const 1072693248) + ) + (return + (select + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) ) - ) - (i32.const 2147483647) - ) - ) - (if - (i32.eqz - (tee_local $10 - (i32.and - (tee_local $11 - (i32.reinterpret/f32 - (get_local $1) + (set_local $0 + (f64.mul + (f64.mul + (tee_local $3 + (f64.sub + (get_local $2) + (f64.const 1) + ) + ) + (get_local $3) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $3) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $3) + (f64.const 0.25) + ) + ) + ) ) ) - (i32.const 2147483647) ) - ) - ) - (return - (f32.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.gt_s - (get_local $5) - (i32.const 2139095040) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $3) + ) + ) + (tee_local $17 + (f64.sub + (f64.mul + (get_local $3) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $0) + (f64.const 1.4426950408889634) + ) + ) + ) + ) + ) + (i64.const -4294967296) + ) ) ) - (get_local $6) - (i32.gt_s - (get_local $10) - (i32.const 2139095040) + (f64.sub + (get_local $17) + (f64.sub + (get_local $9) + (get_local $16) + ) ) ) - (i32.const 1) - ) - (return - (f32.add - (get_local $0) - (get_local $1) - ) - ) - ) - (if - (i32.lt_s - (get_local $15) - (i32.const 0) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1266679808) - ) - (set_local $4 - (i32.const 2) - ) - (if - (i32.ge_s - (get_local $10) - (i32.const 1065353216) + (block (result f64) + (set_local $4 + (i32.const 0) ) (if - (i32.eq - (i32.shl - (tee_local $7 - (i32.shr_s - (get_local $10) - (i32.sub - (i32.const 23) - (tee_local $6 - (i32.sub - (i32.shr_s - (get_local $10) - (i32.const 23) - ) - (i32.const 127) + (i32.lt_s + (get_local $5) + (i32.const 1048576) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 53) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.mul + (get_local $2) + (f64.const 9007199254740992) ) ) ) - ) - ) - (i32.sub - (i32.const 23) - (get_local $6) - ) - ) - (get_local $10) - ) - (set_local $4 - (i32.sub - (i32.const 2) - (i32.and - (get_local $7) - (i32.const 1) - ) - ) - ) - ) - ) - ) - ) - (if - (i32.eq - (get_local $10) - (i32.const 2139095040) - ) - (if - (i32.eq - (get_local $5) - (i32.const 1065353216) - ) - (return - (f32.const nan:0x400000) - ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1065353216) - ) - (return - (select - (get_local $1) - (f32.const 0) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - (return - (select - (f32.const 0) - (f32.neg - (get_local $1) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - ) - ) - (if - (i32.eq - (get_local $10) - (i32.const 1065353216) - ) - (return - (select - (get_local $0) - (f32.div - (f32.const 1) - (get_local $0) - ) - (i32.ge_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - (if - (i32.eq - (get_local $11) - (i32.const 1073741824) - ) - (return - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) - (if - (i32.eq - (get_local $11) - (i32.const 1056964608) - ) - (if - (i32.ge_s - (get_local $15) - (i32.const 0) - ) - (return - (f32.sqrt - (get_local $0) - ) - ) - ) - ) - (set_local $2 - (f32.abs - (get_local $0) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $5) - (i32.const 2139095040) - ) - ) - (get_local $6) - (i32.eqz - (get_local $5) - ) - ) - (i32.const 1) - ) - ) - (get_local $6) - (i32.eq - (get_local $5) - (i32.const 1065353216) - ) - ) - (i32.const 1) - ) - (block - (if - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - (set_local $2 - (f32.div - (f32.const 1) - (get_local $2) - ) - ) - ) - (if - (i32.lt_s - (get_local $15) - (i32.const 0) - ) - (if - (i32.or - (i32.sub - (get_local $5) - (i32.const 1065353216) - ) - (get_local $4) - ) - (if - (i32.eq - (get_local $4) - (i32.const 1) - ) - (set_local $2 - (f32.neg - (get_local $2) - ) - ) - ) - (set_local $2 - (f32.div - (f32.sub - (get_local $2) - (get_local $2) - ) - (f32.sub - (get_local $2) - (get_local $2) - ) - ) - ) - ) - ) - (return - (get_local $2) - ) - ) - ) - (set_local $9 - (f32.const 1) - ) - (if - (i32.lt_s - (get_local $15) - (i32.const 0) - ) - (block - (if - (i32.eqz - (get_local $4) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.sub - (get_local $0) - (get_local $0) - ) - ) - ) - ) - (if - (i32.eq - (get_local $4) - (i32.const 1) - ) - (set_local $9 - (f32.const -1) - ) - ) - ) - ) - (set_local $2 - (if (result f32) - (i32.gt_s - (get_local $10) - (i32.const 1291845632) - ) - (block (result f32) - (if - (i32.lt_s - (get_local $5) - (i32.const 1065353208) - ) - (return - (select - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) - ) - (i32.lt_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - (if - (i32.gt_s - (get_local $5) - (i32.const 1065353223) - ) - (return - (select - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) - ) - (i32.gt_s - (get_local $11) - (i32.const 0) - ) - ) - ) - ) - (set_local $0 - (f32.mul - (f32.mul - (tee_local $3 - (f32.sub - (get_local $2) - (f32.const 1) - ) - ) - (get_local $3) - ) - (f32.sub - (f32.const 0.5) - (f32.mul - (get_local $3) - (f32.sub - (f32.const 0.3333333432674408) - (f32.mul - (get_local $3) - (f32.const 0.25) - ) - ) - ) - ) - ) - ) - (set_local $8 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (tee_local $13 - (f32.mul - (f32.const 1.44268798828125) - (get_local $3) - ) - ) - (tee_local $14 - (f32.sub - (f32.mul - (get_local $3) - (f32.const 7.052607543300837e-06) - ) - (f32.mul - (get_local $0) - (f32.const 1.4426950216293335) - ) - ) - ) - ) - ) - (i32.const -4096) - ) - ) - ) - (f32.sub - (get_local $14) - (f32.sub - (get_local $8) - (get_local $13) - ) - ) - ) - (block (result f32) - (set_local $4 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 8388608) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 24) - ) - ) - (set_local $5 - (i32.reinterpret/f32 - (f32.mul - (get_local $2) - (f32.const 16777216) + (i64.const 32) ) ) ) @@ -11237,34 +10164,34 @@ (i32.sub (i32.shr_s (get_local $5) - (i32.const 23) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) ) (set_local $5 (i32.or - (tee_local $7 + (tee_local $6 (i32.and (get_local $5) - (i32.const 8388607) + (i32.const 1048575) ) ) - (i32.const 1065353216) + (i32.const 1072693248) ) ) - (set_local $6 + (set_local $8 (if (result i32) (i32.le_s - (get_local $7) - (i32.const 1885297) + (get_local $6) + (i32.const 235662) ) (i32.const 0) (if (result i32) (i32.lt_s - (get_local $7) - (i32.const 6140887) + (get_local $6) + (i32.const 767610) ) (i32.const 1) (block (result i32) @@ -11277,7 +10204,7 @@ (set_local $5 (i32.sub (get_local $5) - (i32.const 8388608) + (i32.const 1048576) ) ) (i32.const 0) @@ -11286,31 +10213,44 @@ ) ) (set_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (tee_local $16 - (f32.mul - (tee_local $13 - (f32.sub + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (tee_local $18 + (f64.mul + (tee_local $16 + (f64.sub (tee_local $2 - (f32.reinterpret/i32 - (get_local $5) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $5) + ) + (i64.const 32) + ) + ) ) ) (tee_local $0 (select - (f32.const 1.5) - (f32.const 1) - (get_local $6) + (f64.const 1.5) + (f64.const 1) + (get_local $8) ) ) ) ) - (tee_local $14 - (f32.div - (f32.const 1) - (f32.add + (tee_local $17 + (f64.div + (f64.const 1) + (f64.add (get_local $2) (get_local $0) ) @@ -11319,34 +10259,36 @@ ) ) ) - (i32.const -4096) + (i64.const -4294967296) ) ) ) (set_local $2 - (f32.sub + (f64.sub (get_local $2) - (f32.sub - (tee_local $8 - (f32.reinterpret/i32 - (i32.add - (i32.add - (i32.or - (i32.and - (i32.shr_s - (get_local $5) - (i32.const 1) + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.add + (i32.add + (i32.or + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const 536870912) ) - (i32.const -4096) + (i32.const 524288) + ) + (i32.shl + (get_local $8) + (i32.const 18) ) - (i32.const 536870912) ) - (i32.const 4194304) - ) - (i32.shl - (get_local $6) - (i32.const 21) ) + (i64.const 32) ) ) ) @@ -11355,40 +10297,40 @@ ) ) (set_local $2 - (f32.sub + (f64.sub (tee_local $2 - (f32.add - (f32.mul - (f32.mul - (tee_local $12 - (f32.mul - (get_local $16) - (get_local $16) + (f64.add + (f64.mul + (f64.mul + (tee_local $14 + (f64.mul + (get_local $18) + (get_local $18) ) ) - (get_local $12) + (get_local $14) ) - (f32.add - (f32.const 0.6000000238418579) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.4285714328289032) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.3333333432674408) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.2727281153202057) - (f32.mul - (get_local $12) - (f32.add - (f32.const 0.23066075146198273) - (f32.mul - (get_local $12) - (f32.const 0.20697501301765442) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $14) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $14) + (f64.const 0.20697501780033842) ) ) ) @@ -11400,43 +10342,43 @@ ) ) ) - (f32.mul + (f64.mul (tee_local $0 - (f32.mul - (get_local $14) - (f32.sub - (f32.sub - (get_local $13) - (f32.mul + (f64.mul + (get_local $17) + (f64.sub + (f64.sub + (get_local $16) + (f64.mul (get_local $3) - (get_local $8) + (get_local $9) ) ) - (f32.mul + (f64.mul (get_local $3) (get_local $2) ) ) ) ) - (f32.add + (f64.add (get_local $3) - (get_local $16) + (get_local $18) ) ) ) ) - (f32.sub - (f32.sub - (tee_local $8 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (f32.add - (f32.const 3) - (tee_local $12 - (f32.mul + (f64.sub + (f64.sub + (tee_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.const 3) + (tee_local $14 + (f64.mul (get_local $3) (get_local $3) ) @@ -11445,196 +10387,214 @@ (get_local $2) ) ) - (i32.const -4096) + (i64.const -4294967296) ) ) ) - (f32.const 3) + (f64.const 3) ) - (get_local $12) + (get_local $14) ) ) ) - (set_local $8 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (f32.add - (f32.add - (tee_local $16 - (f32.mul - (f32.const 0.9619140625) + (set_local $9 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (f64.add + (f64.add + (tee_local $18 + (f64.mul + (f64.const 0.9617967009544373) (tee_local $0 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (tee_local $13 - (f32.mul + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (tee_local $16 + (f64.mul (get_local $3) - (get_local $8) + (get_local $9) ) ) - (tee_local $14 - (f32.add - (f32.mul + (tee_local $17 + (f64.add + (f64.mul (get_local $0) - (get_local $8) + (get_local $9) ) - (f32.mul + (f64.mul (get_local $2) - (get_local $16) + (get_local $18) ) ) ) ) ) - (i32.const -4096) + (i64.const -4294967296) ) ) ) ) ) (tee_local $2 - (f32.add - (f32.add - (f32.mul - (f32.const -1.1736857413779944e-04) + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) (get_local $0) ) - (f32.mul - (f32.sub - (get_local $14) - (f32.sub + (f64.mul + (f64.sub + (get_local $17) + (f64.sub (get_local $0) - (get_local $13) + (get_local $16) ) ) - (f32.const 0.9617967009544373) + (f64.const 0.9617966939259756) ) ) (select - (f32.const 1.5632208487659227e-06) - (f32.const 0) - (get_local $6) + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $8) ) ) ) ) (tee_local $0 (select - (f32.const 0.5849609375) - (f32.const 0) - (get_local $6) + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $8) ) ) ) (tee_local $3 - (f32.convert_s/i32 + (f64.convert_s/i32 (get_local $4) ) ) ) ) - (i32.const -4096) + (i64.const -4294967296) ) ) ) - (f32.sub + (f64.sub (get_local $2) - (f32.sub - (f32.sub - (f32.sub - (get_local $8) + (f64.sub + (f64.sub + (f64.sub + (get_local $9) (get_local $3) ) (get_local $0) ) - (get_local $16) + (get_local $18) ) ) ) ) ) - (br_if $folding-inner1 - (i32.gt_s - (tee_local $7 - (i32.reinterpret/f32 - (tee_local $2 - (f32.add - (tee_local $1 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (tee_local $0 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (get_local $1) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (tee_local $19 + (i64.reinterpret/f64 + (tee_local $2 + (f64.add + (tee_local $1 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (tee_local $0 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $1) + ) + (i64.const -4294967296) ) - (i32.const -4096) ) ) ) + (get_local $9) + ) + (f64.mul + (get_local $1) + (get_local $2) ) - (get_local $8) - ) - (f32.mul - (get_local $1) - (get_local $2) ) ) - ) - (tee_local $0 - (f32.mul - (get_local $0) - (get_local $8) + (tee_local $0 + (f64.mul + (get_local $0) + (get_local $9) + ) ) ) ) ) ) + (i64.const 32) ) - (i32.const 1124073472) + ) + ) + (set_local $13 + (i32.wrap/i64 + (get_local $19) ) ) (if - (i32.eq - (get_local $7) - (i32.const 1124073472) + (i32.ge_s + (get_local $6) + (i32.const 1083179008) ) (br_if $folding-inner1 - (f32.gt - (f32.add - (get_local $1) - (f32.const 4.299566569443414e-08) + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const 1083179008) + ) + (get_local $13) ) - (f32.sub - (get_local $2) - (get_local $0) + (f64.gt + (f64.add + (get_local $1) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $2) + (get_local $0) + ) ) ) ) (if - (i32.gt_s + (i32.ge_s (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) - (i32.const 1125515264) + (i32.const 1083231232) ) - (br $folding-inner0) - (if - (i32.eq - (get_local $7) - (i32.const -1021968384) - ) - (br_if $folding-inner0 - (f32.le + (br_if $folding-inner0 + (i32.or + (i32.or + (i32.sub + (get_local $6) + (i32.const -1064252416) + ) + (get_local $13) + ) + (f64.le (get_local $1) - (f32.sub + (f64.sub (get_local $2) (get_local $0) ) @@ -11643,18 +10603,18 @@ ) ) ) - (set_local $6 + (set_local $8 (i32.sub (i32.shr_s - (tee_local $15 + (tee_local $13 (i32.and - (get_local $7) + (get_local $6) (i32.const 2147483647) ) ) - (i32.const 23) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) (set_local $4 @@ -11662,21 +10622,21 @@ ) (if (i32.gt_s - (get_local $15) - (i32.const 1056964608) + (get_local $13) + (i32.const 1071644672) ) (block - (set_local $6 + (set_local $8 (i32.sub (i32.shr_s (i32.and (tee_local $4 (i32.add - (get_local $7) + (get_local $6) (i32.shr_s - (i32.const 8388608) + (i32.const 1048576) (i32.add - (get_local $6) + (get_local $8) (i32.const 1) ) ) @@ -11684,22 +10644,27 @@ ) (i32.const 2147483647) ) - (i32.const 23) + (i32.const 20) ) - (i32.const 127) + (i32.const 1023) ) ) (set_local $3 - (f32.reinterpret/i32 - (i32.and - (get_local $4) - (i32.xor - (i32.shr_s - (i32.const 8388607) - (get_local $6) + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $8) + ) + (i32.const -1) + ) ) - (i32.const -1) ) + (i64.const 32) ) ) ) @@ -11708,19 +10673,19 @@ (i32.or (i32.and (get_local $4) - (i32.const 8388607) + (i32.const 1048575) ) - (i32.const 8388608) + (i32.const 1048576) ) (i32.sub - (i32.const 23) - (get_local $6) + (i32.const 20) + (get_local $8) ) ) ) (if (i32.lt_s - (get_local $7) + (get_local $6) (i32.const 0) ) (set_local $4 @@ -11731,7 +10696,7 @@ ) ) (set_local $0 - (f32.sub + (f64.sub (get_local $0) (get_local $3) ) @@ -11739,89 +10704,93 @@ ) ) (return - (f32.mul - (get_local $9) + (f64.mul + (get_local $12) (tee_local $2 - (if (result f32) + (if (result f64) (i32.le_s (i32.shr_s - (tee_local $7 + (tee_local $6 (i32.add - (i32.reinterpret/f32 - (tee_local $2 - (f32.sub - (f32.const 1) - (f32.sub - (f32.sub - (f32.div - (f32.mul - (tee_local $2 - (f32.add - (tee_local $13 - (f32.mul - (tee_local $3 - (f32.reinterpret/i32 - (i32.and - (i32.reinterpret/f32 - (f32.add - (get_local $1) - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (tee_local $2 + (f64.sub + (f64.const 1) + (f64.sub + (f64.sub + (f64.div + (f64.mul + (tee_local $2 + (f64.add + (tee_local $16 + (f64.mul + (tee_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (f64.add + (get_local $1) + (get_local $0) + ) + ) + (i64.const -4294967296) ) ) - (i32.const -32768) ) + (f64.const 0.6931471824645996) ) ) - (f32.const 0.693145751953125) - ) - ) - (tee_local $14 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (f32.sub + (tee_local $17 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (f64.sub + (get_local $3) + (get_local $0) + ) + ) + (f64.const 0.6931471805599453) + ) + (f64.mul (get_local $3) - (get_local $0) + (f64.const -1.904654299957768e-09) ) ) - (f32.const 0.6931471824645996) - ) - (f32.mul - (get_local $3) - (f32.const 1.4286065379565116e-06) ) ) ) - ) - ) - (tee_local $8 - (f32.sub - (get_local $2) - (f32.mul - (tee_local $3 - (f32.mul - (get_local $2) - (get_local $2) - ) - ) - (f32.add - (f32.const 0.1666666716337204) - (f32.mul - (get_local $3) - (f32.add - (f32.const -2.7777778450399637e-03) - (f32.mul + (tee_local $9 + (f64.sub + (get_local $2) + (f64.mul + (tee_local $3 + (f64.mul + (get_local $2) + (get_local $2) + ) + ) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul (get_local $3) - (f32.add - (f32.const 6.61375597701408e-05) - (f32.mul + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul (get_local $3) - (f32.add - (f32.const -1.6533901998627698e-06) - (f32.mul + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul (get_local $3) - (f32.const 4.138136944220605e-08) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $3) + (f64.const 4.1381367970572385e-08) + ) + ) ) ) ) @@ -11832,50 +10801,64 @@ ) ) ) + (f64.sub + (get_local $9) + (f64.const 2) + ) ) - ) - (f32.sub - (get_local $8) - (f32.const 2) - ) - ) - (f32.add - (tee_local $0 - (f32.sub - (get_local $14) - (f32.sub + (f64.add + (tee_local $0 + (f64.sub + (get_local $17) + (f64.sub + (get_local $2) + (get_local $16) + ) + ) + ) + (f64.mul (get_local $2) - (get_local $13) + (get_local $0) ) ) ) - (f32.mul - (get_local $2) - (get_local $0) - ) + (get_local $2) ) ) - (get_local $2) ) ) + (i64.const 32) ) ) (i32.shl (get_local $4) - (i32.const 23) + (i32.const 20) ) ) ) - (i32.const 23) + (i32.const 20) ) (i32.const 0) ) - (call "$(lib)/math/NativeMathf.scalbn" + (call "$(lib)/math/NativeMath.scalbn" (get_local $2) (get_local $4) ) - (f32.reinterpret/i32 - (get_local $7) + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $2) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + ) ) ) ) @@ -11883,775 +10866,16756 @@ ) ) (return - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1.0000000031710769e-30) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1e-300) ) - (f32.const 1.0000000031710769e-30) + (f64.const 1e-300) ) ) ) - (f32.mul - (f32.mul - (get_local $9) - (f32.const 1000000015047466219876688e6) + (f64.mul + (f64.mul + (get_local $12) + (f64.const 1.e+300) ) - (f32.const 1000000015047466219876688e6) + (f64.const 1.e+300) ) ) - (func $std/math/test_powf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.pow" - (get_local $0) - (get_local $1) + (func $std/math/test_pow (; 136 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.const 0) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) - (func "$(lib)/math/murmurHash3" (; 111 ;) (type $II) (param $0 i64) (result i64) - (i64.xor - (tee_local $0 - (i64.mul - (i64.xor - (tee_local $0 - (i64.mul - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (func "$(lib)/math/NativeMathf.pow" (; 137 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 f32) + (local $3 f32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f32) + (local $9 f32) + (local $10 i32) + (local $11 i32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 i32) + (local $16 f32) + (block $folding-inner1 + (block $folding-inner0 + (set_local $5 + (i32.and + (tee_local $15 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 2147483647) + ) + ) + (if + (i32.eqz + (tee_local $10 + (i32.and + (tee_local $11 + (i32.reinterpret/f32 + (get_local $1) ) ) - (i64.const -49064778989728563) + (i32.const 2147483647) ) ) - (i64.shr_u + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $10) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add (get_local $0) - (i64.const 33) + (get_local $1) ) ) - (i64.const -4265267296055464877) ) - ) - (i64.shr_u - (get_local $0) - (i64.const 33) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1266679808) + ) + (set_local $4 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $10) + (i32.const 1065353216) + ) + (if + (i32.eq + (i32.shl + (tee_local $7 + (i32.shr_s + (get_local $10) + (i32.sub + (i32.const 23) + (tee_local $6 + (i32.sub + (i32.shr_s + (get_local $10) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + ) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + (get_local $10) + ) + (set_local $4 + (i32.sub + (i32.const 2) + (i32.and + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353216) + ) + (return + (select + (get_local $1) + (f32.const 0) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + (return + (select + (f32.const 0) + (f32.neg + (get_local $1) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1065353216) + ) + (return + (select + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + (i32.ge_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $15) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $2 + (f32.abs + (get_local $0) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eqz + (get_local $5) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (if + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + (set_local $2 + (f32.div + (f32.const 1) + (get_local $2) + ) + ) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (if + (i32.or + (i32.sub + (get_local $5) + (i32.const 1065353216) + ) + (get_local $4) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $2 + (f32.div + (f32.sub + (get_local $2) + (get_local $2) + ) + (f32.sub + (get_local $2) + (get_local $2) + ) + ) + ) + ) + ) + (return + (get_local $2) + ) + ) + ) + (set_local $9 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $15) + (i32.const 0) + ) + (block + (if + (i32.eqz + (get_local $4) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1) + ) + (set_local $9 + (f32.const -1) + ) + ) + ) + ) + (set_local $2 + (if (result f32) + (i32.gt_s + (get_local $10) + (i32.const 1291845632) + ) + (block (result f32) + (if + (i32.lt_s + (get_local $5) + (i32.const 1065353208) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.lt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $5) + (i32.const 1065353223) + ) + (return + (select + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + (i32.gt_s + (get_local $11) + (i32.const 0) + ) + ) + ) + ) + (set_local $0 + (f32.mul + (f32.mul + (tee_local $3 + (f32.sub + (get_local $2) + (f32.const 1) + ) + ) + (get_local $3) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $3) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $3) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (f32.const 1.44268798828125) + (get_local $3) + ) + ) + (tee_local $14 + (f32.sub + (f32.mul + (get_local $3) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $0) + (f32.const 1.4426950216293335) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $14) + (f32.sub + (get_local $8) + (get_local $13) + ) + ) + ) + (block (result f32) + (set_local $4 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 8388608) + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 24) + ) + ) + (set_local $5 + (i32.reinterpret/f32 + (f32.mul + (get_local $2) + (f32.const 16777216) + ) + ) + ) + ) + ) + (set_local $4 + (i32.add + (get_local $4) + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $5 + (i32.or + (tee_local $7 + (i32.and + (get_local $5) + (i32.const 8388607) + ) + ) + (i32.const 1065353216) + ) + ) + (set_local $6 + (if (result i32) + (i32.le_s + (get_local $7) + (i32.const 1885297) + ) + (i32.const 0) + (if (result i32) + (i32.lt_s + (get_local $7) + (i32.const 6140887) + ) + (i32.const 1) + (block (result i32) + (set_local $4 + (i32.add + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 8388608) + ) + ) + (i32.const 0) + ) + ) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (tee_local $16 + (f32.mul + (tee_local $13 + (f32.sub + (tee_local $2 + (f32.reinterpret/i32 + (get_local $5) + ) + ) + (tee_local $0 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $6) + ) + ) + ) + ) + (tee_local $14 + (f32.div + (f32.const 1) + (f32.add + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (set_local $2 + (f32.sub + (get_local $2) + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.add + (i32.add + (i32.or + (i32.and + (i32.shr_s + (get_local $5) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + (i32.const 4194304) + ) + (i32.shl + (get_local $6) + (i32.const 21) + ) + ) + ) + ) + (get_local $0) + ) + ) + ) + (set_local $2 + (f32.sub + (tee_local $2 + (f32.add + (f32.mul + (f32.mul + (tee_local $12 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (get_local $12) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $12) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $12) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (tee_local $0 + (f32.mul + (get_local $14) + (f32.sub + (f32.sub + (get_local $13) + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (f32.mul + (get_local $3) + (get_local $2) + ) + ) + ) + ) + (f32.add + (get_local $3) + (get_local $16) + ) + ) + ) + ) + (f32.sub + (f32.sub + (tee_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.const 3) + (tee_local $12 + (f32.mul + (get_local $3) + (get_local $3) + ) + ) + ) + (get_local $2) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.const 3) + ) + (get_local $12) + ) + ) + ) + (set_local $8 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (f32.add + (f32.add + (tee_local $16 + (f32.mul + (f32.const 0.9619140625) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (tee_local $13 + (f32.mul + (get_local $3) + (get_local $8) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (get_local $0) + (get_local $8) + ) + (f32.mul + (get_local $2) + (get_local $16) + ) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + ) + ) + (tee_local $2 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $0) + ) + (f32.mul + (f32.sub + (get_local $14) + (f32.sub + (get_local $0) + (get_local $13) + ) + ) + (f32.const 0.9617967009544373) + ) + ) + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $6) + ) + ) + ) + ) + (tee_local $0 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $6) + ) + ) + ) + (tee_local $3 + (f32.convert_s/i32 + (get_local $4) + ) + ) + ) + ) + (i32.const -4096) + ) + ) + ) + (f32.sub + (get_local $2) + (f32.sub + (f32.sub + (f32.sub + (get_local $8) + (get_local $3) + ) + (get_local $0) + ) + (get_local $16) + ) + ) + ) + ) + ) + (br_if $folding-inner1 + (i32.gt_s + (tee_local $7 + (i32.reinterpret/f32 + (tee_local $2 + (f32.add + (tee_local $1 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (tee_local $0 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (get_local $1) + ) + (i32.const -4096) + ) + ) + ) + ) + (get_local $8) + ) + (f32.mul + (get_local $1) + (get_local $2) + ) + ) + ) + (tee_local $0 + (f32.mul + (get_local $0) + (get_local $8) + ) + ) + ) + ) + ) + ) + (i32.const 1124073472) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1124073472) + ) + (br_if $folding-inner1 + (f32.gt + (f32.add + (get_local $1) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (br $folding-inner0) + (if + (i32.eq + (get_local $7) + (i32.const -1021968384) + ) + (br_if $folding-inner0 + (f32.le + (get_local $1) + (f32.sub + (get_local $2) + (get_local $0) + ) + ) + ) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.shr_s + (tee_local $15 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $4 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $15) + (i32.const 1056964608) + ) + (block + (set_local $6 + (i32.sub + (i32.shr_s + (i32.and + (tee_local $4 + (i32.add + (get_local $7) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + ) + ) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (i32.and + (get_local $4) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $6) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $4 + (i32.shr_s + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $6) + ) + ) + ) + (if + (i32.lt_s + (get_local $7) + (i32.const 0) + ) + (set_local $4 + (i32.sub + (i32.const 0) + (get_local $4) + ) + ) + ) + (set_local $0 + (f32.sub + (get_local $0) + (get_local $3) + ) + ) + ) + ) + (return + (f32.mul + (get_local $9) + (tee_local $2 + (if (result f32) + (i32.le_s + (i32.shr_s + (tee_local $7 + (i32.add + (i32.reinterpret/f32 + (tee_local $2 + (f32.sub + (f32.const 1) + (f32.sub + (f32.sub + (f32.div + (f32.mul + (tee_local $2 + (f32.add + (tee_local $13 + (f32.mul + (tee_local $3 + (f32.reinterpret/i32 + (i32.and + (i32.reinterpret/f32 + (f32.add + (get_local $1) + (get_local $0) + ) + ) + (i32.const -32768) + ) + ) + ) + (f32.const 0.693145751953125) + ) + ) + (tee_local $14 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (f32.sub + (get_local $3) + (get_local $0) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $3) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + ) + ) + (tee_local $8 + (f32.sub + (get_local $2) + (f32.mul + (tee_local $3 + (f32.mul + (get_local $2) + (get_local $2) + ) + ) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $3) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $3) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $3) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $3) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (f32.sub + (get_local $8) + (f32.const 2) + ) + ) + (f32.add + (tee_local $0 + (f32.sub + (get_local $14) + (f32.sub + (get_local $2) + (get_local $13) + ) + ) + ) + (f32.mul + (get_local $2) + (get_local $0) + ) + ) + ) + (get_local $2) + ) + ) + ) + ) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + (i32.const 23) + ) + (i32.const 0) + ) + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $2) + (get_local $4) + ) + (f32.reinterpret/i32 + (get_local $7) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + (f32.mul + (f32.mul + (get_local $9) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (func $std/math/test_powf (; 138 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/murmurHash3" (; 139 ;) (type $II) (param $0 i64) (result i64) + (i64.xor + (tee_local $0 + (i64.mul + (i64.xor + (tee_local $0 + (i64.mul + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + (i64.const -49064778989728563) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + (i64.const -4265267296055464877) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (func "$(lib)/math/NativeMath.seedRandom" (; 140 ;) (type $Iv) (param $0 i64) + (if + (i64.eqz + (get_local $0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 32) + (i32.const 1030) + (i32.const 4) + ) + (unreachable) + ) + ) + (set_global "$(lib)/math/random_seeded" + (i32.const 1) + ) + (set_global "$(lib)/math/random_state0" + (call "$(lib)/math/murmurHash3" + (get_local $0) + ) + ) + (set_global "$(lib)/math/random_state1" + (call "$(lib)/math/murmurHash3" + (get_global "$(lib)/math/random_state0") + ) + ) + ) + (func "$(lib)/math/NativeMath.random" (; 141 ;) (type $F) (result f64) + (local $0 i64) + (local $1 i64) + (if + (i32.eqz + (get_global "$(lib)/math/random_seeded") + ) + (unreachable) + ) + (set_local $0 + (get_global "$(lib)/math/random_state0") + ) + (set_global "$(lib)/math/random_state0" + (tee_local $1 + (get_global "$(lib)/math/random_state1") + ) + ) + (set_global "$(lib)/math/random_state1" + (tee_local $0 + (i64.xor + (i64.xor + (i64.xor + (tee_local $0 + (i64.xor + (get_local $0) + (i64.shl + (get_local $0) + (i64.const 23) + ) + ) + ) + (i64.shr_u + (get_local $0) + (i64.const 17) + ) + ) + (get_local $1) + ) + (i64.shr_u + (get_local $1) + (i64.const 26) + ) + ) + ) + ) + (f64.sub + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.add + (get_local $1) + (get_local $0) + ) + (i64.const 4503599627370495) + ) + (i64.const 4607182418800017408) + ) + ) + (f64.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.seedRandom" (; 142 ;) (type $Iv) (param $0 i64) + (call "$(lib)/math/NativeMath.seedRandom" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMathf.random" (; 143 ;) (type $f) (result f32) + (f32.demote/f64 + (call "$(lib)/math/NativeMath.random") + ) + ) + (func "$(lib)/math/NativeMath.round" (; 144 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 i64) + (local $3 i32) + (if + (i32.ge_s + (tee_local $3 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (i32.const 1075) + ) + (return + (get_local $0) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $0 + (f64.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 1022) + ) + (return + (f64.mul + (f64.const 0) + (f64.reinterpret/i64 + (get_local $2) + ) + ) + ) + ) + (set_local $1 + (if (result f64) + (f64.gt + (tee_local $1 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) + (get_local $0) + ) + ) + (f64.const 0.5) + ) + (f64.sub + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (select + (f64.add + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.le + (get_local $1) + (f64.const -0.5) + ) + ) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $1 + (f64.neg + (get_local $1) + ) + ) + ) + (get_local $1) + ) + (func $std/math/test_round (; 145 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.round" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMathf.round" (; 146 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 i32) + (local $3 i32) + (if + (i32.ge_s + (tee_local $3 + (i32.and + (i32.shr_u + (tee_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (i32.const 150) + ) + (return + (get_local $0) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (set_local $0 + (f32.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 126) + ) + (return + (f32.mul + (f32.const 0) + (f32.reinterpret/i32 + (get_local $2) + ) + ) + ) + ) + (set_local $1 + (if (result f32) + (f32.gt + (tee_local $1 + (f32.sub + (f32.sub + (f32.add + (get_local $0) + (f32.const 8388608) + ) + (f32.const 8388608) + ) + (get_local $0) + ) + ) + (f32.const 0.5) + ) + (f32.sub + (f32.add + (get_local $1) + (get_local $0) + ) + (f32.const 1) + ) + (select + (f32.add + (f32.add + (get_local $1) + (get_local $0) + ) + (f32.const 1) + ) + (f32.add + (get_local $1) + (get_local $0) + ) + (f32.le + (get_local $1) + (f32.const -0.5) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (set_local $1 + (f32.neg + (get_local $1) + ) + ) + ) + (get_local $1) + ) + (func $std/math/test_roundf (; 147 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.round" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.sign" (; 148 ;) (type $FF) (param $0 f64) (result f64) + (select + (f64.const 1) + (select + (f64.const -1) + (get_local $0) + (f64.lt + (get_local $0) + (f64.const 0) + ) + ) + (f64.gt + (get_local $0) + (f64.const 0) + ) + ) + ) + (func $std/math/test_sign (; 149 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.sign" (; 150 ;) (type $ff) (param $0 f32) (result f32) + (select + (f32.const 1) + (select + (f32.const -1) + (get_local $0) + (f32.lt + (get_local $0) + (f32.const 0) + ) + ) + (f32.gt + (get_local $0) + (f32.const 0) + ) + ) + ) + (func $std/math/test_signf (; 151 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.rem" (; 152 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i32) + (local $3 i64) + (local $4 i32) + (local $5 i64) + (local $6 i32) + (local $7 i32) + (local $8 i64) + (local $9 i64) + (local $10 f64) + (local $11 i32) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $9 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (tee_local $8 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i64.eq + (i64.shl + (get_local $8) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $4) + (f64.ne + (tee_local $10 + (get_local $1) + ) + (get_local $10) + ) + ) + (i32.const 1) + ) + ) + (get_local $4) + (i32.eq + (get_local $2) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.eq + (i64.shl + (get_local $9) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (get_local $0) + ) + ) + (set_local $3 + (get_local $9) + ) + (set_local $3 + (if (result i64) + (get_local $2) + (i64.or + (i64.and + (get_local $3) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $5 + (i64.shl + (get_local $3) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eq + (i64.shr_u + (get_local $5) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (set_local $5 + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $2) + ) + ) + ) + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $8) + (i64.const 63) + ) + ) + ) + (set_local $8 + (if (result i64) + (get_local $6) + (i64.or + (i64.and + (get_local $8) + (i64.const 4503599627370495) + ) + (i64.const 4503599627370496) + ) + (block (result i64) + (set_local $5 + (i64.shl + (get_local $8) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eq + (i64.shr_u + (get_local $5) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $5 + (i64.shl + (get_local $5) + (i64.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i64.shl + (get_local $8) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + ) + (set_local $11 + (i32.wrap/i64 + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + ) + (block $break|2 + (loop $continue|2 + (if + (i32.lt_s + (get_local $2) + (get_local $6) + ) + (block + (br_if $break|2 + (i32.eq + (i32.add + (get_local $2) + (i32.const 1) + ) + (get_local $6) + ) + ) + (return + (get_local $0) + ) + ) + ) + (loop $continue|3 + (if + (i32.gt_s + (get_local $2) + (get_local $6) + ) + (block + (if + (i64.eq + (i64.shr_u + (tee_local $5 + (i64.sub + (get_local $3) + (get_local $8) + ) + ) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $3 + (get_local $5) + ) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (set_local $7 + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (if + (i64.eq + (i64.shr_u + (tee_local $5 + (i64.sub + (get_local $3) + (get_local $8) + ) + ) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $3 + (get_local $5) + ) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + (if + (i64.eq + (get_local $3) + (i64.const 0) + ) + (set_local $2 + (i32.const -60) + ) + (loop $continue|4 + (if + (i64.eq + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 0) + ) + (block + (set_local $3 + (i64.shl + (get_local $3) + (i64.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|4) + ) + ) + ) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $3 + (select + (i64.or + (i64.sub + (get_local $3) + (i64.const 4503599627370496) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 52) + ) + ) + (i64.shr_u + (get_local $3) + (i64.extend_u/i32 + (i32.sub + (i32.const 1) + (get_local $2) + ) + ) + ) + (i32.gt_s + (get_local $2) + (i32.const 0) + ) + ) + ) + ) + ) + (if + (get_local $4) + (set_local $1 + (f64.neg + (get_local $1) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (get_local $6) + ) + ) + (get_local $4) + (if (result i32) + (tee_local $4 + (i32.eq + (i32.add + (get_local $2) + (i32.const 1) + ) + (get_local $6) + ) + ) + (if (result i32) + (tee_local $4 + (f64.gt + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $4) + (if (result i32) + (tee_local $4 + (f64.eq + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (get_local $7) + (i32.const 1) + ) + (get_local $4) + ) + ) + (get_local $4) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $11) + ) + ) + (func $std/math/test_rem (; 153 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMath.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMathf.rem" (; 154 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f32) + (local $9 i32) + (local $10 i32) + (set_local $3 + (i32.and + (i32.shr_u + (tee_local $5 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (i32.shr_u + (tee_local $7 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $4 + (get_local $5) + ) + (if + (i32.and + (if (result i32) + (tee_local $2 + (i32.and + (if (result i32) + (tee_local $2 + (i32.eqz + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + ) + (get_local $2) + (f32.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) + ) + (i32.const 1) + ) + ) + (get_local $2) + (i32.eq + (get_local $3) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.eqz + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (return + (get_local $0) + ) + ) + (set_local $4 + (if (result i32) + (get_local $3) + (i32.or + (i32.and + (get_local $4) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $2 + (i32.shl + (get_local $4) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (block + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (i32.shl + (get_local $4) + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + ) + ) + ) + (set_local $9 + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + ) + (set_local $7 + (if (result i32) + (get_local $6) + (i32.or + (i32.and + (get_local $7) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (block (result i32) + (set_local $2 + (i32.shl + (get_local $7) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (block + (set_local $6 + (i32.sub + (get_local $6) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + (i32.shl + (get_local $7) + (i32.sub + (i32.const 1) + (get_local $6) + ) + ) + ) + ) + ) + (set_local $10 + (i32.shr_u + (get_local $5) + (i32.const 31) + ) + ) + (set_local $5 + (i32.const 0) + ) + (block $break|2 + (loop $continue|2 + (if + (i32.lt_s + (get_local $3) + (get_local $6) + ) + (block + (br_if $break|2 + (i32.eq + (i32.add + (get_local $3) + (i32.const 1) + ) + (get_local $6) + ) + ) + (return + (get_local $0) + ) + ) + ) + (loop $continue|3 + (if + (i32.gt_s + (get_local $3) + (get_local $6) + ) + (block + (if + (i32.eqz + (i32.shr_u + (tee_local $2 + (i32.sub + (get_local $4) + (get_local $7) + ) + ) + (i32.const 31) + ) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + ) + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) + ) + ) + (set_local $5 + (i32.shl + (get_local $5) + (i32.const 1) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + (if + (i32.eqz + (i32.shr_u + (tee_local $2 + (i32.sub + (get_local $4) + (get_local $7) + ) + ) + (i32.const 31) + ) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + ) + (if + (get_local $4) + (loop $continue|4 + (if + (i32.eqz + (i32.shr_u + (get_local $4) + (i32.const 23) + ) + ) + (block + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) + ) + ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 1) + ) + ) + (br $continue|4) + ) + ) + ) + (set_local $3 + (i32.const -30) + ) + ) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (tee_local $4 + (select + (i32.or + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + (i32.shl + (get_local $3) + (i32.const 23) + ) + ) + (i32.shr_u + (get_local $4) + (i32.sub + (i32.const 1) + (get_local $3) + ) + ) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + ) + ) + ) + ) + (if + (get_local $9) + (set_local $1 + (f32.neg + (get_local $1) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $2 + (i32.eq + (get_local $3) + (get_local $6) + ) + ) + (get_local $2) + (if (result i32) + (tee_local $2 + (i32.eq + (i32.add + (get_local $3) + (i32.const 1) + ) + (get_local $6) + ) + ) + (if (result i32) + (tee_local $2 + (f32.gt + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $2) + (if (result i32) + (tee_local $2 + (f32.eq + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (i32.rem_s + (get_local $5) + (i32.const 2) + ) + (i32.const 1) + ) + (get_local $2) + ) + ) + (get_local $2) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $10) + ) + ) + (func $std/math/test_remf (; 155 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 156 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (local $3 i64) + (local $4 i32) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (tee_local $3 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (f64.reinterpret/i64 + (tee_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.lt_u + (tee_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 32) + ) + ) + ) + (i32.const 1082535490) + ) + (block + (set_local $1 + (call "$(lib)/math/NativeMath.expm1" + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.const 1045430272) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $1) + ) + (f64.div + (f64.mul + (get_local $1) + (get_local $1) + ) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $1) + (f64.div + (get_local $1) + (f64.add + (get_local $1) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $1) + ) + ) + ) + (func $std/math/test_sinh (; 157 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.sinh" (; 158 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 f32) + (local $3 i32) + (set_local $2 + (f32.const 0.5) + ) + (if + (i32.shr_u + (tee_local $3 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (tee_local $3 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1118925335) + ) + (block + (set_local $1 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $1) + ) + ) + (if + (i32.lt_u + (get_local $3) + (i32.const 1065353216) + ) + (block + (if + (i32.lt_u + (get_local $3) + (i32.const 964689920) + ) + (return + (get_local $0) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.sub + (f32.mul + (f32.const 2) + (get_local $1) + ) + (f32.div + (f32.mul + (get_local $1) + (get_local $1) + ) + (f32.add + (get_local $1) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.add + (get_local $1) + (f32.div + (get_local $1) + (f32.add + (get_local $1) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (f32.mul + (f32.mul + (f32.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $1) + ) + ) + ) + (func $std/math/test_sinhf (; 159 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 160 ;) (type $FF) (param $0 f64) (result f64) + (f64.sqrt + (get_local $0) + ) + ) + (func $std/math/test_sqrt (; 161 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.sqrt" (; 162 ;) (type $ff) (param $0 f32) (result f32) + (f32.sqrt + (get_local $0) + ) + ) + (func $std/math/test_sqrtf (; 163 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 164 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (tee_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (i64.const 63) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (tee_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + ) + ) + (if + (i32.gt_u + (tee_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (i32.const 1071748074) + ) + (set_local $0 + (if (result f64) + (i32.gt_u + (get_local $2) + (i32.const 1077149696) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + (f64.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $2) + (i32.const 1070618798) + ) + (set_local $0 + (f64.div + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 1048576) + ) + (set_local $0 + (f64.div + (f64.neg + (tee_local $0 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + ) + (f64.add + (get_local $0) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (select + (f64.neg + (get_local $0) + ) + (get_local $0) + (get_local $3) + ) + ) + (func $std/math/test_tanh (; 165 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.tanh" (; 166 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (set_local $2 + (i32.shr_u + (tee_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (i32.const 31) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (tee_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1057791828) + ) + (set_local $0 + (if (result f32) + (i32.gt_u + (get_local $1) + (i32.const 1092616192) + ) + (f32.add + (f32.const 1) + (f32.div + (f32.const 0) + (get_local $0) + ) + ) + (f32.sub + (f32.const 1) + (f32.div + (f32.const 2) + (f32.add + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + (f32.const 2) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1048757624) + ) + (set_local $0 + (f32.div + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (set_local $0 + (f32.div + (f32.neg + (tee_local $0 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const -2) + (get_local $0) + ) + ) + ) + ) + (f32.add + (get_local $0) + (f32.const 2) + ) + ) + ) + ) + ) + ) + (select + (f32.neg + (get_local $0) + ) + (get_local $0) + (get_local $2) + ) + ) + (func $std/math/test_tanhf (; 167 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func "$(lib)/math/NativeMath.trunc" (; 168 ;) (type $FF) (param $0 f64) (result f64) + (f64.trunc + (get_local $0) + ) + ) + (func $std/math/test_trunc (; 169 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.const 0) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + (func "$(lib)/math/NativeMathf.trunc" (; 170 ;) (type $ff) (param $0 f32) (result f32) + (f32.trunc + (get_local $0) + ) + ) + (func $std/math/test_truncf (; 171 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (call $std/math/check + (call "$(lib)/math/NativeMathf.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (func $start (; 172 ;) (type $v) + (local $0 i32) + (local $1 i32) + (local $2 f64) + (local $3 f32) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 2.7182817459106445) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.E") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 0.6931471824645996) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LN2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 2.3025851249694824) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LN10") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 1.4426950216293335) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LOG2E") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 3.1415927410125732) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.PI") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 0.7071067690849304) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.SQRT1_2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 1.4142135381698608) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.SQRT2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -inf) + (i32.const 2147483647) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 169) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 170) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 171) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 172) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 173) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 174) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 192) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -inf) + (i32.const 2147483647) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.06684839057968) + (f64.const 8.06684839057968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 4.345239849338305) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.38143342755525) + (f64.const 8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -6.531673581913484) + (f64.const 6.531673581913484) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 9.267056966972586) + (f64.const 9.267056966972586) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.6619858980995045) + (f64.const 0.6619858980995045) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.4066039223853553) + (f64.const 0.4066039223853553) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.5617597462207241) + (f64.const 0.5617597462207241) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.7741522965913037) + (f64.const 0.7741522965913037) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.6787637026394024) + (f64.const 0.6787637026394024) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.066848754882812) + (f32.const 8.066848754882812) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 4.345239639282227) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.381433486938477) + (f32.const 8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -6.531673431396484) + (f32.const 6.531673431396484) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 255) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 9.267057418823242) + (f32.const 9.267057418823242) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 256) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.6619858741760254) + (f32.const 0.6619858741760254) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 257) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.40660393238067627) + (f32.const 0.40660393238067627) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.5617597699165344) + (f32.const 0.5617597699165344) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.7741522789001465) + (f32.const 0.7741522789001465) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 260) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.6787636876106262) + (f32.const 0.6787636876106262) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 261) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 282) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 283) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 284) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 285) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 286) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.6619858980995045) + (f64.const 0.8473310828433507) + (f64.const -0.41553276777267456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.4066039223853553) + (f64.const 1.989530071088669) + (f64.const 0.4973946213722229) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 288) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.5617597462207241) + (f64.const 0.9742849645674904) + (f64.const -0.4428897500038147) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 289) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.7741522965913037) + (f64.const 0.6854215158636222) + (f64.const -0.12589527666568756) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.6787637026394024) + (f64.const 2.316874138205964) + (f64.const -0.17284949123859406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 291) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 294) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 295) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 296) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 297) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 298) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 299) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 301) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.5309227209592985) + (f64.const 2.1304853799705463) + (f64.const 0.1391008496284485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 302) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.4939556746399746) + (f64.const 1.0541629875851946) + (f64.const 0.22054767608642578) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 303) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 312) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 313) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 314) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 315) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.6619858741760254) + (f32.const 0.8473311066627502) + (f32.const -0.13588131964206696) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 317) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.40660393238067627) + (f32.const 1.989530086517334) + (f32.const 0.03764917701482773) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 318) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.5617597699165344) + (f32.const 0.9742849469184875) + (f32.const 0.18443739414215088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 319) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.7741522789001465) + (f32.const 0.6854215264320374) + (f32.const -0.29158344864845276) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 320) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.6787636876106262) + (f32.const 2.3168740272521973) + (f32.const -0.3795364499092102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 321) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 324) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 325) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 326) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 327) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 328) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 329) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 331) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.49965065717697144) + (f32.const 1.0476008653640747) + (f32.const -0.21161814033985138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 332) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5051405429840088) + (f32.const 2.1003410816192627) + (f32.const -0.20852705836296082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 333) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5189794898033142) + (f32.const 2.116452932357788) + (f32.const -0.14600826799869537) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 334) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 346) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 4.345239849338305) + (f64.const 2.1487163980597503) + (f64.const -0.291634738445282) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 347) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 348) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 349) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 9.267056966972586) + (f64.const 2.91668914109908) + (f64.const -0.24191908538341522) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 350) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.6619858980995045) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 351) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 352) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.5617597462207241) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 353) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.7741522965913037) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 354) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 355) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 358) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 359) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 360) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.9999923706054688) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 361) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 362) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 363) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 364) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1060831199926429) + (f64.const 0.4566373404384803) + (f64.const -0.29381608963012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 380) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1089809557628658) + (f64.const 0.4627246859959428) + (f64.const -0.3990095555782318) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 382) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1169429159875521) + (f64.const 0.47902433134075284) + (f64.const -0.321674108505249) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 383) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 392) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 4.345239639282227) + (f32.const 2.148716449737549) + (f32.const 0.4251045286655426) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 393) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 394) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 395) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 9.267057418823242) + (f32.const 2.916689157485962) + (f32.const -0.1369788944721222) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 396) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.6619858741760254) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 397) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 398) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.5617597699165344) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 399) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.7741522789001465) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 400) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 401) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 404) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 405) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 406) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.9999923706054688) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 407) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 408) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 409) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 410) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -1125899906842624) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 411) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 423) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 424) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 425) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 426) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 427) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.6619858980995045) + (f64.const 0.7234652439515459) + (f64.const -0.13599912822246552) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 428) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.4066039223853553) + (f64.const -0.41873374429377225) + (f64.const -0.09264230728149414) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 429) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5617597462207241) + (f64.const 0.5965113622274062) + (f64.const -0.10864213854074478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 430) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.7741522965913037) + (f64.const 0.8853748109312743) + (f64.const -0.4256366193294525) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 431) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.6787637026394024) + (f64.const -0.7460778114110673) + (f64.const 0.13986606895923615) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 432) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 435) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 436) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 437) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 438) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 439) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 440) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 441) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 442) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 443) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5073043929119148) + (f64.const 0.5320538997772349) + (f64.const -0.16157317161560059) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 444) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 453) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 454) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 455) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 456) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 457) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.6619858741760254) + (f32.const 0.7234652042388916) + (f32.const -0.1307632476091385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 458) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.40660393238067627) + (f32.const -0.41873374581336975) + (f32.const 0.3161141574382782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 459) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5617597699165344) + (f32.const 0.5965113639831543) + (f32.const -0.4510819613933563) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 460) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.7741522789001465) + (f32.const 0.8853747844696045) + (f32.const 0.02493886835873127) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 461) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.6787636876106262) + (f32.const -0.7460777759552002) + (f32.const 0.2515012323856354) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 462) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 465) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 466) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 467) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 468) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 469) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 470) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 471) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 472) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 473) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5004770159721375) + (f32.const 0.5241496562957764) + (f32.const -0.29427099227905273) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 474) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.06684839057968) + (f64.const -2.784729878387861) + (f64.const -0.4762189984321594) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 486) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 4.345239849338305) + (f64.const 2.175213389013164) + (f64.const -0.02728751301765442) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 487) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.38143342755525) + (f64.const -2.822706083697696) + (f64.const 0.20985257625579834) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 488) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -6.531673581913484) + (f64.const -2.575619446591922) + (f64.const 0.3113134205341339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 489) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 9.267056966972586) + (f64.const 2.9225114951048674) + (f64.const 0.4991756081581116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 490) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.6619858980995045) + (f64.const 0.6212462762707166) + (f64.const -0.4697347581386566) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 491) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.4066039223853553) + (f64.const -0.39615990393192035) + (f64.const -0.40814438462257385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 492) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.5617597462207241) + (f64.const 0.5357588870255474) + (f64.const 0.3520713150501251) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 493) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.7741522965913037) + (f64.const 0.7123571263197349) + (f64.const 0.13371451199054718) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 494) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.6787637026394024) + (f64.const -0.635182348903198) + (f64.const 0.04749670997262001) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 495) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 498) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 499) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 500) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 501) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 502) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.066848754882812) + (f32.const -2.7847299575805664) + (f32.const -0.14418013393878937) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 531) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 4.345239639282227) + (f32.const 2.17521333694458) + (f32.const -0.020796965807676315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 532) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.381433486938477) + (f32.const -2.8227059841156006) + (f32.const 0.44718533754348755) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 533) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -6.531673431396484) + (f32.const -2.5756194591522217) + (f32.const -0.14822272956371307) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 534) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 9.267057418823242) + (f32.const 2.922511577606201) + (f32.const 0.14270681142807007) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 535) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.6619858741760254) + (f32.const 0.6212462782859802) + (f32.const 0.3684912919998169) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 536) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.40660393238067627) + (f32.const -0.39615991711616516) + (f32.const -0.13170306384563446) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 537) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.5617597699165344) + (f32.const 0.535758912563324) + (f32.const 0.08184859901666641) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 538) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.7741522789001465) + (f32.const 0.7123571038246155) + (f32.const -0.14270737767219543) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 539) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.6787636876106262) + (f32.const -0.6351823210716248) + (f32.const 0.2583143711090088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 540) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 543) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 544) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 545) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 546) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 547) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.06684839057968) + (f64.const -1.4474613762633468) + (f64.const 0.14857111871242523) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 559) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 4.345239849338305) + (f64.const 1.344597927114538) + (f64.const -0.08170335739850998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 560) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.38143342755525) + (f64.const -1.4520463463295539) + (f64.const -0.07505480200052261) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 561) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -6.531673581913484) + (f64.const -1.4188758658752532) + (f64.const -0.057633496820926666) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 562) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 9.267056966972586) + (f64.const 1.463303145448706) + (f64.const 0.1606956422328949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 563) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6619858980995045) + (f64.const 0.5847550670238325) + (f64.const 0.4582556486129761) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 564) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.4066039223853553) + (f64.const -0.3861864177552131) + (f64.const -0.2574281692504883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 565) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.5617597462207241) + (f64.const 0.5118269531628881) + (f64.const -0.11444277316331863) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 566) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.7741522965913037) + (f64.const 0.6587802431653822) + (f64.const -0.11286488175392151) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 567) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.6787637026394024) + (f64.const -0.5963307826973472) + (f64.const -0.2182842344045639) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 568) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 571) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 572) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 1) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 573) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -1) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 574) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const inf) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 575) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -inf) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 576) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 577) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6929821535674624) + (f64.const 0.6060004555152562) + (f64.const -0.17075790464878082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 578) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.066848754882812) + (f32.const -1.4474613666534424) + (f32.const 0.12686480581760406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 587) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 4.345239639282227) + (f32.const 1.3445979356765747) + (f32.const 0.16045434772968292) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 588) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.381433486938477) + (f32.const -1.4520463943481445) + (f32.const -0.39581751823425293) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 589) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -6.531673431396484) + (f32.const -1.418875813484192) + (f32.const 0.410570353269577) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 590) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 9.267057418823242) + (f32.const 1.4633032083511353) + (f32.const 0.48403501510620117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 591) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.6619858741760254) + (f32.const 0.5847550630569458) + (f32.const 0.2125193476676941) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 592) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.40660393238067627) + (f32.const -0.386186420917511) + (f32.const 0.18169628083705902) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 593) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.5617597699165344) + (f32.const 0.5118269920349121) + (f32.const 0.3499770760536194) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 594) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.7741522789001465) + (f32.const 0.6587802171707153) + (f32.const -0.2505330741405487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 595) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.6787636876106262) + (f32.const -0.5963307619094849) + (f32.const 0.17614826560020447) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 596) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 599) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 600) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 1) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 601) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -1) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 602) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const inf) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 603) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -inf) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 604) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 605) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 617) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 618) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 619) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 620) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 621) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.6619858980995045) + (f64.const 0.7963404371347943) + (f64.const 0.21338365972042084) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 622) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0.4066039223853553) + (f64.const -0.43153570730602897) + (f64.const -0.4325666129589081) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 623) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.5617597462207241) + (f64.const 0.6354006111644578) + (f64.const -0.06527865678071976) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 624) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.7741522965913037) + (f64.const 1.0306085575277995) + (f64.const 0.14632052183151245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 625) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0.6787637026394024) + (f64.const -0.8268179645205255) + (f64.const 0.1397128701210022) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 626) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 629) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 630) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 631) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 632) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 633) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 634) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -1) + (f64.const -inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 635) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1.0000152587890625) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 636) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -1.0000152587890625) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 637) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1.3552527156068805e-20) + (f64.const 1.3552527156068805e-20) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 638) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 9.332636185032189e-302) + (f64.const 9.332636185032189e-302) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 639) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 5.562684646268003e-309) + (f64.const 5.562684646268003e-309) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 640) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -5.562684646268003e-309) + (f64.const -5.562684646268003e-309) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 641) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 8988465674311579538646525e283) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 642) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 651) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 652) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 653) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 654) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 655) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.6619858741760254) + (f32.const 0.7963404059410095) + (f32.const 0.19112196564674377) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 656) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0.40660393238067627) + (f32.const -0.4315357208251953) + (f32.const -0.05180925130844116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 657) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.5617597699165344) + (f32.const 0.635400652885437) + (f32.const 0.11911056190729141) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 658) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.7741522789001465) + (f32.const 1.0306085348129272) + (f32.const 0.1798270344734192) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 659) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0.6787636876106262) + (f32.const -0.8268179297447205) + (f32.const 0.11588983237743378) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 660) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 663) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 664) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 665) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 666) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 667) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 668) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -1) + (f32.const -inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 669) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1.0000152587890625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 670) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -1.0000152587890625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 671) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1.3552527156068805e-20) + (f32.const 1.3552527156068805e-20) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 672) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 7.888609052210118e-31) + (f32.const 7.888609052210118e-31) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 673) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 2.938735877055719e-39) + (f32.const 2.938735877055719e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 674) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -2.938735877055719e-39) + (f32.const -2.938735877055719e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 675) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1701411834604692317316873e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 676) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -1.0585895402489023) + (f64.const 0.09766263514757156) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 688) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.6868734126013067) + (f64.const 0.35833948850631714) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 689) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -1.889300091849528) + (f64.const -0.46235957741737366) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 690) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -0.9605469021111489) + (f64.const -0.21524477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 691) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 1.0919123946142109) + (f64.const 0.3894443213939667) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 692) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -1.468508500616424) + (f64.const -0.448591411113739) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 693) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.5641600512601268) + (f64.const 0.3784842789173126) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 694) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.10281658910678508) + (f64.const -0.13993260264396667) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 695) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.29697974004493516) + (f64.const 0.44753071665763855) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 696) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -1.5131612053303916) + (f64.const 0.39708876609802246) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 697) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 700) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const -0) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 701) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 702) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const -inf) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 703) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 704) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 705) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const 0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 706) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const -0) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 707) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const -1) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 708) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const -inf) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 709) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 710) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 711) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const 0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 712) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const -0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 713) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 714) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const -0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 715) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 716) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 717) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const -inf) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 718) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const -inf) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 719) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 720) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -inf) + (f64.const 0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 721) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.const inf) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 722) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.const -inf) + (f64.const 2.356194490192345) + (f64.const -0.20682445168495178) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 723) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -inf) + (f64.const inf) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 724) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -inf) + (f64.const -inf) + (f64.const -2.356194490192345) + (f64.const 0.20682445168495178) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 725) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.1125369292536007e-308) + (f64.const 1) + (f64.const 1.1125369292536007e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 726) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const 8988465674311579538646525e283) + (f64.const 1.1125369292536007e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 727) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.5) + (f64.const 8988465674311579538646525e283) + (f64.const 1.668805393880401e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 728) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.5) + (f64.const -8988465674311579538646525e283) + (f64.const 3.141592653589793) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 729) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -1.0585895776748657) + (f32.const -0.22352588176727295) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 738) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 2.686873435974121) + (f32.const 0.09464472532272339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 739) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -1.8893001079559326) + (f32.const -0.21941901743412018) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 740) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -0.9605468511581421) + (f32.const 0.46015575528144836) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 741) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 1.0919123888015747) + (f32.const -0.05708503723144531) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 742) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -1.4685084819793701) + (f32.const 0.19611206650733948) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 743) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 1.5641601085662842) + (f32.const 0.48143187165260315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 744) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.10281659662723541) + (f32.const -0.4216274917125702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 745) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.29697975516319275) + (f32.const 0.2322007566690445) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 746) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -1.5131611824035645) + (f32.const 0.16620726883411407) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 747) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 750) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const -0) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 751) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 752) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const -inf) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 753) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 754) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 755) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const 0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 756) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const -0) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 757) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const -1) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 758) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const -inf) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 759) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 760) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 761) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const 0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 762) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const -0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 763) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 764) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const -0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 765) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 766) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 767) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const -inf) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 768) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const -inf) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 769) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 770) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -inf) + (f32.const 0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 771) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.const inf) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 772) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.const -inf) + (f32.const 2.356194496154785) + (f32.const 0.02500828728079796) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 773) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -inf) + (f32.const inf) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 774) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -inf) + (f32.const -inf) + (f32.const -2.356194496154785) + (f32.const -0.02500828728079796) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 775) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 5.877471754111438e-39) + (f32.const 1) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 776) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const 1701411834604692317316873e14) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 777) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.06684839057968) + (f64.const -2.0055552545020245) + (f64.const 0.46667951345443726) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 789) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 4.345239849338305) + (f64.const 1.6318162410515635) + (f64.const -0.08160271495580673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 790) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.38143342755525) + (f64.const -2.031293910673361) + (f64.const -0.048101816326379776) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 791) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -6.531673581913484) + (f64.const -1.8692820012204925) + (f64.const 0.08624018728733063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 792) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.267056966972586) + (f64.const 2.100457720859702) + (f64.const -0.2722989022731781) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 793) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.6619858980995045) + (f64.const 0.8715311470455973) + (f64.const 0.4414918124675751) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 794) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.4066039223853553) + (f64.const -0.740839030300223) + (f64.const 0.016453813761472702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 795) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.5617597462207241) + (f64.const 0.8251195400559286) + (f64.const 0.30680638551712036) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 796) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.7741522965913037) + (f64.const 0.9182102478959914) + (f64.const 0.06543998420238495) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 797) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.6787637026394024) + (f64.const -0.8788326906580094) + (f64.const -0.2016713172197342) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 798) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 801) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 802) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 803) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 804) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 805) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.313225746154785e-10) + (f64.const 0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 806) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -9.313225746154785e-10) + (f64.const -0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 807) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 808) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 809) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 8) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 810) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.066848754882812) + (f32.const -2.0055553913116455) + (f32.const -0.44719240069389343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 819) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 4.345239639282227) + (f32.const 1.6318162679672241) + (f32.const 0.44636252522468567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 820) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.381433486938477) + (f32.const -2.0312938690185547) + (f32.const 0.19483426213264465) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 821) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -6.531673431396484) + (f32.const -1.8692820072174072) + (f32.const -0.17075514793395996) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 822) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.267057418823242) + (f32.const 2.1004576683044434) + (f32.const -0.36362043023109436) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 823) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.6619858741760254) + (f32.const 0.8715311288833618) + (f32.const -0.12857209146022797) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 824) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.40660393238067627) + (f32.const -0.7408390641212463) + (f32.const -0.4655757546424866) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 825) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.5617597699165344) + (f32.const 0.8251195549964905) + (f32.const 0.05601907894015312) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 826) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.7741522789001465) + (f32.const 0.9182102680206299) + (f32.const 0.45498204231262207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 827) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.6787636876106262) + (f32.const -0.8788326978683472) + (f32.const -0.22978967428207397) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 828) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 831) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 832) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 833) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 834) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 835) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.313225746154785e-10) + (f32.const 0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 836) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -9.313225746154785e-10) + (f32.const -0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 837) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 838) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 839) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 8) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 840) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -8.06684839057968) + (f64.const -8) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 852) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 4.345239849338305) + (f64.const 5) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 853) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -8.38143342755525) + (f64.const -8) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 854) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -6.531673581913484) + (f64.const -6) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 855) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 9.267056966972586) + (f64.const 10) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 856) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.6619858980995045) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 857) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.4066039223853553) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 858) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5617597462207241) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 859) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.7741522965913037) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 860) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.6787637026394024) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 861) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 864) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 865) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 866) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 867) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 868) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 869) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 870) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 871) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 872) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 873) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 874) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 875) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 876) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 877) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 878) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 879) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 880) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 881) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 882) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 883) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 884) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 885) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 886) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 887) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 888) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 889) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 890) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 891) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 892) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 893) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 894) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 895) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 896) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 897) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 898) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 899) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 900) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 901) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 902) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 903) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 904) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 905) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 906) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 907) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 908) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -8.066848754882812) + (f32.const -8) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 917) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 4.345239639282227) + (f32.const 5) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 918) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -8.381433486938477) + (f32.const -8) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 919) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -6.531673431396484) + (f32.const -6) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 920) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 9.267057418823242) + (f32.const 10) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 921) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.6619858741760254) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 922) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.40660393238067627) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 923) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5617597699165344) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 924) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.7741522789001465) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 925) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.6787636876106262) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 926) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 929) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 930) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 931) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 932) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 933) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 934) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 935) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 936) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 937) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 938) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 939) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 940) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 941) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 942) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 943) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 944) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 945) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 946) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 947) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 948) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 949) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 950) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 951) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 952) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 953) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 954) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 955) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 956) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 957) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 958) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 959) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 960) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 961) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 962) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 963) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 964) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 965) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 966) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 967) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 968) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 969) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 970) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 971) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 972) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 973) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.06684839057968) + (f64.const 1593.5209938862329) + (f64.const -0.38098856806755066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 4.345239849338305) + (f64.const 38.56174928426729) + (f64.const -0.2712278366088867) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.38143342755525) + (f64.const 2182.630979595893) + (f64.const 0.0817827582359314) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -6.531673581913484) + (f64.const 343.273849250879) + (f64.const -0.429940402507782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 9.267056966972586) + (f64.const 5291.779170005587) + (f64.const -0.1592995822429657) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.6619858980995045) + (f64.const 1.2272321957342842) + (f64.const 0.23280741274356842) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.4066039223853553) + (f64.const 1.083808541871197) + (f64.const -0.3960916996002197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.5617597462207241) + (f64.const 1.1619803583175077) + (f64.const 0.37748390436172485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.7741522965913037) + (f64.const 1.3149236876276706) + (f64.const 0.43587008118629456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.6787637026394024) + (f64.const 1.2393413245934533) + (f64.const 0.10201606154441833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.066848754882812) + (f32.const 1593.5216064453125) + (f32.const 0.26242581009864807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 4.345239639282227) + (f32.const 38.56174087524414) + (f32.const -0.08168885856866837) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.381433486938477) + (f32.const 2182.631103515625) + (f32.const -0.02331414446234703) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1137) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -6.531673431396484) + (f32.const 343.2738037109375) + (f32.const 0.20081493258476257) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 9.267057418823242) + (f32.const 5291.78173828125) + (f32.const 0.36286723613739014) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.6619858741760254) + (f32.const 1.2272322177886963) + (f32.const 0.32777416706085205) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.40660393238067627) + (f32.const 1.0838085412979126) + (f32.const -0.039848703891038895) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.5617597699165344) + (f32.const 1.161980390548706) + (f32.const 0.15274477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.7741522789001465) + (f32.const 1.314923644065857) + (f32.const -0.2387111485004425) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.6787636876106262) + (f32.const 1.2393412590026855) + (f32.const -0.45791932940483093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.06684839057968) + (f64.const 3.137706068161745e-04) + (f64.const -0.2599197328090668) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 4.345239849338305) + (f64.const 77.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.38143342755525) + (f64.const 2.290813384916323e-04) + (f64.const -0.24974334239959717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -6.531673581913484) + (f64.const 1.4565661260931588e-03) + (f64.const -0.4816822409629822) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 9.267056966972586) + (f64.const 10583.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.6619858980995045) + (f64.const 1.9386384525571998) + (f64.const -0.4964246451854706) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.4066039223853553) + (f64.const 0.6659078892838025) + (f64.const -0.10608318448066711) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1169) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.5617597462207241) + (f64.const 1.7537559518626311) + (f64.const -0.39162111282348633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1170) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.7741522965913037) + (f64.const 2.1687528885129246) + (f64.const -0.2996125817298889) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1171) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.6787637026394024) + (f64.const 0.5072437089402843) + (f64.const 0.47261738777160645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1172) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1175) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1176) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1) + (f64.const 2.718281828459045) + (f64.const -0.3255307376384735) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1) + (f64.const 0.36787944117144233) + (f64.const 0.22389651834964752) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526365) + (f64.const 2.828429155876411) + (f64.const 0.18803080916404724) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1.0397214889526365) + (f64.const 0.35355313670217847) + (f64.const 0.2527272403240204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397210121154785) + (f64.const 2.8284278071766122) + (f64.const -0.4184139370918274) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526367) + (f64.const 2.8284291558764116) + (f64.const -0.22618377208709717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.066848754882812) + (f32.const 3.1377049162983894e-04) + (f32.const -0.030193336308002472) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 4.345239639282227) + (f32.const 77.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.381433486938477) + (f32.const 2.2908132814336568e-04) + (f32.const 0.2237040400505066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -6.531673431396484) + (f32.const 1.4565663877874613e-03) + (f32.const 0.36469703912734985) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 9.267057418823242) + (f32.const 10583.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.6619858741760254) + (f32.const 1.93863844871521) + (f32.const 0.3568260967731476) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.40660393238067627) + (f32.const 0.6659078598022461) + (f32.const -0.38294991850852966) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.5617597699165344) + (f32.const 1.753756046295166) + (f32.const 0.44355490803718567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.7741522789001465) + (f32.const 2.168752908706665) + (f32.const 0.24562469124794006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.6787636876106262) + (f32.const 0.5072436928749084) + (f32.const -0.3974292278289795) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 1) + (f32.const 2.7182817459106445) + (f32.const -0.3462330996990204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -1) + (f32.const 0.3678794503211975) + (f32.const 0.3070148527622223) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283172607422) + (f32.const 340279851902147610656242e15) + (f32.const -0.09067153930664062) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283935546875) + (f32.const inf) + (f32.const 0) + (i32.const 17) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97207641601562) + (f32.const 1.401298464324817e-45) + (f32.const 0.49999967217445374) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97208404541016) + (f32.const 0) + (f32.const -0.49999651312828064) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735614299774) + (f32.const 1.4142135381698608) + (f32.const 0.13922421634197235) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735912322998) + (f32.const 1.4142135381698608) + (f32.const -0.21432916820049286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465736210346222) + (f32.const 1.4142136573791504) + (f32.const 0.43211743235588074) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.06684839057968) + (f64.const -0.9996862293931839) + (f64.const -0.2760058343410492) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 4.345239849338305) + (f64.const 76.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.38143342755525) + (f64.const -0.9997709186615084) + (f64.const 0.10052496194839478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -6.531673581913484) + (f64.const -0.9985434338739069) + (f64.const -0.27437829971313477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 9.267056966972586) + (f64.const 10582.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.6619858980995045) + (f64.const 0.9386384525571999) + (f64.const 0.007150684483349323) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.4066039223853553) + (f64.const -0.3340921107161975) + (f64.const -0.21216636896133423) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.5617597462207241) + (f64.const 0.7537559518626312) + (f64.const 0.21675777435302734) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.7741522965913037) + (f64.const 1.1687528885129248) + (f64.const 0.4007748067378998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.6787637026394024) + (f64.const -0.4927562910597158) + (f64.const -0.05476519837975502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1244) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 1) + (f64.const 1.7182818284590453) + (f64.const 0.348938524723053) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1245) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -1) + (f64.const -0.6321205588285577) + (f64.const 0.11194825917482376) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1246) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1247) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1248) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1249) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 2.225073858507201e-308) + (f64.const 2.225073858507201e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1250) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -2.225073858507201e-308) + (f64.const -2.225073858507201e-308) + (f64.const 0) + (i32.const 9) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1251) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.066848754882812) + (f32.const -0.9996862411499023) + (f32.const -0.19532723724842072) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1260) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 4.345239639282227) + (f32.const 76.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1261) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.381433486938477) + (f32.const -0.9997709393501282) + (f32.const -0.34686920046806335) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1262) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -6.531673431396484) + (f32.const -0.9985434412956238) + (f32.const -0.1281939446926117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1263) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 9.267057418823242) + (f32.const 10582.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.6619858741760254) + (f32.const 0.9386383891105652) + (f32.const -0.28634780645370483) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.40660393238067627) + (f32.const -0.3340921103954315) + (f32.const 0.23410017788410187) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.5617597699165344) + (f32.const 0.7537559866905212) + (f32.const -0.11289017647504807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.7741522789001465) + (f32.const 1.168752908706665) + (f32.const 0.4912493824958801) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.6787636876106262) + (f32.const -0.49275627732276917) + (f32.const 0.20514154434204102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1272) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1273) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 1) + (f32.const 1.718281865119934) + (f32.const 0.3075338304042816) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1274) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -1) + (f32.const -0.6321205496788025) + (f32.const 0.15350742638111115) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1275) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1276) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMath.seedRandom" (; 112 ;) (type $Iv) (param $0 i64) (if - (i64.eqz - (get_local $0) + (i32.eqz + (call $std/math/test_expm1f + (f32.const -inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) ) (block (call $abort (i32.const 0) - (i32.const 32) - (i32.const 1030) (i32.const 4) + (i32.const 1277) + (i32.const 0) ) (unreachable) ) ) - (set_global "$(lib)/math/random_seeded" - (i32.const 1) - ) - (set_global "$(lib)/math/random_state0" - (call "$(lib)/math/murmurHash3" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) ) - ) - (set_global "$(lib)/math/random_state1" - (call "$(lib)/math/murmurHash3" - (get_global "$(lib)/math/random_state0") + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1278) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMath.random" (; 113 ;) (type $F) (result f64) - (local $0 i64) - (local $1 i64) (if (i32.eqz - (get_global "$(lib)/math/random_seeded") + (call $std/math/test_floor + (f64.const -8.06684839057968) + (f64.const -9) + (f64.const 0) + (i32.const 1) + ) ) - (unreachable) - ) - (set_local $0 - (get_global "$(lib)/math/random_state0") - ) - (set_global "$(lib)/math/random_state0" - (tee_local $1 - (get_global "$(lib)/math/random_state1") + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1290) + (i32.const 0) + ) + (unreachable) ) ) - (set_global "$(lib)/math/random_state1" - (tee_local $0 - (i64.xor - (i64.xor - (i64.xor - (tee_local $0 - (i64.xor - (get_local $0) - (i64.shl - (get_local $0) - (i64.const 23) - ) - ) - ) - (i64.shr_u - (get_local $0) - (i64.const 17) - ) - ) - (get_local $1) - ) - (i64.shr_u - (get_local $1) - (i64.const 26) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 4.345239849338305) + (f64.const 4) + (f64.const 0) + (i32.const 1) ) ) - ) - (f64.sub - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.add - (get_local $1) - (get_local $0) - ) - (i64.const 4503599627370495) - ) - (i64.const 4607182418800017408) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1291) + (i32.const 0) ) + (unreachable) ) - (f64.const 1) - ) - ) - (func "$(lib)/math/NativeMath.sinh" (; 114 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 f64) - (local $3 i64) - (local $4 i32) - (set_local $2 - (f64.const 0.5) ) (if - (i64.ne - (i64.shr_u - (tee_local $3 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 63) + (i32.eqz + (call $std/math/test_floor + (f64.const -8.38143342755525) + (f64.const -9) + (f64.const 0) + (i32.const 1) ) - (i64.const 0) ) - (set_local $2 - (f64.neg - (get_local $2) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1292) + (i32.const 0) ) + (unreachable) ) ) - (set_local $1 - (f64.reinterpret/i64 - (tee_local $3 - (i64.and - (get_local $3) - (i64.const 9223372036854775807) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -6.531673581913484) + (f64.const -7) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1293) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.lt_u - (tee_local $4 - (i32.wrap/i64 - (i64.shr_u - (get_local $3) - (i64.const 32) - ) - ) + (i32.eqz + (call $std/math/test_floor + (f64.const 9.267056966972586) + (f64.const 9) + (f64.const 0) + (i32.const 1) ) - (i32.const 1082535490) ) (block - (set_local $1 - (call "$(lib)/math/NativeMath.expm1" - (get_local $1) - ) - ) - (if - (i32.lt_u - (get_local $4) - (i32.const 1072693248) - ) - (block - (if - (i32.lt_u - (get_local $4) - (i32.const 1045430272) - ) - (return - (get_local $0) - ) - ) - (return - (f64.mul - (get_local $2) - (f64.sub - (f64.mul - (f64.const 2) - (get_local $1) - ) - (f64.div - (f64.mul - (get_local $1) - (get_local $1) - ) - (f64.add - (get_local $1) - (f64.const 1) - ) - ) - ) - ) - ) - ) - ) - (return - (f64.mul - (get_local $2) - (f64.add - (get_local $1) - (f64.div - (get_local $1) - (f64.add - (get_local $1) - (f64.const 1) - ) - ) - ) - ) + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1294) + (i32.const 0) ) + (unreachable) ) ) - (f64.mul - (f64.mul - (f64.const 2) - (get_local $2) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.6619858980995045) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) ) - (call "$(lib)/math/NativeMath.__expo2" - (get_local $1) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1295) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func $std/math/test_sinh (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.sinh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -0.4066039223853553) + (f64.const -1) + (f64.const 0) + (i32.const 1) ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.sinh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1296) + (i32.const 0) ) - (get_local $4) + (unreachable) ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.sinh" (; 116 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (local $2 f32) - (local $3 i32) - (set_local $2 - (f32.const 0.5) ) (if - (i32.shr_u - (tee_local $3 - (i32.reinterpret/f32 - (get_local $0) - ) + (i32.eqz + (call $std/math/test_floor + (f64.const 0.5617597462207241) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) - (i32.const 31) ) - (set_local $2 - (f32.neg - (get_local $2) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1297) + (i32.const 0) ) + (unreachable) ) ) - (set_local $1 - (f32.reinterpret/i32 - (tee_local $3 - (i32.and - (get_local $3) - (i32.const 2147483647) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.7741522965913037) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1298) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.lt_u - (get_local $3) - (i32.const 1118925335) + (i32.eqz + (call $std/math/test_floor + (f64.const -0.6787637026394024) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) ) (block - (set_local $1 - (call "$(lib)/math/NativeMathf.expm1" - (get_local $1) - ) - ) - (if - (i32.lt_u - (get_local $3) - (i32.const 1065353216) - ) - (block - (if - (i32.lt_u - (get_local $3) - (i32.const 964689920) - ) - (return - (get_local $0) - ) - ) - (return - (f32.mul - (get_local $2) - (f32.sub - (f32.mul - (f32.const 2) - (get_local $1) - ) - (f32.div - (f32.mul - (get_local $1) - (get_local $1) - ) - (f32.add - (get_local $1) - (f32.const 1) - ) - ) - ) - ) - ) - ) - ) - (return - (f32.mul - (get_local $2) - (f32.add - (get_local $1) - (f32.div - (get_local $1) - (f32.add - (get_local $1) - (f32.const 1) - ) - ) - ) - ) + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1299) + (i32.const 0) ) + (unreachable) ) ) - (f32.mul - (f32.mul - (f32.const 2) - (get_local $2) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) ) - (call "$(lib)/math/NativeMathf.__expo2" - (get_local $1) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1302) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func $std/math/test_sinhf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.sinh" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (func "$(lib)/math/NativeMath.sqrt" (; 118 ;) (type $FF) (param $0 f64) (result f64) - (f64.sqrt - (get_local $0) - ) - ) - (func $std/math/test_sqrt (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.sqrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1303) + (i32.const 0) ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.sqrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) - (get_local $4) ) - (i32.const 1) - ) - ) - (func "$(lib)/math/NativeMathf.sqrt" (; 120 ;) (type $ff) (param $0 f32) (result f32) - (f32.sqrt - (get_local $0) - ) - ) - (func $std/math/test_sqrtf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.sqrt" - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1304) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func "$(lib)/math/NativeMath.tanh" (; 122 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i32) - (local $3 i32) - (set_local $3 - (i32.wrap/i64 - (i64.shr_u - (tee_local $1 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (i64.const 63) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) - ) - (set_local $0 - (f64.reinterpret/i64 - (tee_local $1 - (i64.and - (get_local $1) - (i64.const 9223372036854775807) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1305) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.gt_u - (tee_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) + (i32.eqz + (call $std/math/test_floor + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) - (i32.const 1071748074) ) - (set_local $0 - (if (result f64) - (i32.gt_u - (get_local $2) - (i32.const 1077149696) - ) - (f64.sub - (f64.const 1) - (f64.div - (f64.const 0) - (get_local $0) - ) - ) - (f64.sub - (f64.const 1) - (f64.div - (f64.const 2) - (f64.add - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const 2) - (get_local $0) - ) - ) - (f64.const 2) - ) - ) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1306) + (i32.const 0) ) + (unreachable) ) - (if - (i32.gt_u - (get_local $2) - (i32.const 1070618798) - ) - (set_local $0 - (f64.div - (tee_local $0 - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const 2) - (get_local $0) - ) - ) - ) - (f64.add - (get_local $0) - (f64.const 2) - ) - ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1048576) - ) - (set_local $0 - (f64.div - (f64.neg - (tee_local $0 - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const -2) - (get_local $0) - ) - ) - ) - ) - (f64.add - (get_local $0) - (f64.const 2) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1307) + (i32.const 0) ) + (unreachable) ) ) - (select - (f64.neg - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1308) + (i32.const 0) + ) + (unreachable) ) - (get_local $0) - (get_local $3) ) - ) - (func $std/math/test_tanh (; 123 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) - (if (result i32) - (tee_local $4 - (i32.const 0) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1309) + (i32.const 0) ) - (get_local $4) + (unreachable) ) - (i32.const 1) ) - ) - (func "$(lib)/math/NativeMathf.tanh" (; 124 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (set_local $2 - (i32.shr_u - (tee_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -0.5) + (f64.const -1) + (f64.const 0) + (i32.const 1) ) - (i32.const 31) ) - ) - (set_local $0 - (f32.reinterpret/i32 - (tee_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1310) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.gt_u - (get_local $1) - (i32.const 1057791828) - ) - (set_local $0 - (if (result f32) - (i32.gt_u - (get_local $1) - (i32.const 1092616192) - ) - (f32.add - (f32.const 1) - (f32.div - (f32.const 0) - (get_local $0) - ) - ) - (f32.sub - (f32.const 1) - (f32.div - (f32.const 2) - (f32.add - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - (f32.const 2) - ) - ) - ) + (i32.eqz + (call $std/math/test_floor + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) + (i32.const 1) ) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1048757624) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1311) + (i32.const 0) ) - (set_local $0 - (f32.div - (tee_local $0 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - ) - (f32.add - (get_local $0) - (f32.const 2) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -1.0000152587890625) + (f64.const -2) + (f64.const 0) + (i32.const 1) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 8388608) - ) - (set_local $0 - (f32.div - (f32.neg - (tee_local $0 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const -2) - (get_local $0) - ) - ) - ) - ) - (f32.add - (get_local $0) - (f32.const 2) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1312) + (i32.const 0) ) + (unreachable) ) ) - (select - (f32.neg - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.9999923706054688) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) ) - (get_local $0) - (get_local $2) - ) - ) - (func $std/math/test_tanhf (; 125 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (call $std/math/check - (call "$(lib)/math/NativeMathf.tanh" - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1313) + (i32.const 0) + ) + (unreachable) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - (func $start (; 126 ;) (type $v) - (local $0 i32) - (local $1 f64) - (local $2 i32) (if (i32.eqz - (call $std/math/check - (f64.const 2.718281828459045) - (get_global "$(lib)/math/JSMath.E") + (call $std/math/test_floor + (f64.const -0.9999923706054688) + (f64.const -1) (f64.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 84) + (i32.const 1314) (i32.const 0) ) (unreachable) @@ -12659,18 +27623,18 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.6931471805599453) - (get_global "$(lib)/math/JSMath.LN2") + (call $std/math/test_floor + (f64.const 7.888609052210118e-31) (f64.const 0) - (i32.const 0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 85) + (i32.const 1315) (i32.const 0) ) (unreachable) @@ -12678,18 +27642,37 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.302585092994046) - (get_global "$(lib)/math/JSMath.LN10") + (call $std/math/test_floor + (f64.const -7.888609052210118e-31) + (f64.const -1) (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort (i32.const 0) + (i32.const 4) + (i32.const 1316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -8.066848754882812) + (f32.const -9) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 86) + (i32.const 1325) (i32.const 0) ) (unreachable) @@ -12697,18 +27680,56 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4426950408889634) - (get_global "$(lib)/math/JSMath.LOG2E") - (f64.const 0) + (call $std/math/test_floorf + (f32.const 4.345239639282227) + (f32.const 4) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1326) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -8.381433486938477) + (f32.const -9) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1327) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -6.531673431396484) + (f32.const -7) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 87) + (i32.const 1328) (i32.const 0) ) (unreachable) @@ -12716,18 +27737,37 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 3.141592653589793) - (get_global "$(lib)/math/JSMath.PI") - (f64.const 0) + (call $std/math/test_floorf + (f32.const 9.267057418823242) + (f32.const 9) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1329) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const 0.6619858741760254) + (f32.const 0) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 88) + (i32.const 1330) (i32.const 0) ) (unreachable) @@ -12735,18 +27775,37 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.7071067811865476) - (get_global "$(lib)/math/JSMath.SQRT1_2") - (f64.const 0) + (call $std/math/test_floorf + (f32.const -0.40660393238067627) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1331) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const 0.5617597699165344) + (f32.const 0) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 89) + (i32.const 1332) (i32.const 0) ) (unreachable) @@ -12754,18 +27813,18 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4142135623730951) - (get_global "$(lib)/math/JSMath.SQRT2") - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 0.7741522789001465) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 90) + (i32.const 1333) (i32.const 0) ) (unreachable) @@ -12773,19 +27832,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.06684839057968) - (i32.const -2) - (f64.const -2.01671209764492) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -0.6787636876106262) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 99) + (i32.const 1334) (i32.const 0) ) (unreachable) @@ -12793,11 +27851,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 4.345239849338305) - (i32.const -1) - (f64.const 2.1726199246691524) - (f64.const 0) + (call $std/math/test_floorf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -12805,7 +27862,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 100) + (i32.const 1337) (i32.const 0) ) (unreachable) @@ -12813,11 +27870,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.38143342755525) - (i32.const 0) - (f64.const -8.38143342755525) - (f64.const 0) + (call $std/math/test_floorf + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -12825,7 +27881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 101) + (i32.const 1338) (i32.const 0) ) (unreachable) @@ -12833,11 +27889,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -6.531673581913484) - (i32.const 1) - (f64.const -13.063347163826968) - (f64.const 0) + (call $std/math/test_floorf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) (i32.const 0) ) ) @@ -12845,7 +27900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 102) + (i32.const 1339) (i32.const 0) ) (unreachable) @@ -12853,11 +27908,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 9.267056966972586) - (i32.const 2) - (f64.const 37.06822786789034) - (f64.const 0) + (call $std/math/test_floorf + (f32.const 0) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -12865,7 +27919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 103) + (i32.const 1340) (i32.const 0) ) (unreachable) @@ -12873,11 +27927,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.6619858980995045) - (i32.const 3) - (f64.const 5.295887184796036) - (f64.const 0) + (call $std/math/test_floorf + (f32.const -0) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -12885,7 +27938,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 104) + (i32.const 1341) (i32.const 0) ) (unreachable) @@ -12893,11 +27946,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.4066039223853553) - (i32.const 4) - (f64.const -6.505662758165685) - (f64.const 0) + (call $std/math/test_floorf + (f32.const 1) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -12905,7 +27957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 105) + (i32.const 1342) (i32.const 0) ) (unreachable) @@ -12913,11 +27965,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5617597462207241) - (i32.const 5) - (f64.const 17.97631187906317) - (f64.const 0) + (call $std/math/test_floorf + (f32.const -1) + (f32.const -1) + (f32.const 0) (i32.const 0) ) ) @@ -12925,7 +27976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 106) + (i32.const 1343) (i32.const 0) ) (unreachable) @@ -12933,19 +27984,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7741522965913037) - (i32.const 6) - (f64.const 49.545746981843436) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 0.5) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 107) + (i32.const 1344) (i32.const 0) ) (unreachable) @@ -12953,19 +28003,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.6787637026394024) - (i32.const 7) - (f64.const -86.88175393784351) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -0.5) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 108) + (i32.const 1345) (i32.const 0) ) (unreachable) @@ -12973,19 +28022,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const 2147483647) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 111) + (i32.const 1346) (i32.const 0) ) (unreachable) @@ -12993,19 +28041,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const -2147483647) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -1.0000152587890625) + (f32.const -2) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 112) + (i32.const 1347) (i32.const 0) ) (unreachable) @@ -13013,19 +28060,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0) - (i32.const 2147483647) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 0.9999923706054688) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 113) + (i32.const 1348) (i32.const 0) ) (unreachable) @@ -13033,19 +28079,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -0.9999923706054688) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 114) + (i32.const 1349) (i32.const 0) ) (unreachable) @@ -13053,19 +28098,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 0) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 7.888609052210118e-31) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 115) + (i32.const 1350) (i32.const 0) ) (unreachable) @@ -13073,19 +28117,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -inf) - (i32.const 0) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -7.888609052210118e-31) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 116) + (i32.const 1351) (i32.const 0) ) (unreachable) @@ -13093,19 +28136,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const 9.25452742288464) + (f64.const -0.31188681721687317) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 117) + (i32.const 1363) (i32.const 0) ) (unreachable) @@ -13113,19 +28156,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) + (call $std/math/test_hypot + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 9.893305808328252) + (f64.const 0.4593673348426819) (i32.const 1) - (f64.const 2) - (f64.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 118) + (i32.const 1364) (i32.const 0) ) (unreachable) @@ -13133,19 +28176,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const 8.825301797432132) + (f64.const -0.1701754331588745) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 119) + (i32.const 1365) (i32.const 0) ) (unreachable) @@ -13153,19 +28196,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) - (i32.const 17) + (call $std/math/test_hypot + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const 7.970265885519092) + (f64.const -0.3176782727241516) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 120) + (i32.const 1366) (i32.const 0) ) (unreachable) @@ -13173,19 +28216,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) + (call $std/math/test_hypot + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 10.441639651824575) + (f64.const -0.2693633437156677) (i32.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 121) + (i32.const 1367) (i32.const 0) ) (unreachable) @@ -13193,19 +28236,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 2147483647) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const 6.483936052542593) + (f64.const 0.35618898272514343) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 122) + (i32.const 1368) (i32.const 0) ) (unreachable) @@ -13213,19 +28256,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const -2147483647) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 7.859063309581766) + (f64.const 0.08044655621051788) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 123) + (i32.const 1369) (i32.const 0) ) (unreachable) @@ -13233,19 +28276,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -inf) - (i32.const 2147483647) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const 7.717156764899584) + (f64.const 0.05178084969520569) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 124) + (i32.const 1370) (i32.const 0) ) (unreachable) @@ -13253,19 +28296,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 8988465674311579538646525e283) - (i32.const -2097) - (f64.const 5e-324) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 2.104006123874314) + (f64.const -0.0918039008975029) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 125) + (i32.const 1371) (i32.const 0) ) (unreachable) @@ -13273,19 +28316,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 5e-324) - (i32.const 2097) - (f64.const 8988465674311579538646525e283) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const 0.5596880129062913) + (f64.const 0.1383407711982727) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 126) + (i32.const 1372) (i32.const 0) ) (unreachable) @@ -13293,19 +28336,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1.000244140625) - (i32.const -1074) - (f64.const 5e-324) + (call $std/math/test_hypot + (f64.const 3) + (f64.const 4) + (f64.const 5) (f64.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 127) + (i32.const 1375) (i32.const 0) ) (unreachable) @@ -13313,19 +28356,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7499999999999999) - (i32.const -1073) - (f64.const 5e-324) + (call $std/math/test_hypot + (f64.const -3) + (f64.const 4) + (f64.const 5) (f64.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 128) + (i32.const 1376) (i32.const 0) ) (unreachable) @@ -13333,19 +28376,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5000000000000012) - (i32.const -1024) - (f64.const 2.781342323134007e-309) + (call $std/math/test_hypot + (f64.const 4) + (f64.const 3) + (f64.const 5) (f64.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 129) + (i32.const 1377) (i32.const 0) ) (unreachable) @@ -13353,11 +28396,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.066848754882812) - (i32.const -2) - (f32.const -2.016712188720703) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 4) + (f64.const -3) + (f64.const 5) + (f64.const 0) (i32.const 0) ) ) @@ -13365,7 +28408,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 138) + (i32.const 1378) (i32.const 0) ) (unreachable) @@ -13373,11 +28416,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 4.345239639282227) - (i32.const -1) - (f32.const 2.1726198196411133) - (f32.const 0) + (call $std/math/test_hypot + (f64.const -3) + (f64.const -4) + (f64.const 5) + (f64.const 0) (i32.const 0) ) ) @@ -13385,7 +28428,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 139) + (i32.const 1379) (i32.const 0) ) (unreachable) @@ -13393,11 +28436,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.381433486938477) - (i32.const 0) - (f32.const -8.381433486938477) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) (i32.const 0) ) ) @@ -13405,7 +28448,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 140) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -13413,11 +28456,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -6.531673431396484) - (i32.const 1) - (f32.const -13.063346862792969) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const -0) + (f64.const 1797693134862315708145274e284) + (f64.const 0) (i32.const 0) ) ) @@ -13425,7 +28468,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 141) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -13433,11 +28476,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 9.267057418823242) - (i32.const 2) - (f32.const 37.06822967529297) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const 0) + (f64.const 5e-324) + (f64.const 0) (i32.const 0) ) ) @@ -13445,7 +28488,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 142) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -13453,11 +28496,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.6619858741760254) - (i32.const 3) - (f32.const 5.295886993408203) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const -0) + (f64.const 5e-324) + (f64.const 0) (i32.const 0) ) ) @@ -13465,7 +28508,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 143) + (i32.const 1383) (i32.const 0) ) (unreachable) @@ -13473,11 +28516,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.40660393238067627) - (i32.const 4) - (f32.const -6.50566291809082) - (f32.const 0) + (call $std/math/test_hypot + (f64.const inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13485,7 +28528,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 144) + (i32.const 1384) (i32.const 0) ) (unreachable) @@ -13493,11 +28536,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5617597699165344) - (i32.const 5) - (f32.const 17.9763126373291) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13505,7 +28548,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 145) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -13513,11 +28556,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7741522789001465) - (i32.const 6) - (f32.const 49.545745849609375) - (f32.const 0) + (call $std/math/test_hypot + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13525,7 +28568,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 146) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -13533,11 +28576,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.6787636876106262) - (i32.const 7) - (f32.const -86.88175201416016) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13545,7 +28588,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 147) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -13553,11 +28596,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const 2147483647) - (f32.const 0) - (f32.const 0) + (call $std/math/test_hypot + (f64.const -inf) + (f64.const 1) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13565,7 +28608,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 150) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -13573,11 +28616,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const -2147483647) - (f32.const 0) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1) + (f64.const -inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13585,7 +28628,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 151) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -13593,11 +28636,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0) - (i32.const 2147483647) - (f32.const -0) - (f32.const 0) + (call $std/math/test_hypot + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13605,7 +28648,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 152) + (i32.const 1390) (i32.const 0) ) (unreachable) @@ -13613,11 +28656,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) - (i32.const 0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const -inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -13625,7 +28668,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 153) + (i32.const 1391) (i32.const 0) ) (unreachable) @@ -13633,11 +28676,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 0) - (f32.const inf) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -13645,19 +28688,19 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 154) + (i32.const 1392) (i32.const 0) ) (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_scalbnf - (f32.const -inf) - (i32.const 0) - (f32.const -inf) - (f32.const 0) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -13665,7 +28708,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 155) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -13673,19 +28716,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 9.254528045654297) + (f32.const 0.2735958993434906) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 156) + (i32.const 1402) (i32.const 0) ) (unreachable) @@ -13693,19 +28736,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) + (call $std/math/test_hypotf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 9.893305778503418) + (f32.const 0.4530770778656006) (i32.const 1) - (f32.const 2) - (f32.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 157) + (i32.const 1403) (i32.const 0) ) (unreachable) @@ -13713,19 +28756,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const 8.825302124023438) + (f32.const 0.30755728483200073) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 158) + (i32.const 1404) (i32.const 0) ) (unreachable) @@ -13733,19 +28776,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 2147483647) - (f32.const inf) - (f32.const 0) - (i32.const 17) + (call $std/math/test_hypotf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const 7.970265865325928) + (f32.const 0.06785223633050919) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 159) + (i32.const 1405) (i32.const 0) ) (unreachable) @@ -13753,19 +28796,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) + (call $std/math/test_hypotf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 10.44163990020752) + (f32.const -0.26776307821273804) (i32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 160) + (i32.const 1406) (i32.const 0) ) (unreachable) @@ -13773,19 +28816,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 2147483647) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 6.483936309814453) + (f32.const 0.48381292819976807) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 161) + (i32.const 1407) (i32.const 0) ) (unreachable) @@ -13793,19 +28836,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const -2147483647) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 7.859063148498535) + (f32.const 0.07413065433502197) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 162) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -13813,19 +28856,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -inf) - (i32.const 2147483647) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const 7.717156887054443) + (f32.const 0.4940592646598816) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 163) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -13833,19 +28876,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1701411834604692317316873e14) - (i32.const -276) - (f32.const 1.401298464324817e-45) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 2.104006052017212) + (f32.const -0.287089467048645) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 164) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -13853,19 +28896,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.401298464324817e-45) - (i32.const 276) - (f32.const 1701411834604692317316873e14) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const 0.5596880316734314) + (f32.const 0.4191940724849701) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 165) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -13873,19 +28916,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.000244140625) - (i32.const -149) - (f32.const 1.401298464324817e-45) + (call $std/math/test_hypotf + (f32.const 3) + (f32.const 4) + (f32.const 5) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 166) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -13893,19 +28936,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7499999403953552) - (i32.const -148) - (f32.const 1.401298464324817e-45) + (call $std/math/test_hypotf + (f32.const -3) + (f32.const 4) + (f32.const 5) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 167) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -13913,19 +28956,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5000006556510925) - (i32.const -128) - (f32.const 1.4693693398263237e-39) + (call $std/math/test_hypotf + (f32.const 4) + (f32.const 3) + (f32.const 5) (f32.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 168) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -13933,11 +28976,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const -3.531185829902812) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 4) + (f32.const -3) + (f32.const 5) + (f32.const 0) (i32.const 0) ) ) @@ -13945,7 +28988,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 182) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -13953,11 +28996,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 4.345239849338305) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const -3) + (f32.const -4) + (f32.const 5) + (f32.const 0) (i32.const 0) ) ) @@ -13965,7 +29008,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 183) + (i32.const 1418) (i32.const 0) ) (unreachable) @@ -13973,11 +29016,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) (i32.const 0) ) ) @@ -13985,7 +29028,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 184) + (i32.const 1419) (i32.const 0) ) (unreachable) @@ -13993,11 +29036,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const -0) + (f32.const 3402823466385288598117041e14) + (f32.const 0) (i32.const 0) ) ) @@ -14005,7 +29048,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 185) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -14013,11 +29056,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 4.45566488261279) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const 0) + (f32.const 1.401298464324817e-45) + (f32.const 0) (i32.const 0) ) ) @@ -14025,7 +29068,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 186) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -14033,11 +29076,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const -0) + (f32.const 1.401298464324817e-45) + (f32.const 0) (i32.const 0) ) ) @@ -14045,7 +29088,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 187) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -14053,11 +29096,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14065,7 +29108,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 188) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -14073,11 +29116,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const -0.792054511984896) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14085,7 +29128,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 189) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -14093,11 +29136,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14105,7 +29148,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 190) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -14113,11 +29156,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14125,7 +29168,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 191) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -14133,11 +29176,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const -inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14145,7 +29188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 194) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -14153,11 +29196,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const 1) - (f64.const -0) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.const -inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14165,7 +29208,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 195) + (i32.const 1428) (i32.const 0) ) (unreachable) @@ -14173,11 +29216,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14185,7 +29228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 196) + (i32.const 1429) (i32.const 0) ) (unreachable) @@ -14193,11 +29236,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const -inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14205,7 +29248,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 197) + (i32.const 1430) (i32.const 0) ) (unreachable) @@ -14213,11 +29256,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -14225,7 +29268,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 198) + (i32.const 1431) (i32.const 0) ) (unreachable) @@ -14233,11 +29276,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const 1) - (f64.const -0) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -14245,7 +29288,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 199) + (i32.const 1432) (i32.const 0) ) (unreachable) @@ -14253,19 +29296,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.5) - (f64.const 1) - (f64.const 0.5) + (call $std/math/test_log + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 200) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -14273,19 +29315,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 4.345239849338305) + (f64.const 1.4690809584224322) + (f64.const -0.3412533402442932) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 201) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -14293,19 +29334,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 2) - (f64.const 1) - (f64.const 0) + (call $std/math/test_log + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 202) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -14313,19 +29353,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -2) - (f64.const 1) - (f64.const -0) + (call $std/math/test_log + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 203) + (i32.const 1447) (i32.const 0) ) (unreachable) @@ -14333,19 +29372,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log + (f64.const 9.267056966972586) + (f64.const 2.2264658498795615) + (f64.const 0.3638114035129547) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 204) + (i32.const 1448) (i32.const 0) ) (unreachable) @@ -14353,19 +29391,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log + (f64.const 0.6619858980995045) + (f64.const -0.4125110252365137) + (f64.const -0.29108747839927673) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 205) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -14373,19 +29410,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const 1) + (call $std/math/test_log + (f64.const -0.4066039223853553) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 206) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -14393,19 +29429,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 0.5617597462207241) + (f64.const -0.5766810183195862) + (f64.const -0.10983199626207352) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 207) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -14413,19 +29448,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 0.7741522965913037) + (f64.const -0.2559866591263865) + (f64.const -0.057990044355392456) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 208) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -14433,19 +29467,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.5) - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_log + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 209) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -14453,19 +29486,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) + (call $std/math/test_log (f64.const 0) - (i32.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 210) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -14473,19 +29505,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const -1) - (f64.const 0) + (call $std/math/test_log + (f64.const -0) + (f64.const -inf) (f64.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 211) + (i32.const 1457) (i32.const 0) ) (unreachable) @@ -14493,19 +29524,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const -1) - (f64.const -0) + (call $std/math/test_log + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 212) + (i32.const 1458) (i32.const 0) ) (unreachable) @@ -14513,10 +29543,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.5) - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_log + (f64.const 1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -14525,7 +29554,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 213) + (i32.const 1459) (i32.const 0) ) (unreachable) @@ -14533,19 +29562,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.5) + (call $std/math/test_log (f64.const -1) - (f64.const -0.5) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 214) + (i32.const 1460) (i32.const 0) ) (unreachable) @@ -14553,10 +29581,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 2) - (f64.const -1) - (f64.const 0) + (call $std/math/test_log + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -14565,7 +29592,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 215) + (i32.const 1461) (i32.const 0) ) (unreachable) @@ -14573,19 +29600,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -2) - (f64.const -1) - (f64.const -0) + (call $std/math/test_log + (f64.const -inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 216) + (i32.const 1462) (i32.const 0) ) (unreachable) @@ -14593,19 +29619,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -1) + (call $std/math/test_log + (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 217) + (i32.const 1463) (i32.const 0) ) (unreachable) @@ -14613,19 +29638,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 218) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -14633,19 +29657,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 219) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -14653,11 +29676,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -14665,7 +29687,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 220) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -14673,19 +29695,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 221) + (i32.const 1475) (i32.const 0) ) (unreachable) @@ -14693,19 +29714,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 222) + (i32.const 1476) (i32.const 0) ) (unreachable) @@ -14713,11 +29733,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const -inf) - (f64.const 0) - (f64.const 0) + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14725,7 +29744,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 223) + (i32.const 1477) (i32.const 0) ) (unreachable) @@ -14733,19 +29752,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 224) + (i32.const 1478) (i32.const 0) ) (unreachable) @@ -14753,19 +29771,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 225) + (i32.const 1479) (i32.const 0) ) (unreachable) @@ -14773,19 +29790,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 226) + (i32.const 1482) (i32.const 0) ) (unreachable) @@ -14793,19 +29809,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const inf) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 227) + (i32.const 1483) (i32.const 0) ) (unreachable) @@ -14813,19 +29828,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const -inf) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 228) + (i32.const 1484) (i32.const 0) ) (unreachable) @@ -14833,11 +29847,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -14845,7 +29858,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 229) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -14853,11 +29866,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -14865,7 +29877,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 230) + (i32.const 1486) (i32.const 0) ) (unreachable) @@ -14873,19 +29885,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 231) + (i32.const 1487) (i32.const 0) ) (unreachable) @@ -14893,11 +29904,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -14905,7 +29915,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 232) + (i32.const 1488) (i32.const 0) ) (unreachable) @@ -14913,19 +29923,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 233) + (i32.const 1489) (i32.const 0) ) (unreachable) @@ -14933,19 +29942,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_log10 + (f64.const -8.06684839057968) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 234) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -14953,19 +29961,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 4.345239849338305) + (f64.const 0.6380137537120029) + (f64.const -0.2088824063539505) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 235) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -14973,9 +29980,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -0) + (call $std/math/test_log10 + (f64.const -8.38143342755525) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -14985,7 +29991,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 236) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -14993,9 +29999,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const -0) + (call $std/math/test_log10 + (f64.const -6.531673581913484) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -15005,7 +30010,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 237) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -15013,19 +30018,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10 + (f64.const 9.267056966972586) + (f64.const 0.9669418327487274) + (f64.const -0.06120431795716286) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 238) + (i32.const 1505) (i32.const 0) ) (unreachable) @@ -15033,19 +30037,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 0.6619858980995045) + (f64.const -0.17915126198447093) + (f64.const 0.39090874791145325) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 239) + (i32.const 1506) (i32.const 0) ) (unreachable) @@ -15053,9 +30056,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -0.5) + (call $std/math/test_log10 + (f64.const -0.4066039223853553) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -15065,7 +30067,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 240) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -15073,19 +30075,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10 + (f64.const 0.5617597462207241) + (f64.const -0.25044938407454437) + (f64.const -0.3046841621398926) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 241) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -15093,19 +30094,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const 2) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 0.7741522965913037) + (f64.const -0.11117359349943837) + (f64.const -0.31503361463546753) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 242) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -15113,9 +30113,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const -0.5) + (call $std/math/test_log10 + (f64.const -0.6787637026394024) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -15125,7 +30124,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 243) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -15133,19 +30132,18 @@ ) (if (i32.eqz - (call $std/math/test_mod + (call $std/math/test_log10 + (f64.const 0) (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 244) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -15153,19 +30151,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const -0) + (f64.const -inf) (f64.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 245) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -15173,19 +30170,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const -7.888609052210118e-31) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 246) + (i32.const 1515) (i32.const 0) ) (unreachable) @@ -15193,10 +30189,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const 1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -15205,7 +30200,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 247) + (i32.const 1516) (i32.const 0) ) (unreachable) @@ -15213,19 +30208,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const inf) - (f64.const 1) + (call $std/math/test_log10 + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 248) + (i32.const 1517) (i32.const 0) ) (unreachable) @@ -15233,10 +30227,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) + (call $std/math/test_log10 + (f64.const inf) (f64.const inf) - (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -15245,7 +30238,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 249) + (i32.const 1518) (i32.const 0) ) (unreachable) @@ -15253,9 +30246,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const inf) + (call $std/math/test_log10 + (f64.const -inf) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -15265,7 +30257,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 250) + (i32.const 1519) (i32.const 0) ) (unreachable) @@ -15273,19 +30265,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const inf) + (call $std/math/test_log10 + (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 251) + (i32.const 1520) (i32.const 0) ) (unreachable) @@ -15293,19 +30284,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const -inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 252) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -15313,19 +30303,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const -inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 4.345239639282227) + (f32.const 0.6380137205123901) + (f32.const -0.20476758480072021) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 253) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -15333,11 +30322,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_log10f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -15345,7 +30333,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 254) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -15353,11 +30341,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -inf) - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_log10f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -15365,7 +30352,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 255) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -15373,19 +30360,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.75) - (f64.const 0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 9.267057418823242) + (f32.const 0.9669418334960938) + (f32.const -0.34273025393486023) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 256) + (i32.const 1533) (i32.const 0) ) (unreachable) @@ -15393,19 +30379,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.75) - (f64.const 0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 0.6619858741760254) + (f32.const -0.1791512817144394) + (f32.const -0.27078554034233093) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 257) + (i32.const 1534) (i32.const 0) ) (unreachable) @@ -15413,19 +30398,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.75) - (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 258) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -15433,19 +30417,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.75) - (f64.const -0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 0.5617597699165344) + (f32.const -0.25044935941696167) + (f32.const 0.2126826047897339) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 259) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -15453,19 +30436,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const -3.531186103820801) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 0.7741522789001465) + (f32.const -0.1111735999584198) + (f32.const 0.46515095233917236) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 268) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -15473,19 +30455,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 4.345239639282227) + (call $std/math/test_log10f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 269) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -15493,39 +30474,37 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) + (call $std/math/test_log10f (f32.const 0) - (i32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 270) + (i32.const 1541) (i32.const 0) ) (unreachable) ) ) - (if - (i32.eqz - (call $std/math/test_modf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) + (if + (i32.eqz + (call $std/math/test_log10f + (f32.const -0) + (f32.const -inf) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 271) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -15533,19 +30512,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 4.455665111541748) + (call $std/math/test_log10f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 272) + (i32.const 1543) (i32.const 0) ) (unreachable) @@ -15553,10 +30531,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) + (call $std/math/test_log10f + (f32.const 1) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -15565,7 +30542,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 273) + (i32.const 1544) (i32.const 0) ) (unreachable) @@ -15573,19 +30550,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) + (call $std/math/test_log10f + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 274) + (i32.const 1545) (i32.const 0) ) (unreachable) @@ -15593,10 +30569,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) + (call $std/math/test_log10f + (f32.const inf) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -15605,7 +30580,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 275) + (i32.const 1546) (i32.const 0) ) (unreachable) @@ -15613,19 +30588,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) + (call $std/math/test_log10f + (f32.const -inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 276) + (i32.const 1547) (i32.const 0) ) (unreachable) @@ -15633,10 +30607,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) + (call $std/math/test_log10f + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -15645,7 +30618,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 277) + (i32.const 1548) (i32.const 0) ) (unreachable) @@ -15653,19 +30626,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 280) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -15673,19 +30645,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 4.345239849338305) + (f64.const 1.6762064170601734) + (f64.const 0.46188199520111084) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 281) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -15693,19 +30664,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 282) + (i32.const 1562) (i32.const 0) ) (unreachable) @@ -15713,19 +30683,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 283) + (i32.const 1563) (i32.const 0) ) (unreachable) @@ -15733,19 +30702,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 9.267056966972586) + (f64.const 2.3289404168523826) + (f64.const -0.411114901304245) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 284) + (i32.const 1564) (i32.const 0) ) (unreachable) @@ -15753,19 +30721,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 0.6619858980995045) + (f64.const 0.5080132114992477) + (f64.const -0.29306045174598694) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 285) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -15773,19 +30740,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -0.4066039223853553) + (f64.const -0.5218931811663979) + (f64.const -0.25825726985931396) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 286) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -15793,19 +30759,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 0.5617597462207241) + (f64.const 0.4458132279488102) + (f64.const -0.13274887204170227) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 287) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -15813,19 +30778,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 2) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 0.7741522965913037) + (f64.const 0.5733227294648414) + (f64.const 0.02716583013534546) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 288) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -15833,19 +30797,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -2) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -0.6787637026394024) + (f64.const -1.1355782978128564) + (f64.const 0.2713092863559723) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 289) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -15853,19 +30816,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1p + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 290) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -15873,19 +30835,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1p + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 291) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -15893,19 +30854,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -7.888609052210118e-31) + (f64.const -7.888609052210118e-31) + (f64.const 1.7763568394002505e-15) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 292) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -15913,19 +30873,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 1) + (f64.const 0.6931471805599453) + (f64.const -0.2088811695575714) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 293) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -15933,19 +30892,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -1) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 294) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -15953,11 +30911,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) + (call $std/math/test_log1p + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15965,7 +30922,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 295) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -15973,19 +30930,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 296) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -15993,11 +30949,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const -1) - (f32.const 0) - (f32.const 0) + (call $std/math/test_log1p + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -16005,7 +30960,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 297) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -16013,19 +30968,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const -1) - (f32.const -0) + (call $std/math/test_log1pf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 298) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -16033,19 +30987,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 4.345239639282227) + (f32.const 1.676206350326538) + (f32.const -0.23014859855175018) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 299) + (i32.const 1589) (i32.const 0) ) (unreachable) @@ -16053,19 +31006,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.5) - (f32.const -1) - (f32.const -0.5) + (call $std/math/test_log1pf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 300) + (i32.const 1590) (i32.const 0) ) (unreachable) @@ -16073,19 +31025,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 2) - (f32.const -1) - (f32.const 0) + (call $std/math/test_log1pf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 301) + (i32.const 1591) (i32.const 0) ) (unreachable) @@ -16093,19 +31044,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -2) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 9.267057418823242) + (f32.const 2.3289403915405273) + (f32.const -0.29075589776039124) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 302) + (i32.const 1592) (i32.const 0) ) (unreachable) @@ -16113,19 +31063,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const 0.6619858741760254) + (f32.const 0.5080131888389587) + (f32.const -0.1386766880750656) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 303) + (i32.const 1593) (i32.const 0) ) (unreachable) @@ -16133,19 +31082,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const -0.40660393238067627) + (f32.const -0.5218932032585144) + (f32.const -0.08804433047771454) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 304) + (i32.const 1594) (i32.const 0) ) (unreachable) @@ -16153,19 +31101,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 0.5617597699165344) + (f32.const 0.44581323862075806) + (f32.const -0.15101368725299835) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 305) + (i32.const 1595) (i32.const 0) ) (unreachable) @@ -16173,19 +31120,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const 0.7741522789001465) + (f32.const 0.5733227133750916) + (f32.const -0.10264533013105392) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 306) + (i32.const 1596) (i32.const 0) ) (unreachable) @@ -16193,19 +31139,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const -0.6787636876106262) + (f32.const -1.1355782747268677) + (f32.const -0.19879481196403503) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 307) + (i32.const 1597) (i32.const 0) ) (unreachable) @@ -16213,9 +31158,8 @@ ) (if (i32.eqz - (call $std/math/test_modf + (call $std/math/test_log1pf (f32.const 0) - (f32.const inf) (f32.const 0) (f32.const 0) (i32.const 0) @@ -16225,7 +31169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 308) + (i32.const 1600) (i32.const 0) ) (unreachable) @@ -16233,10 +31177,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const -inf) - (f32.const 0) + (call $std/math/test_log1pf + (f32.const -0) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -16245,7 +31188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 309) + (i32.const 1601) (i32.const 0) ) (unreachable) @@ -16253,19 +31196,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const -7.888609052210118e-31) + (f32.const -7.888609052210118e-31) + (f32.const 3.308722450212111e-24) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 310) + (i32.const 1602) (i32.const 0) ) (unreachable) @@ -16273,19 +31215,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const 1) + (f32.const 0.6931471824645996) + (f32.const 0.031954795122146606) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 311) + (i32.const 1603) (i32.const 0) ) (unreachable) @@ -16293,19 +31234,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const -0) - (f32.const nan:0x400000) + (call $std/math/test_log1pf + (f32.const -1) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 312) + (i32.const 1604) (i32.const 0) ) (unreachable) @@ -16313,10 +31253,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) + (call $std/math/test_log1pf + (f32.const inf) (f32.const inf) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -16325,7 +31264,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 313) + (i32.const 1605) (i32.const 0) ) (unreachable) @@ -16333,19 +31272,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) + (call $std/math/test_log1pf (f32.const -inf) - (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 314) + (i32.const 1606) (i32.const 0) ) (unreachable) @@ -16353,8 +31291,7 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) + (call $std/math/test_log1pf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) @@ -16365,7 +31302,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 315) + (i32.const 1607) (i32.const 0) ) (unreachable) @@ -16373,19 +31310,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const -1.1754942106924411e-38) + (f32.const -1.1754942106924411e-38) + (f32.const 4.930380657631324e-32) + (i32.const 9) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 316) + (i32.const 1608) (i32.const 0) ) (unreachable) @@ -16393,11 +31329,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -16405,7 +31340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 317) + (i32.const 1620) (i32.const 0) ) (unreachable) @@ -16413,19 +31348,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 4.345239849338305) + (f64.const 2.1194358133804485) + (f64.const -0.10164877772331238) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 318) + (i32.const 1621) (i32.const 0) ) (unreachable) @@ -16433,11 +31367,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -16445,7 +31378,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 319) + (i32.const 1622) (i32.const 0) ) (unreachable) @@ -16453,19 +31386,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 320) + (i32.const 1623) (i32.const 0) ) (unreachable) @@ -16473,19 +31405,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 9.267056966972586) + (f64.const 3.2121112403298744) + (f64.const -0.15739446878433228) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 321) + (i32.const 1624) (i32.const 0) ) (unreachable) @@ -16493,19 +31424,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 0.6619858980995045) + (f64.const -0.5951276104207402) + (f64.const 0.3321485221385956) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 322) + (i32.const 1625) (i32.const 0) ) (unreachable) @@ -16513,11 +31443,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -16525,7 +31454,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 323) + (i32.const 1626) (i32.const 0) ) (unreachable) @@ -16533,19 +31462,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const 0.5617597462207241) + (f64.const -0.8319748453044644) + (f64.const 0.057555437088012695) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 324) + (i32.const 1627) (i32.const 0) ) (unreachable) @@ -16553,19 +31481,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 0.7741522965913037) + (f64.const -0.36931068365537134) + (f64.const -0.19838279485702515) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 325) + (i32.const 1628) (i32.const 0) ) (unreachable) @@ -16573,11 +31500,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -16585,7 +31511,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 326) + (i32.const 1629) (i32.const 0) ) (unreachable) @@ -16593,19 +31519,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 327) + (i32.const 1632) (i32.const 0) ) (unreachable) @@ -16613,19 +31538,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const -0) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 328) + (i32.const 1633) (i32.const 0) ) (unreachable) @@ -16633,11 +31557,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -16645,7 +31568,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 329) + (i32.const 1634) (i32.const 0) ) (unreachable) @@ -16653,11 +31576,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const 1) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -16665,7 +31587,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 330) + (i32.const 1635) (i32.const 0) ) (unreachable) @@ -16673,19 +31595,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 331) + (i32.const 1636) (i32.const 0) ) (unreachable) @@ -16693,11 +31614,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -16705,7 +31625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 332) + (i32.const 1637) (i32.const 0) ) (unreachable) @@ -16713,19 +31633,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 333) + (i32.const 1638) (i32.const 0) ) (unreachable) @@ -16733,11 +31652,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const inf) - (f32.const 1) - (f32.const 0) + (call $std/math/test_log2 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -16745,7 +31663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 334) + (i32.const 1639) (i32.const 0) ) (unreachable) @@ -16753,19 +31671,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const inf) - (f32.const -1) + (call $std/math/test_log2f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 335) + (i32.const 1648) (i32.const 0) ) (unreachable) @@ -16773,19 +31690,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2f + (f32.const 4.345239639282227) + (f32.const 2.1194357872009277) + (f32.const 0.18271538615226746) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 336) + (i32.const 1649) (i32.const 0) ) (unreachable) @@ -16793,9 +31709,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const inf) + (call $std/math/test_log2f + (f32.const -8.381433486938477) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -16805,7 +31720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 337) + (i32.const 1650) (i32.const 0) ) (unreachable) @@ -16813,19 +31728,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const -inf) - (f32.const 1) + (call $std/math/test_log2f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 338) + (i32.const 1651) (i32.const 0) ) (unreachable) @@ -16833,19 +31747,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const -inf) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 9.267057418823242) + (f32.const 3.212111234664917) + (f32.const -0.3188050389289856) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 339) + (i32.const 1652) (i32.const 0) ) (unreachable) @@ -16853,19 +31766,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2f + (f32.const 0.6619858741760254) + (f32.const -0.5951276421546936) + (f32.const 0.34231460094451904) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 340) + (i32.const 1653) (i32.const 0) ) (unreachable) @@ -16873,9 +31785,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -inf) - (f32.const -inf) + (call $std/math/test_log2f + (f32.const -0.40660393238067627) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -16885,7 +31796,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 341) + (i32.const 1654) (i32.const 0) ) (unreachable) @@ -16893,19 +31804,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.75) - (f32.const 0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 0.5617597699165344) + (f32.const -0.8319748044013977) + (f32.const -0.33473604917526245) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 342) + (i32.const 1655) (i32.const 0) ) (unreachable) @@ -16913,19 +31823,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.75) - (f32.const 0.5) - (f32.const -0.25) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 0.7741522789001465) + (f32.const -0.3693107068538666) + (f32.const 0.3278401792049408) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 343) + (i32.const 1656) (i32.const 0) ) (unreachable) @@ -16933,19 +31842,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.75) - (f32.const -0.5) - (f32.const 0.25) + (call $std/math/test_log2f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 344) + (i32.const 1657) (i32.const 0) ) (unreachable) @@ -16953,19 +31861,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.75) - (f32.const -0.5) - (f32.const -0.25) + (call $std/math/test_log2f (f32.const 0) - (i32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 345) + (i32.const 1660) (i32.const 0) ) (unreachable) @@ -16973,19 +31880,18 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const 1.0044767307740567) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 354) + (i32.const 1661) (i32.const 0) ) (unreachable) @@ -16993,19 +31899,18 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 4.345239849338305) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 355) + (i32.const 1662) (i32.const 0) ) (unreachable) @@ -17013,11 +31918,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) - (f64.const 0) + (call $std/math/test_log2f + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -17025,7 +31929,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 356) + (i32.const 1663) (i32.const 0) ) (unreachable) @@ -17033,19 +31937,18 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 357) + (i32.const 1664) (i32.const 0) ) (unreachable) @@ -17053,11 +31956,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const -0.35572720174700656) - (f64.const 0) + (call $std/math/test_log2f + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -17065,7 +31967,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 358) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -17073,19 +31975,18 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const 0.17067236731650248) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 359) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -17093,11 +31994,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const -0.016443286217702822) - (f64.const 0) + (call $std/math/test_log2f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -17105,7 +32005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 360) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -17113,10 +32013,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const -0.792054511984896) + (call $std/math/test_max + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const 4.535662560676869) (f64.const 0) (i32.const 0) ) @@ -17125,7 +32025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 361) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -17133,10 +32033,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) + (call $std/math/test_max + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) (f64.const 0) (i32.const 0) ) @@ -17145,7 +32045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 362) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -17153,10 +32053,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) + (call $std/math/test_max + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -2.763607337379588) (f64.const 0) (i32.const 0) ) @@ -17165,7 +32065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 363) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -17173,10 +32073,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0) - (f64.const 1) - (f64.const 0) + (call $std/math/test_max + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const 4.567535276842744) (f64.const 0) (i32.const 0) ) @@ -17185,7 +32085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 366) + (i32.const 1682) (i32.const 0) ) (unreachable) @@ -17193,10 +32093,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0) - (f64.const 1) - (f64.const -0) + (call $std/math/test_max + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 9.267056966972586) (f64.const 0) (i32.const 0) ) @@ -17205,7 +32105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 367) + (i32.const 1683) (i32.const 0) ) (unreachable) @@ -17213,10 +32113,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0.5) - (f64.const 1) - (f64.const 0.5) + (call $std/math/test_max + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const 0.6620717923376739) (f64.const 0) (i32.const 0) ) @@ -17225,7 +32125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 368) + (i32.const 1684) (i32.const 0) ) (unreachable) @@ -17233,10 +32133,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0.5) - (f64.const 1) - (f64.const -0.5) + (call $std/math/test_max + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 7.858890253041697) (f64.const 0) (i32.const 0) ) @@ -17245,7 +32145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 369) + (i32.const 1685) (i32.const 0) ) (unreachable) @@ -17253,10 +32153,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 1) - (f64.const 1) - (f64.const 0) + (call $std/math/test_max + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const 7.67640268511754) (f64.const 0) (i32.const 0) ) @@ -17265,7 +32165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 370) + (i32.const 1686) (i32.const 0) ) (unreachable) @@ -17273,10 +32173,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1) - (f64.const 1) - (f64.const -0) + (call $std/math/test_max + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 2.0119025790324803) (f64.const 0) (i32.const 0) ) @@ -17285,7 +32185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 371) + (i32.const 1687) (i32.const 0) ) (unreachable) @@ -17293,10 +32193,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 1.5) - (f64.const 1) - (f64.const -0.5) + (call $std/math/test_max + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const 0.03223983060263804) (f64.const 0) (i32.const 0) ) @@ -17305,7 +32205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 372) + (i32.const 1688) (i32.const 0) ) (unreachable) @@ -17313,10 +32213,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1.5) + (call $std/math/test_max + (f64.const 0) + (f64.const 1) (f64.const 1) - (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -17325,7 +32225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 373) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -17333,10 +32233,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 2) + (call $std/math/test_max + (f64.const -0) + (f64.const 1) (f64.const 1) - (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -17345,7 +32245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 374) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -17353,10 +32253,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -2) + (call $std/math/test_max + (f64.const 0.5) + (f64.const 1) (f64.const 1) - (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -17365,7 +32265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 375) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -17373,39 +32273,19 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const inf) + (call $std/math/test_max + (f64.const -0.5) (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 376) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -inf) (f64.const 1) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 377) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -17413,10 +32293,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const nan:0x8000000000000) + (call $std/math/test_max + (f64.const 1) + (f64.const 1) (f64.const 1) - (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -17425,7 +32305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 378) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -17433,10 +32313,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0) + (call $std/math/test_max (f64.const -1) - (f64.const 0) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -17445,7 +32325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 379) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -17453,10 +32333,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0) - (f64.const -1) - (f64.const -0) + (call $std/math/test_max + (f64.const inf) + (f64.const 1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -17465,7 +32345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 380) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -17473,10 +32353,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0.5) - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_max + (f64.const -inf) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -17485,7 +32365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 381) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -17493,10 +32373,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) + (call $std/math/test_max + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -17505,7 +32385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 382) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -17513,8 +32393,8 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 1) + (call $std/math/test_max + (f64.const 0) (f64.const -1) (f64.const 0) (f64.const 0) @@ -17525,7 +32405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 383) + (i32.const 1700) (i32.const 0) ) (unreachable) @@ -17533,8 +32413,8 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1) + (call $std/math/test_max + (f64.const -0) (f64.const -1) (f64.const -0) (f64.const 0) @@ -17545,7 +32425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 384) + (i32.const 1701) (i32.const 0) ) (unreachable) @@ -17553,10 +32433,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 1.5) + (call $std/math/test_max + (f64.const 0.5) (f64.const -1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -17565,7 +32445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 385) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -17573,10 +32453,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1.5) + (call $std/math/test_max + (f64.const -0.5) (f64.const -1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -17585,7 +32465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 386) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -17593,10 +32473,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 2) + (call $std/math/test_max + (f64.const 1) (f64.const -1) - (f64.const 0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -17605,7 +32485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 387) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -17613,10 +32493,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -2) + (call $std/math/test_max + (f64.const -1) + (f64.const -1) (f64.const -1) - (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -17625,7 +32505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 388) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -17633,19 +32513,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -1) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 389) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -17653,19 +32533,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const -1) - (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 390) + (i32.const 1707) (i32.const 0) ) (unreachable) @@ -17673,7 +32553,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const -1) (f64.const nan:0x8000000000000) @@ -17685,7 +32565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 391) + (i32.const 1708) (i32.const 0) ) (unreachable) @@ -17693,19 +32573,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 392) + (i32.const 1709) (i32.const 0) ) (unreachable) @@ -17713,19 +32593,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const -0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 393) + (i32.const 1710) (i32.const 0) ) (unreachable) @@ -17733,10 +32613,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const inf) - (f64.const 0) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -17745,7 +32625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 394) + (i32.const 1711) (i32.const 0) ) (unreachable) @@ -17753,7 +32633,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const -inf) (f64.const 0) @@ -17765,7 +32645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 395) + (i32.const 1712) (i32.const 0) ) (unreachable) @@ -17773,7 +32653,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -17785,7 +32665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 396) + (i32.const 1713) (i32.const 0) ) (unreachable) @@ -17793,19 +32673,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 397) + (i32.const 1714) (i32.const 0) ) (unreachable) @@ -17813,19 +32693,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const -0) (f64.const -0) (f64.const -0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 398) + (i32.const 1715) (i32.const 0) ) (unreachable) @@ -17833,10 +32713,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const inf) - (f64.const -0) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -17845,7 +32725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 399) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -17853,7 +32733,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const -inf) (f64.const -0) @@ -17865,7 +32745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 400) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -17873,7 +32753,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -17885,7 +32765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 401) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -17893,19 +32773,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const 0) - (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 402) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -17913,19 +32793,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 403) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -17933,19 +32813,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const 0) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 404) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -17953,19 +32833,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 405) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -17973,7 +32853,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const 0) (f64.const nan:0x8000000000000) @@ -17985,7 +32865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 406) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -17993,19 +32873,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const -0) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 407) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -18013,19 +32893,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 408) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -18033,19 +32913,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const -0) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 409) + (i32.const 1726) (i32.const 0) ) (unreachable) @@ -18053,7 +32933,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const -0) (f64.const nan:0x8000000000000) @@ -18065,7 +32945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 410) + (i32.const 1727) (i32.const 0) ) (unreachable) @@ -18073,19 +32953,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const 2) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 411) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -18093,19 +32973,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -0.5) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 412) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -18113,7 +32993,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -18125,7 +33005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 413) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -18133,19 +33013,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const 2) - (f64.const nan:0x8000000000000) + (f64.const 2) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 414) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -18153,19 +33033,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const -0.5) - (f64.const nan:0x8000000000000) + (f64.const -0.5) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 415) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -18173,7 +33053,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -18185,7 +33065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 416) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -18193,7 +33073,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -18205,7 +33085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 417) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -18213,7 +33093,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -18225,7 +33105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 418) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -18233,7 +33113,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -18245,7 +33125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 419) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -18253,10 +33133,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const inf) - (f64.const 1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -18265,7 +33145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 420) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -18273,10 +33153,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const inf) - (f64.const -1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -18285,7 +33165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 421) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -18293,19 +33173,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const inf) (f64.const inf) (f64.const inf) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 422) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -18313,19 +33193,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -inf) (f64.const inf) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 423) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -18333,7 +33213,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const -inf) (f64.const 1) @@ -18345,7 +33225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 424) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -18353,7 +33233,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const -inf) (f64.const -1) @@ -18365,7 +33245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 425) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -18373,19 +33253,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -inf) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 426) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -18393,19 +33273,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const -inf) (f64.const -inf) (f64.const -inf) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 427) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -18413,10 +33293,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1.75) (f64.const 0.5) - (f64.const -0.25) + (f64.const 1.75) (f64.const 0) (i32.const 0) ) @@ -18425,7 +33305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 428) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -18433,10 +33313,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1.75) (f64.const 0.5) - (f64.const 0.25) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -18445,7 +33325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 429) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -18453,10 +33333,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1.75) (f64.const -0.5) - (f64.const -0.25) + (f64.const 1.75) (f64.const 0) (i32.const 0) ) @@ -18465,7 +33345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 430) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -18473,30 +33353,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1.75) (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 431) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const 8e-323) - (f64.const inf) - (f64.const 8e-323) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -18505,7 +33365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 432) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -18513,10 +33373,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const 1.004476547241211) + (f32.const 4.535662651062012) (f32.const 0) (i32.const 0) ) @@ -18525,7 +33385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 441) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -18533,7 +33393,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 4.345239639282227) (f32.const -8.887990951538086) (f32.const 4.345239639282227) @@ -18545,7 +33405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 442) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -18553,10 +33413,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) + (f32.const -2.7636072635650635) (f32.const 0) (i32.const 0) ) @@ -18565,7 +33425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 443) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -18573,10 +33433,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -6.531673431396484) (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) + (f32.const 4.567535400390625) (f32.const 0) (i32.const 0) ) @@ -18585,7 +33445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 444) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -18593,10 +33453,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const -0.3557271957397461) + (f32.const 9.267057418823242) (f32.const 0) (i32.const 0) ) @@ -18605,7 +33465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 445) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -18613,10 +33473,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const 0.17067205905914307) + (f32.const 0.6620717644691467) (f32.const 0) (i32.const 0) ) @@ -18625,7 +33485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 446) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -18633,10 +33493,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const -0.016443386673927307) + (f32.const 7.858890056610107) (f32.const 0) (i32.const 0) ) @@ -18645,7 +33505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 447) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -18653,10 +33513,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) (f32.const 0) (i32.const 0) ) @@ -18665,7 +33525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 448) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -18673,10 +33533,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) (f32.const 0) (i32.const 0) ) @@ -18685,7 +33545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 449) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -18693,10 +33553,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0.5587586760520935) (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) + (f32.const 0.03223983198404312) (f32.const 0) (i32.const 0) ) @@ -18705,7 +33565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 450) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -18713,30 +33573,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 453) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -0) (f32.const 1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -18745,7 +33585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 454) + (i32.const 1769) (i32.const 0) ) (unreachable) @@ -18753,30 +33593,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 0.5) + (call $std/math/test_maxf + (f32.const -0) (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 455) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -0.5) (f32.const 1) - (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -18785,7 +33605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 456) + (i32.const 1770) (i32.const 0) ) (unreachable) @@ -18793,30 +33613,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 1) + (call $std/math/test_maxf + (f32.const 0.5) (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 457) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -1) (f32.const 1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -18825,7 +33625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 458) + (i32.const 1771) (i32.const 0) ) (unreachable) @@ -18833,70 +33633,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 1.5) - (f32.const 1) + (call $std/math/test_maxf (f32.const -0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 459) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -1.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 460) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 2) (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 461) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -2) (f32.const 1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -18905,7 +33645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 462) + (i32.const 1772) (i32.const 0) ) (unreachable) @@ -18913,50 +33653,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const inf) + (call $std/math/test_maxf (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 463) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -inf) (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 464) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const nan:0x400000) (f32.const 1) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -18965,7 +33665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 465) + (i32.const 1773) (i32.const 0) ) (unreachable) @@ -18973,10 +33673,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 0) + (call $std/math/test_maxf (f32.const -1) - (f32.const 0) + (f32.const 1) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -18985,7 +33685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 466) + (i32.const 1774) (i32.const 0) ) (unreachable) @@ -18993,10 +33693,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -0) - (f32.const -1) - (f32.const -0) + (call $std/math/test_maxf + (f32.const inf) + (f32.const 1) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19005,7 +33705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 467) + (i32.const 1775) (i32.const 0) ) (unreachable) @@ -19013,10 +33713,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 0.5) - (f32.const -1) - (f32.const 0.5) + (call $std/math/test_maxf + (f32.const -inf) + (f32.const 1) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -19025,7 +33725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 468) + (i32.const 1776) (i32.const 0) ) (unreachable) @@ -19033,10 +33733,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -0.5) - (f32.const -1) - (f32.const -0.5) + (call $std/math/test_maxf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -19045,7 +33745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 469) + (i32.const 1777) (i32.const 0) ) (unreachable) @@ -19053,8 +33753,8 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 1) + (call $std/math/test_maxf + (f32.const 0) (f32.const -1) (f32.const 0) (f32.const 0) @@ -19065,7 +33765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 470) + (i32.const 1778) (i32.const 0) ) (unreachable) @@ -19073,8 +33773,8 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -1) + (call $std/math/test_maxf + (f32.const -0) (f32.const -1) (f32.const -0) (f32.const 0) @@ -19085,7 +33785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 471) + (i32.const 1779) (i32.const 0) ) (unreachable) @@ -19093,10 +33793,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 1.5) + (call $std/math/test_maxf + (f32.const 0.5) (f32.const -1) - (f32.const -0.5) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -19105,7 +33805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 472) + (i32.const 1780) (i32.const 0) ) (unreachable) @@ -19113,10 +33813,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -1.5) + (call $std/math/test_maxf + (f32.const -0.5) (f32.const -1) - (f32.const 0.5) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -19125,7 +33825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 473) + (i32.const 1781) (i32.const 0) ) (unreachable) @@ -19133,10 +33833,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 2) + (call $std/math/test_maxf + (f32.const 1) (f32.const -1) - (f32.const 0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -19145,7 +33845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 474) + (i32.const 1782) (i32.const 0) ) (unreachable) @@ -19153,10 +33853,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -2) + (call $std/math/test_maxf + (f32.const -1) + (f32.const -1) (f32.const -1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -19165,7 +33865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 475) + (i32.const 1783) (i32.const 0) ) (unreachable) @@ -19173,19 +33873,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -1) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 476) + (i32.const 1784) (i32.const 0) ) (unreachable) @@ -19193,19 +33893,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const -1) - (f32.const nan:0x400000) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 477) + (i32.const 1785) (i32.const 0) ) (unreachable) @@ -19213,7 +33913,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const -1) (f32.const nan:0x400000) @@ -19225,7 +33925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 478) + (i32.const 1786) (i32.const 0) ) (unreachable) @@ -19233,19 +33933,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 479) + (i32.const 1787) (i32.const 0) ) (unreachable) @@ -19253,19 +33953,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 480) + (i32.const 1788) (i32.const 0) ) (unreachable) @@ -19273,10 +33973,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const inf) - (f32.const 0) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19285,7 +33985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 481) + (i32.const 1789) (i32.const 0) ) (unreachable) @@ -19293,7 +33993,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const -inf) (f32.const 0) @@ -19305,7 +34005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 482) + (i32.const 1790) (i32.const 0) ) (unreachable) @@ -19313,7 +34013,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19325,7 +34025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 483) + (i32.const 1791) (i32.const 0) ) (unreachable) @@ -19333,19 +34033,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 484) + (i32.const 1792) (i32.const 0) ) (unreachable) @@ -19353,19 +34053,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const -0) (f32.const -0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 485) + (i32.const 1793) (i32.const 0) ) (unreachable) @@ -19373,10 +34073,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const inf) - (f32.const -0) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19385,7 +34085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 486) + (i32.const 1794) (i32.const 0) ) (unreachable) @@ -19393,7 +34093,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const -inf) (f32.const -0) @@ -19405,7 +34105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 487) + (i32.const 1795) (i32.const 0) ) (unreachable) @@ -19413,7 +34113,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19425,7 +34125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 488) + (i32.const 1796) (i32.const 0) ) (unreachable) @@ -19433,19 +34133,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const 0) - (f32.const nan:0x400000) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 489) + (i32.const 1797) (i32.const 0) ) (unreachable) @@ -19453,19 +34153,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 490) + (i32.const 1798) (i32.const 0) ) (unreachable) @@ -19473,19 +34173,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const 0) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 491) + (i32.const 1799) (i32.const 0) ) (unreachable) @@ -19493,19 +34193,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 492) + (i32.const 1800) (i32.const 0) ) (unreachable) @@ -19513,7 +34213,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const 0) (f32.const nan:0x400000) @@ -19525,7 +34225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 493) + (i32.const 1801) (i32.const 0) ) (unreachable) @@ -19533,19 +34233,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const -0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 494) + (i32.const 1802) (i32.const 0) ) (unreachable) @@ -19553,19 +34253,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -0) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 495) + (i32.const 1803) (i32.const 0) ) (unreachable) @@ -19573,19 +34273,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const -0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 496) + (i32.const 1804) (i32.const 0) ) (unreachable) @@ -19593,7 +34293,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const -0) (f32.const nan:0x400000) @@ -19605,7 +34305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 497) + (i32.const 1805) (i32.const 0) ) (unreachable) @@ -19613,19 +34313,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const 2) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 498) + (i32.const 1806) (i32.const 0) ) (unreachable) @@ -19633,19 +34333,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -0.5) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 499) + (i32.const 1807) (i32.const 0) ) (unreachable) @@ -19653,7 +34353,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19665,7 +34365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 500) + (i32.const 1808) (i32.const 0) ) (unreachable) @@ -19673,19 +34373,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const 2) - (f32.const nan:0x400000) + (f32.const 2) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 501) + (i32.const 1809) (i32.const 0) ) (unreachable) @@ -19693,19 +34393,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const -0.5) - (f32.const nan:0x400000) + (f32.const -0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 502) + (i32.const 1810) (i32.const 0) ) (unreachable) @@ -19713,7 +34413,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19725,7 +34425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 503) + (i32.const 1811) (i32.const 0) ) (unreachable) @@ -19733,7 +34433,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19745,7 +34445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 504) + (i32.const 1812) (i32.const 0) ) (unreachable) @@ -19753,7 +34453,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19765,7 +34465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 505) + (i32.const 1813) (i32.const 0) ) (unreachable) @@ -19773,7 +34473,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -19785,7 +34485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 506) + (i32.const 1814) (i32.const 0) ) (unreachable) @@ -19793,10 +34493,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const inf) - (f32.const 1) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19805,7 +34505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 507) + (i32.const 1815) (i32.const 0) ) (unreachable) @@ -19813,10 +34513,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const inf) - (f32.const -1) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19825,7 +34525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 508) + (i32.const 1816) (i32.const 0) ) (unreachable) @@ -19833,19 +34533,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const inf) (f32.const inf) (f32.const inf) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 509) + (i32.const 1817) (i32.const 0) ) (unreachable) @@ -19853,19 +34553,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -inf) (f32.const inf) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 510) + (i32.const 1818) (i32.const 0) ) (unreachable) @@ -19873,7 +34573,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const -inf) (f32.const 1) @@ -19885,7 +34585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 511) + (i32.const 1819) (i32.const 0) ) (unreachable) @@ -19893,7 +34593,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const -inf) (f32.const -1) @@ -19905,7 +34605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 512) + (i32.const 1820) (i32.const 0) ) (unreachable) @@ -19913,19 +34613,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -inf) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 513) + (i32.const 1821) (i32.const 0) ) (unreachable) @@ -19933,19 +34633,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const -inf) (f32.const -inf) (f32.const -inf) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 514) + (i32.const 1822) (i32.const 0) ) (unreachable) @@ -19953,10 +34653,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1.75) (f32.const 0.5) - (f32.const -0.25) + (f32.const 1.75) (f32.const 0) (i32.const 0) ) @@ -19965,7 +34665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 515) + (i32.const 1823) (i32.const 0) ) (unreachable) @@ -19973,10 +34673,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1.75) (f32.const 0.5) - (f32.const 0.25) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -19985,7 +34685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 516) + (i32.const 1824) (i32.const 0) ) (unreachable) @@ -19993,10 +34693,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1.75) (f32.const -0.5) - (f32.const -0.25) + (f32.const 1.75) (f32.const 0) (i32.const 0) ) @@ -20005,7 +34705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 517) + (i32.const 1825) (i32.const 0) ) (unreachable) @@ -20013,30 +34713,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1.75) (f32.const -0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 518) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 5.877471754111438e-39) - (f32.const inf) - (f32.const 5.877471754111438e-39) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -20045,7 +34725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 519) + (i32.const 1826) (i32.const 0) ) (unreachable) @@ -20053,9 +34733,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) (f64.const -8.06684839057968) - (f64.const 8.06684839057968) (f64.const 0) (i32.const 0) ) @@ -20064,7 +34745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 529) + (i32.const 1838) (i32.const 0) ) (unreachable) @@ -20072,9 +34753,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 4.345239849338305) + (call $std/math/test_min (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const -8.88799136300345) (f64.const 0) (i32.const 0) ) @@ -20083,7 +34765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 530) + (i32.const 1839) (i32.const 0) ) (unreachable) @@ -20091,9 +34773,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) (f64.const -8.38143342755525) - (f64.const 8.38143342755525) (f64.const 0) (i32.const 0) ) @@ -20102,7 +34785,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 531) + (i32.const 1840) (i32.const 0) ) (unreachable) @@ -20110,9 +34793,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) (f64.const -6.531673581913484) - (f64.const 6.531673581913484) (f64.const 0) (i32.const 0) ) @@ -20121,7 +34805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 532) + (i32.const 1841) (i32.const 0) ) (unreachable) @@ -20129,9 +34813,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 9.267056966972586) + (call $std/math/test_min (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.811392084359796) (f64.const 0) (i32.const 0) ) @@ -20140,7 +34825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 533) + (i32.const 1842) (i32.const 0) ) (unreachable) @@ -20148,9 +34833,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.6619858980995045) - (f64.const 0.6619858980995045) + (call $std/math/test_min + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -6.450045556060236) (f64.const 0) (i32.const 0) ) @@ -20159,7 +34845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 534) + (i32.const 1843) (i32.const 0) ) (unreachable) @@ -20167,9 +34853,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -0.4066039223853553) - (f64.const 0.4066039223853553) + (call $std/math/test_min + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.05215452675006225) (f64.const 0) (i32.const 0) ) @@ -20178,7 +34865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 535) + (i32.const 1844) (i32.const 0) ) (unreachable) @@ -20186,9 +34873,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.5617597462207241) - (f64.const 0.5617597462207241) + (call $std/math/test_min + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) (f64.const 0) (i32.const 0) ) @@ -20197,7 +34885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 536) + (i32.const 1845) (i32.const 0) ) (unreachable) @@ -20205,9 +34893,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.7741522965913037) - (f64.const 0.7741522965913037) + (call $std/math/test_min + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) (f64.const 0) (i32.const 0) ) @@ -20216,7 +34905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 537) + (i32.const 1846) (i32.const 0) ) (unreachable) @@ -20224,9 +34913,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -0.6787637026394024) - (f64.const 0.6787637026394024) + (call $std/math/test_min + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.5587586823609152) (f64.const 0) (i32.const 0) ) @@ -20235,7 +34925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 538) + (i32.const 1847) (i32.const 0) ) (unreachable) @@ -20243,8 +34933,9 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min (f64.const 0) + (f64.const 1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -20254,7 +34945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 541) + (i32.const 1850) (i32.const 0) ) (unreachable) @@ -20262,9 +34953,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -0) + (f64.const 1) (f64.const -0) - (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -20273,7 +34965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 542) + (i32.const 1851) (i32.const 0) ) (unreachable) @@ -20281,9 +34973,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 1) + (call $std/math/test_min + (f64.const 0.5) (f64.const 1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -20292,7 +34985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 543) + (i32.const 1852) (i32.const 0) ) (unreachable) @@ -20300,9 +34993,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -1) + (call $std/math/test_min + (f64.const -0.5) (f64.const 1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -20311,7 +35005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 544) + (i32.const 1853) (i32.const 0) ) (unreachable) @@ -20319,9 +35013,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const inf) - (f64.const inf) + (call $std/math/test_min + (f64.const 1) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -20330,7 +35025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 545) + (i32.const 1854) (i32.const 0) ) (unreachable) @@ -20338,9 +35033,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -inf) - (f64.const inf) + (call $std/math/test_min + (f64.const -1) + (f64.const 1) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -20349,7 +35045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 546) + (i32.const 1855) (i32.const 0) ) (unreachable) @@ -20357,9 +35053,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const inf) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -20368,159 +35065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 547) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -8.066848754882812) - (f32.const 8.066848754882812) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 556) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 4.345239639282227) - (f32.const 4.345239639282227) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 557) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -8.381433486938477) - (f32.const 8.381433486938477) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 558) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -6.531673431396484) - (f32.const 6.531673431396484) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 559) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 9.267057418823242) - (f32.const 9.267057418823242) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 560) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 0.6619858741760254) - (f32.const 0.6619858741760254) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 561) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -0.40660393238067627) - (f32.const 0.40660393238067627) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 562) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 0.5617597699165344) - (f32.const 0.5617597699165344) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 563) + (i32.const 1856) (i32.const 0) ) (unreachable) @@ -20528,10 +35073,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 0.7741522789001465) - (f32.const 0.7741522789001465) - (f32.const 0) + (call $std/math/test_min + (f64.const -inf) + (f64.const 1) + (f64.const -inf) + (f64.const 0) (i32.const 0) ) ) @@ -20539,7 +35085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 564) + (i32.const 1857) (i32.const 0) ) (unreachable) @@ -20547,10 +35093,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -0.6787636876106262) - (f32.const 0.6787636876106262) - (f32.const 0) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -20558,7 +35105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 565) + (i32.const 1858) (i32.const 0) ) (unreachable) @@ -20566,10 +35113,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const 0) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20577,7 +35125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 568) + (i32.const 1859) (i32.const 0) ) (unreachable) @@ -20585,10 +35133,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const -0) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20596,7 +35145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 569) + (i32.const 1860) (i32.const 0) ) (unreachable) @@ -20604,10 +35153,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 1) - (f32.const 1) - (f32.const 0) + (call $std/math/test_min + (f64.const 0.5) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20615,7 +35165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 570) + (i32.const 1861) (i32.const 0) ) (unreachable) @@ -20623,10 +35173,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -1) - (f32.const 1) - (f32.const 0) + (call $std/math/test_min + (f64.const -0.5) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20634,7 +35185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 571) + (i32.const 1862) (i32.const 0) ) (unreachable) @@ -20642,10 +35193,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_min + (f64.const 1) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20653,7 +35205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 572) + (i32.const 1863) (i32.const 0) ) (unreachable) @@ -20661,10 +35213,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_min + (f64.const -1) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20672,7 +35225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 573) + (i32.const 1864) (i32.const 0) ) (unreachable) @@ -20680,10 +35233,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_min + (f64.const inf) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -20691,7 +35245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 574) + (i32.const 1865) (i32.const 0) ) (unreachable) @@ -20699,18 +35253,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -inf) + (f64.const -1) + (f64.const -inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 584) + (i32.const 1866) (i32.const 0) ) (unreachable) @@ -20718,18 +35273,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 4.345239849338305) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 585) + (i32.const 1867) (i32.const 0) ) (unreachable) @@ -20737,18 +35293,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 586) + (i32.const 1868) (i32.const 0) ) (unreachable) @@ -20756,18 +35313,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 587) + (i32.const 1869) (i32.const 0) ) (unreachable) @@ -20775,18 +35333,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 9.267056966972586) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 588) + (i32.const 1870) (i32.const 0) ) (unreachable) @@ -20794,18 +35353,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.6619858980995045) - (f64.const 0.8473310828433507) - (f64.const -0.41553276777267456) - (i32.const 1) + (call $std/math/test_min + (f64.const 0) + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 589) + (i32.const 1871) (i32.const 0) ) (unreachable) @@ -20813,18 +35373,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.4066039223853553) - (f64.const 1.989530071088669) - (f64.const 0.4973946213722229) - (i32.const 1) + (call $std/math/test_min + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 590) + (i32.const 1872) (i32.const 0) ) (unreachable) @@ -20832,18 +35393,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.5617597462207241) - (f64.const 0.9742849645674904) - (f64.const -0.4428897500038147) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const 0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 591) + (i32.const 1873) (i32.const 0) ) (unreachable) @@ -20851,18 +35413,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.7741522965913037) - (f64.const 0.6854215158636222) - (f64.const -0.12589527666568756) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 592) + (i32.const 1874) (i32.const 0) ) (unreachable) @@ -20870,18 +35433,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.6787637026394024) - (f64.const 2.316874138205964) - (f64.const -0.17284949123859406) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 593) + (i32.const 1875) (i32.const 0) ) (unreachable) @@ -20889,18 +35453,19 @@ ) (if (i32.eqz - (call $std/math/test_acos + (call $std/math/test_min + (f64.const -0) + (f64.const -inf) + (f64.const -inf) (f64.const 0) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 596) + (i32.const 1876) (i32.const 0) ) (unreachable) @@ -20908,18 +35473,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -1) - (f64.const 3.141592653589793) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 597) + (i32.const 1877) (i32.const 0) ) (unreachable) @@ -20927,10 +35493,11 @@ ) (if (i32.eqz - (call $std/math/test_acos + (call $std/math/test_min (f64.const 1) (f64.const 0) (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -20938,7 +35505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 598) + (i32.const 1878) (i32.const 0) ) (unreachable) @@ -20946,18 +35513,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 1.0000000000000002) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1) (f64.const 0) - (i32.const 2) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 599) + (i32.const 1879) (i32.const 0) ) (unreachable) @@ -20965,18 +35533,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -1.0000000000000002) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const inf) (f64.const 0) - (i32.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 600) + (i32.const 1880) (i32.const 0) ) (unreachable) @@ -20984,18 +35553,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -inf) (f64.const 0) - (i32.const 2) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 601) + (i32.const 1881) (i32.const 0) ) (unreachable) @@ -21003,18 +35573,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -inf) + (call $std/math/test_min (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 602) + (i32.const 1882) (i32.const 0) ) (unreachable) @@ -21022,9 +35593,10 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1) + (f64.const -0) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -21033,7 +35605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 603) + (i32.const 1883) (i32.const 0) ) (unreachable) @@ -21041,18 +35613,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.5309227209592985) - (f64.const 2.1304853799705463) - (f64.const 0.1391008496284485) - (i32.const 1) + (call $std/math/test_min + (f64.const inf) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 604) + (i32.const 1884) (i32.const 0) ) (unreachable) @@ -21060,18 +35633,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.4939556746399746) - (f64.const 1.0541629875851946) - (f64.const 0.22054767608642578) - (i32.const 1) + (call $std/math/test_min + (f64.const -inf) + (f64.const -0) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 605) + (i32.const 1885) (i32.const 0) ) (unreachable) @@ -21079,18 +35653,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 614) + (i32.const 1886) (i32.const 0) ) (unreachable) @@ -21098,18 +35673,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 4.345239639282227) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const 2) + (f64.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 615) + (i32.const 1887) (i32.const 0) ) (unreachable) @@ -21117,18 +35693,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const -0.5) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 616) + (i32.const 1888) (i32.const 0) ) (unreachable) @@ -21136,18 +35713,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 617) + (i32.const 1889) (i32.const 0) ) (unreachable) @@ -21155,18 +35733,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 9.267057418823242) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const -inf) + (f64.const 2) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 618) + (i32.const 1890) (i32.const 0) ) (unreachable) @@ -21174,18 +35753,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.6619858741760254) - (f32.const 0.8473311066627502) - (f32.const -0.13588131964206696) - (i32.const 1) + (call $std/math/test_min + (f64.const -inf) + (f64.const -0.5) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 619) + (i32.const 1891) (i32.const 0) ) (unreachable) @@ -21193,18 +35773,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.40660393238067627) - (f32.const 1.989530086517334) - (f32.const 0.03764917701482773) - (i32.const 1) + (call $std/math/test_min + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 620) + (i32.const 1892) (i32.const 0) ) (unreachable) @@ -21212,18 +35793,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.5617597699165344) - (f32.const 0.9742849469184875) - (f32.const 0.18443739414215088) - (i32.const 1) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 621) + (i32.const 1893) (i32.const 0) ) (unreachable) @@ -21231,18 +35813,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.7741522789001465) - (f32.const 0.6854215264320374) - (f32.const -0.29158344864845276) - (i32.const 1) + (call $std/math/test_min + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 622) + (i32.const 1894) (i32.const 0) ) (unreachable) @@ -21250,18 +35833,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.6787636876106262) - (f32.const 2.3168740272521973) - (f32.const -0.3795364499092102) - (i32.const 1) + (call $std/math/test_min + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 623) + (i32.const 1895) (i32.const 0) ) (unreachable) @@ -21269,18 +35853,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_min + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 626) + (i32.const 1896) (i32.const 0) ) (unreachable) @@ -21288,18 +35873,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -1) - (f32.const 3.1415927410125732) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_min + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 627) + (i32.const 1897) (i32.const 0) ) (unreachable) @@ -21307,10 +35893,11 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 1) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -21318,7 +35905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 628) + (i32.const 1898) (i32.const 0) ) (unreachable) @@ -21326,18 +35913,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const -inf) + (f64.const inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 629) + (i32.const 1899) (i32.const 0) ) (unreachable) @@ -21345,18 +35933,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const 1) + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 630) + (i32.const 1900) (i32.const 0) ) (unreachable) @@ -21364,18 +35953,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const -1) + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 631) + (i32.const 1901) (i32.const 0) ) (unreachable) @@ -21383,18 +35973,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 632) + (i32.const 1902) (i32.const 0) ) (unreachable) @@ -21402,10 +35993,11 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_min + (f64.const -inf) + (f64.const -inf) + (f64.const -inf) + (f64.const 0) (i32.const 0) ) ) @@ -21413,7 +36005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 633) + (i32.const 1903) (i32.const 0) ) (unreachable) @@ -21421,18 +36013,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.49965065717697144) - (f32.const 1.0476008653640747) - (f32.const -0.21161814033985138) - (i32.const 1) + (call $std/math/test_min + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 634) + (i32.const 1904) (i32.const 0) ) (unreachable) @@ -21440,18 +36033,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.5051405429840088) - (f32.const 2.1003410816192627) - (f32.const -0.20852705836296082) - (i32.const 1) + (call $std/math/test_min + (f64.const -1.75) + (f64.const 0.5) + (f64.const -1.75) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 635) + (i32.const 1905) (i32.const 0) ) (unreachable) @@ -21459,18 +36053,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.5189794898033142) - (f32.const 2.116452932357788) - (f32.const -0.14600826799869537) - (i32.const 1) + (call $std/math/test_min + (f64.const 1.75) + (f64.const -0.5) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 636) + (i32.const 1906) (i32.const 0) ) (unreachable) @@ -21478,18 +36073,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1.75) + (f64.const -0.5) + (f64.const -1.75) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 646) + (i32.const 1907) (i32.const 0) ) (unreachable) @@ -21497,37 +36093,39 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 4.345239849338305) - (f64.const 2.1487163980597503) - (f64.const -0.291634738445282) - (i32.const 1) + (call $std/math/test_minf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -8.066848754882812) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 647) + (i32.const 1916) (i32.const 0) ) (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_acosh - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + ) + ) + (if + (i32.eqz + (call $std/math/test_minf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const -8.887990951538086) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 648) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -21535,18 +36133,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 649) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -21554,18 +36153,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 9.267056966972586) - (f64.const 2.91668914109908) - (f64.const -0.24191908538341522) - (i32.const 1) + (call $std/math/test_minf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -6.531673431396484) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 650) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -21573,18 +36173,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.6619858980995045) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.811392307281494) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 651) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -21592,18 +36193,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -6.450045585632324) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 652) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -21611,18 +36213,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.5617597462207241) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.052154526114463806) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 653) + (i32.const 1922) (i32.const 0) ) (unreachable) @@ -21630,18 +36233,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.7741522965913037) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 654) + (i32.const 1923) (i32.const 0) ) (unreachable) @@ -21649,18 +36253,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 655) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -21668,10 +36273,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_minf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.5587586760520935) + (f32.const 0) (i32.const 0) ) ) @@ -21679,7 +36285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 658) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -21687,10 +36293,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_minf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -21698,7 +36305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 659) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -21706,10 +36313,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_minf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -21717,7 +36325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 660) + (i32.const 1929) (i32.const 0) ) (unreachable) @@ -21725,18 +36333,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.9999923706054688) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 661) + (i32.const 1930) (i32.const 0) ) (unreachable) @@ -21744,18 +36353,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 662) + (i32.const 1931) (i32.const 0) ) (unreachable) @@ -21763,18 +36373,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 663) + (i32.const 1932) (i32.const 0) ) (unreachable) @@ -21782,18 +36393,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -1) + (f32.const 1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 664) + (i32.const 1933) (i32.const 0) ) (unreachable) @@ -21801,18 +36413,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1060831199926429) - (f64.const 0.4566373404384803) - (f64.const -0.29381608963012695) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 680) + (i32.const 1934) (i32.const 0) ) (unreachable) @@ -21820,18 +36433,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1089809557628658) - (f64.const 0.4627246859959428) - (f64.const -0.3990095555782318) - (i32.const 1) + (call $std/math/test_minf + (f32.const -inf) + (f32.const 1) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 682) + (i32.const 1935) (i32.const 0) ) (unreachable) @@ -21839,18 +36453,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1169429159875521) - (f64.const 0.47902433134075284) - (f64.const -0.321674108505249) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 683) + (i32.const 1936) (i32.const 0) ) (unreachable) @@ -21858,18 +36473,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_minf (f32.const 0) - (i32.const 2) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 692) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -21877,18 +36493,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 4.345239639282227) - (f32.const 2.148716449737549) - (f32.const 0.4251045286655426) - (i32.const 1) + (call $std/math/test_minf + (f32.const -0) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 693) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -21896,18 +36513,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 0.5) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 694) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -21915,18 +36533,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0.5) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 695) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -21934,18 +36553,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 9.267057418823242) - (f32.const 2.916689157485962) - (f32.const -0.1369788944721222) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 696) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -21953,18 +36573,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.6619858741760254) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 697) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -21972,18 +36593,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const inf) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 698) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -21991,18 +36613,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.5617597699165344) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -inf) + (f32.const -1) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 699) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -22010,18 +36633,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.7741522789001465) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const -1) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 700) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -22029,18 +36653,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_minf (f32.const 0) - (i32.const 2) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 701) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -22048,9 +36673,10 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 0) + (f32.const -0) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -22059,7 +36685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 704) + (i32.const 1947) (i32.const 0) ) (unreachable) @@ -22067,10 +36693,11 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const inf) + (call $std/math/test_minf + (f32.const 0) (f32.const inf) (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -22078,7 +36705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 705) + (i32.const 1948) (i32.const 0) ) (unreachable) @@ -22086,9 +36713,10 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 1) + (call $std/math/test_minf (f32.const 0) + (f32.const -inf) + (f32.const -inf) (f32.const 0) (i32.const 0) ) @@ -22097,7 +36725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 706) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -22105,18 +36733,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.9999923706054688) + (call $std/math/test_minf + (f32.const 0) + (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 707) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -22124,18 +36753,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf + (call $std/math/test_minf + (f32.const -0) (f32.const 0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 708) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -22143,18 +36773,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf + (call $std/math/test_minf + (f32.const -0) + (f32.const -0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 709) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -22162,18 +36793,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -inf) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0) + (f32.const inf) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 710) + (i32.const 1953) (i32.const 0) ) (unreachable) @@ -22181,18 +36813,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -1125899906842624) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0) + (f32.const -inf) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 711) + (i32.const 1954) (i32.const 0) ) (unreachable) @@ -22200,18 +36833,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 721) + (i32.const 1955) (i32.const 0) ) (unreachable) @@ -22219,18 +36853,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 4.345239849338305) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 722) + (i32.const 1956) (i32.const 0) ) (unreachable) @@ -22238,18 +36873,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -1) + (f32.const 0) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 723) + (i32.const 1957) (i32.const 0) ) (unreachable) @@ -22257,18 +36893,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const inf) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 724) + (i32.const 1958) (i32.const 0) ) (unreachable) @@ -22276,18 +36913,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 9.267056966972586) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -inf) + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 725) + (i32.const 1959) (i32.const 0) ) (unreachable) @@ -22295,18 +36933,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.6619858980995045) - (f64.const 0.7234652439515459) - (f64.const -0.13599912822246552) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 726) + (i32.const 1960) (i32.const 0) ) (unreachable) @@ -22314,18 +36953,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0.4066039223853553) - (f64.const -0.41873374429377225) - (f64.const -0.09264230728149414) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1) + (f32.const -0) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 727) + (i32.const 1961) (i32.const 0) ) (unreachable) @@ -22333,18 +36973,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.5617597462207241) - (f64.const 0.5965113622274062) - (f64.const -0.10864213854074478) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 728) + (i32.const 1962) (i32.const 0) ) (unreachable) @@ -22352,18 +36993,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.7741522965913037) - (f64.const 0.8853748109312743) - (f64.const -0.4256366193294525) - (i32.const 1) + (call $std/math/test_minf + (f32.const -inf) + (f32.const -0) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 729) + (i32.const 1963) (i32.const 0) ) (unreachable) @@ -22371,18 +37013,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0.6787637026394024) - (f64.const -0.7460778114110673) - (f64.const 0.13986606895923615) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 730) + (i32.const 1964) (i32.const 0) ) (unreachable) @@ -22390,18 +37033,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 1) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const 2) + (f32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 733) + (i32.const 1965) (i32.const 0) ) (unreachable) @@ -22409,29 +37053,31 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -1) - (f64.const -1.5707963267948966) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const -0.5) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 734) + (i32.const 1966) (i32.const 0) ) (unreachable) ) ) - (if - (i32.eqz - (call $std/math/test_asin - (f64.const 0) - (f64.const 0) - (f64.const 0) + (if + (i32.eqz + (call $std/math/test_minf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -22439,7 +37085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 735) + (i32.const 1967) (i32.const 0) ) (unreachable) @@ -22447,10 +37093,11 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0) - (f64.const -0) - (f64.const 0) + (call $std/math/test_minf + (f32.const -inf) + (f32.const 2) + (f32.const -inf) + (f32.const 0) (i32.const 0) ) ) @@ -22458,7 +37105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 736) + (i32.const 1968) (i32.const 0) ) (unreachable) @@ -22466,18 +37113,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 1.0000000000000002) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -inf) + (f32.const -0.5) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 737) + (i32.const 1969) (i32.const 0) ) (unreachable) @@ -22485,18 +37133,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -1.0000000000000002) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 738) + (i32.const 1970) (i32.const 0) ) (unreachable) @@ -22504,18 +37153,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 739) + (i32.const 1971) (i32.const 0) ) (unreachable) @@ -22523,18 +37173,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 740) + (i32.const 1972) (i32.const 0) ) (unreachable) @@ -22542,10 +37193,11 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_minf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -22553,7 +37205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 741) + (i32.const 1973) (i32.const 0) ) (unreachable) @@ -22561,18 +37213,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.5073043929119148) - (f64.const 0.5320538997772349) - (f64.const -0.16157317161560059) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 742) + (i32.const 1974) (i32.const 0) ) (unreachable) @@ -22580,18 +37233,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.const inf) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 751) + (i32.const 1975) (i32.const 0) ) (unreachable) @@ -22599,18 +37253,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 4.345239639282227) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const inf) + (f32.const inf) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 752) + (i32.const 1976) (i32.const 0) ) (unreachable) @@ -22618,18 +37273,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -inf) + (f32.const inf) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 753) + (i32.const 1977) (i32.const 0) ) (unreachable) @@ -22637,18 +37293,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 1) + (f32.const -inf) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 754) + (i32.const 1978) (i32.const 0) ) (unreachable) @@ -22656,18 +37313,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 9.267057418823242) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.const -inf) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 755) + (i32.const 1979) (i32.const 0) ) (unreachable) @@ -22675,18 +37333,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.6619858741760254) - (f32.const 0.7234652042388916) - (f32.const -0.1307632476091385) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 756) + (i32.const 1980) (i32.const 0) ) (unreachable) @@ -22694,18 +37353,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0.40660393238067627) - (f32.const -0.41873374581336975) - (f32.const 0.3161141574382782) - (i32.const 1) + (call $std/math/test_minf + (f32.const -inf) + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 757) + (i32.const 1981) (i32.const 0) ) (unreachable) @@ -22713,18 +37373,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.5617597699165344) - (f32.const 0.5965113639831543) - (f32.const -0.4510819613933563) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 758) + (i32.const 1982) (i32.const 0) ) (unreachable) @@ -22732,18 +37393,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.7741522789001465) - (f32.const 0.8853747844696045) - (f32.const 0.02493886835873127) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -1.75) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 759) + (i32.const 1983) (i32.const 0) ) (unreachable) @@ -22751,18 +37413,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0.6787636876106262) - (f32.const -0.7460777759552002) - (f32.const 0.2515012323856354) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1.75) + (f32.const -0.5) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 760) + (i32.const 1984) (i32.const 0) ) (unreachable) @@ -22770,18 +37433,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 1) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -1.75) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 763) + (i32.const 1985) (i32.const 0) ) (unreachable) @@ -22789,18 +37453,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -1) - (f32.const -1.5707963705062866) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 764) + (i32.const 2001) (i32.const 0) ) (unreachable) @@ -22808,10 +37473,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) (i32.const 0) ) ) @@ -22819,7 +37485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 765) + (i32.const 2002) (i32.const 0) ) (unreachable) @@ -22827,10 +37493,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) (i32.const 0) ) ) @@ -22838,7 +37505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 766) + (i32.const 2003) (i32.const 0) ) (unreachable) @@ -22846,18 +37513,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 767) + (i32.const 2004) (i32.const 0) ) (unreachable) @@ -22865,18 +37533,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 768) + (i32.const 2005) (i32.const 0) ) (unreachable) @@ -22884,18 +37553,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 769) + (i32.const 2006) (i32.const 0) ) (unreachable) @@ -22903,18 +37573,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 770) + (i32.const 2007) (i32.const 0) ) (unreachable) @@ -22922,10 +37593,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_mod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) (i32.const 0) ) ) @@ -22933,7 +37605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 771) + (i32.const 2008) (i32.const 0) ) (unreachable) @@ -22941,18 +37613,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.5004770159721375) - (f32.const 0.5241496562957764) - (f32.const -0.29427099227905273) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 772) + (i32.const 2009) (i32.const 0) ) (unreachable) @@ -22960,18 +37633,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -8.06684839057968) - (f64.const -2.784729878387861) - (f64.const -0.4762189984321594) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 782) + (i32.const 2010) (i32.const 0) ) (unreachable) @@ -22979,18 +37653,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 4.345239849338305) - (f64.const 2.175213389013164) - (f64.const -0.02728751301765442) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 783) + (i32.const 2013) (i32.const 0) ) (unreachable) @@ -22998,18 +37673,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -8.38143342755525) - (f64.const -2.822706083697696) - (f64.const 0.20985257625579834) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 784) + (i32.const 2014) (i32.const 0) ) (unreachable) @@ -23017,18 +37693,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -6.531673581913484) - (f64.const -2.575619446591922) - (f64.const 0.3113134205341339) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 785) + (i32.const 2015) (i32.const 0) ) (unreachable) @@ -23036,18 +37713,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 9.267056966972586) - (f64.const 2.9225114951048674) - (f64.const 0.4991756081581116) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 786) + (i32.const 2016) (i32.const 0) ) (unreachable) @@ -23055,18 +37733,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.6619858980995045) - (f64.const 0.6212462762707166) - (f64.const -0.4697347581386566) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 787) + (i32.const 2017) (i32.const 0) ) (unreachable) @@ -23074,18 +37753,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0.4066039223853553) - (f64.const -0.39615990393192035) - (f64.const -0.40814438462257385) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 788) + (i32.const 2018) (i32.const 0) ) (unreachable) @@ -23093,18 +37773,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.5617597462207241) - (f64.const 0.5357588870255474) - (f64.const 0.3520713150501251) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 789) + (i32.const 2019) (i32.const 0) ) (unreachable) @@ -23112,18 +37793,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.7741522965913037) - (f64.const 0.7123571263197349) - (f64.const 0.13371451199054718) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 790) + (i32.const 2020) (i32.const 0) ) (unreachable) @@ -23131,18 +37813,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0.6787637026394024) - (f64.const -0.635182348903198) - (f64.const 0.04749670997262001) - (i32.const 1) + (call $std/math/test_mod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 791) + (i32.const 2021) (i32.const 0) ) (unreachable) @@ -23150,9 +37833,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_mod + (f64.const -2) + (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -23161,7 +37845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 794) + (i32.const 2022) (i32.const 0) ) (unreachable) @@ -23169,18 +37853,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const inf) + (call $std/math/test_mod (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 795) + (i32.const 2023) (i32.const 0) ) (unreachable) @@ -23188,18 +37873,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -inf) + (call $std/math/test_mod (f64.const -inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 796) + (i32.const 2024) (i32.const 0) ) (unreachable) @@ -23207,9 +37893,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0) - (f64.const 0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -23218,7 +37905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 797) + (i32.const 2025) (i32.const 0) ) (unreachable) @@ -23226,9 +37913,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0) - (f64.const -0) + (call $std/math/test_mod + (f64.const 0) + (f64.const -1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -23237,7 +37925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 798) + (i32.const 2026) (i32.const 0) ) (unreachable) @@ -23245,18 +37933,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -8.066848754882812) - (f32.const -2.7847299575805664) - (f32.const -0.14418013393878937) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 827) + (i32.const 2027) (i32.const 0) ) (unreachable) @@ -23264,18 +37953,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 4.345239639282227) - (f32.const 2.17521333694458) - (f32.const -0.020796965807676315) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 828) + (i32.const 2028) (i32.const 0) ) (unreachable) @@ -23283,18 +37973,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -8.381433486938477) - (f32.const -2.8227059841156006) - (f32.const 0.44718533754348755) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 829) + (i32.const 2029) (i32.const 0) ) (unreachable) @@ -23302,18 +37993,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -6.531673431396484) - (f32.const -2.5756194591522217) - (f32.const -0.14822272956371307) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 830) + (i32.const 2030) (i32.const 0) ) (unreachable) @@ -23321,18 +38013,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 9.267057418823242) - (f32.const 2.922511577606201) - (f32.const 0.14270681142807007) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 831) + (i32.const 2031) (i32.const 0) ) (unreachable) @@ -23340,18 +38033,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.6619858741760254) - (f32.const 0.6212462782859802) - (f32.const 0.3684912919998169) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 832) + (i32.const 2032) (i32.const 0) ) (unreachable) @@ -23359,18 +38053,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0.40660393238067627) - (f32.const -0.39615991711616516) - (f32.const -0.13170306384563446) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 833) + (i32.const 2033) (i32.const 0) ) (unreachable) @@ -23378,18 +38073,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.5617597699165344) - (f32.const 0.535758912563324) - (f32.const 0.08184859901666641) - (i32.const 1) + (call $std/math/test_mod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 834) + (i32.const 2034) (i32.const 0) ) (unreachable) @@ -23397,18 +38093,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.7741522789001465) - (f32.const 0.7123571038246155) - (f32.const -0.14270737767219543) - (i32.const 1) + (call $std/math/test_mod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 835) + (i32.const 2035) (i32.const 0) ) (unreachable) @@ -23416,18 +38113,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0.6787636876106262) - (f32.const -0.6351823210716248) - (f32.const 0.2583143711090088) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 836) + (i32.const 2036) (i32.const 0) ) (unreachable) @@ -23435,18 +38133,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const -inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 839) + (i32.const 2037) (i32.const 0) ) (unreachable) @@ -23454,10 +38153,11 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -23465,7 +38165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 840) + (i32.const 2038) (i32.const 0) ) (unreachable) @@ -23473,18 +38173,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -inf) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 841) + (i32.const 2039) (i32.const 0) ) (unreachable) @@ -23492,18 +38193,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 842) + (i32.const 2040) (i32.const 0) ) (unreachable) @@ -23511,10 +38213,11 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -23522,7 +38225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 843) + (i32.const 2041) (i32.const 0) ) (unreachable) @@ -23530,18 +38233,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -8.06684839057968) - (f64.const -1.4474613762633468) - (f64.const 0.14857111871242523) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 853) + (i32.const 2042) (i32.const 0) ) (unreachable) @@ -23549,18 +38253,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 4.345239849338305) - (f64.const 1.344597927114538) - (f64.const -0.08170335739850998) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 854) + (i32.const 2043) (i32.const 0) ) (unreachable) @@ -23568,18 +38273,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -8.38143342755525) - (f64.const -1.4520463463295539) - (f64.const -0.07505480200052261) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 855) + (i32.const 2044) (i32.const 0) ) (unreachable) @@ -23587,18 +38293,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -6.531673581913484) - (f64.const -1.4188758658752532) - (f64.const -0.057633496820926666) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 856) + (i32.const 2045) (i32.const 0) ) (unreachable) @@ -23606,18 +38313,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 9.267056966972586) - (f64.const 1.463303145448706) - (f64.const 0.1606956422328949) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 857) + (i32.const 2046) (i32.const 0) ) (unreachable) @@ -23625,18 +38333,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.6619858980995045) - (f64.const 0.5847550670238325) - (f64.const 0.4582556486129761) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const -inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 858) + (i32.const 2047) (i32.const 0) ) (unreachable) @@ -23644,18 +38353,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0.4066039223853553) - (f64.const -0.3861864177552131) - (f64.const -0.2574281692504883) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 859) + (i32.const 2048) (i32.const 0) ) (unreachable) @@ -23663,18 +38373,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.5617597462207241) - (f64.const 0.5118269531628881) - (f64.const -0.11444277316331863) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 860) + (i32.const 2049) (i32.const 0) ) (unreachable) @@ -23682,18 +38393,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.7741522965913037) - (f64.const 0.6587802431653822) - (f64.const -0.11286488175392151) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 861) + (i32.const 2050) (i32.const 0) ) (unreachable) @@ -23701,18 +38413,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0.6787637026394024) - (f64.const -0.5963307826973472) - (f64.const -0.2182842344045639) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 862) + (i32.const 2051) (i32.const 0) ) (unreachable) @@ -23720,18 +38433,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0) + (call $std/math/test_mod + (f64.const -inf) (f64.const 0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 865) + (i32.const 2052) (i32.const 0) ) (unreachable) @@ -23739,9 +38453,10 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0) - (f64.const -0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -23750,7 +38465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 866) + (i32.const 2053) (i32.const 0) ) (unreachable) @@ -23758,18 +38473,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 1) - (f64.const 0.7853981633974483) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 867) + (i32.const 2054) (i32.const 0) ) (unreachable) @@ -23777,18 +38493,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -1) - (f64.const -0.7853981633974483) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 868) + (i32.const 2055) (i32.const 0) ) (unreachable) @@ -23796,18 +38513,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const inf) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const -inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 869) + (i32.const 2056) (i32.const 0) ) (unreachable) @@ -23815,18 +38533,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -inf) - (f64.const -1.5707963267948966) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 870) + (i32.const 2057) (i32.const 0) ) (unreachable) @@ -23834,18 +38553,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const nan:0x8000000000000) + (call $std/math/test_mod + (f64.const inf) + (f64.const 2) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 871) + (i32.const 2058) (i32.const 0) ) (unreachable) @@ -23853,18 +38573,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.6929821535674624) - (f64.const 0.6060004555152562) - (f64.const -0.17075790464878082) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 872) + (i32.const 2059) (i32.const 0) ) (unreachable) @@ -23872,18 +38593,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -8.066848754882812) - (f32.const -1.4474613666534424) - (f32.const 0.12686480581760406) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 881) + (i32.const 2060) (i32.const 0) ) (unreachable) @@ -23891,18 +38613,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 4.345239639282227) - (f32.const 1.3445979356765747) - (f32.const 0.16045434772968292) - (i32.const 1) + (call $std/math/test_mod + (f64.const -inf) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 882) + (i32.const 2061) (i32.const 0) ) (unreachable) @@ -23910,18 +38633,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -8.381433486938477) - (f32.const -1.4520463943481445) - (f32.const -0.39581751823425293) - (i32.const 1) + (call $std/math/test_mod + (f64.const -inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 883) + (i32.const 2062) (i32.const 0) ) (unreachable) @@ -23929,18 +38653,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -6.531673431396484) - (f32.const -1.418875813484192) - (f32.const 0.410570353269577) - (i32.const 1) + (call $std/math/test_mod + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 884) + (i32.const 2063) (i32.const 0) ) (unreachable) @@ -23948,18 +38673,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 9.267057418823242) - (f32.const 1.4633032083511353) - (f32.const 0.48403501510620117) - (i32.const 1) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 885) + (i32.const 2064) (i32.const 0) ) (unreachable) @@ -23967,18 +38693,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.6619858741760254) - (f32.const 0.5847550630569458) - (f32.const 0.2125193476676941) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 886) + (i32.const 2065) (i32.const 0) ) (unreachable) @@ -23986,18 +38713,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0.40660393238067627) - (f32.const -0.386186420917511) - (f32.const 0.18169628083705902) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 887) + (i32.const 2066) (i32.const 0) ) (unreachable) @@ -24005,18 +38733,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.5617597699165344) - (f32.const 0.5118269920349121) - (f32.const 0.3499770760536194) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 888) + (i32.const 2067) (i32.const 0) ) (unreachable) @@ -24024,18 +38753,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.7741522789001465) - (f32.const 0.6587802171707153) - (f32.const -0.2505330741405487) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 889) + (i32.const 2068) (i32.const 0) ) (unreachable) @@ -24043,18 +38773,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0.6787636876106262) - (f32.const -0.5963307619094849) - (f32.const 0.17614826560020447) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 890) + (i32.const 2069) (i32.const 0) ) (unreachable) @@ -24062,18 +38793,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const -inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 893) + (i32.const 2070) (i32.const 0) ) (unreachable) @@ -24081,10 +38813,11 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 1) + (f64.const -inf) + (f64.const 1) + (f64.const 0) (i32.const 0) ) ) @@ -24092,7 +38825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 894) + (i32.const 2071) (i32.const 0) ) (unreachable) @@ -24100,18 +38833,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 1) - (f32.const 0.7853981852531433) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 895) + (i32.const 2072) (i32.const 0) ) (unreachable) @@ -24119,37 +38853,39 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -1) - (f32.const -0.7853981852531433) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 896) + (i32.const 2073) (i32.const 0) ) (unreachable) ) ) - (if - (i32.eqz - (call $std/math/test_atanf - (f32.const inf) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (if + (i32.eqz + (call $std/math/test_mod + (f64.const -inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 897) + (i32.const 2074) (i32.const 0) ) (unreachable) @@ -24157,18 +38893,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -inf) - (f32.const -1.5707963705062866) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 898) + (i32.const 2075) (i32.const 0) ) (unreachable) @@ -24176,10 +38913,11 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_mod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) (i32.const 0) ) ) @@ -24187,7 +38925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 899) + (i32.const 2076) (i32.const 0) ) (unreachable) @@ -24195,18 +38933,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -8.06684839057968) - (f64.const -2.0055552545020245) - (f64.const 0.46667951345443726) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 909) + (i32.const 2077) (i32.const 0) ) (unreachable) @@ -24214,18 +38953,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 4.345239849338305) - (f64.const 1.6318162410515635) - (f64.const -0.08160271495580673) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 910) + (i32.const 2078) (i32.const 0) ) (unreachable) @@ -24233,18 +38973,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -8.38143342755525) - (f64.const -2.031293910673361) - (f64.const -0.048101816326379776) - (i32.const 1) + (call $std/math/test_modf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 911) + (i32.const 2087) (i32.const 0) ) (unreachable) @@ -24252,18 +38993,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -6.531673581913484) - (f64.const -1.8692820012204925) - (f64.const 0.08624018728733063) - (i32.const 1) + (call $std/math/test_modf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 912) + (i32.const 2088) (i32.const 0) ) (unreachable) @@ -24271,18 +39013,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 9.267056966972586) - (f64.const 2.100457720859702) - (f64.const -0.2722989022731781) - (i32.const 1) + (call $std/math/test_modf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 913) + (i32.const 2089) (i32.const 0) ) (unreachable) @@ -24290,18 +39033,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.6619858980995045) - (f64.const 0.8715311470455973) - (f64.const 0.4414918124675751) - (i32.const 1) + (call $std/math/test_modf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 914) + (i32.const 2090) (i32.const 0) ) (unreachable) @@ -24309,18 +39053,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0.4066039223853553) - (f64.const -0.740839030300223) - (f64.const 0.016453813761472702) - (i32.const 1) + (call $std/math/test_modf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 915) + (i32.const 2091) (i32.const 0) ) (unreachable) @@ -24328,18 +39073,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.5617597462207241) - (f64.const 0.8251195400559286) - (f64.const 0.30680638551712036) - (i32.const 1) + (call $std/math/test_modf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 916) + (i32.const 2092) (i32.const 0) ) (unreachable) @@ -24347,18 +39093,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.7741522965913037) - (f64.const 0.9182102478959914) - (f64.const 0.06543998420238495) - (i32.const 1) + (call $std/math/test_modf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 917) + (i32.const 2093) (i32.const 0) ) (unreachable) @@ -24366,18 +39113,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0.6787637026394024) - (f64.const -0.8788326906580094) - (f64.const -0.2016713172197342) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 918) + (i32.const 2094) (i32.const 0) ) (unreachable) @@ -24385,10 +39133,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) (i32.const 0) ) ) @@ -24396,7 +39145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 921) + (i32.const 2095) (i32.const 0) ) (unreachable) @@ -24404,10 +39153,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) (i32.const 0) ) ) @@ -24415,7 +39165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 922) + (i32.const 2096) (i32.const 0) ) (unreachable) @@ -24423,10 +39173,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -inf) - (f64.const -inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -24434,7 +39185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 923) + (i32.const 2099) (i32.const 0) ) (unreachable) @@ -24442,10 +39193,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -24453,7 +39205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 924) + (i32.const 2100) (i32.const 0) ) (unreachable) @@ -24461,10 +39213,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0) - (f64.const -0) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -24472,7 +39225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 925) + (i32.const 2101) (i32.const 0) ) (unreachable) @@ -24480,10 +39233,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 9.313225746154785e-10) - (f64.const 0.0009765625) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -24491,7 +39245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 926) + (i32.const 2102) (i32.const 0) ) (unreachable) @@ -24499,10 +39253,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -9.313225746154785e-10) - (f64.const -0.0009765625) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -24510,7 +39265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 927) + (i32.const 2103) (i32.const 0) ) (unreachable) @@ -24518,10 +39273,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 1) - (f64.const 1) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -24529,7 +39285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 928) + (i32.const 2104) (i32.const 0) ) (unreachable) @@ -24537,10 +39293,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -1) - (f64.const -1) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -24548,7 +39305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 929) + (i32.const 2105) (i32.const 0) ) (unreachable) @@ -24556,10 +39313,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 8) - (f64.const 2) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -24567,7 +39325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 930) + (i32.const 2106) (i32.const 0) ) (unreachable) @@ -24575,18 +39333,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -8.066848754882812) - (f32.const -2.0055553913116455) - (f32.const -0.44719240069389343) - (i32.const 1) + (call $std/math/test_modf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 939) + (i32.const 2107) (i32.const 0) ) (unreachable) @@ -24594,18 +39353,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 4.345239639282227) - (f32.const 1.6318162679672241) - (f32.const 0.44636252522468567) - (i32.const 1) + (call $std/math/test_modf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 940) + (i32.const 2108) (i32.const 0) ) (unreachable) @@ -24613,18 +39373,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -8.381433486938477) - (f32.const -2.0312938690185547) - (f32.const 0.19483426213264465) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 941) + (i32.const 2109) (i32.const 0) ) (unreachable) @@ -24632,18 +39393,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -6.531673431396484) - (f32.const -1.8692820072174072) - (f32.const -0.17075514793395996) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 942) + (i32.const 2110) (i32.const 0) ) (unreachable) @@ -24651,18 +39413,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 9.267057418823242) - (f32.const 2.1004576683044434) - (f32.const -0.36362043023109436) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 943) + (i32.const 2111) (i32.const 0) ) (unreachable) @@ -24670,18 +39433,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.6619858741760254) - (f32.const 0.8715311288833618) - (f32.const -0.12857209146022797) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 944) + (i32.const 2112) (i32.const 0) ) (unreachable) @@ -24689,18 +39453,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0.40660393238067627) - (f32.const -0.7408390641212463) - (f32.const -0.4655757546424866) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 945) + (i32.const 2113) (i32.const 0) ) (unreachable) @@ -24708,18 +39473,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.5617597699165344) - (f32.const 0.8251195549964905) - (f32.const 0.05601907894015312) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 946) + (i32.const 2114) (i32.const 0) ) (unreachable) @@ -24727,18 +39493,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.7741522789001465) - (f32.const 0.9182102680206299) - (f32.const 0.45498204231262207) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 947) + (i32.const 2115) (i32.const 0) ) (unreachable) @@ -24746,18 +39513,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0.6787636876106262) - (f32.const -0.8788326978683472) - (f32.const -0.22978967428207397) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 948) + (i32.const 2116) (i32.const 0) ) (unreachable) @@ -24765,9 +39533,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_modf + (f32.const -1) + (f32.const -1) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -24776,7 +39545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 951) + (i32.const 2117) (i32.const 0) ) (unreachable) @@ -24784,9 +39553,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const inf) - (f32.const inf) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -24795,7 +39565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 952) + (i32.const 2118) (i32.const 0) ) (unreachable) @@ -24803,9 +39573,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -inf) - (f32.const -inf) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -24814,7 +39585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 953) + (i32.const 2119) (i32.const 0) ) (unreachable) @@ -24822,8 +39593,9 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0) + (call $std/math/test_modf + (f32.const 2) + (f32.const -1) (f32.const 0) (f32.const 0) (i32.const 0) @@ -24833,7 +39605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 954) + (i32.const 2120) (i32.const 0) ) (unreachable) @@ -24841,8 +39613,9 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0) + (call $std/math/test_modf + (f32.const -2) + (f32.const -1) (f32.const -0) (f32.const 0) (i32.const 0) @@ -24852,7 +39625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 955) + (i32.const 2121) (i32.const 0) ) (unreachable) @@ -24860,18 +39633,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 9.313225746154785e-10) - (f32.const 0.0009765625) + (call $std/math/test_modf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 956) + (i32.const 2122) (i32.const 0) ) (unreachable) @@ -24879,18 +39653,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -9.313225746154785e-10) - (f32.const -0.0009765625) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 957) + (i32.const 2123) (i32.const 0) ) (unreachable) @@ -24898,9 +39673,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 1) - (f32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -24909,7 +39685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 958) + (i32.const 2124) (i32.const 0) ) (unreachable) @@ -24917,18 +39693,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -1) - (f32.const -1) + (call $std/math/test_modf (f32.const 0) - (i32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 959) + (i32.const 2125) (i32.const 0) ) (unreachable) @@ -24936,18 +39713,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 8) - (f32.const 2) + (call $std/math/test_modf (f32.const 0) - (i32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 960) + (i32.const 2126) (i32.const 0) ) (unreachable) @@ -24955,18 +39733,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -8.06684839057968) - (f64.const 1593.5209938862329) - (f64.const -0.38098856806755066) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1072) + (i32.const 2127) (i32.const 0) ) (unreachable) @@ -24974,18 +39753,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 4.345239849338305) - (f64.const 38.56174928426729) - (f64.const -0.2712278366088867) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1073) + (i32.const 2128) (i32.const 0) ) (unreachable) @@ -24993,18 +39773,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -8.38143342755525) - (f64.const 2182.630979595893) - (f64.const 0.0817827582359314) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1074) + (i32.const 2129) (i32.const 0) ) (unreachable) @@ -25012,18 +39793,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -6.531673581913484) - (f64.const 343.273849250879) - (f64.const -0.429940402507782) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1075) + (i32.const 2130) (i32.const 0) ) (unreachable) @@ -25031,18 +39813,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 9.267056966972586) - (f64.const 5291.779170005587) - (f64.const -0.1592995822429657) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1076) + (i32.const 2131) (i32.const 0) ) (unreachable) @@ -25050,18 +39833,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.6619858980995045) - (f64.const 1.2272321957342842) - (f64.const 0.23280741274356842) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1077) + (i32.const 2132) (i32.const 0) ) (unreachable) @@ -25069,18 +39853,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0.4066039223853553) - (f64.const 1.083808541871197) - (f64.const -0.3960916996002197) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const -inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1078) + (i32.const 2133) (i32.const 0) ) (unreachable) @@ -25088,18 +39873,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.5617597462207241) - (f64.const 1.1619803583175077) - (f64.const 0.37748390436172485) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1079) + (i32.const 2134) (i32.const 0) ) (unreachable) @@ -25107,18 +39893,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.7741522965913037) - (f64.const 1.3149236876276706) - (f64.const 0.43587008118629456) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1080) + (i32.const 2135) (i32.const 0) ) (unreachable) @@ -25126,18 +39913,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0.6787637026394024) - (f64.const 1.2393413245934533) - (f64.const 0.10201606154441833) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1081) + (i32.const 2136) (i32.const 0) ) (unreachable) @@ -25145,18 +39933,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1084) + (i32.const 2137) (i32.const 0) ) (unreachable) @@ -25164,18 +39953,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1085) + (i32.const 2138) (i32.const 0) ) (unreachable) @@ -25183,10 +39973,11 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -25194,7 +39985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1086) + (i32.const 2139) (i32.const 0) ) (unreachable) @@ -25202,18 +39993,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1087) + (i32.const 2140) (i32.const 0) ) (unreachable) @@ -25221,18 +40013,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1088) + (i32.const 2141) (i32.const 0) ) (unreachable) @@ -25240,18 +40033,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -8.066848754882812) - (f32.const 1593.5216064453125) - (f32.const 0.26242581009864807) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1097) + (i32.const 2142) (i32.const 0) ) (unreachable) @@ -25259,18 +40053,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 4.345239639282227) - (f32.const 38.56174087524414) - (f32.const -0.08168885856866837) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1098) + (i32.const 2143) (i32.const 0) ) (unreachable) @@ -25278,18 +40073,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -8.381433486938477) - (f32.const 2182.631103515625) - (f32.const -0.02331414446234703) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1099) + (i32.const 2144) (i32.const 0) ) (unreachable) @@ -25297,18 +40093,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -6.531673431396484) - (f32.const 343.2738037109375) - (f32.const 0.20081493258476257) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1100) + (i32.const 2145) (i32.const 0) ) (unreachable) @@ -25316,18 +40113,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 9.267057418823242) - (f32.const 5291.78173828125) - (f32.const 0.36286723613739014) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1101) + (i32.const 2146) (i32.const 0) ) (unreachable) @@ -25335,18 +40133,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.6619858741760254) - (f32.const 1.2272322177886963) - (f32.const 0.32777416706085205) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1102) + (i32.const 2147) (i32.const 0) ) (unreachable) @@ -25354,18 +40153,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0.40660393238067627) - (f32.const 1.0838085412979126) - (f32.const -0.039848703891038895) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1103) + (i32.const 2148) (i32.const 0) ) (unreachable) @@ -25373,18 +40173,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.5617597699165344) - (f32.const 1.161980390548706) - (f32.const 0.15274477005004883) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1104) + (i32.const 2149) (i32.const 0) ) (unreachable) @@ -25392,18 +40193,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.7741522789001465) - (f32.const 1.314923644065857) - (f32.const -0.2387111485004425) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1105) + (i32.const 2150) (i32.const 0) ) (unreachable) @@ -25411,18 +40213,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0.6787636876106262) - (f32.const 1.2393412590026855) - (f32.const -0.45791932940483093) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1106) + (i32.const 2151) (i32.const 0) ) (unreachable) @@ -25430,9 +40233,10 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0) - (f32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -25441,7 +40245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1109) + (i32.const 2152) (i32.const 0) ) (unreachable) @@ -25449,8 +40253,9 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0) + (call $std/math/test_modf + (f32.const 1) + (f32.const inf) (f32.const 1) (f32.const 0) (i32.const 0) @@ -25460,7 +40265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1110) + (i32.const 2153) (i32.const 0) ) (unreachable) @@ -25468,9 +40273,10 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const inf) + (call $std/math/test_modf + (f32.const -1) (f32.const inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -25479,7 +40285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1111) + (i32.const 2154) (i32.const 0) ) (unreachable) @@ -25487,18 +40293,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -inf) + (call $std/math/test_modf (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1112) + (i32.const 2155) (i32.const 0) ) (unreachable) @@ -25506,18 +40313,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const nan:0x400000) + (call $std/math/test_modf + (f32.const -inf) + (f32.const inf) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1113) + (i32.const 2156) (i32.const 0) ) (unreachable) @@ -25525,18 +40333,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -8.06684839057968) - (f64.const 3.137706068161745e-04) - (f64.const -0.2599197328090668) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const -inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1123) + (i32.const 2157) (i32.const 0) ) (unreachable) @@ -25544,18 +40353,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 4.345239849338305) - (f64.const 77.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const -inf) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1124) + (i32.const 2158) (i32.const 0) ) (unreachable) @@ -25563,18 +40373,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -8.38143342755525) - (f64.const 2.290813384916323e-04) - (f64.const -0.24974334239959717) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1125) + (i32.const 2159) (i32.const 0) ) (unreachable) @@ -25582,18 +40393,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -6.531673581913484) - (f64.const 1.4565661260931588e-03) - (f64.const -0.4816822409629822) - (i32.const 1) + (call $std/math/test_modf + (f32.const -inf) + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1126) + (i32.const 2160) (i32.const 0) ) (unreachable) @@ -25601,18 +40413,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 9.267056966972586) - (f64.const 10583.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1127) + (i32.const 2161) (i32.const 0) ) (unreachable) @@ -25620,18 +40433,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.6619858980995045) - (f64.const 1.9386384525571998) - (f64.const -0.4964246451854706) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1128) + (i32.const 2162) (i32.const 0) ) (unreachable) @@ -25639,18 +40453,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0.4066039223853553) - (f64.const 0.6659078892838025) - (f64.const -0.10608318448066711) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1129) + (i32.const 2163) (i32.const 0) ) (unreachable) @@ -25658,18 +40473,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.5617597462207241) - (f64.const 1.7537559518626311) - (f64.const -0.39162111282348633) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1130) + (i32.const 2164) (i32.const 0) ) (unreachable) @@ -25677,18 +40493,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.7741522965913037) - (f64.const 2.1687528885129246) - (f64.const -0.2996125817298889) - (i32.const 1) + (call $std/math/test_pow + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1131) + (i32.const 2176) (i32.const 0) ) (unreachable) @@ -25696,10 +40513,11 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0.6787637026394024) - (f64.const 0.5072437089402843) - (f64.const 0.47261738777160645) + (call $std/math/test_pow + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.1347118825587285e-06) + (f64.const 0.3250160217285156) (i32.const 1) ) ) @@ -25707,7 +40525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1132) + (i32.const 2177) (i32.const 0) ) (unreachable) @@ -25715,18 +40533,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0) - (f64.const 1) + (call $std/math/test_pow + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1135) + (i32.const 2178) (i32.const 0) ) (unreachable) @@ -25734,18 +40553,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0) - (f64.const 1) + (call $std/math/test_pow + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1136) + (i32.const 2179) (i32.const 0) ) (unreachable) @@ -25753,10 +40573,11 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1) - (f64.const 2.718281828459045) - (f64.const -0.3255307376384735) + (call $std/math/test_pow + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 44909.29941512966) + (f64.const -0.26659080386161804) (i32.const 1) ) ) @@ -25764,7 +40585,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1137) + (i32.const 2180) (i32.const 0) ) (unreachable) @@ -25772,18 +40593,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -1) - (f64.const 0.36787944117144233) - (f64.const 0.22389651834964752) - (i32.const 1) + (call $std/math/test_pow + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1138) + (i32.const 2181) (i32.const 0) ) (unreachable) @@ -25791,18 +40613,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.1135177413458652) + (f64.const -0.37168607115745544) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1139) + (i32.const 2182) (i32.const 0) ) (unreachable) @@ -25810,18 +40633,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -inf) - (f64.const 0) + (call $std/math/test_pow + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1140) + (i32.const 2183) (i32.const 0) ) (unreachable) @@ -25829,18 +40653,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.37690773521380183) + (f64.const 0.32473301887512207) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1141) + (i32.const 2184) (i32.const 0) ) (unreachable) @@ -25848,18 +40673,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397214889526365) - (f64.const 2.828429155876411) - (f64.const 0.18803080916404724) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1142) + (i32.const 2185) (i32.const 0) ) (unreachable) @@ -25867,18 +40693,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -1.0397214889526365) - (f64.const 0.35355313670217847) - (f64.const 0.2527272403240204) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1143) + (i32.const 2188) (i32.const 0) ) (unreachable) @@ -25886,18 +40713,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397210121154785) - (f64.const 2.8284278071766122) - (f64.const -0.4184139370918274) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1144) + (i32.const 2189) (i32.const 0) ) (unreachable) @@ -25905,18 +40733,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397214889526367) - (f64.const 2.8284291558764116) - (f64.const -0.22618377208709717) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 3) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1145) + (i32.const 2190) (i32.const 0) ) (unreachable) @@ -25924,18 +40753,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -8.066848754882812) - (f32.const 3.1377049162983894e-04) - (f32.const -0.030193336308002472) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1154) + (i32.const 2191) (i32.const 0) ) (unreachable) @@ -25943,18 +40773,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 4.345239639282227) - (f32.const 77.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1155) + (i32.const 2192) (i32.const 0) ) (unreachable) @@ -25962,18 +40793,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -8.381433486938477) - (f32.const 2.2908132814336568e-04) - (f32.const 0.2237040400505066) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1156) + (i32.const 2193) (i32.const 0) ) (unreachable) @@ -25981,18 +40813,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -6.531673431396484) - (f32.const 1.4565663877874613e-03) - (f32.const 0.36469703912734985) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1157) + (i32.const 2194) (i32.const 0) ) (unreachable) @@ -26000,18 +40833,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 9.267057418823242) - (f32.const 10583.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1158) + (i32.const 2195) (i32.const 0) ) (unreachable) @@ -26019,18 +40853,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.6619858741760254) - (f32.const 1.93863844871521) - (f32.const 0.3568260967731476) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1159) + (i32.const 2196) (i32.const 0) ) (unreachable) @@ -26038,18 +40873,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0.40660393238067627) - (f32.const 0.6659078598022461) - (f32.const -0.38294991850852966) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -1) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1160) + (i32.const 2197) (i32.const 0) ) (unreachable) @@ -26057,18 +40893,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.5617597699165344) - (f32.const 1.753756046295166) - (f32.const 0.44355490803718567) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1161) + (i32.const 2198) (i32.const 0) ) (unreachable) @@ -26076,18 +40913,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.7741522789001465) - (f32.const 2.168752908706665) - (f32.const 0.24562469124794006) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -3) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1162) + (i32.const 2199) (i32.const 0) ) (unreachable) @@ -26095,18 +40933,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0.6787636876106262) - (f32.const 0.5072436928749084) - (f32.const -0.3974292278289795) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1163) + (i32.const 2200) (i32.const 0) ) (unreachable) @@ -26114,10 +40953,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0) - (f32.const 1) - (f32.const 0) + (call $std/math/test_pow + (f64.const 0) + (f64.const -inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -26125,7 +40965,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1166) + (i32.const 2201) (i32.const 0) ) (unreachable) @@ -26133,10 +40973,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0) - (f32.const 1) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -26144,7 +40985,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1167) + (i32.const 2202) (i32.const 0) ) (unreachable) @@ -26152,18 +40993,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 1) - (f32.const 2.7182817459106445) - (f32.const -0.3462330996990204) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1168) + (i32.const 2203) (i32.const 0) ) (unreachable) @@ -26171,18 +41013,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -1) - (f32.const 0.3678794503211975) - (f32.const 0.3070148527622223) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const 3) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1169) + (i32.const 2204) (i32.const 0) ) (unreachable) @@ -26190,10 +41033,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 2) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -26201,7 +41045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1170) + (i32.const 2205) (i32.const 0) ) (unreachable) @@ -26209,10 +41053,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -inf) - (f32.const 0) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -26220,7 +41065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1171) + (i32.const 2206) (i32.const 0) ) (unreachable) @@ -26228,10 +41073,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -26239,7 +41085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1172) + (i32.const 2207) (i32.const 0) ) (unreachable) @@ -26247,18 +41093,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 88.72283172607422) - (f32.const 340279851902147610656242e15) - (f32.const -0.09067153930664062) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1173) + (i32.const 2208) (i32.const 0) ) (unreachable) @@ -26266,18 +41113,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 88.72283935546875) - (f32.const inf) - (f32.const 0) - (i32.const 17) + (call $std/math/test_pow + (f64.const -0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1174) + (i32.const 2209) (i32.const 0) ) (unreachable) @@ -26285,18 +41133,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -103.97207641601562) - (f32.const 1.401298464324817e-45) - (f32.const 0.49999967217445374) - (i32.const 9) + (call $std/math/test_pow + (f64.const -0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1175) + (i32.const 2210) (i32.const 0) ) (unreachable) @@ -26304,18 +41153,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -103.97208404541016) - (f32.const 0) - (f32.const -0.49999651312828064) - (i32.const 9) + (call $std/math/test_pow + (f64.const -0) + (f64.const -1) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1176) + (i32.const 2211) (i32.const 0) ) (unreachable) @@ -26323,18 +41173,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465735614299774) - (f32.const 1.4142135381698608) - (f32.const 0.13922421634197235) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1177) + (i32.const 2212) (i32.const 0) ) (unreachable) @@ -26342,18 +41193,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465735912322998) - (f32.const 1.4142135381698608) - (f32.const -0.21432916820049286) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -3) + (f64.const -inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1178) + (i32.const 2213) (i32.const 0) ) (unreachable) @@ -26361,18 +41213,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465736210346222) - (f32.const 1.4142136573791504) - (f32.const 0.43211743235588074) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1179) + (i32.const 2214) (i32.const 0) ) (unreachable) @@ -26380,18 +41233,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -8.06684839057968) - (f64.const -0.9996862293931839) - (f64.const -0.2760058343410492) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1189) + (i32.const 2215) (i32.const 0) ) (unreachable) @@ -26399,18 +41253,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 4.345239849338305) - (f64.const 76.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1190) + (i32.const 2216) (i32.const 0) ) (unreachable) @@ -26418,18 +41273,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -8.38143342755525) - (f64.const -0.9997709186615084) - (f64.const 0.10052496194839478) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1191) + (i32.const 2217) (i32.const 0) ) (unreachable) @@ -26437,18 +41293,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -6.531673581913484) - (f64.const -0.9985434338739069) - (f64.const -0.27437829971313477) - (i32.const 1) + (call $std/math/test_pow + (f64.const -inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1192) + (i32.const 2218) (i32.const 0) ) (unreachable) @@ -26456,18 +41313,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 9.267056966972586) - (f64.const 10582.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1193) + (i32.const 2219) (i32.const 0) ) (unreachable) @@ -26475,18 +41333,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.6619858980995045) - (f64.const 0.9386384525571999) - (f64.const 0.007150684483349323) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1194) + (i32.const 2220) (i32.const 0) ) (unreachable) @@ -26494,18 +41353,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0.4066039223853553) - (f64.const -0.3340921107161975) - (f64.const -0.21216636896133423) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1195) + (i32.const 2221) (i32.const 0) ) (unreachable) @@ -26513,18 +41373,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.5617597462207241) - (f64.const 0.7537559518626312) - (f64.const 0.21675777435302734) - (i32.const 1) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1196) + (i32.const 2222) (i32.const 0) ) (unreachable) @@ -26532,18 +41393,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.7741522965913037) - (f64.const 1.1687528885129248) - (f64.const 0.4007748067378998) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1197) + (i32.const 2223) (i32.const 0) ) (unreachable) @@ -26551,18 +41413,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0.6787637026394024) - (f64.const -0.4927562910597158) - (f64.const -0.05476519837975502) - (i32.const 1) + (call $std/math/test_pow + (f64.const -inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1198) + (i32.const 2224) (i32.const 0) ) (unreachable) @@ -26570,9 +41433,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0) - (f64.const 0) + (call $std/math/test_pow + (f64.const 1) + (f64.const -0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -26581,7 +41445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1201) + (i32.const 2225) (i32.const 0) ) (unreachable) @@ -26589,9 +41453,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0) + (call $std/math/test_pow + (f64.const -1) (f64.const -0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -26600,7 +41465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1202) + (i32.const 2226) (i32.const 0) ) (unreachable) @@ -26608,18 +41473,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -0) (f64.const 1) - (f64.const 1.7182818284590453) - (f64.const 0.348938524723053) - (i32.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1203) + (i32.const 2227) (i32.const 0) ) (unreachable) @@ -26627,18 +41493,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 + (call $std/math/test_pow (f64.const -1) - (f64.const -0.6321205588285577) - (f64.const 0.11194825917482376) - (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1204) + (i32.const 2228) (i32.const 0) ) (unreachable) @@ -26646,9 +41513,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const inf) + (call $std/math/test_pow + (f64.const -1) (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -26657,7 +41525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1205) + (i32.const 2229) (i32.const 0) ) (unreachable) @@ -26665,9 +41533,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -inf) + (call $std/math/test_pow (f64.const -1) + (f64.const -inf) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -26676,7 +41545,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1206) + (i32.const 2230) (i32.const 0) ) (unreachable) @@ -26684,9 +41553,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -1) + (f64.const 2) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -26695,7 +41565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1207) + (i32.const 2231) (i32.const 0) ) (unreachable) @@ -26703,18 +41573,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 2.225073858507201e-308) - (f64.const 2.225073858507201e-308) + (call $std/math/test_pow + (f64.const -1) + (f64.const -1) + (f64.const -1) (f64.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1208) + (i32.const 2232) (i32.const 0) ) (unreachable) @@ -26722,18 +41593,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -2.225073858507201e-308) - (f64.const -2.225073858507201e-308) + (call $std/math/test_pow + (f64.const -1) + (f64.const -2) + (f64.const 1) (f64.const 0) - (i32.const 9) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1209) + (i32.const 2233) (i32.const 0) ) (unreachable) @@ -26741,18 +41613,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -8.066848754882812) - (f32.const -0.9996862411499023) - (f32.const -0.19532723724842072) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const -3) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1218) + (i32.const 2234) (i32.const 0) ) (unreachable) @@ -26760,18 +41633,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 4.345239639282227) - (f32.const 76.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1219) + (i32.const 2235) (i32.const 0) ) (unreachable) @@ -26779,18 +41653,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -8.381433486938477) - (f32.const -0.9997709393501282) - (f32.const -0.34686920046806335) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1220) + (i32.const 2236) (i32.const 0) ) (unreachable) @@ -26798,18 +41673,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -6.531673431396484) - (f32.const -0.9985434412956238) - (f32.const -0.1281939446926117) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1221) + (i32.const 2237) (i32.const 0) ) (unreachable) @@ -26817,18 +41693,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 9.267057418823242) - (f32.const 10582.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1222) + (i32.const 2238) (i32.const 0) ) (unreachable) @@ -26836,18 +41713,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.6619858741760254) - (f32.const 0.9386383891105652) - (f32.const -0.28634780645370483) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 3) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1223) + (i32.const 2239) (i32.const 0) ) (unreachable) @@ -26855,18 +41733,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0.40660393238067627) - (f32.const -0.3340921103954315) - (f32.const 0.23410017788410187) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1224) + (i32.const 2240) (i32.const 0) ) (unreachable) @@ -26874,18 +41753,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.5617597699165344) - (f32.const 0.7537559866905212) - (f32.const -0.11289017647504807) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const -0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1225) + (i32.const 2241) (i32.const 0) ) (unreachable) @@ -26893,18 +41773,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.7741522789001465) - (f32.const 1.168752908706665) - (f32.const 0.4912493824958801) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const -3) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1226) + (i32.const 2242) (i32.const 0) ) (unreachable) @@ -26912,18 +41793,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0.6787636876106262) - (f32.const -0.49275627732276917) - (f32.const 0.20514154434204102) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1227) + (i32.const 2243) (i32.const 0) ) (unreachable) @@ -26931,18 +41813,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1230) + (i32.const 2244) (i32.const 0) ) (unreachable) @@ -26950,10 +41833,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 2) + (f64.const 0.25) + (f64.const 0) (i32.const 0) ) ) @@ -26961,7 +41845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1231) + (i32.const 2245) (i32.const 0) ) (unreachable) @@ -26969,18 +41853,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 1) - (f32.const 1.718281865119934) - (f32.const 0.3075338304042816) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 3) + (f64.const -0.125) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1232) + (i32.const 2246) (i32.const 0) ) (unreachable) @@ -26988,18 +41873,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -1) - (f32.const -0.6321205496788025) - (f32.const 0.15350742638111115) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1233) + (i32.const 2247) (i32.const 0) ) (unreachable) @@ -27007,10 +41893,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -27018,7 +41905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1234) + (i32.const 2248) (i32.const 0) ) (unreachable) @@ -27026,10 +41913,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -inf) - (f32.const -1) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -27037,7 +41925,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1235) + (i32.const 2249) (i32.const 0) ) (unreachable) @@ -27045,10 +41933,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_pow + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -27056,7 +41945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1236) + (i32.const 2250) (i32.const 0) ) (unreachable) @@ -27064,19 +41953,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const 9.25452742288464) - (f64.const -0.31188681721687317) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0.5) + (f64.const -inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1246) + (i32.const 2251) (i32.const 0) ) (unreachable) @@ -27084,19 +41973,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 9.893305808328252) - (f64.const 0.4593673348426819) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1247) + (i32.const 2252) (i32.const 0) ) (unreachable) @@ -27104,19 +41993,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const 8.825301797432132) - (f64.const -0.1701754331588745) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1248) + (i32.const 2253) (i32.const 0) ) (unreachable) @@ -27124,19 +42013,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const 7.970265885519092) - (f64.const -0.3176782727241516) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1249) + (i32.const 2254) (i32.const 0) ) (unreachable) @@ -27144,19 +42033,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 10.441639651824575) - (f64.const -0.2693633437156677) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1250) + (i32.const 2255) (i32.const 0) ) (unreachable) @@ -27164,19 +42053,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const 6.483936052542593) - (f64.const 0.35618898272514343) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1251) + (i32.const 2256) (i32.const 0) ) (unreachable) @@ -27184,19 +42073,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 7.859063309581766) - (f64.const 0.08044655621051788) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1252) + (i32.const 2257) (i32.const 0) ) (unreachable) @@ -27204,19 +42093,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const 7.717156764899584) - (f64.const 0.05178084969520569) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const -inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1253) + (i32.const 2258) (i32.const 0) ) (unreachable) @@ -27224,19 +42113,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 2.104006123874314) - (f64.const -0.0918039008975029) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 3) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1254) + (i32.const 2259) (i32.const 0) ) (unreachable) @@ -27244,19 +42133,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const 0.5596880129062913) - (f64.const 0.1383407711982727) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1255) + (i32.const 2260) (i32.const 0) ) (unreachable) @@ -27264,10 +42153,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 3) - (f64.const 4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const 1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -27276,7 +42165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1258) + (i32.const 2261) (i32.const 0) ) (unreachable) @@ -27284,10 +42173,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -3) - (f64.const 4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const 0.5) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -27296,7 +42185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1259) + (i32.const 2262) (i32.const 0) ) (unreachable) @@ -27304,10 +42193,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4) - (f64.const 3) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -0.5) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -27316,7 +42205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1260) + (i32.const 2263) (i32.const 0) ) (unreachable) @@ -27324,10 +42213,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4) - (f64.const -3) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -27336,7 +42225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1261) + (i32.const 2264) (i32.const 0) ) (unreachable) @@ -27344,10 +42233,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -3) - (f64.const -4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -2) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -27356,7 +42245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1262) + (i32.const 2265) (i32.const 0) ) (unreachable) @@ -27364,10 +42253,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1797693134862315708145274e284) - (f64.const 0) - (f64.const 1797693134862315708145274e284) + (call $std/math/test_pow + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -27376,7 +42265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1263) + (i32.const 2266) (i32.const 0) ) (unreachable) @@ -27384,10 +42273,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1797693134862315708145274e284) - (f64.const -0) - (f64.const 1797693134862315708145274e284) + (call $std/math/test_pow + (f64.const -inf) + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -27396,7 +42285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1264) + (i32.const 2267) (i32.const 0) ) (unreachable) @@ -27404,10 +42293,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 5e-324) + (call $std/math/test_pow + (f64.const -inf) + (f64.const -inf) (f64.const 0) - (f64.const 5e-324) (f64.const 0) (i32.const 0) ) @@ -27416,7 +42305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1265) + (i32.const 2268) (i32.const 0) ) (unreachable) @@ -27424,10 +42313,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 5e-324) - (f64.const -0) - (f64.const 5e-324) + (call $std/math/test_pow + (f64.const -inf) + (f64.const 3) + (f64.const -inf) (f64.const 0) (i32.const 0) ) @@ -27436,7 +42325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1266) + (i32.const 2269) (i32.const 0) ) (unreachable) @@ -27444,9 +42333,9 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const inf) - (f64.const 1) + (call $std/math/test_pow + (f64.const -inf) + (f64.const 2) (f64.const inf) (f64.const 0) (i32.const 0) @@ -27456,7 +42345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1267) + (i32.const 2270) (i32.const 0) ) (unreachable) @@ -27464,10 +42353,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow + (f64.const -inf) (f64.const 1) - (f64.const inf) - (f64.const inf) + (f64.const -inf) (f64.const 0) (i32.const 0) ) @@ -27476,7 +42365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1268) + (i32.const 2271) (i32.const 0) ) (unreachable) @@ -27484,9 +42373,9 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -inf) + (f64.const 0.5) (f64.const inf) (f64.const 0) (i32.const 0) @@ -27496,7 +42385,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1269) + (i32.const 2272) (i32.const 0) ) (unreachable) @@ -27504,10 +42393,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const nan:0x8000000000000) - (f64.const inf) - (f64.const inf) + (call $std/math/test_pow + (f64.const -inf) + (f64.const -0.5) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -27516,7 +42405,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1270) + (i32.const 2273) (i32.const 0) ) (unreachable) @@ -27524,10 +42413,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow (f64.const -inf) - (f64.const 1) - (f64.const inf) + (f64.const -1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -27536,7 +42425,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1271) + (i32.const 2274) (i32.const 0) ) (unreachable) @@ -27544,10 +42433,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1) + (call $std/math/test_pow (f64.const -inf) - (f64.const inf) + (f64.const -2) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -27556,7 +42445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1272) + (i32.const 2275) (i32.const 0) ) (unreachable) @@ -27564,10 +42453,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -inf) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const nan:0x8000000000000) - (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -27576,7 +42465,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1273) + (i32.const 2276) (i32.const 0) ) (unreachable) @@ -27584,10 +42473,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const nan:0x8000000000000) - (f64.const -inf) - (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -27596,7 +42485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1274) + (i32.const 2277) (i32.const 0) ) (unreachable) @@ -27604,10 +42493,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -2) (f64.const 1) - (f64.const nan:0x8000000000000) + (f64.const -2) (f64.const 0) (i32.const 0) ) @@ -27616,7 +42505,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1275) + (i32.const 2278) (i32.const 0) ) (unreachable) @@ -27624,10 +42513,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -2) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -27636,7 +42525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1276) + (i32.const 2279) (i32.const 0) ) (unreachable) @@ -27644,19 +42533,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const 9.254528045654297) - (f32.const 0.2735958993434906) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1285) + (i32.const 2288) (i32.const 0) ) (unreachable) @@ -27664,11 +42553,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 4.345239639282227) (f32.const -8.887990951538086) - (f32.const 9.893305778503418) - (f32.const 0.4530770778656006) + (f32.const 2.134714122803416e-06) + (f32.const 0.1436440795660019) (i32.const 1) ) ) @@ -27676,7 +42565,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1286) + (i32.const 2289) (i32.const 0) ) (unreachable) @@ -27684,19 +42573,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) - (f32.const 8.825302124023438) - (f32.const 0.30755728483200073) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1287) + (i32.const 2290) (i32.const 0) ) (unreachable) @@ -27704,19 +42593,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -6.531673431396484) (f32.const 4.567535400390625) - (f32.const 7.970265865325928) - (f32.const 0.06785223633050919) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1288) + (i32.const 2291) (i32.const 0) ) (unreachable) @@ -27724,11 +42613,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const 10.44163990020752) - (f32.const -0.26776307821273804) + (f32.const 44909.33203125) + (f32.const -0.05356409028172493) (i32.const 1) ) ) @@ -27736,7 +42625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1289) + (i32.const 2292) (i32.const 0) ) (unreachable) @@ -27744,19 +42633,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const 6.483936309814453) - (f32.const 0.48381292819976807) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1290) + (i32.const 2293) (i32.const 0) ) (unreachable) @@ -27764,11 +42653,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const 7.859063148498535) - (f32.const 0.07413065433502197) + (f32.const 1.1135177612304688) + (f32.const 0.19122089445590973) (i32.const 1) ) ) @@ -27776,7 +42665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1291) + (i32.const 2294) (i32.const 0) ) (unreachable) @@ -27784,19 +42673,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) - (f32.const 7.717156887054443) - (f32.const 0.4940592646598816) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1292) + (i32.const 2295) (i32.const 0) ) (unreachable) @@ -27804,11 +42693,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) - (f32.const 2.104006052017212) - (f32.const -0.287089467048645) + (f32.const 0.3769077658653259) + (f32.const 0.337149053812027) (i32.const 1) ) ) @@ -27816,7 +42705,67 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1293) + (i32.const 2296) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2297) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2301) (i32.const 0) ) (unreachable) @@ -27824,19 +42773,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const 0.5596880316734314) - (f32.const 0.4191940724849701) - (i32.const 1) + (call $std/math/test_powf + (f32.const 0) + (f32.const 3) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1294) + (i32.const 2302) (i32.const 0) ) (unreachable) @@ -27844,10 +42793,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3) - (f32.const 4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 2) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -27856,7 +42805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1297) + (i32.const 2303) (i32.const 0) ) (unreachable) @@ -27864,10 +42813,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -3) - (f32.const 4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 1) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -27876,7 +42825,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1298) + (i32.const 2304) (i32.const 0) ) (unreachable) @@ -27884,10 +42833,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 4) - (f32.const 3) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 0.5) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -27896,7 +42845,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1299) + (i32.const 2305) (i32.const 0) ) (unreachable) @@ -27904,10 +42853,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 4) - (f32.const -3) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -27916,7 +42865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1300) + (i32.const 2306) (i32.const 0) ) (unreachable) @@ -27924,10 +42873,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -3) - (f32.const -4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const -0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -27936,7 +42885,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1301) + (i32.const 2307) (i32.const 0) ) (unreachable) @@ -27944,19 +42893,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3402823466385288598117041e14) + (call $std/math/test_powf (f32.const 0) - (f32.const 3402823466385288598117041e14) + (f32.const -0.5) + (f32.const inf) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1302) + (i32.const 2308) (i32.const 0) ) (unreachable) @@ -27964,19 +42913,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3402823466385288598117041e14) - (f32.const -0) - (f32.const 3402823466385288598117041e14) + (call $std/math/test_powf (f32.const 0) - (i32.const 0) + (f32.const -1) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1303) + (i32.const 2309) (i32.const 0) ) (unreachable) @@ -27984,19 +42933,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1.401298464324817e-45) + (call $std/math/test_powf (f32.const 0) - (f32.const 1.401298464324817e-45) + (f32.const -2) + (f32.const inf) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1304) + (i32.const 2310) (i32.const 0) ) (unreachable) @@ -28004,19 +42953,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1.401298464324817e-45) - (f32.const -0) - (f32.const 1.401298464324817e-45) + (call $std/math/test_powf (f32.const 0) - (i32.const 0) + (f32.const -3) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1305) + (i32.const 2311) (i32.const 0) ) (unreachable) @@ -28024,19 +42973,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const inf) - (f32.const 1) + (call $std/math/test_powf + (f32.const 0) + (f32.const -4) (f32.const inf) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1306) + (i32.const 2312) (i32.const 0) ) (unreachable) @@ -28044,9 +42993,9 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1) - (f32.const inf) + (call $std/math/test_powf + (f32.const 0) + (f32.const -inf) (f32.const inf) (f32.const 0) (i32.const 0) @@ -28056,7 +43005,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1307) + (i32.const 2313) (i32.const 0) ) (unreachable) @@ -28064,10 +43013,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const nan:0x400000) (f32.const nan:0x400000) - (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -28076,7 +43025,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1308) + (i32.const 2314) (i32.const 0) ) (unreachable) @@ -28084,11 +43033,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) (f32.const inf) (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -28096,7 +43045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1309) + (i32.const 2315) (i32.const 0) ) (unreachable) @@ -28104,10 +43053,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -inf) - (f32.const 1) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 3) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -28116,7 +43065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1310) + (i32.const 2316) (i32.const 0) ) (unreachable) @@ -28124,10 +43073,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1) - (f32.const -inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 2) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -28136,7 +43085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1311) + (i32.const 2317) (i32.const 0) ) (unreachable) @@ -28144,10 +43093,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 1) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -28156,7 +43105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1312) + (i32.const 2318) (i32.const 0) ) (unreachable) @@ -28164,10 +43113,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) - (f32.const -inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 0.5) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -28176,7 +43125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1313) + (i32.const 2319) (i32.const 0) ) (unreachable) @@ -28184,10 +43133,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -0) + (f32.const 0) (f32.const 1) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -28196,7 +43145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1314) + (i32.const 2320) (i32.const 0) ) (unreachable) @@ -28204,10 +43153,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf + (f32.const -0) + (f32.const -0) (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -28216,7 +43165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1315) + (i32.const 2321) (i32.const 0) ) (unreachable) @@ -28224,18 +43173,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1325) + (i32.const 2322) (i32.const 0) ) (unreachable) @@ -28243,18 +43193,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 4.345239849338305) - (f64.const 1.4690809584224322) - (f64.const -0.3412533402442932) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.const -1) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1326) + (i32.const 2323) (i32.const 0) ) (unreachable) @@ -28262,18 +43213,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1327) + (i32.const 2324) (i32.const 0) ) (unreachable) @@ -28281,18 +43233,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -3) + (f32.const -inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1328) + (i32.const 2325) (i32.const 0) ) (unreachable) @@ -28300,18 +43253,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 9.267056966972586) - (f64.const 2.2264658498795615) - (f64.const 0.3638114035129547) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1329) + (i32.const 2326) (i32.const 0) ) (unreachable) @@ -28319,18 +43273,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.6619858980995045) - (f64.const -0.4125110252365137) - (f64.const -0.29108747839927673) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1330) + (i32.const 2327) (i32.const 0) ) (unreachable) @@ -28338,18 +43293,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1331) + (i32.const 2328) (i32.const 0) ) (unreachable) @@ -28357,18 +43313,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.5617597462207241) - (f64.const -0.5766810183195862) - (f64.const -0.10983199626207352) - (i32.const 1) + (call $std/math/test_powf + (f32.const inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1332) + (i32.const 2329) (i32.const 0) ) (unreachable) @@ -28376,18 +43333,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.7741522965913037) - (f64.const -0.2559866591263865) - (f64.const -0.057990044355392456) - (i32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1333) + (i32.const 2330) (i32.const 0) ) (unreachable) @@ -28395,18 +43353,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1334) + (i32.const 2331) (i32.const 0) ) (unreachable) @@ -28414,18 +43373,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const -1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1337) + (i32.const 2332) (i32.const 0) ) (unreachable) @@ -28433,18 +43393,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1338) + (i32.const 2333) (i32.const 0) ) (unreachable) @@ -28452,18 +43413,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1339) + (i32.const 2334) (i32.const 0) ) (unreachable) @@ -28471,10 +43433,11 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -28482,7 +43445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1340) + (i32.const 2335) (i32.const 0) ) (unreachable) @@ -28490,18 +43453,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1341) + (i32.const 2336) (i32.const 0) ) (unreachable) @@ -28509,10 +43473,11 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_powf + (f32.const 1) + (f32.const -0) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -28520,7 +43485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1342) + (i32.const 2337) (i32.const 0) ) (unreachable) @@ -28528,18 +43493,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1343) + (i32.const 2338) (i32.const 0) ) (unreachable) @@ -28547,10 +43513,11 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -0) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -28558,7 +43525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1344) + (i32.const 2339) (i32.const 0) ) (unreachable) @@ -28566,18 +43533,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const 0) - (f32.const -inf) + (call $std/math/test_powf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1353) + (i32.const 2340) (i32.const 0) ) (unreachable) @@ -28585,18 +43553,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -0) - (f32.const -inf) + (call $std/math/test_powf + (f32.const -1) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1354) + (i32.const 2341) (i32.const 0) ) (unreachable) @@ -28604,18 +43573,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) + (call $std/math/test_powf + (f32.const -1) + (f32.const -inf) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1355) + (i32.const 2342) (i32.const 0) ) (unreachable) @@ -28623,10 +43593,11 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf + (f32.const -1) + (f32.const 2) (f32.const 1) (f32.const 0) - (f32.const 0) (i32.const 0) ) ) @@ -28634,7 +43605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1356) + (i32.const 2343) (i32.const 0) ) (unreachable) @@ -28642,18 +43613,19 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf + (f32.const -1) + (f32.const -1) (f32.const -1) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1357) + (i32.const 2344) (i32.const 0) ) (unreachable) @@ -28661,9 +43633,10 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const -1) + (f32.const -2) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -28672,7 +43645,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1358) + (i32.const 2345) (i32.const 0) ) (unreachable) @@ -28680,18 +43653,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -inf) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -1) + (f32.const -3) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1359) + (i32.const 2346) (i32.const 0) ) (unreachable) @@ -28699,18 +43673,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -1) + (f32.const 0.5) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1360) + (i32.const 2347) (i32.const 0) ) (unreachable) @@ -28718,18 +43693,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const 0) - (f32.const -inf) + (call $std/math/test_powf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1363) + (i32.const 2348) (i32.const 0) ) (unreachable) @@ -28737,18 +43713,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -0) - (f32.const -inf) + (call $std/math/test_powf + (f32.const 1) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1364) + (i32.const 2349) (i32.const 0) ) (unreachable) @@ -28756,18 +43733,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) + (call $std/math/test_powf + (f32.const 1) + (f32.const -inf) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1365) + (i32.const 2350) (i32.const 0) ) (unreachable) @@ -28775,9 +43753,10 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf + (f32.const 1) + (f32.const 3) (f32.const 1) - (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -28786,7 +43765,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1366) + (i32.const 2351) (i32.const 0) ) (unreachable) @@ -28794,18 +43773,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const 1) + (f32.const 0.5) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1367) + (i32.const 2352) (i32.const 0) ) (unreachable) @@ -28813,9 +43793,10 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const 1) + (f32.const -0.5) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -28824,7 +43805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1368) + (i32.const 2353) (i32.const 0) ) (unreachable) @@ -28832,18 +43813,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -inf) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const 1) + (f32.const -3) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1369) + (i32.const 2354) (i32.const 0) ) (unreachable) @@ -28851,18 +43833,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0.5) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1370) + (i32.const 2355) (i32.const 0) ) (unreachable) @@ -28870,10 +43853,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -28881,7 +43865,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 2356) (i32.const 0) ) (unreachable) @@ -28889,18 +43873,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 4.345239849338305) - (f64.const 0.6380137537120029) - (f64.const -0.2088824063539505) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 2) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 2357) (i32.const 0) ) (unreachable) @@ -28908,18 +43893,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 3) + (f32.const -0.125) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 2358) (i32.const 0) ) (unreachable) @@ -28927,18 +43913,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1383) + (i32.const 2359) (i32.const 0) ) (unreachable) @@ -28946,18 +43933,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 9.267056966972586) - (f64.const 0.9669418327487274) - (f64.const -0.06120431795716286) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1384) + (i32.const 2360) (i32.const 0) ) (unreachable) @@ -28965,18 +43953,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.6619858980995045) - (f64.const -0.17915126198447093) - (f64.const 0.39090874791145325) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1385) + (i32.const 2361) (i32.const 0) ) (unreachable) @@ -28984,18 +43973,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 2362) (i32.const 0) ) (unreachable) @@ -29003,18 +43993,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.5617597462207241) - (f64.const -0.25044938407454437) - (f64.const -0.3046841621398926) - (i32.const 1) + (call $std/math/test_powf + (f32.const 0.5) + (f32.const -inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 2363) (i32.const 0) ) (unreachable) @@ -29022,18 +44013,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.7741522965913037) - (f64.const -0.11117359349943837) - (f64.const -0.31503361463546753) - (i32.const 1) + (call $std/math/test_powf + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 2364) (i32.const 0) ) (unreachable) @@ -29041,18 +44033,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 1.5) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 2365) (i32.const 0) ) (unreachable) @@ -29060,18 +44053,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const 1.5) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 2366) (i32.const 0) ) (unreachable) @@ -29079,18 +44073,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 2367) (i32.const 0) ) (unreachable) @@ -29098,18 +44093,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 2368) (i32.const 0) ) (unreachable) @@ -29117,10 +44113,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -29128,7 +44125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 2369) (i32.const 0) ) (unreachable) @@ -29136,18 +44133,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const -inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 2370) (i32.const 0) ) (unreachable) @@ -29155,10 +44153,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const 3) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -29166,7 +44165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 2371) (i32.const 0) ) (unreachable) @@ -29174,18 +44173,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 2372) (i32.const 0) ) (unreachable) @@ -29193,10 +44193,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -29204,7 +44205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 2373) (i32.const 0) ) (unreachable) @@ -29212,18 +44213,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const 0.5) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 2374) (i32.const 0) ) (unreachable) @@ -29231,18 +44233,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 4.345239639282227) - (f32.const 0.6380137205123901) - (f32.const -0.20476758480072021) - (i32.const 1) + (call $std/math/test_powf + (f32.const inf) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 2375) (i32.const 0) ) (unreachable) @@ -29250,18 +44253,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const -1) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 2376) (i32.const 0) ) (unreachable) @@ -29269,18 +44273,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const -2) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 2377) (i32.const 0) ) (unreachable) @@ -29288,18 +44293,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 9.267057418823242) - (f32.const 0.9669418334960938) - (f32.const -0.34273025393486023) - (i32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 2378) (i32.const 0) ) (unreachable) @@ -29307,18 +44313,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.6619858741760254) - (f32.const -0.1791512817144394) - (f32.const -0.27078554034233093) - (i32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 2379) (i32.const 0) ) (unreachable) @@ -29326,18 +44333,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -inf) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 2380) (i32.const 0) ) (unreachable) @@ -29345,18 +44353,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.5617597699165344) - (f32.const -0.25044935941696167) - (f32.const 0.2126826047897339) - (i32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const 3) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 2381) (i32.const 0) ) (unreachable) @@ -29364,18 +44373,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.7741522789001465) - (f32.const -0.1111735999584198) - (f32.const 0.46515095233917236) - (i32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 2382) (i32.const 0) ) (unreachable) @@ -29383,18 +44393,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -inf) + (f32.const 1) + (f32.const -inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 2383) (i32.const 0) ) (unreachable) @@ -29402,18 +44413,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0) + (call $std/math/test_powf (f32.const -inf) + (f32.const 0.5) + (f32.const inf) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 2384) (i32.const 0) ) (unreachable) @@ -29421,18 +44433,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0) + (call $std/math/test_powf (f32.const -inf) + (f32.const -0.5) (f32.const 0) - (i32.const 4) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 2385) (i32.const 0) ) (unreachable) @@ -29440,18 +44453,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -inf) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 2386) (i32.const 0) ) (unreachable) @@ -29459,8 +44473,9 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 1) + (call $std/math/test_powf + (f32.const -inf) + (f32.const -2) (f32.const 0) (f32.const 0) (i32.const 0) @@ -29470,7 +44485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 2387) (i32.const 0) ) (unreachable) @@ -29478,18 +44493,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -1) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 1) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 2388) (i32.const 0) ) (unreachable) @@ -29497,9 +44513,10 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -29508,7 +44525,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 2389) (i32.const 0) ) (unreachable) @@ -29516,18 +44533,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -inf) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -2) + (f32.const 1) + (f32.const -2) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 2390) (i32.const 0) ) (unreachable) @@ -29535,9 +44553,10 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -2) + (f32.const -1) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -29546,26 +44565,139 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 2391) (i32.const 0) ) (unreachable) ) ) + (call "$(lib)/math/NativeMath.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) + ) + (loop $continue|0 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e6) + ) + (block + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $1 + (f64.ge + (tee_local $2 + (call "$(lib)/math/NativeMath.random") + ) + (f64.const 0) + ) + ) + (f64.lt + (get_local $2) + (f64.const 1) + ) + (get_local $1) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2400) + (i32.const 2) + ) + (unreachable) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + (call "$(lib)/math/NativeMathf.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) + ) + (set_local $0 + (i32.const 0) + ) + (loop $continue|1 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e6) + ) + (block + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $1 + (f32.ge + (tee_local $3 + (call "$(lib)/math/NativeMathf.random") + ) + (f32.const 0) + ) + ) + (f32.lt + (get_local $3) + (f32.const 1) + ) + (get_local $1) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2408) + (i32.const 2) + ) + (unreachable) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (f64.const -8) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 2422) (i32.const 0) ) (unreachable) @@ -29573,10 +44705,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 4.345239849338305) - (f64.const 1.6762064170601734) - (f64.const 0.46188199520111084) + (f64.const 4) + (f64.const 0) (i32.const 1) ) ) @@ -29584,7 +44716,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 2423) (i32.const 0) ) (unreachable) @@ -29592,18 +44724,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) + (f64.const -8) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 2424) (i32.const 0) ) (unreachable) @@ -29611,18 +44743,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) + (f64.const -7) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 2425) (i32.const 0) ) (unreachable) @@ -29630,10 +44762,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 9.267056966972586) - (f64.const 2.3289404168523826) - (f64.const -0.411114901304245) + (f64.const 9) + (f64.const 0) (i32.const 1) ) ) @@ -29641,7 +44773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 2426) (i32.const 0) ) (unreachable) @@ -29649,10 +44781,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.6619858980995045) - (f64.const 0.5080132114992477) - (f64.const -0.29306045174598694) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -29660,7 +44792,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 2427) (i32.const 0) ) (unreachable) @@ -29668,10 +44800,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -0.4066039223853553) - (f64.const -0.5218931811663979) - (f64.const -0.25825726985931396) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -29679,7 +44811,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 2428) (i32.const 0) ) (unreachable) @@ -29687,10 +44819,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.5617597462207241) - (f64.const 0.4458132279488102) - (f64.const -0.13274887204170227) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -29698,7 +44830,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 2429) (i32.const 0) ) (unreachable) @@ -29706,10 +44838,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.7741522965913037) - (f64.const 0.5733227294648414) - (f64.const 0.02716583013534546) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -29717,7 +44849,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 2430) (i32.const 0) ) (unreachable) @@ -29725,10 +44857,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -0.6787637026394024) - (f64.const -1.1355782978128564) - (f64.const 0.2713092863559723) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -29736,7 +44868,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 2431) (i32.const 0) ) (unreachable) @@ -29744,9 +44876,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const 0) - (f64.const 0) + (call $std/math/test_round + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -29755,7 +44887,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 2434) (i32.const 0) ) (unreachable) @@ -29763,9 +44895,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -0) - (f64.const -0) + (call $std/math/test_round + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -29774,7 +44906,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 2435) (i32.const 0) ) (unreachable) @@ -29782,18 +44914,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -7.888609052210118e-31) - (f64.const -7.888609052210118e-31) - (f64.const 1.7763568394002505e-15) - (i32.const 1) + (call $std/math/test_round + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1451) + (i32.const 2436) (i32.const 0) ) (unreachable) @@ -29801,18 +44933,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const 1) - (f64.const 0.6931471805599453) - (f64.const -0.2088811695575714) - (i32.const 1) + (call $std/math/test_round + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 2437) (i32.const 0) ) (unreachable) @@ -29820,18 +44952,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -1) - (f64.const -inf) + (call $std/math/test_round + (f64.const -0) + (f64.const -0) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 2438) (i32.const 0) ) (unreachable) @@ -29839,9 +44971,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const inf) - (f64.const inf) + (call $std/math/test_round + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -29850,7 +44982,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 2439) (i32.const 0) ) (unreachable) @@ -29858,18 +44990,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_round + (f64.const -1) + (f64.const -1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 2440) (i32.const 0) ) (unreachable) @@ -29877,18 +45009,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_round + (f64.const 0.5) + (f64.const 1) (f64.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 2441) (i32.const 0) ) (unreachable) @@ -29896,18 +45028,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const -0.5) + (f64.const -1) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 2442) (i32.const 0) ) (unreachable) @@ -29915,10 +45047,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 4.345239639282227) - (f32.const 1.676206350326538) - (f32.const -0.23014859855175018) + (call $std/math/test_round + (f64.const 1.5) + (f64.const 2) + (f64.const 0) (i32.const 1) ) ) @@ -29926,7 +45058,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 2443) (i32.const 0) ) (unreachable) @@ -29934,18 +45066,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const -1.5) + (f64.const -2) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 2444) (i32.const 0) ) (unreachable) @@ -29953,18 +45085,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 2445) (i32.const 0) ) (unreachable) @@ -29972,10 +45104,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 9.267057418823242) - (f32.const 2.3289403915405273) - (f32.const -0.29075589776039124) + (call $std/math/test_round + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -29983,7 +45115,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 2446) (i32.const 0) ) (unreachable) @@ -29991,10 +45123,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.6619858741760254) - (f32.const 0.5080131888389587) - (f32.const -0.1386766880750656) + (call $std/math/test_round + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -30002,7 +45134,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 2447) (i32.const 0) ) (unreachable) @@ -30010,10 +45142,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0.40660393238067627) - (f32.const -0.5218932032585144) - (f32.const -0.08804433047771454) + (call $std/math/test_round + (f64.const -0.9999923706054688) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -30021,7 +45153,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 2448) (i32.const 0) ) (unreachable) @@ -30029,10 +45161,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.5617597699165344) - (f32.const 0.44581323862075806) - (f32.const -0.15101368725299835) + (call $std/math/test_round + (f64.const 7.888609052210118e-31) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -30040,7 +45172,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 2449) (i32.const 0) ) (unreachable) @@ -30048,10 +45180,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.7741522789001465) - (f32.const 0.5733227133750916) - (f32.const -0.10264533013105392) + (call $std/math/test_round + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -30059,7 +45191,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 2450) (i32.const 0) ) (unreachable) @@ -30067,10 +45199,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0.6787636876106262) - (f32.const -1.1355782747268677) - (f32.const -0.19879481196403503) + (call $std/math/test_roundf + (f32.const -8.066848754882812) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -30078,7 +45210,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 2459) (i32.const 0) ) (unreachable) @@ -30086,18 +45218,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0) - (f32.const 0) + (call $std/math/test_roundf + (f32.const 4.345239639282227) + (f32.const 4) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1477) + (i32.const 2460) (i32.const 0) ) (unreachable) @@ -30105,18 +45237,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0) - (f32.const -0) + (call $std/math/test_roundf + (f32.const -8.381433486938477) + (f32.const -8) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1478) + (i32.const 2461) (i32.const 0) ) (unreachable) @@ -30124,10 +45256,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -7.888609052210118e-31) - (f32.const -7.888609052210118e-31) - (f32.const 3.308722450212111e-24) + (call $std/math/test_roundf + (f32.const -6.531673431396484) + (f32.const -7) + (f32.const 0) (i32.const 1) ) ) @@ -30135,7 +45267,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1479) + (i32.const 2462) (i32.const 0) ) (unreachable) @@ -30143,10 +45275,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 1) - (f32.const 0.6931471824645996) - (f32.const 0.031954795122146606) + (call $std/math/test_roundf + (f32.const 9.267057418823242) + (f32.const 9) + (f32.const 0) (i32.const 1) ) ) @@ -30154,7 +45286,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1480) + (i32.const 2463) (i32.const 0) ) (unreachable) @@ -30162,18 +45294,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -1) - (f32.const -inf) + (call $std/math/test_roundf + (f32.const 0.6619858741760254) + (f32.const 1) (f32.const 0) - (i32.const 4) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1481) + (i32.const 2464) (i32.const 0) ) (unreachable) @@ -30181,18 +45313,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const inf) - (f32.const inf) + (call $std/math/test_roundf + (f32.const -0.40660393238067627) + (f32.const -0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1482) + (i32.const 2465) (i32.const 0) ) (unreachable) @@ -30200,18 +45332,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -inf) - (f32.const nan:0x400000) + (call $std/math/test_roundf + (f32.const 0.5617597699165344) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1483) + (i32.const 2466) (i32.const 0) ) (unreachable) @@ -30219,18 +45351,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_roundf + (f32.const 0.7741522789001465) + (f32.const 1) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1484) + (i32.const 2467) (i32.const 0) ) (unreachable) @@ -30238,18 +45370,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -1.1754942106924411e-38) - (f32.const -1.1754942106924411e-38) - (f32.const 4.930380657631324e-32) - (i32.const 9) + (call $std/math/test_roundf + (f32.const -0.6787636876106262) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1485) + (i32.const 2468) (i32.const 0) ) (unreachable) @@ -30257,18 +45389,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1495) + (i32.const 2471) (i32.const 0) ) (unreachable) @@ -30276,18 +45408,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 4.345239849338305) - (f64.const 2.1194358133804485) - (f64.const -0.10164877772331238) - (i32.const 1) + (call $std/math/test_roundf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1496) + (i32.const 2472) (i32.const 0) ) (unreachable) @@ -30295,18 +45427,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1497) + (i32.const 2473) (i32.const 0) ) (unreachable) @@ -30314,18 +45446,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 2474) (i32.const 0) ) (unreachable) @@ -30333,18 +45465,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 9.267056966972586) - (f64.const 3.2121112403298744) - (f64.const -0.15739446878433228) - (i32.const 1) + (call $std/math/test_roundf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 2475) (i32.const 0) ) (unreachable) @@ -30352,18 +45484,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.6619858980995045) - (f64.const -0.5951276104207402) - (f64.const 0.3321485221385956) - (i32.const 1) + (call $std/math/test_roundf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 2476) (i32.const 0) ) (unreachable) @@ -30371,18 +45503,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 2477) (i32.const 0) ) (unreachable) @@ -30390,10 +45522,10 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.5617597462207241) - (f64.const -0.8319748453044644) - (f64.const 0.057555437088012695) + (call $std/math/test_roundf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) (i32.const 1) ) ) @@ -30401,7 +45533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 2478) (i32.const 0) ) (unreachable) @@ -30409,10 +45541,10 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.7741522965913037) - (f64.const -0.36931068365537134) - (f64.const -0.19838279485702515) + (call $std/math/test_roundf + (f32.const -0.5) + (f32.const -1) + (f32.const 0) (i32.const 1) ) ) @@ -30420,7 +45552,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 2479) (i32.const 0) ) (unreachable) @@ -30428,18 +45560,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) + (call $std/math/test_round + (f64.const 1.5) + (f64.const 2) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 2480) (i32.const 0) ) (unreachable) @@ -30447,18 +45579,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0) - (f64.const -inf) + (call $std/math/test_round + (f64.const -1.5) + (f64.const -2) (f64.const 0) - (i32.const 4) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 2481) (i32.const 0) ) (unreachable) @@ -30466,18 +45598,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0) - (f64.const -inf) - (f64.const 0) - (i32.const 4) + (call $std/math/test_roundf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 2482) (i32.const 0) ) (unreachable) @@ -30485,18 +45617,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 2483) (i32.const 0) ) (unreachable) @@ -30504,18 +45636,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_roundf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 2484) (i32.const 0) ) (unreachable) @@ -30523,18 +45655,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -0.9999923706054688) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 2485) (i32.const 0) ) (unreachable) @@ -30542,18 +45674,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_roundf + (f32.const 7.888609052210118e-31) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 2486) (i32.const 0) ) (unreachable) @@ -30561,18 +45693,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 2487) (i32.const 0) ) (unreachable) @@ -30580,9 +45712,9 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_sign + (f64.const 0) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -30591,7 +45723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 2498) (i32.const 0) ) (unreachable) @@ -30599,37 +45731,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1523) + (call $std/math/test_sign + (f64.const -0) + (f64.const -0) + (f64.const 0) (i32.const 0) ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_log2f - (f32.const 4.345239639282227) - (f32.const 2.1194357872009277) - (f32.const 0.18271538615226746) - (i32.const 1) - ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 2499) (i32.const 0) ) (unreachable) @@ -30637,18 +45750,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 2500) (i32.const 0) ) (unreachable) @@ -30656,18 +45769,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const 2) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 2501) (i32.const 0) ) (unreachable) @@ -30675,18 +45788,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 9.267057418823242) - (f32.const 3.212111234664917) - (f32.const -0.3188050389289856) - (i32.const 1) + (call $std/math/test_sign + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 2502) (i32.const 0) ) (unreachable) @@ -30694,18 +45807,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.6619858741760254) - (f32.const -0.5951276421546936) - (f32.const 0.34231460094451904) - (i32.const 1) + (call $std/math/test_sign + (f64.const -2) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 2503) (i32.const 0) ) (unreachable) @@ -30713,18 +45826,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 2504) (i32.const 0) ) (unreachable) @@ -30732,18 +45845,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.5617597699165344) - (f32.const -0.8319748044013977) - (f32.const -0.33473604917526245) - (i32.const 1) + (call $std/math/test_sign + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 2505) (i32.const 0) ) (unreachable) @@ -30751,18 +45864,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.7741522789001465) - (f32.const -0.3693107068538666) - (f32.const 0.3278401792049408) - (i32.const 1) + (call $std/math/test_sign + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 2506) (i32.const 0) ) (unreachable) @@ -30770,18 +45883,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_signf (f32.const 0) - (i32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 2514) (i32.const 0) ) (unreachable) @@ -30789,18 +45902,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0) - (f32.const -inf) + (call $std/math/test_signf + (f32.const -0) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 2515) (i32.const 0) ) (unreachable) @@ -30808,18 +45921,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0) - (f32.const -inf) + (call $std/math/test_signf + (f32.const 1) + (f32.const 1) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 2516) (i32.const 0) ) (unreachable) @@ -30827,18 +45940,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_signf + (f32.const 2) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 2517) (i32.const 0) ) (unreachable) @@ -30846,9 +45959,9 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 1) - (f32.const 0) + (call $std/math/test_signf + (f32.const -1) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -30857,7 +45970,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 2518) (i32.const 0) ) (unreachable) @@ -30865,18 +45978,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf + (f32.const -2) (f32.const -1) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 2519) (i32.const 0) ) (unreachable) @@ -30884,9 +45997,9 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const inf) + (call $std/math/test_signf (f32.const inf) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -30895,7 +46008,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 2520) (i32.const 0) ) (unreachable) @@ -30903,18 +46016,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf (f32.const -inf) - (f32.const nan:0x400000) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 2521) (i32.const 0) ) (unreachable) @@ -30922,7 +46035,7 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) @@ -30933,7 +46046,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 2522) (i32.const 0) ) (unreachable) @@ -30941,19 +46054,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -8.06684839057968) (f64.const 4.535662560676869) - (f64.const nan:0x8000000000000) + (f64.const 1.0044767307740567) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 2533) (i32.const 0) ) (unreachable) @@ -30961,19 +46074,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 4.345239849338305) (f64.const -8.88799136300345) - (f64.const 2.1347118825587285e-06) - (f64.const 0.3250160217285156) - (i32.const 1) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 2534) (i32.const 0) ) (unreachable) @@ -30981,19 +46094,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -8.38143342755525) (f64.const -2.763607337379588) - (f64.const nan:0x8000000000000) + (f64.const -0.09061141541648476) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 2535) (i32.const 0) ) (unreachable) @@ -31001,19 +46114,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -6.531673581913484) (f64.const 4.567535276842744) - (f64.const nan:0x8000000000000) + (f64.const -1.9641383050707404) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 2536) (i32.const 0) ) (unreachable) @@ -31021,19 +46134,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 9.267056966972586) (f64.const 4.811392084359796) - (f64.const 44909.29941512966) - (f64.const -0.26659080386161804) - (i32.const 1) + (f64.const -0.35572720174700656) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 2537) (i32.const 0) ) (unreachable) @@ -31041,19 +46154,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -6.450045556060236) (f64.const 0.6620717923376739) - (f64.const nan:0x8000000000000) + (f64.const 0.17067236731650248) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 2538) (i32.const 0) ) (unreachable) @@ -31061,19 +46174,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 7.858890253041697) (f64.const 0.05215452675006225) - (f64.const 1.1135177413458652) - (f64.const -0.37168607115745544) - (i32.const 1) + (f64.const -0.016443286217702822) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 2539) (i32.const 0) ) (unreachable) @@ -31081,19 +46194,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -0.792054511984896) (f64.const 7.67640268511754) - (f64.const nan:0x8000000000000) + (f64.const -0.792054511984896) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 2540) (i32.const 0) ) (unreachable) @@ -31101,19 +46214,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 0.615702673197924) (f64.const 2.0119025790324803) - (f64.const 0.37690773521380183) - (f64.const 0.32473301887512207) - (i32.const 1) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 2541) (i32.const 0) ) (unreachable) @@ -31121,19 +46234,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -0.5587586823609152) (f64.const 0.03223983060263804) - (f64.const nan:0x8000000000000) + (f64.const -0.0106815621160685) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1561) + (i32.const 2542) (i32.const 0) ) (unreachable) @@ -31141,10 +46254,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 0) + (f64.const 1) (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -31153,7 +46266,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 2545) (i32.const 0) ) (unreachable) @@ -31161,10 +46274,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const inf) - (f64.const 0) + (call $std/math/test_rem + (f64.const -0) + (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -31173,7 +46286,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 2546) (i32.const 0) ) (unreachable) @@ -31181,10 +46294,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 3) - (f64.const 0) + (call $std/math/test_rem + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -31193,7 +46306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 2547) (i32.const 0) ) (unreachable) @@ -31201,10 +46314,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 2) - (f64.const 0) + (call $std/math/test_rem + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -31213,7 +46326,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 2548) (i32.const 0) ) (unreachable) @@ -31221,8 +46334,8 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) + (call $std/math/test_rem + (f64.const 1) (f64.const 1) (f64.const 0) (f64.const 0) @@ -31233,7 +46346,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 2549) (i32.const 0) ) (unreachable) @@ -31241,10 +46354,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 0.5) - (f64.const 0) + (call $std/math/test_rem + (f64.const -1) + (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -31253,7 +46366,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 2550) (i32.const 0) ) (unreachable) @@ -31261,10 +46374,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 0) + (call $std/math/test_rem + (f64.const 1.5) (f64.const 1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -31273,7 +46386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 2551) (i32.const 0) ) (unreachable) @@ -31281,10 +46394,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -0) + (call $std/math/test_rem + (f64.const -1.5) (f64.const 1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -31293,7 +46406,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 2552) (i32.const 0) ) (unreachable) @@ -31301,19 +46414,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 2) + (f64.const 1) (f64.const 0) - (f64.const -0.5) - (f64.const inf) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1572) + (i32.const 2553) (i32.const 0) ) (unreachable) @@ -31321,19 +46434,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -1) - (f64.const inf) + (call $std/math/test_rem + (f64.const -2) + (f64.const 1) + (f64.const -0) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 2554) (i32.const 0) ) (unreachable) @@ -31341,19 +46454,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -2) + (call $std/math/test_rem (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 2555) (i32.const 0) ) (unreachable) @@ -31361,19 +46474,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -3) - (f64.const inf) + (call $std/math/test_rem + (f64.const -inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 2556) (i32.const 0) ) (unreachable) @@ -31381,19 +46494,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -4) - (f64.const inf) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 2557) (i32.const 0) ) (unreachable) @@ -31401,10 +46514,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 0) + (f64.const -1) (f64.const 0) - (f64.const -inf) - (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -31413,7 +46526,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 2558) (i32.const 0) ) (unreachable) @@ -31421,10 +46534,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -0) + (f64.const -1) (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -31433,7 +46546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 2559) (i32.const 0) ) (unreachable) @@ -31441,10 +46554,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const inf) - (f64.const 0) + (call $std/math/test_rem + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -31453,7 +46566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 2560) (i32.const 0) ) (unreachable) @@ -31461,10 +46574,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 3) - (f64.const -0) + (call $std/math/test_rem + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -31473,7 +46586,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 2561) (i32.const 0) ) (unreachable) @@ -31481,9 +46594,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 2) + (call $std/math/test_rem + (f64.const 1) + (f64.const -1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -31493,7 +46606,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 2562) (i32.const 0) ) (unreachable) @@ -31501,9 +46614,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -1) + (f64.const -1) (f64.const -0) (f64.const 0) (i32.const 0) @@ -31513,7 +46626,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 2563) (i32.const 0) ) (unreachable) @@ -31521,10 +46634,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 0.5) - (f64.const 0) + (call $std/math/test_rem + (f64.const 1.5) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -31533,7 +46646,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 2564) (i32.const 0) ) (unreachable) @@ -31541,10 +46654,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -1.5) + (f64.const -1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -31553,7 +46666,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 2565) (i32.const 0) ) (unreachable) @@ -31561,10 +46674,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const 2) + (f64.const -1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -31573,7 +46686,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 2566) (i32.const 0) ) (unreachable) @@ -31581,19 +46694,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -2) + (f64.const -1) (f64.const -0) - (f64.const -0.5) - (f64.const inf) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 2567) (i32.const 0) ) (unreachable) @@ -31601,19 +46714,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) + (call $std/math/test_rem + (f64.const inf) (f64.const -1) - (f64.const -inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 2568) (i32.const 0) ) (unreachable) @@ -31621,19 +46734,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -2) - (f64.const inf) + (call $std/math/test_rem + (f64.const -inf) + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 2569) (i32.const 0) ) (unreachable) @@ -31641,19 +46754,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -3) - (f64.const -inf) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1589) + (i32.const 2570) (i32.const 0) ) (unreachable) @@ -31661,19 +46774,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -4) - (f64.const inf) + (call $std/math/test_rem (f64.const 0) - (i32.const 4) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1590) + (i32.const 2571) (i32.const 0) ) (unreachable) @@ -31681,19 +46794,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 0) (f64.const -0) - (f64.const -inf) - (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1591) + (i32.const 2572) (i32.const 0) ) (unreachable) @@ -31701,10 +46814,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const 0) + (f64.const inf) (f64.const 0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -31713,7 +46826,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1592) + (i32.const 2573) (i32.const 0) ) (unreachable) @@ -31721,10 +46834,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) + (call $std/math/test_rem + (f64.const 0) + (f64.const -inf) (f64.const 0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -31733,7 +46846,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1593) + (i32.const 2574) (i32.const 0) ) (unreachable) @@ -31741,10 +46854,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) + (call $std/math/test_rem (f64.const 0) - (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -31753,7 +46866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1594) + (i32.const 2575) (i32.const 0) ) (unreachable) @@ -31761,19 +46874,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem + (f64.const -0) (f64.const 0) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1595) + (i32.const 2576) (i32.const 0) ) (unreachable) @@ -31781,19 +46894,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const 0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1596) + (i32.const 2577) (i32.const 0) ) (unreachable) @@ -31801,10 +46914,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -0) + (f64.const inf) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -31813,7 +46926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1597) + (i32.const 2578) (i32.const 0) ) (unreachable) @@ -31821,10 +46934,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -0) + (f64.const -inf) (f64.const -0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -31833,7 +46946,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1598) + (i32.const 2579) (i32.const 0) ) (unreachable) @@ -31841,10 +46954,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) + (call $std/math/test_rem (f64.const -0) - (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -31853,7 +46966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1599) + (i32.const 2580) (i32.const 0) ) (unreachable) @@ -31861,19 +46974,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const -0) + (call $std/math/test_rem (f64.const 1) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1600) + (i32.const 2581) (i32.const 0) ) (unreachable) @@ -31881,19 +46994,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -1) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1601) + (i32.const 2582) (i32.const 0) ) (unreachable) @@ -31901,19 +47014,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const inf) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1602) + (i32.const 2583) (i32.const 0) ) (unreachable) @@ -31921,19 +47034,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -inf) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1603) + (i32.const 2584) (i32.const 0) ) (unreachable) @@ -31941,9 +47054,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) + (call $std/math/test_rem (f64.const nan:0x8000000000000) + (f64.const 0) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) @@ -31953,7 +47066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1604) + (i32.const 2585) (i32.const 0) ) (unreachable) @@ -31961,19 +47074,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -1) - (f64.const inf) + (f64.const -0) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1605) + (i32.const 2586) (i32.const 0) ) (unreachable) @@ -31981,19 +47094,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -inf) + (call $std/math/test_rem + (f64.const inf) + (f64.const -0) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1606) + (i32.const 2587) (i32.const 0) ) (unreachable) @@ -32001,19 +47114,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const 2) - (f64.const 1) + (call $std/math/test_rem + (f64.const -inf) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1607) + (i32.const 2588) (i32.const 0) ) (unreachable) @@ -32021,10 +47134,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -1) - (f64.const -1) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32033,7 +47146,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1608) + (i32.const 2589) (i32.const 0) ) (unreachable) @@ -32041,19 +47154,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -2) - (f64.const 1) + (call $std/math/test_rem + (f64.const inf) + (f64.const 2) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1609) + (i32.const 2590) (i32.const 0) ) (unreachable) @@ -32061,19 +47174,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -3) - (f64.const -1) + (call $std/math/test_rem + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1610) + (i32.const 2591) (i32.const 0) ) (unreachable) @@ -32081,19 +47194,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_rem + (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1611) + (i32.const 2592) (i32.const 0) ) (unreachable) @@ -32101,19 +47214,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -inf) + (f64.const 2) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1612) + (i32.const 2593) (i32.const 0) ) (unreachable) @@ -32121,19 +47234,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const inf) + (call $std/math/test_rem + (f64.const -inf) + (f64.const -0.5) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1613) + (i32.const 2594) (i32.const 0) ) (unreachable) @@ -32141,10 +47254,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem (f64.const -inf) (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32153,7 +47266,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1614) + (i32.const 2595) (i32.const 0) ) (unreachable) @@ -32161,10 +47274,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const 3) - (f64.const 1) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32173,7 +47286,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1615) + (i32.const 2596) (i32.const 0) ) (unreachable) @@ -32181,10 +47294,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const 0.5) + (call $std/math/test_rem (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32193,7 +47306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1616) + (i32.const 2597) (i32.const 0) ) (unreachable) @@ -32201,10 +47314,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const -0.5) - (f64.const 1) + (call $std/math/test_rem + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32213,7 +47326,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1617) + (i32.const 2598) (i32.const 0) ) (unreachable) @@ -32221,9 +47334,9 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 1) - (f64.const -3) + (f64.const inf) (f64.const 1) (f64.const 0) (i32.const 0) @@ -32233,7 +47346,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1618) + (i32.const 2599) (i32.const 0) ) (unreachable) @@ -32241,19 +47354,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0.5) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -1) + (f64.const inf) + (f64.const -1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1619) + (i32.const 2600) (i32.const 0) ) (unreachable) @@ -32261,9 +47374,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 1.5) + (call $std/math/test_rem + (f64.const inf) + (f64.const inf) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -32273,7 +47386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1620) + (i32.const 2601) (i32.const 0) ) (unreachable) @@ -32281,19 +47394,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 2) - (f64.const 0.25) + (call $std/math/test_rem + (f64.const -inf) + (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1621) + (i32.const 2602) (i32.const 0) ) (unreachable) @@ -32301,10 +47414,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 3) - (f64.const -0.125) + (call $std/math/test_rem + (f64.const 1) + (f64.const -inf) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -32313,7 +47426,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1622) + (i32.const 2603) (i32.const 0) ) (unreachable) @@ -32321,10 +47434,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const inf) - (f64.const 0) + (call $std/math/test_rem + (f64.const -1) + (f64.const -inf) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -32333,7 +47446,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1623) + (i32.const 2604) (i32.const 0) ) (unreachable) @@ -32341,19 +47454,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -inf) + (call $std/math/test_rem (f64.const inf) + (f64.const -inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1624) + (i32.const 2605) (i32.const 0) ) (unreachable) @@ -32361,19 +47474,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -inf) + (f64.const -inf) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1625) + (i32.const 2606) (i32.const 0) ) (unreachable) @@ -32381,10 +47494,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 1.75) (f64.const 0.5) - (f64.const inf) - (f64.const 0) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -32393,7 +47506,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1626) + (i32.const 2607) (i32.const 0) ) (unreachable) @@ -32401,10 +47514,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -1.75) (f64.const 0.5) - (f64.const -inf) - (f64.const inf) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -32413,7 +47526,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1627) + (i32.const 2608) (i32.const 0) ) (unreachable) @@ -32421,10 +47534,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const 1.75) + (f64.const -0.5) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -32433,7 +47546,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1628) + (i32.const 2609) (i32.const 0) ) (unreachable) @@ -32441,10 +47554,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.const inf) - (f64.const inf) + (call $std/math/test_rem + (f64.const -1.75) + (f64.const -0.5) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -32453,7 +47566,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1629) + (i32.const 2610) (i32.const 0) ) (unreachable) @@ -32461,10 +47574,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.const -inf) - (f64.const 0) + (call $std/math/test_rem + (f64.const 8e-323) + (f64.const inf) + (f64.const 8e-323) (f64.const 0) (i32.const 0) ) @@ -32473,7 +47586,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1630) + (i32.const 2611) (i32.const 0) ) (unreachable) @@ -32481,11 +47594,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 1.004476547241211) + (f32.const 0) (i32.const 0) ) ) @@ -32493,7 +47606,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1631) + (i32.const 2620) (i32.const 0) ) (unreachable) @@ -32501,11 +47614,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) (i32.const 0) ) ) @@ -32513,7 +47626,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1632) + (i32.const 2621) (i32.const 0) ) (unreachable) @@ -32521,11 +47634,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) (i32.const 0) ) ) @@ -32533,7 +47646,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1633) + (i32.const 2622) (i32.const 0) ) (unreachable) @@ -32541,11 +47654,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -inf) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) (i32.const 0) ) ) @@ -32553,7 +47666,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1634) + (i32.const 2623) (i32.const 0) ) (unreachable) @@ -32561,11 +47674,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 3) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const -0.3557271957397461) + (f32.const 0) (i32.const 0) ) ) @@ -32573,7 +47686,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1635) + (i32.const 2624) (i32.const 0) ) (unreachable) @@ -32581,11 +47694,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 0.17067205905914307) + (f32.const 0) (i32.const 0) ) ) @@ -32593,7 +47706,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1636) + (i32.const 2625) (i32.const 0) ) (unreachable) @@ -32601,11 +47714,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 1) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const -0.016443386673927307) + (f32.const 0) (i32.const 0) ) ) @@ -32613,7 +47726,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1637) + (i32.const 2626) (i32.const 0) ) (unreachable) @@ -32621,11 +47734,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) (i32.const 0) ) ) @@ -32633,7 +47746,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1638) + (i32.const 2627) (i32.const 0) ) (unreachable) @@ -32641,11 +47754,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) (i32.const 0) ) ) @@ -32653,7 +47766,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1639) + (i32.const 2628) (i32.const 0) ) (unreachable) @@ -32661,11 +47774,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) (i32.const 0) ) ) @@ -32673,7 +47786,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1640) + (i32.const 2629) (i32.const 0) ) (unreachable) @@ -32681,11 +47794,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -32693,7 +47806,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1641) + (i32.const 2632) (i32.const 0) ) (unreachable) @@ -32701,11 +47814,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -32713,7 +47826,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1642) + (i32.const 2633) (i32.const 0) ) (unreachable) @@ -32721,11 +47834,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -32733,7 +47846,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1643) + (i32.const 2634) (i32.const 0) ) (unreachable) @@ -32741,11 +47854,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const -inf) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -32753,7 +47866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1644) + (i32.const 2635) (i32.const 0) ) (unreachable) @@ -32761,11 +47874,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const 3) - (f64.const -inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -32773,7 +47886,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1645) + (i32.const 2636) (i32.const 0) ) (unreachable) @@ -32781,11 +47894,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -32793,7 +47906,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1646) + (i32.const 2637) (i32.const 0) ) (unreachable) @@ -32801,11 +47914,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const 1) - (f64.const -inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -32813,7 +47926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1647) + (i32.const 2638) (i32.const 0) ) (unreachable) @@ -32821,11 +47934,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -32833,7 +47946,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1648) + (i32.const 2639) (i32.const 0) ) (unreachable) @@ -32841,11 +47954,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -32853,7 +47966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1649) + (i32.const 2640) (i32.const 0) ) (unreachable) @@ -32861,11 +47974,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const -1) - (f64.const -0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -32873,7 +47986,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1650) + (i32.const 2641) (i32.const 0) ) (unreachable) @@ -32881,19 +47994,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_remf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1651) + (i32.const 2642) (i32.const 0) ) (unreachable) @@ -32901,19 +48014,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_remf + (f32.const -inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1652) + (i32.const 2643) (i32.const 0) ) (unreachable) @@ -32921,11 +48034,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -32933,7 +48046,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1653) + (i32.const 2644) (i32.const 0) ) (unreachable) @@ -32941,11 +48054,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -2) - (f64.const 1) - (f64.const -2) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -32953,7 +48066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1654) + (i32.const 2645) (i32.const 0) ) (unreachable) @@ -32961,11 +48074,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -2) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -32973,7 +48086,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1655) + (i32.const 2646) (i32.const 0) ) (unreachable) @@ -32981,19 +48094,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1664) + (i32.const 2647) (i32.const 0) ) (unreachable) @@ -33001,19 +48114,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 2.134714122803416e-06) - (f32.const 0.1436440795660019) - (i32.const 1) + (call $std/math/test_remf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1665) + (i32.const 2648) (i32.const 0) ) (unreachable) @@ -33021,19 +48134,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const 1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 2649) (i32.const 0) ) (unreachable) @@ -33041,19 +48154,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 2650) (i32.const 0) ) (unreachable) @@ -33061,19 +48174,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 44909.33203125) - (f32.const -0.05356409028172493) - (i32.const 1) + (call $std/math/test_remf + (f32.const 1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 2651) (i32.const 0) ) (unreachable) @@ -33081,19 +48194,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 2652) (i32.const 0) ) (unreachable) @@ -33101,19 +48214,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 1.1135177612304688) - (f32.const 0.19122089445590973) - (i32.const 1) + (call $std/math/test_remf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 2653) (i32.const 0) ) (unreachable) @@ -33121,19 +48234,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -2) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 2654) (i32.const 0) ) (unreachable) @@ -33141,19 +48254,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.3769077658653259) - (f32.const 0.337149053812027) - (i32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 2655) (i32.const 0) ) (unreachable) @@ -33161,9 +48274,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) + (call $std/math/test_remf + (f32.const -inf) + (f32.const -1) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -33173,7 +48286,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 2656) (i32.const 0) ) (unreachable) @@ -33181,9 +48294,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) + (call $std/math/test_remf (f32.const nan:0x400000) + (f32.const -1) (f32.const nan:0x400000) (f32.const 0) (i32.const 0) @@ -33193,7 +48306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1676) + (i32.const 2657) (i32.const 0) ) (unreachable) @@ -33201,19 +48314,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const inf) (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1677) + (i32.const 2658) (i32.const 0) ) (unreachable) @@ -33221,19 +48334,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const 3) + (call $std/math/test_remf (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 2659) (i32.const 0) ) (unreachable) @@ -33241,9 +48354,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const 2) + (f32.const inf) (f32.const 0) (f32.const 0) (i32.const 0) @@ -33253,7 +48366,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 2660) (i32.const 0) ) (unreachable) @@ -33261,9 +48374,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const 1) + (f32.const -inf) (f32.const 0) (f32.const 0) (i32.const 0) @@ -33273,7 +48386,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 2661) (i32.const 0) ) (unreachable) @@ -33281,10 +48394,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const 0.5) + (call $std/math/test_remf (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -33293,7 +48406,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 2662) (i32.const 0) ) (unreachable) @@ -33301,19 +48414,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) + (call $std/math/test_remf + (f32.const -0) (f32.const 0) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1682) + (i32.const 2663) (i32.const 0) ) (unreachable) @@ -33321,19 +48434,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) + (call $std/math/test_remf (f32.const -0) - (f32.const 1) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1683) + (i32.const 2664) (i32.const 0) ) (unreachable) @@ -33341,19 +48454,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -0.5) + (call $std/math/test_remf + (f32.const -0) (f32.const inf) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1684) + (i32.const 2665) (i32.const 0) ) (unreachable) @@ -33361,19 +48474,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -1) - (f32.const inf) + (call $std/math/test_remf + (f32.const -0) + (f32.const -inf) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1685) + (i32.const 2666) (i32.const 0) ) (unreachable) @@ -33381,19 +48494,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -2) - (f32.const inf) + (call $std/math/test_remf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1686) + (i32.const 2667) (i32.const 0) ) (unreachable) @@ -33401,19 +48514,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const 1) (f32.const 0) - (f32.const -3) - (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1687) + (i32.const 2668) (i32.const 0) ) (unreachable) @@ -33421,19 +48534,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const -1) (f32.const 0) - (f32.const -4) - (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1688) + (i32.const 2669) (i32.const 0) ) (unreachable) @@ -33441,19 +48554,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -inf) + (call $std/math/test_remf (f32.const inf) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1689) + (i32.const 2670) (i32.const 0) ) (unreachable) @@ -33461,19 +48574,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -inf) + (f32.const 0) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1690) + (i32.const 2671) (i32.const 0) ) (unreachable) @@ -33481,10 +48594,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const inf) + (call $std/math/test_remf + (f32.const nan:0x400000) (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -33493,7 +48606,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 2672) (i32.const 0) ) (unreachable) @@ -33501,19 +48614,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 3) + (call $std/math/test_remf + (f32.const -1) (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 2673) (i32.const 0) ) (unreachable) @@ -33521,19 +48634,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const inf) (f32.const -0) - (f32.const 2) - (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 2674) (i32.const 0) ) (unreachable) @@ -33541,19 +48654,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -inf) (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 2675) (i32.const 0) ) (unreachable) @@ -33561,10 +48674,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const nan:0x400000) (f32.const -0) - (f32.const 0.5) - (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -33573,7 +48686,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 2676) (i32.const 0) ) (unreachable) @@ -33581,19 +48694,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 2677) (i32.const 0) ) (unreachable) @@ -33601,19 +48714,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 2678) (i32.const 0) ) (unreachable) @@ -33621,19 +48734,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -0.5) + (call $std/math/test_remf (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 2679) (i32.const 0) ) (unreachable) @@ -33641,19 +48754,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -1) + (call $std/math/test_remf (f32.const -inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 2680) (i32.const 0) ) (unreachable) @@ -33661,19 +48774,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -2) - (f32.const inf) + (call $std/math/test_remf + (f32.const -inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1700) + (i32.const 2681) (i32.const 0) ) (unreachable) @@ -33681,19 +48794,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -3) + (call $std/math/test_remf (f32.const -inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1701) + (i32.const 2682) (i32.const 0) ) (unreachable) @@ -33701,19 +48814,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -4) - (f32.const inf) + (call $std/math/test_remf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1702) + (i32.const 2683) (i32.const 0) ) (unreachable) @@ -33721,10 +48834,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -inf) - (f32.const inf) + (call $std/math/test_remf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -33733,7 +48846,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 2684) (i32.const 0) ) (unreachable) @@ -33741,10 +48854,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const -1) + (f32.const nan:0x400000) (f32.const nan:0x400000) - (f32.const 0) - (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -33753,7 +48866,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 2685) (i32.const 0) ) (unreachable) @@ -33761,9 +48874,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const 1) (f32.const inf) - (f32.const 0) (f32.const 1) (f32.const 0) (i32.const 0) @@ -33773,7 +48886,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 2686) (i32.const 0) ) (unreachable) @@ -33781,10 +48894,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -1) + (f32.const inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -33793,7 +48906,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 2687) (i32.const 0) ) (unreachable) @@ -33801,19 +48914,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1707) + (i32.const 2688) (i32.const 0) ) (unreachable) @@ -33821,19 +48934,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1708) + (i32.const 2689) (i32.const 0) ) (unreachable) @@ -33841,9 +48954,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0) + (call $std/math/test_remf + (f32.const 1) + (f32.const -inf) (f32.const 1) (f32.const 0) (i32.const 0) @@ -33853,7 +48966,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1709) + (i32.const 2690) (i32.const 0) ) (unreachable) @@ -33861,10 +48974,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -1) + (f32.const -inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -33873,7 +48986,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1710) + (i32.const 2691) (i32.const 0) ) (unreachable) @@ -33881,19 +48994,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const inf) - (f32.const -0) - (f32.const 1) + (f32.const -inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1711) + (i32.const 2692) (i32.const 0) ) (unreachable) @@ -33901,19 +49014,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const -inf) - (f32.const -0) - (f32.const 1) + (f32.const -inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1712) + (i32.const 2693) (i32.const 0) ) (unreachable) @@ -33921,10 +49034,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const 1.75) + (f32.const 0.5) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -33933,7 +49046,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1713) + (i32.const 2694) (i32.const 0) ) (unreachable) @@ -33941,10 +49054,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -1.75) + (f32.const 0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -33953,7 +49066,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1714) + (i32.const 2695) (i32.const 0) ) (unreachable) @@ -33961,10 +49074,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const 1.75) (f32.const -0.5) - (f32.const -0) - (f32.const 1) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -33973,7 +49086,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1715) + (i32.const 2696) (i32.const 0) ) (unreachable) @@ -33981,10 +49094,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1.75) + (f32.const -0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -33993,7 +49106,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1716) + (i32.const 2697) (i32.const 0) ) (unreachable) @@ -34001,10 +49114,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) + (call $std/math/test_remf + (f32.const 5.877471754111438e-39) (f32.const inf) - (f32.const nan:0x400000) + (f32.const 5.877471754111438e-39) (f32.const 0) (i32.const 0) ) @@ -34013,7 +49126,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 2698) (i32.const 0) ) (unreachable) @@ -34021,19 +49134,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -8.06684839057968) + (f64.const -1593.5206801156262) + (f64.const -0.2138727605342865) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 2763) (i32.const 0) ) (unreachable) @@ -34041,19 +49153,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const 2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 4.345239849338305) + (f64.const 38.54878088685412) + (f64.const 0.21537430584430695) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 2764) (i32.const 0) ) (unreachable) @@ -34061,19 +49172,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -8.38143342755525) + (f64.const -2182.6307505145546) + (f64.const 0.16213826835155487) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 2765) (i32.const 0) ) (unreachable) @@ -34081,19 +49191,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -6.531673581913484) + (f64.const -343.2723926847529) + (f64.const 0.20479513704776764) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 2766) (i32.const 0) ) (unreachable) @@ -34101,19 +49210,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -3) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 9.267056966972586) + (f64.const 5291.7790755194055) + (f64.const -0.48676517605781555) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 2767) (i32.const 0) ) (unreachable) @@ -34121,19 +49229,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinh + (f64.const 0.6619858980995045) + (f64.const 0.7114062568229157) + (f64.const -0.4584641456604004) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 2768) (i32.const 0) ) (unreachable) @@ -34141,19 +49248,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -0.4066039223853553) + (f64.const -0.41790065258739445) + (f64.const 0.37220045924186707) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 2769) (i32.const 0) ) (unreachable) @@ -34161,19 +49267,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 0.5617597462207241) + (f64.const 0.5917755935451237) + (f64.const 0.46178996562957764) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 2770) (i32.const 0) ) (unreachable) @@ -34181,19 +49286,37 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_sinh + (f64.const 0.7741522965913037) + (f64.const 0.8538292008852542) + (f64.const -0.07019051909446716) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2771) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_sinh + (f64.const -0.6787637026394024) + (f64.const -0.732097615653169) + (f64.const 0.26858529448509216) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1726) + (i32.const 2772) (i32.const 0) ) (unreachable) @@ -34201,11 +49324,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const 3) - (f32.const 1) - (f32.const 0) + (call $std/math/test_sinh + (f64.const 0) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -34213,7 +49335,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1727) + (i32.const 2775) (i32.const 0) ) (unreachable) @@ -34221,11 +49343,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const 0.5) - (f32.const 1) - (f32.const 0) + (call $std/math/test_sinh + (f64.const -0) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -34233,7 +49354,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1728) + (i32.const 2776) (i32.const 0) ) (unreachable) @@ -34241,11 +49362,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -0.5) - (f32.const 1) - (f32.const 0) + (call $std/math/test_sinh + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -34253,7 +49373,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 2777) (i32.const 0) ) (unreachable) @@ -34261,11 +49381,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -3) - (f32.const 1) - (f32.const 0) + (call $std/math/test_sinh + (f64.const -inf) + (f64.const -inf) + (f64.const 0) (i32.const 0) ) ) @@ -34273,7 +49392,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 2778) (i32.const 0) ) (unreachable) @@ -34281,19 +49400,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 2779) (i32.const 0) ) (unreachable) @@ -34301,19 +49419,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinhf + (f32.const -8.066848754882812) + (f32.const -1593.521240234375) + (f32.const 0.1671663224697113) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 2788) (i32.const 0) ) (unreachable) @@ -34321,19 +49438,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 2) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 4.345239639282227) + (f32.const 38.548770904541016) + (f32.const -0.49340328574180603) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 2789) (i32.const 0) ) (unreachable) @@ -34341,19 +49457,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 3) - (f32.const -0.125) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -8.381433486938477) + (f32.const -2182.630859375) + (f32.const 0.0849970355629921) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 2790) (i32.const 0) ) (unreachable) @@ -34361,19 +49476,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -6.531673431396484) + (f32.const -343.2723388671875) + (f32.const 0.0704190656542778) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 2791) (i32.const 0) ) (unreachable) @@ -34381,19 +49495,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 9.267057418823242) + (f32.const 5291.78125) + (f32.const -0.44362515211105347) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 2792) (i32.const 0) ) (unreachable) @@ -34401,19 +49514,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.6619858741760254) + (f32.const 0.7114062309265137) + (f32.const 0.058103885501623154) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 2793) (i32.const 0) ) (unreachable) @@ -34421,19 +49533,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -0.40660393238067627) + (f32.const -0.4179006516933441) + (f32.const 0.39349499344825745) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 2794) (i32.const 0) ) (unreachable) @@ -34441,19 +49552,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.const -inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.5617597699165344) + (f32.const 0.5917755961418152) + (f32.const -0.4183797240257263) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 2795) (i32.const 0) ) (unreachable) @@ -34461,19 +49571,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.7741522789001465) + (f32.const 0.8538292050361633) + (f32.const 0.45992106199264526) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 2796) (i32.const 0) ) (unreachable) @@ -34481,19 +49590,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -0.6787636876106262) + (f32.const -0.7320976257324219) + (f32.const -0.48159059882164) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 2797) (i32.const 0) ) (unreachable) @@ -34501,9 +49609,8 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.const -inf) + (call $std/math/test_sinhf + (f32.const 0) (f32.const 0) (f32.const 0) (i32.const 0) @@ -34513,7 +49620,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 2800) (i32.const 0) ) (unreachable) @@ -34521,10 +49628,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_sinhf + (f32.const -0) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -34533,7 +49639,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 2801) (i32.const 0) ) (unreachable) @@ -34541,10 +49647,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_sinhf + (f32.const inf) (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -34553,7 +49658,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 2802) (i32.const 0) ) (unreachable) @@ -34561,10 +49666,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const inf) - (f32.const inf) + (call $std/math/test_sinhf + (f32.const -inf) + (f32.const -inf) (f32.const 0) (i32.const 0) ) @@ -34573,7 +49677,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 2803) (i32.const 0) ) (unreachable) @@ -34581,10 +49685,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -inf) - (f32.const 0) + (call $std/math/test_sinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -34593,7 +49696,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 2804) (i32.const 0) ) (unreachable) @@ -34601,19 +49704,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 3) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 2816) (i32.const 0) ) (unreachable) @@ -34621,19 +49723,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 4.345239849338305) + (f64.const 2.0845238903256313) + (f64.const -0.07180261611938477) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 2817) (i32.const 0) ) (unreachable) @@ -34641,19 +49742,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 1) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 2818) (i32.const 0) ) (unreachable) @@ -34661,19 +49761,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 2819) (i32.const 0) ) (unreachable) @@ -34681,19 +49780,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 9.267056966972586) + (f64.const 3.0441841217266385) + (f64.const -0.01546262577176094) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 2820) (i32.const 0) ) (unreachable) @@ -34701,19 +49799,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.6619858980995045) + (f64.const 0.8136251582267503) + (f64.const -0.08618157356977463) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 2821) (i32.const 0) ) (unreachable) @@ -34721,19 +49818,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 2822) (i32.const 0) ) (unreachable) @@ -34741,19 +49837,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.5617597462207241) + (f64.const 0.7495063350104014) + (f64.const -0.0981396734714508) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 2823) (i32.const 0) ) (unreachable) @@ -34761,19 +49856,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.7741522965913037) + (f64.const 0.879859248170583) + (f64.const -0.37124353647232056) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 2824) (i32.const 0) ) (unreachable) @@ -34781,19 +49875,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const -inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 2825) (i32.const 0) ) (unreachable) @@ -34801,11 +49894,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const 3) - (f32.const -inf) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -34813,7 +49905,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 2828) (i32.const 0) ) (unreachable) @@ -34821,11 +49913,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -34833,7 +49924,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 2829) (i32.const 0) ) (unreachable) @@ -34841,19 +49932,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const 1) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 2830) (i32.const 0) ) (unreachable) @@ -34861,11 +49951,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 0) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -34873,7 +49962,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 2831) (i32.const 0) ) (unreachable) @@ -34881,11 +49970,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const -0) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -34893,7 +49981,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 2832) (i32.const 0) ) (unreachable) @@ -34901,11 +49989,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const -1) - (f32.const -0) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 1) + (f64.const 1) + (f64.const 0) (i32.const 0) ) ) @@ -34913,7 +50000,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 2833) (i32.const 0) ) (unreachable) @@ -34921,19 +50008,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 2834) (i32.const 0) ) (unreachable) @@ -34941,11 +50027,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 4) + (f64.const 2) + (f64.const 0) (i32.const 0) ) ) @@ -34953,7 +50038,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 2835) (i32.const 0) ) (unreachable) @@ -34961,19 +50046,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1e-323) + (f64.const 3.1434555694052576e-162) + (f64.const 0.43537619709968567) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 2836) (i32.const 0) ) (unreachable) @@ -34981,19 +50065,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -2) - (f32.const 1) - (f32.const -2) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1.5e-323) + (f64.const 3.849931087076416e-162) + (f64.const -0.45194002985954285) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 2837) (i32.const 0) ) (unreachable) @@ -35001,11 +50084,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -2) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 5e-324) + (f64.const 2.2227587494850775e-162) + (f64.const 0) (i32.const 0) ) ) @@ -35013,81 +50095,26 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 2838) (i32.const 0) ) (unreachable) ) ) - (call "$(lib)/math/NativeMath.seedRandom" - (i64.reinterpret/f64 - (call "$(lib)/math/JSMath.random") - ) - ) - (loop $continue|0 - (if - (f64.lt - (f64.convert_s/i32 - (get_local $0) - ) - (f64.const 1e7) - ) - (block - (if - (i32.eqz - (i32.and - (if (result i32) - (tee_local $2 - (f64.ge - (tee_local $1 - (call "$(lib)/math/NativeMath.random") - ) - (f64.const 0) - ) - ) - (f64.lt - (get_local $1) - (f64.const 1) - ) - (get_local $2) - ) - (i32.const 1) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1774) - (i32.const 2) - ) - (unreachable) - ) - ) - (set_local $0 - (i32.add - (get_local $0) - (i32.const 1) - ) - ) - (br $continue|0) - ) - ) - ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -8.06684839057968) - (f64.const -1593.5206801156262) - (f64.const -0.2138727605342865) - (i32.const 1) + (call $std/math/test_sqrt + (f64.const -5e-324) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1844) + (i32.const 2839) (i32.const 0) ) (unreachable) @@ -35095,10 +50122,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 4.345239849338305) - (f64.const 38.54878088685412) - (f64.const 0.21537430584430695) + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) (i32.const 1) ) ) @@ -35106,7 +50133,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1845) + (i32.const 2840) (i32.const 0) ) (unreachable) @@ -35114,10 +50141,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -8.38143342755525) - (f64.const -2182.6307505145546) - (f64.const 0.16213826835155487) + (call $std/math/test_sqrt + (f64.const 1.9999999999999998) + (f64.const 1.414213562373095) + (f64.const -0.21107041835784912) (i32.const 1) ) ) @@ -35125,7 +50152,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1846) + (i32.const 2841) (i32.const 0) ) (unreachable) @@ -35133,10 +50160,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -6.531673581913484) - (f64.const -343.2723926847529) - (f64.const 0.20479513704776764) + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) (i32.const 1) ) ) @@ -35144,7 +50171,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1847) + (i32.const 2842) (i32.const 0) ) (unreachable) @@ -35152,10 +50179,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 9.267056966972586) - (f64.const 5291.7790755194055) - (f64.const -0.48676517605781555) + (call $std/math/test_sqrt + (f64.const 2.0000000000000004) + (f64.const 1.4142135623730951) + (f64.const -0.27173060178756714) (i32.const 1) ) ) @@ -35163,7 +50190,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1848) + (i32.const 2843) (i32.const 0) ) (unreachable) @@ -35171,10 +50198,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.6619858980995045) - (f64.const 0.7114062568229157) - (f64.const -0.4584641456604004) + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) (i32.const 1) ) ) @@ -35182,7 +50209,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1849) + (i32.const 2844) (i32.const 0) ) (unreachable) @@ -35190,10 +50217,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0.4066039223853553) - (f64.const -0.41790065258739445) - (f64.const 0.37220045924186707) + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) (i32.const 1) ) ) @@ -35201,7 +50228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1850) + (i32.const 2845) (i32.const 0) ) (unreachable) @@ -35209,18 +50236,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.5617597462207241) - (f64.const 0.5917755935451237) - (f64.const 0.46178996562957764) - (i32.const 1) + (call $std/math/test_sqrt + (f64.const -1797693134862315708145274e284) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1851) + (i32.const 2846) (i32.const 0) ) (unreachable) @@ -35228,10 +50255,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.7741522965913037) - (f64.const 0.8538292008852542) - (f64.const -0.07019051909446716) + (call $std/math/test_sqrt + (f64.const 1797693134862315708145274e284) + (f64.const 1340780792994259561100831e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -35239,7 +50266,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1852) + (i32.const 2847) (i32.const 0) ) (unreachable) @@ -35247,10 +50274,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0.6787637026394024) - (f64.const -0.732097615653169) - (f64.const 0.26858529448509216) + (call $std/math/test_sqrt + (f64.const 179769313486231490980915e285) + (f64.const 134078079299425926338769e131) + (f64.const -0.5) (i32.const 1) ) ) @@ -35258,7 +50285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1853) + (i32.const 2848) (i32.const 0) ) (unreachable) @@ -35266,18 +50293,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862314111473026e284) + (f64.const 1340780792994258965674548e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1856) + (i32.const 2849) (i32.const 0) ) (unreachable) @@ -35285,18 +50312,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862313313136902e284) + (f64.const 1340780792994258667961407e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1857) + (i32.const 2850) (i32.const 0) ) (unreachable) @@ -35304,18 +50331,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862312514800778e284) + (f64.const 1340780792994258370248265e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1858) + (i32.const 2851) (i32.const 0) ) (unreachable) @@ -35323,18 +50350,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -inf) - (f64.const -inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862311716464655e284) + (f64.const 1340780792994258072535124e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1859) + (i32.const 2852) (i32.const 0) ) (unreachable) @@ -35342,18 +50369,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862310918128531e284) + (f64.const 1340780792994257774821982e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1860) + (i32.const 2853) (i32.const 0) ) (unreachable) @@ -35361,10 +50388,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -8.066848754882812) - (f32.const -1593.521240234375) - (f32.const 0.1671663224697113) + (call $std/math/test_sqrt + (f64.const 1797693134862310119792407e284) + (f64.const 1340780792994257477108841e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -35372,7 +50399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1869) + (i32.const 2854) (i32.const 0) ) (unreachable) @@ -35380,10 +50407,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 4.345239639282227) - (f32.const 38.548770904541016) - (f32.const -0.49340328574180603) + (call $std/math/test_sqrt + (f64.const 1797693134862309321456283e284) + (f64.const 1340780792994257179395699e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -35391,7 +50418,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1870) + (i32.const 2855) (i32.const 0) ) (unreachable) @@ -35399,10 +50426,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -8.381433486938477) - (f32.const -2182.630859375) - (f32.const 0.0849970355629921) + (call $std/math/test_sqrt + (f64.const 1797693134862308523120159e284) + (f64.const 1340780792994256881682558e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -35410,7 +50437,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1871) + (i32.const 2856) (i32.const 0) ) (unreachable) @@ -35418,10 +50445,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -6.531673431396484) - (f32.const -343.2723388671875) - (f32.const 0.0704190656542778) + (call $std/math/test_sqrt + (f64.const 1797693134862307724784036e284) + (f64.const 1340780792994256583969417e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -35429,7 +50456,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1872) + (i32.const 2857) (i32.const 0) ) (unreachable) @@ -35437,10 +50464,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 9.267057418823242) - (f32.const 5291.78125) - (f32.const -0.44362515211105347) + (call $std/math/test_sqrt + (f64.const 2.225073858507203e-308) + (f64.const 1.4916681462400417e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35448,7 +50475,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1873) + (i32.const 2858) (i32.const 0) ) (unreachable) @@ -35456,10 +50483,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.6619858741760254) - (f32.const 0.7114062309265137) - (f32.const 0.058103885501623154) + (call $std/math/test_sqrt + (f64.const 2.225073858507205e-308) + (f64.const 1.4916681462400423e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35467,7 +50494,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1874) + (i32.const 2859) (i32.const 0) ) (unreachable) @@ -35475,10 +50502,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0.40660393238067627) - (f32.const -0.4179006516933441) - (f32.const 0.39349499344825745) + (call $std/math/test_sqrt + (f64.const 2.225073858507207e-308) + (f64.const 1.491668146240043e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35486,7 +50513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1875) + (i32.const 2860) (i32.const 0) ) (unreachable) @@ -35494,10 +50521,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.5617597699165344) - (f32.const 0.5917755961418152) - (f32.const -0.4183797240257263) + (call $std/math/test_sqrt + (f64.const 2.225073858507209e-308) + (f64.const 1.4916681462400437e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35505,7 +50532,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1876) + (i32.const 2861) (i32.const 0) ) (unreachable) @@ -35513,10 +50540,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.7741522789001465) - (f32.const 0.8538292050361633) - (f32.const 0.45992106199264526) + (call $std/math/test_sqrt + (f64.const 2.225073858507211e-308) + (f64.const 1.4916681462400443e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35524,7 +50551,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1877) + (i32.const 2862) (i32.const 0) ) (unreachable) @@ -35532,10 +50559,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0.6787636876106262) - (f32.const -0.7320976257324219) - (f32.const -0.48159059882164) + (call $std/math/test_sqrt + (f64.const 2.2250738585072127e-308) + (f64.const 1.491668146240045e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35543,7 +50570,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1878) + (i32.const 2863) (i32.const 0) ) (unreachable) @@ -35551,18 +50578,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072147e-308) + (f64.const 1.4916681462400457e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1881) + (i32.const 2864) (i32.const 0) ) (unreachable) @@ -35570,18 +50597,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072167e-308) + (f64.const 1.4916681462400463e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1882) + (i32.const 2865) (i32.const 0) ) (unreachable) @@ -35589,18 +50616,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072187e-308) + (f64.const 1.491668146240047e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1883) + (i32.const 2866) (i32.const 0) ) (unreachable) @@ -35608,18 +50635,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -inf) - (f32.const -inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072207e-308) + (f64.const 1.4916681462400476e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1884) + (i32.const 2867) (i32.const 0) ) (unreachable) @@ -35627,18 +50654,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072226e-308) + (f64.const 1.4916681462400483e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1885) + (i32.const 2868) (i32.const 0) ) (unreachable) @@ -35647,17 +50674,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.2250738585072246e-308) + (f64.const 1.491668146240049e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1895) + (i32.const 2869) (i32.const 0) ) (unreachable) @@ -35666,9 +50693,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 4.345239849338305) - (f64.const 2.0845238903256313) - (f64.const -0.07180261611938477) + (f64.const 2.2250738585072266e-308) + (f64.const 1.4916681462400496e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -35676,7 +50703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1896) + (i32.const 2870) (i32.const 0) ) (unreachable) @@ -35685,17 +50712,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.2250738585072286e-308) + (f64.const 1.4916681462400503e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1897) + (i32.const 2871) (i32.const 0) ) (unreachable) @@ -35704,17 +50731,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 92.35130391890645) + (f64.const 9.609958580499006) + (f64.const 0.4998137056827545) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1898) + (i32.const 2872) (i32.const 0) ) (unreachable) @@ -35723,9 +50750,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 9.267056966972586) - (f64.const 3.0441841217266385) - (f64.const -0.01546262577176094) + (f64.const 93.3599596388916) + (f64.const 9.662295774757238) + (f64.const -0.49979978799819946) (i32.const 1) ) ) @@ -35733,7 +50760,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1899) + (i32.const 2873) (i32.const 0) ) (unreachable) @@ -35742,9 +50769,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.6619858980995045) - (f64.const 0.8136251582267503) - (f64.const -0.08618157356977463) + (f64.const 95.42049628886124) + (f64.const 9.76834153215689) + (f64.const -0.49997270107269287) (i32.const 1) ) ) @@ -35752,7 +50779,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1900) + (i32.const 2874) (i32.const 0) ) (unreachable) @@ -35761,17 +50788,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 95.87916941885449) + (f64.const 9.791790919890728) + (f64.const 0.4998766779899597) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1901) + (i32.const 2875) (i32.const 0) ) (unreachable) @@ -35780,9 +50807,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.5617597462207241) - (f64.const 0.7495063350104014) - (f64.const -0.0981396734714508) + (f64.const 96.84804174884022) + (f64.const 9.841140266698785) + (f64.const 0.499801903963089) (i32.const 1) ) ) @@ -35790,7 +50817,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1902) + (i32.const 2876) (i32.const 0) ) (unreachable) @@ -35799,9 +50826,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.7741522965913037) - (f64.const 0.879859248170583) - (f64.const -0.37124353647232056) + (f64.const 97.43639050883155) + (f64.const 9.87098731175517) + (f64.const 0.4997696280479431) (i32.const 1) ) ) @@ -35809,7 +50836,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1903) + (i32.const 2877) (i32.const 0) ) (unreachable) @@ -35818,17 +50845,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 97.50957979883047) + (f64.const 9.874693909120955) + (f64.const 0.49999818205833435) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1904) + (i32.const 2878) (i32.const 0) ) (unreachable) @@ -35837,17 +50864,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (f64.const 97.80496893882612) + (f64.const 9.88963947466368) + (f64.const -0.4999580681324005) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1907) + (i32.const 2879) (i32.const 0) ) (unreachable) @@ -35856,17 +50883,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (f64.const 98.2751822888192) + (f64.const 9.913383997849534) + (f64.const 0.49979931116104126) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1908) + (i32.const 2880) (i32.const 0) ) (unreachable) @@ -35875,17 +50902,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 99.47293564880155) + (f64.const 9.973611966023219) + (f64.const -0.4999540448188782) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1909) + (i32.const 2881) (i32.const 0) ) (unreachable) @@ -35894,17 +50921,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (f64.const 100.57047130878539) + (f64.const 10.028483001370914) + (f64.const -0.49996453523635864) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1910) + (i32.const 2882) (i32.const 0) ) (unreachable) @@ -35913,17 +50940,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (f64.const 100.60954608878481) + (f64.const 10.030431002144665) + (f64.const 0.49975672364234924) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1911) + (i32.const 2883) (i32.const 0) ) (unreachable) @@ -35932,17 +50959,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (f64.const 100.67909109878379) + (f64.const 10.033897104255344) + (f64.const -0.4997771382331848) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1912) + (i32.const 2884) (i32.const 0) ) (unreachable) @@ -35951,17 +50978,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 101.12268095877725) + (f64.const 10.055977374615422) + (f64.const 0.49988678097724915) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 2885) (i32.const 0) ) (unreachable) @@ -35970,17 +50997,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 4) - (f64.const 2) - (f64.const 0) - (i32.const 0) + (f64.const 101.3027691287746) + (f64.const 10.064927676281366) + (f64.const 0.4999105632305145) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 2886) (i32.const 0) ) (unreachable) @@ -35989,9 +51016,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1e-323) - (f64.const 3.1434555694052576e-162) - (f64.const 0.43537619709968567) + (f64.const 2.45932313565507e-307) + (f64.const 4.9591563149945874e-154) + (f64.const -0.4998999834060669) (i32.const 1) ) ) @@ -35999,7 +51026,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 2887) (i32.const 0) ) (unreachable) @@ -36008,9 +51035,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.5e-323) - (f64.const 3.849931087076416e-162) - (f64.const -0.45194002985954285) + (f64.const 5.610957305180409e-307) + (f64.const 7.490632353266584e-154) + (f64.const -0.4999343752861023) (i32.const 1) ) ) @@ -36018,7 +51045,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 2888) (i32.const 0) ) (unreachable) @@ -36027,17 +51054,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 5e-324) - (f64.const 2.2227587494850775e-162) - (f64.const 0) - (i32.const 0) + (f64.const 5.8073887977408524e-307) + (f64.const 7.62062254526548e-154) + (f64.const -0.49989569187164307) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 2889) (i32.const 0) ) (unreachable) @@ -36046,17 +51073,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -5e-324) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 7.026137080471427e-307) + (f64.const 8.382205605013174e-154) + (f64.const 0.49980640411376953) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 2890) (i32.const 0) ) (unreachable) @@ -36065,9 +51092,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.9999999999999999) - (f64.const 0.9999999999999999) - (f64.const -0.5) + (f64.const 8.438697769194972e-307) + (f64.const 9.186238495268328e-154) + (f64.const -0.4999065697193146) (i32.const 1) ) ) @@ -36075,7 +51102,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 2891) (i32.const 0) ) (unreachable) @@ -36084,9 +51111,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.9999999999999998) - (f64.const 1.414213562373095) - (f64.const -0.21107041835784912) + (f64.const 1.1607792515836795e-306) + (f64.const 1.0773946591586944e-153) + (f64.const -0.49997684359550476) (i32.const 1) ) ) @@ -36094,7 +51121,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 2892) (i32.const 0) ) (unreachable) @@ -36103,9 +51130,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.0000000000000002) - (f64.const 1) - (f64.const -0.5) + (f64.const 1.2827413827423193e-306) + (f64.const 1.1325817333606962e-153) + (f64.const -0.4999513030052185) (i32.const 1) ) ) @@ -36113,7 +51140,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 2893) (i32.const 0) ) (unreachable) @@ -36122,9 +51149,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 2.0000000000000004) - (f64.const 1.4142135623730951) - (f64.const -0.27173060178756714) + (f64.const 1.7116604596087457e-306) + (f64.const 1.3083044216117078e-153) + (f64.const -0.49986395239830017) (i32.const 1) ) ) @@ -36132,7 +51159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1922) + (i32.const 2894) (i32.const 0) ) (unreachable) @@ -36141,9 +51168,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.0000000000000002) - (f64.const 1) - (f64.const -0.5) + (f64.const 2.038173251686994e-306) + (f64.const 1.4276460526639628e-153) + (f64.const 0.4998403787612915) (i32.const 1) ) ) @@ -36151,7 +51178,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1923) + (i32.const 2895) (i32.const 0) ) (unreachable) @@ -36160,9 +51187,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.9999999999999999) - (f64.const 0.9999999999999999) - (f64.const -0.5) + (f64.const 2.171572060856931e-306) + (f64.const 1.4736254818836879e-153) + (f64.const 0.4999290406703949) (i32.const 1) ) ) @@ -36170,7 +51197,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1924) + (i32.const 2896) (i32.const 0) ) (unreachable) @@ -36179,17 +51206,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -1797693134862315708145274e284) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.4681399631804094e-306) + (f64.const 1.5710314965589996e-153) + (f64.const 0.49989044666290283) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 2897) (i32.const 0) ) (unreachable) @@ -36198,9 +51225,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862315708145274e284) - (f64.const 1340780792994259561100831e130) - (f64.const -0.5) + (f64.const 2.5175533964200588e-306) + (f64.const 1.5866799918131124e-153) + (f64.const -0.4997701048851013) (i32.const 1) ) ) @@ -36208,7 +51235,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 2898) (i32.const 0) ) (unreachable) @@ -36217,9 +51244,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 179769313486231490980915e285) - (f64.const 134078079299425926338769e131) - (f64.const -0.5) + (f64.const 2.6461505468829625e-306) + (f64.const 1.6266992797941982e-153) + (f64.const 0.4998672902584076) (i32.const 1) ) ) @@ -36227,7 +51254,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 2899) (i32.const 0) ) (unreachable) @@ -36236,9 +51263,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862314111473026e284) - (f64.const 1340780792994258965674548e130) - (f64.const -0.5) + (f64.const 3.8167076367720413e-306) + (f64.const 1.9536395872248397e-153) + (f64.const 0.49983471632003784) (i32.const 1) ) ) @@ -36246,7 +51273,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 2900) (i32.const 0) ) (unreachable) @@ -36255,9 +51282,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862313313136902e284) - (f64.const 1340780792994258667961407e130) - (f64.const -0.5) + (f64.const 4.5743220778562766e-306) + (f64.const 2.1387664851161936e-153) + (f64.const 0.49985939264297485) (i32.const 1) ) ) @@ -36265,7 +51292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1929) + (i32.const 2901) (i32.const 0) ) (unreachable) @@ -36273,29 +51300,29 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862312514800778e284) - (f64.const 1340780792994258370248265e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1930) + (i32.const 2910) (i32.const 0) ) (unreachable) ) - ) - (if - (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862311716464655e284) - (f64.const 1340780792994258072535124e130) - (f64.const -0.5) + ) + (if + (i32.eqz + (call $std/math/test_sqrtf + (f32.const 4.345239639282227) + (f32.const 2.084523916244507) + (f32.const 0.3200402557849884) (i32.const 1) ) ) @@ -36303,7 +51330,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1931) + (i32.const 2911) (i32.const 0) ) (unreachable) @@ -36311,18 +51338,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862310918128531e284) - (f64.const 1340780792994257774821982e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1932) + (i32.const 2912) (i32.const 0) ) (unreachable) @@ -36330,18 +51357,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862310119792407e284) - (f64.const 1340780792994257477108841e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1933) + (i32.const 2913) (i32.const 0) ) (unreachable) @@ -36349,10 +51376,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862309321456283e284) - (f64.const 1340780792994257179395699e130) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 9.267057418823242) + (f32.const 3.0441842079162598) + (f32.const 0.05022354796528816) (i32.const 1) ) ) @@ -36360,7 +51387,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1934) + (i32.const 2914) (i32.const 0) ) (unreachable) @@ -36368,10 +51395,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862308523120159e284) - (f64.const 1340780792994256881682558e130) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.6619858741760254) + (f32.const 0.813625156879425) + (f32.const 0.2240506112575531) (i32.const 1) ) ) @@ -36379,7 +51406,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1935) + (i32.const 2915) (i32.const 0) ) (unreachable) @@ -36387,18 +51414,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862307724784036e284) - (f64.const 1340780792994256583969417e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1936) + (i32.const 2916) (i32.const 0) ) (unreachable) @@ -36406,10 +51433,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507203e-308) - (f64.const 1.4916681462400417e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.5617597699165344) + (f32.const 0.7495063543319702) + (f32.const 0.05895441770553589) (i32.const 1) ) ) @@ -36417,7 +51444,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1937) + (i32.const 2917) (i32.const 0) ) (unreachable) @@ -36425,10 +51452,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507205e-308) - (f64.const 1.4916681462400423e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.7741522789001465) + (f32.const 0.879859209060669) + (f32.const -0.4874873757362366) (i32.const 1) ) ) @@ -36436,7 +51463,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 2918) (i32.const 0) ) (unreachable) @@ -36444,18 +51471,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507207e-308) - (f64.const 1.491668146240043e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 2919) (i32.const 0) ) (unreachable) @@ -36463,18 +51490,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507209e-308) - (f64.const 1.4916681462400437e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 2922) (i32.const 0) ) (unreachable) @@ -36482,18 +51509,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507211e-308) - (f64.const 1.4916681462400443e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 2923) (i32.const 0) ) (unreachable) @@ -36501,18 +51528,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072127e-308) - (f64.const 1.491668146240045e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 2924) (i32.const 0) ) (unreachable) @@ -36520,18 +51547,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072147e-308) - (f64.const 1.4916681462400457e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 2925) (i32.const 0) ) (unreachable) @@ -36539,18 +51566,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072167e-308) - (f64.const 1.4916681462400463e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 2926) (i32.const 0) ) (unreachable) @@ -36558,18 +51585,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072187e-308) - (f64.const 1.491668146240047e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 2927) (i32.const 0) ) (unreachable) @@ -36577,18 +51604,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072207e-308) - (f64.const 1.4916681462400476e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 2928) (i32.const 0) ) (unreachable) @@ -36596,18 +51623,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072226e-308) - (f64.const 1.4916681462400483e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 4) + (f32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1947) + (i32.const 2929) (i32.const 0) ) (unreachable) @@ -36615,18 +51642,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072246e-308) - (f64.const 1.491668146240049e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 2.802596928649634e-45) + (f32.const 5.293955920339377e-23) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1948) + (i32.const 2930) (i32.const 0) ) (unreachable) @@ -36634,10 +51661,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072266e-308) - (f64.const 1.4916681462400496e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 4.203895392974451e-45) + (f32.const 6.483745598763743e-23) + (f32.const 0.37388554215431213) (i32.const 1) ) ) @@ -36645,7 +51672,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1949) + (i32.const 2931) (i32.const 0) ) (unreachable) @@ -36653,10 +51680,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072286e-308) - (f64.const 1.4916681462400503e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 1.401298464324817e-45) + (f32.const 3.743392066509216e-23) + (f32.const -0.20303145051002502) (i32.const 1) ) ) @@ -36664,7 +51691,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 2932) (i32.const 0) ) (unreachable) @@ -36672,18 +51699,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 92.35130391890645) - (f64.const 9.609958580499006) - (f64.const 0.4998137056827545) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -1.401298464324817e-45) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 2933) (i32.const 0) ) (unreachable) @@ -36691,10 +51718,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 93.3599596388916) - (f64.const 9.662295774757238) - (f64.const -0.49979978799819946) + (call $std/math/test_sqrtf + (f32.const 3402823466385288598117041e14) + (f32.const 18446742974197923840) + (f32.const -0.5) (i32.const 1) ) ) @@ -36702,7 +51729,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 2934) (i32.const 0) ) (unreachable) @@ -36710,18 +51737,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 95.42049628886124) - (f64.const 9.76834153215689) - (f64.const -0.49997270107269287) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -3402823466385288598117041e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 2935) (i32.const 0) ) (unreachable) @@ -36729,10 +51756,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 95.87916941885449) - (f64.const 9.791790919890728) - (f64.const 0.4998766779899597) + (call $std/math/test_sqrtf + (f32.const 0.9999998807907104) + (f32.const 0.9999999403953552) + (f32.const 2.980232594040899e-08) (i32.const 1) ) ) @@ -36740,7 +51767,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1954) + (i32.const 2936) (i32.const 0) ) (unreachable) @@ -36748,10 +51775,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 96.84804174884022) - (f64.const 9.841140266698785) - (f64.const 0.499801903963089) + (call $std/math/test_sqrtf + (f32.const 0.9999999403953552) + (f32.const 0.9999999403953552) + (f32.const -0.5) (i32.const 1) ) ) @@ -36759,7 +51786,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1955) + (i32.const 2937) (i32.const 0) ) (unreachable) @@ -36767,10 +51794,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.43639050883155) - (f64.const 9.87098731175517) - (f64.const 0.4997696280479431) + (call $std/math/test_sqrtf + (f32.const 1.999999761581421) + (f32.const 1.4142134189605713) + (f32.const -0.4959246516227722) (i32.const 1) ) ) @@ -36778,7 +51805,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1956) + (i32.const 2938) (i32.const 0) ) (unreachable) @@ -36786,10 +51813,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.50957979883047) - (f64.const 9.874693909120955) - (f64.const 0.49999818205833435) + (call $std/math/test_sqrtf + (f32.const 1.9999998807907104) + (f32.const 1.4142135381698608) + (f32.const 0.15052194893360138) (i32.const 1) ) ) @@ -36797,7 +51824,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1957) + (i32.const 2939) (i32.const 0) ) (unreachable) @@ -36805,10 +51832,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.80496893882612) - (f64.const 9.88963947466368) - (f64.const -0.4999580681324005) + (call $std/math/test_sqrtf + (f32.const 1.0000001192092896) + (f32.const 1) + (f32.const -0.5) (i32.const 1) ) ) @@ -36816,7 +51843,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1958) + (i32.const 2940) (i32.const 0) ) (unreachable) @@ -36824,10 +51851,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 98.2751822888192) - (f64.const 9.913383997849534) - (f64.const 0.49979931116104126) + (call $std/math/test_sqrtf + (f32.const 1.000000238418579) + (f32.const 1.0000001192092896) + (f32.const 5.960463766996327e-08) (i32.const 1) ) ) @@ -36835,7 +51862,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1959) + (i32.const 2941) (i32.const 0) ) (unreachable) @@ -36843,10 +51870,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 99.47293564880155) - (f64.const 9.973611966023219) - (f64.const -0.4999540448188782) + (call $std/math/test_sqrtf + (f32.const 2.000000238418579) + (f32.const 1.4142136573791504) + (f32.const 0.08986179530620575) (i32.const 1) ) ) @@ -36854,7 +51881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1960) + (i32.const 2942) (i32.const 0) ) (unreachable) @@ -36862,10 +51889,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.57047130878539) - (f64.const 10.028483001370914) - (f64.const -0.49996453523635864) + (call $std/math/test_sqrtf + (f32.const 2.000000476837158) + (f32.const 1.41421377658844) + (f32.const 0.3827550709247589) (i32.const 1) ) ) @@ -36873,7 +51900,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1961) + (i32.const 2943) (i32.const 0) ) (unreachable) @@ -36881,10 +51908,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.60954608878481) - (f64.const 10.030431002144665) - (f64.const 0.49975672364234924) + (call $std/math/test_tanh + (f64.const -8.06684839057968) + (f64.const -0.999999803096032) + (f64.const 0.012793331407010555) (i32.const 1) ) ) @@ -36892,7 +51919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1962) + (i32.const 3008) (i32.const 0) ) (unreachable) @@ -36900,10 +51927,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.67909109878379) - (f64.const 10.033897104255344) - (f64.const -0.4997771382331848) + (call $std/math/test_tanh + (f64.const 4.345239849338305) + (f64.const 0.9996636978961307) + (f64.const 0.1573508232831955) (i32.const 1) ) ) @@ -36911,7 +51938,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1963) + (i32.const 3009) (i32.const 0) ) (unreachable) @@ -36919,10 +51946,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 101.12268095877725) - (f64.const 10.055977374615422) - (f64.const 0.49988678097724915) + (call $std/math/test_tanh + (f64.const -8.38143342755525) + (f64.const -0.9999998950434862) + (f64.const 0.27985066175460815) (i32.const 1) ) ) @@ -36930,7 +51957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1964) + (i32.const 3010) (i32.const 0) ) (unreachable) @@ -36938,10 +51965,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 101.3027691287746) - (f64.const 10.064927676281366) - (f64.const 0.4999105632305145) + (call $std/math/test_tanh + (f64.const -6.531673581913484) + (f64.const -0.9999957568392429) + (f64.const -0.44285574555397034) (i32.const 1) ) ) @@ -36949,7 +51976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1965) + (i32.const 3011) (i32.const 0) ) (unreachable) @@ -36957,10 +51984,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.45932313565507e-307) - (f64.const 4.9591563149945874e-154) - (f64.const -0.4998999834060669) + (call $std/math/test_tanh + (f64.const 9.267056966972586) + (f64.const 0.9999999821447234) + (f64.const 0.4462755024433136) (i32.const 1) ) ) @@ -36968,7 +51995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1966) + (i32.const 3012) (i32.const 0) ) (unreachable) @@ -36976,10 +52003,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 5.610957305180409e-307) - (f64.const 7.490632353266584e-154) - (f64.const -0.4999343752861023) + (call $std/math/test_tanh + (f64.const 0.6619858980995045) + (f64.const 0.5796835018635275) + (f64.const 0.4892043173313141) (i32.const 1) ) ) @@ -36987,7 +52014,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1967) + (i32.const 3013) (i32.const 0) ) (unreachable) @@ -36995,10 +52022,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 5.8073887977408524e-307) - (f64.const 7.62062254526548e-154) - (f64.const -0.49989569187164307) + (call $std/math/test_tanh + (f64.const -0.4066039223853553) + (f64.const -0.3855853099901652) + (f64.const 0.35993871092796326) (i32.const 1) ) ) @@ -37006,7 +52033,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1968) + (i32.const 3014) (i32.const 0) ) (unreachable) @@ -37014,10 +52041,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 7.026137080471427e-307) - (f64.const 8.382205605013174e-154) - (f64.const 0.49980640411376953) + (call $std/math/test_tanh + (f64.const 0.5617597462207241) + (f64.const 0.5092819248700439) + (f64.const -0.39436522126197815) (i32.const 1) ) ) @@ -37025,7 +52052,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1969) + (i32.const 3015) (i32.const 0) ) (unreachable) @@ -37033,10 +52060,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 8.438697769194972e-307) - (f64.const 9.186238495268328e-154) - (f64.const -0.4999065697193146) + (call $std/math/test_tanh + (f64.const 0.7741522965913037) + (f64.const 0.6493374550318555) + (f64.const -0.4899396002292633) (i32.const 1) ) ) @@ -37044,7 +52071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1970) + (i32.const 3016) (i32.const 0) ) (unreachable) @@ -37052,10 +52079,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.1607792515836795e-306) - (f64.const 1.0773946591586944e-153) - (f64.const -0.49997684359550476) + (call $std/math/test_tanh + (f64.const -0.6787637026394024) + (f64.const -0.590715084799841) + (f64.const -0.0145387789234519) (i32.const 1) ) ) @@ -37063,7 +52090,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1971) + (i32.const 3017) (i32.const 0) ) (unreachable) @@ -37071,18 +52098,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.2827413827423193e-306) - (f64.const 1.1325817333606962e-153) - (f64.const -0.4999513030052185) - (i32.const 1) + (call $std/math/test_tanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1972) + (i32.const 3020) (i32.const 0) ) (unreachable) @@ -37090,18 +52117,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.7116604596087457e-306) - (f64.const 1.3083044216117078e-153) - (f64.const -0.49986395239830017) - (i32.const 1) + (call $std/math/test_tanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1973) + (i32.const 3021) (i32.const 0) ) (unreachable) @@ -37109,18 +52136,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.038173251686994e-306) - (f64.const 1.4276460526639628e-153) - (f64.const 0.4998403787612915) - (i32.const 1) + (call $std/math/test_tanh + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1974) + (i32.const 3022) (i32.const 0) ) (unreachable) @@ -37128,18 +52155,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.171572060856931e-306) - (f64.const 1.4736254818836879e-153) - (f64.const 0.4999290406703949) - (i32.const 1) + (call $std/math/test_tanh + (f64.const -inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1975) + (i32.const 3023) (i32.const 0) ) (unreachable) @@ -37147,18 +52174,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.4681399631804094e-306) - (f64.const 1.5710314965589996e-153) - (f64.const 0.49989044666290283) - (i32.const 1) + (call $std/math/test_tanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1976) + (i32.const 3024) (i32.const 0) ) (unreachable) @@ -37166,10 +52193,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.5175533964200588e-306) - (f64.const 1.5866799918131124e-153) - (f64.const -0.4997701048851013) + (call $std/math/test_tanhf + (f32.const -8.066848754882812) + (f32.const -0.9999998211860657) + (f32.const -0.3034979999065399) (i32.const 1) ) ) @@ -37177,7 +52204,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1977) + (i32.const 3033) (i32.const 0) ) (unreachable) @@ -37185,10 +52212,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.6461505468829625e-306) - (f64.const 1.6266992797941982e-153) - (f64.const 0.4998672902584076) + (call $std/math/test_tanhf + (f32.const 4.345239639282227) + (f32.const 0.9996637105941772) + (f32.const 0.2154078334569931) (i32.const 1) ) ) @@ -37196,7 +52223,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1978) + (i32.const 3034) (i32.const 0) ) (unreachable) @@ -37204,10 +52231,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 3.8167076367720413e-306) - (f64.const 1.9536395872248397e-153) - (f64.const 0.49983471632003784) + (call $std/math/test_tanhf + (f32.const -8.381433486938477) + (f32.const -0.9999998807907104) + (f32.const 0.23912210762500763) (i32.const 1) ) ) @@ -37215,7 +52242,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1979) + (i32.const 3035) (i32.const 0) ) (unreachable) @@ -37223,10 +52250,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 4.5743220778562766e-306) - (f64.const 2.1387664851161936e-153) - (f64.const 0.49985939264297485) + (call $std/math/test_tanhf + (f32.const -6.531673431396484) + (f32.const -0.999995768070221) + (f32.const -0.18844597041606903) (i32.const 1) ) ) @@ -37234,7 +52261,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1980) + (i32.const 3036) (i32.const 0) ) (unreachable) @@ -37242,18 +52269,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const 9.267057418823242) + (f32.const 1) + (f32.const 0.1497807800769806) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1989) + (i32.const 3037) (i32.const 0) ) (unreachable) @@ -37261,10 +52288,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4.345239639282227) - (f32.const 2.084523916244507) - (f32.const 0.3200402557849884) + (call $std/math/test_tanhf + (f32.const 0.6619858741760254) + (f32.const 0.5796834826469421) + (f32.const -0.05590476095676422) (i32.const 1) ) ) @@ -37272,7 +52299,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1990) + (i32.const 3038) (i32.const 0) ) (unreachable) @@ -37280,18 +52307,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const -0.40660393238067627) + (f32.const -0.38558530807495117) + (f32.const 0.349787175655365) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1991) + (i32.const 3039) (i32.const 0) ) (unreachable) @@ -37299,18 +52326,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const 0.5617597699165344) + (f32.const 0.5092819333076477) + (f32.const -0.1528785079717636) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1992) + (i32.const 3040) (i32.const 0) ) (unreachable) @@ -37318,10 +52345,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 9.267057418823242) - (f32.const 3.0441842079162598) - (f32.const 0.05022354796528816) + (call $std/math/test_tanhf + (f32.const 0.7741522789001465) + (f32.const 0.6493374705314636) + (f32.const 0.4317026138305664) (i32.const 1) ) ) @@ -37329,7 +52356,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1993) + (i32.const 3041) (i32.const 0) ) (unreachable) @@ -37337,10 +52364,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.6619858741760254) - (f32.const 0.813625156879425) - (f32.const 0.2240506112575531) + (call $std/math/test_tanhf + (f32.const -0.6787636876106262) + (f32.const -0.5907150506973267) + (f32.const 0.4079873859882355) (i32.const 1) ) ) @@ -37348,7 +52375,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1994) + (i32.const 3042) (i32.const 0) ) (unreachable) @@ -37356,18 +52383,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) + (call $std/math/test_tanhf (f32.const 0) - (i32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1995) + (i32.const 3045) (i32.const 0) ) (unreachable) @@ -37375,18 +52402,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.5617597699165344) - (f32.const 0.7495063543319702) - (f32.const 0.05895441770553589) - (i32.const 1) + (call $std/math/test_tanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1996) + (i32.const 3046) (i32.const 0) ) (unreachable) @@ -37394,18 +52421,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.7741522789001465) - (f32.const 0.879859209060669) - (f32.const -0.4874873757362366) - (i32.const 1) + (call $std/math/test_tanhf + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1997) + (i32.const 3047) (i32.const 0) ) (unreachable) @@ -37413,18 +52440,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_tanhf + (f32.const -inf) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1998) + (i32.const 3048) (i32.const 0) ) (unreachable) @@ -37432,7 +52459,7 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf + (call $std/math/test_tanhf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) @@ -37443,7 +52470,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2001) + (i32.const 3049) (i32.const 0) ) (unreachable) @@ -37451,18 +52478,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -8.06684839057968) + (f64.const -8) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2002) + (i32.const 3061) (i32.const 0) ) (unreachable) @@ -37470,18 +52497,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const 4.345239849338305) + (f64.const 4) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2003) + (i32.const 3062) (i32.const 0) ) (unreachable) @@ -37489,18 +52516,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -8.38143342755525) + (f64.const -8) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2004) + (i32.const 3063) (i32.const 0) ) (unreachable) @@ -37508,18 +52535,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -6.531673581913484) + (f64.const -6) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2005) + (i32.const 3064) (i32.const 0) ) (unreachable) @@ -37527,18 +52554,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const 9.267056966972586) + (f64.const 9) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2006) + (i32.const 3065) (i32.const 0) ) (unreachable) @@ -37546,18 +52573,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const 0.6619858980995045) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2007) + (i32.const 3066) (i32.const 0) ) (unreachable) @@ -37565,18 +52592,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4) - (f32.const 2) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -0.4066039223853553) + (f64.const -0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2008) + (i32.const 3067) (i32.const 0) ) (unreachable) @@ -37584,18 +52611,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.802596928649634e-45) - (f32.const 5.293955920339377e-23) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const 0.5617597462207241) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2009) + (i32.const 3068) (i32.const 0) ) (unreachable) @@ -37603,10 +52630,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4.203895392974451e-45) - (f32.const 6.483745598763743e-23) - (f32.const 0.37388554215431213) + (call $std/math/test_trunc + (f64.const 0.7741522965913037) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -37614,7 +52641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2010) + (i32.const 3069) (i32.const 0) ) (unreachable) @@ -37622,10 +52649,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.401298464324817e-45) - (f32.const 3.743392066509216e-23) - (f32.const -0.20303145051002502) + (call $std/math/test_trunc + (f64.const -0.6787637026394024) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -37633,7 +52660,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2011) + (i32.const 3070) (i32.const 0) ) (unreachable) @@ -37641,18 +52668,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -1.401298464324817e-45) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2012) + (i32.const 3073) (i32.const 0) ) (unreachable) @@ -37660,18 +52687,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 3402823466385288598117041e14) - (f32.const 18446742974197923840) - (f32.const -0.5) - (i32.const 1) + (call $std/math/test_trunc + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2013) + (i32.const 3074) (i32.const 0) ) (unreachable) @@ -37679,18 +52706,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -3402823466385288598117041e14) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const -inf) + (f64.const -inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2014) + (i32.const 3075) (i32.const 0) ) (unreachable) @@ -37698,18 +52725,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.9999998807907104) - (f32.const 0.9999999403953552) - (f32.const 2.980232594040899e-08) - (i32.const 1) + (call $std/math/test_trunc + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2015) + (i32.const 3076) (i32.const 0) ) (unreachable) @@ -37717,18 +52744,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.9999999403953552) - (f32.const 0.9999999403953552) - (f32.const -0.5) - (i32.const 1) + (call $std/math/test_trunc + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2016) + (i32.const 3077) (i32.const 0) ) (unreachable) @@ -37736,18 +52763,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.999999761581421) - (f32.const 1.4142134189605713) - (f32.const -0.4959246516227722) - (i32.const 1) + (call $std/math/test_trunc + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2017) + (i32.const 3078) (i32.const 0) ) (unreachable) @@ -37755,18 +52782,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.9999998807907104) - (f32.const 1.4142135381698608) - (f32.const 0.15052194893360138) - (i32.const 1) + (call $std/math/test_trunc + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2018) + (i32.const 3079) (i32.const 0) ) (unreachable) @@ -37774,10 +52801,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.0000001192092896) - (f32.const 1) - (f32.const -0.5) + (call $std/math/test_trunc + (f64.const 0.5) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -37785,7 +52812,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2019) + (i32.const 3080) (i32.const 0) ) (unreachable) @@ -37793,10 +52820,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.000000238418579) - (f32.const 1.0000001192092896) - (f32.const 5.960463766996327e-08) + (call $std/math/test_trunc + (f64.const -0.5) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -37804,7 +52831,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2020) + (i32.const 3081) (i32.const 0) ) (unreachable) @@ -37812,10 +52839,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.000000238418579) - (f32.const 1.4142136573791504) - (f32.const 0.08986179530620575) + (call $std/math/test_trunc + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -37823,7 +52850,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2021) + (i32.const 3082) (i32.const 0) ) (unreachable) @@ -37831,10 +52858,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.000000476837158) - (f32.const 1.41421377658844) - (f32.const 0.3827550709247589) + (call $std/math/test_trunc + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -37842,7 +52869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2022) + (i32.const 3083) (i32.const 0) ) (unreachable) @@ -37850,10 +52877,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -8.06684839057968) - (f64.const -0.999999803096032) - (f64.const 0.012793331407010555) + (call $std/math/test_trunc + (f64.const 0.9999923706054688) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -37861,7 +52888,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2091) + (i32.const 3084) (i32.const 0) ) (unreachable) @@ -37869,10 +52896,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 4.345239849338305) - (f64.const 0.9996636978961307) - (f64.const 0.1573508232831955) + (call $std/math/test_trunc + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -37880,7 +52907,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2092) + (i32.const 3085) (i32.const 0) ) (unreachable) @@ -37888,10 +52915,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -8.38143342755525) - (f64.const -0.9999998950434862) - (f64.const 0.27985066175460815) + (call $std/math/test_trunc + (f64.const 7.888609052210118e-31) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -37899,7 +52926,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2093) + (i32.const 3086) (i32.const 0) ) (unreachable) @@ -37907,10 +52934,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -6.531673581913484) - (f64.const -0.9999957568392429) - (f64.const -0.44285574555397034) + (call $std/math/test_trunc + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -37918,7 +52945,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2094) + (i32.const 3087) (i32.const 0) ) (unreachable) @@ -37926,10 +52953,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 9.267056966972586) - (f64.const 0.9999999821447234) - (f64.const 0.4462755024433136) + (call $std/math/test_truncf + (f32.const -8.066848754882812) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -37937,7 +52964,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2095) + (i32.const 3096) (i32.const 0) ) (unreachable) @@ -37945,10 +52972,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.6619858980995045) - (f64.const 0.5796835018635275) - (f64.const 0.4892043173313141) + (call $std/math/test_truncf + (f32.const 4.345239639282227) + (f32.const 4) + (f32.const 0) (i32.const 1) ) ) @@ -37956,7 +52983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2096) + (i32.const 3097) (i32.const 0) ) (unreachable) @@ -37964,10 +52991,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0.4066039223853553) - (f64.const -0.3855853099901652) - (f64.const 0.35993871092796326) + (call $std/math/test_truncf + (f32.const -8.381433486938477) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -37975,7 +53002,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2097) + (i32.const 3098) (i32.const 0) ) (unreachable) @@ -37983,10 +53010,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.5617597462207241) - (f64.const 0.5092819248700439) - (f64.const -0.39436522126197815) + (call $std/math/test_truncf + (f32.const -6.531673431396484) + (f32.const -6) + (f32.const 0) (i32.const 1) ) ) @@ -37994,7 +53021,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2098) + (i32.const 3099) (i32.const 0) ) (unreachable) @@ -38002,10 +53029,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.7741522965913037) - (f64.const 0.6493374550318555) - (f64.const -0.4899396002292633) + (call $std/math/test_truncf + (f32.const 9.267057418823242) + (f32.const 9) + (f32.const 0) (i32.const 1) ) ) @@ -38013,7 +53040,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2099) + (i32.const 3100) (i32.const 0) ) (unreachable) @@ -38021,10 +53048,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0.6787637026394024) - (f64.const -0.590715084799841) - (f64.const -0.0145387789234519) + (call $std/math/test_truncf + (f32.const 0.6619858741760254) + (f32.const 0) + (f32.const 0) (i32.const 1) ) ) @@ -38032,7 +53059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2100) + (i32.const 3101) (i32.const 0) ) (unreachable) @@ -38040,18 +53067,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const -0.40660393238067627) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2103) + (i32.const 3102) (i32.const 0) ) (unreachable) @@ -38059,18 +53086,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const 0.5617597699165344) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2104) + (i32.const 3103) (i32.const 0) ) (unreachable) @@ -38078,18 +53105,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const 0.7741522789001465) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2105) + (i32.const 3104) (i32.const 0) ) (unreachable) @@ -38097,18 +53124,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const -0.6787636876106262) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2106) + (i32.const 3105) (i32.const 0) ) (unreachable) @@ -38116,10 +53143,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_truncf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -38127,7 +53154,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2107) + (i32.const 3108) (i32.const 0) ) (unreachable) @@ -38135,18 +53162,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -8.066848754882812) - (f32.const -0.9999998211860657) - (f32.const -0.3034979999065399) - (i32.const 1) + (call $std/math/test_truncf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2116) + (i32.const 3109) (i32.const 0) ) (unreachable) @@ -38154,18 +53181,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 4.345239639282227) - (f32.const 0.9996637105941772) - (f32.const 0.2154078334569931) - (i32.const 1) + (call $std/math/test_truncf + (f32.const -inf) + (f32.const -inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2117) + (i32.const 3110) (i32.const 0) ) (unreachable) @@ -38173,18 +53200,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -8.381433486938477) - (f32.const -0.9999998807907104) - (f32.const 0.23912210762500763) - (i32.const 1) + (call $std/math/test_truncf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2118) + (i32.const 3111) (i32.const 0) ) (unreachable) @@ -38192,18 +53219,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -6.531673431396484) - (f32.const -0.999995768070221) - (f32.const -0.18844597041606903) - (i32.const 1) + (call $std/math/test_truncf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2119) + (i32.const 3112) (i32.const 0) ) (unreachable) @@ -38211,18 +53238,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 9.267057418823242) + (call $std/math/test_truncf (f32.const 1) - (f32.const 0.1497807800769806) - (i32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2120) + (i32.const 3113) (i32.const 0) ) (unreachable) @@ -38230,18 +53257,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.6619858741760254) - (f32.const 0.5796834826469421) - (f32.const -0.05590476095676422) - (i32.const 1) + (call $std/math/test_truncf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2121) + (i32.const 3114) (i32.const 0) ) (unreachable) @@ -38249,10 +53276,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0.40660393238067627) - (f32.const -0.38558530807495117) - (f32.const 0.349787175655365) + (call $std/math/test_truncf + (f32.const 0.5) + (f32.const 0) + (f32.const 0) (i32.const 1) ) ) @@ -38260,7 +53287,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2122) + (i32.const 3115) (i32.const 0) ) (unreachable) @@ -38268,10 +53295,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.5617597699165344) - (f32.const 0.5092819333076477) - (f32.const -0.1528785079717636) + (call $std/math/test_truncf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) (i32.const 1) ) ) @@ -38279,7 +53306,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2123) + (i32.const 3116) (i32.const 0) ) (unreachable) @@ -38287,10 +53314,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.7741522789001465) - (f32.const 0.6493374705314636) - (f32.const 0.4317026138305664) + (call $std/math/test_truncf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) (i32.const 1) ) ) @@ -38298,7 +53325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2124) + (i32.const 3117) (i32.const 0) ) (unreachable) @@ -38306,10 +53333,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0.6787636876106262) - (f32.const -0.5907150506973267) - (f32.const 0.4079873859882355) + (call $std/math/test_truncf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) (i32.const 1) ) ) @@ -38317,7 +53344,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2125) + (i32.const 3118) (i32.const 0) ) (unreachable) @@ -38325,18 +53352,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0) + (call $std/math/test_truncf + (f32.const 0.9999923706054688) (f32.const 0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2128) + (i32.const 3119) (i32.const 0) ) (unreachable) @@ -38344,18 +53371,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0) + (call $std/math/test_truncf + (f32.const -0.9999923706054688) (f32.const -0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2129) + (i32.const 3120) (i32.const 0) ) (unreachable) @@ -38363,37 +53390,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const inf) - (f32.const 1) + (call $std/math/test_truncf + (f32.const 7.888609052210118e-31) (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 2130) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_tanhf - (f32.const -inf) - (f32.const -1) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2131) + (i32.const 3121) (i32.const 0) ) (unreachable) @@ -38401,18 +53409,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_truncf + (f32.const -7.888609052210118e-31) + (f32.const -0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2132) + (i32.const 3122) (i32.const 0) ) (unreachable) diff --git a/tests/compiler/std/math.ts b/tests/compiler/std/math.ts index 4bb4d00db9..7e875d84ff 100644 --- a/tests/compiler/std/math.ts +++ b/tests/compiler/std/math.ts @@ -1,8 +1,38 @@ -// based on http://nsz.repo.hu/git/?p=libc-test -// mostly generated from their tests using scripts/hexfloat.html +// Largely based on test cases from libc-test: http://nsz.repo.hu/git/?p=libc-test +/* + libc-test is licensed under the following standard MIT license: + + Copyright © 2005-2013 libc-test AUTHORS + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Portions of this software is derived from software authored by + third parties: + + math tests use numbers under BSD and GPL licenses see src/math/ucb/* + and src/math/crlibm/* for details +*/ -const js = true; +const js = true; // also test, and thus compare to, JS math? +// these flags are unused, but kept in case these might just so happen to become useful const INEXACT = 1 << 0; const INVALID = 1 << 1; const DIVBYZERO = 1 << 2; @@ -75,11 +105,16 @@ function check(actual: T, expected: T, dy: T, flags: i32): bool { return true; } -// === global alias ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Global aliases +//////////////////////////////////////////////////////////////////////////////////////////////////// -assert(Math.E == NativeMath.E); // should exist +assert(Math.E == NativeMath.E); +assert(Mathf.E == NativeMathf.E); -// === constants ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Constants +//////////////////////////////////////////////////////////////////////////////////////////////////// assert(check(NativeMath.E, JSMath.E, 0.0, 0)); assert(check(NativeMath.LN2, JSMath.LN2, 0.0, 0)); @@ -89,7 +124,17 @@ assert(check(NativeMath.PI, JSMath.PI, 0.0, 0)); assert(check(NativeMath.SQRT1_2, JSMath.SQRT1_2, 0.0, 0)); assert(check(NativeMath.SQRT2, JSMath.SQRT2, 0.0, 0)); -// === internal scalbn ================================ +assert(check(NativeMathf.E, JSMath.E, 0.0, 0)); +assert(check(NativeMathf.LN2, JSMath.LN2, 0.0, 0)); +assert(check(NativeMathf.LN10, JSMath.LN10, 0.0, 0)); +assert(check(NativeMathf.LOG2E, JSMath.LOG2E, 0.0, 0)); +assert(check(NativeMathf.PI, JSMath.PI, 0.0, 0)); +assert(check(NativeMathf.SQRT1_2, JSMath.SQRT1_2, 0.0, 0)); +assert(check(NativeMathf.SQRT2, JSMath.SQRT2, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Internal scalbn +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_scalbn(value: f64, n: i32, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.scalbn(value, n), expected, error, flags); @@ -100,11 +145,11 @@ assert(test_scalbn(-8.06684839057968084, -2, -2.01671209764492021, 0.0, 0)); assert(test_scalbn(4.34523984933830487, -1, 2.17261992466915244, 0.0, 0)); assert(test_scalbn(-8.38143342755524934, 0, -8.38143342755524934, 0.0, 0)); assert(test_scalbn(-6.53167358191348413, 1, -13.0633471638269683, 0.0, 0)); -assert(test_scalbn(9.26705696697258574, 2, 37.0682278678903430, 0.0, 0)); +assert(test_scalbn(9.26705696697258574, 2, 37.068227867890343, 0.0, 0)); assert(test_scalbn(0.661985898099504477, 3, 5.29588718479603582, 0.0, 0)); -assert(test_scalbn(-0.406603922385355310, 4, -6.50566275816568496, 0.0, 0)); -assert(test_scalbn(0.561759746220724110, 5, 17.9763118790631715, 0.0, 0)); -assert(test_scalbn(0.774152296591303690, 6, 49.5457469818434362, 0.0, 0)); +assert(test_scalbn(-0.40660392238535531, 4, -6.50566275816568496, 0.0, 0)); +assert(test_scalbn(0.56175974622072411, 5, 17.9763118790631715, 0.0, 0)); +assert(test_scalbn(0.77415229659130369, 6, 49.5457469818434362, 0.0, 0)); assert(test_scalbn(-0.678763702639402444, 7, -86.8817539378435129, 0.0, 0)); // special @@ -117,408 +162,59 @@ assert(test_scalbn(-Infinity, 0, -Infinity, 0.0, 0)); assert(test_scalbn(1.0, 0, 1.0, 0.0, 0)); assert(test_scalbn(1.0, 1, 2.0, 0.0, 0)); assert(test_scalbn(1.0, -1, 0.5, 0.0, 0)); -assert(test_scalbn(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); -assert(test_scalbn(NaN, 1, NaN, 0.0, 0)); -assert(test_scalbn(Infinity, 2147483647, Infinity, 0.0, 0)); -assert(test_scalbn(Infinity, -2147483647, Infinity, 0.0, 0)); -assert(test_scalbn(-Infinity, 2147483647, -Infinity, 0.0, 0)); -assert(test_scalbn(8.98846567431157954e+307, -2097, 4.94065645841246544e-324, 0.0, 0)); -assert(test_scalbn(4.94065645841246544e-324, 2097, 8.98846567431157954e+307, 0.0, 0)); -assert(test_scalbn(1.000244140625, -1074, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); -assert(test_scalbn(0.749999999999999889, -1073, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); -assert(test_scalbn(0.500000000000001221, -1024, 2.78134232313400667e-309, 0.0, INEXACT | UNDERFLOW)); - -// === internal scalbnf ================================ - -function test_scalbnf(value: f32, n: i32, expected: f32, error: f32, flags: i32): bool { - return check(NativeMathf.scalbn(value, n), expected, error, flags); -} - -// sanity -assert(test_scalbnf(-8.066848755, -2, -2.016712189, 0.0, 0)); -assert(test_scalbnf(4.345239639, -1, 2.172619820, 0.0, 0)); -assert(test_scalbnf(-8.381433487, 0, -8.381433487, 0.0, 0)); -assert(test_scalbnf(-6.531673431, 1, -13.06334686, 0.0, 0)); -assert(test_scalbnf(9.267057419, 2, 37.06822968, 0.0, 0)); -assert(test_scalbnf(0.6619858742, 3, 5.295886993, 0.0, 0)); -assert(test_scalbnf(-0.4066039324, 4, -6.505662918, 0.0, 0)); -assert(test_scalbnf(0.5617597699, 5, 17.97631264, 0.0, 0)); -assert(test_scalbnf(0.7741522789, 6, 49.54574585, 0.0, 0)); -assert(test_scalbnf(-0.6787636876, 7, -86.88175201, 0.0, 0)); - -// special -assert(test_scalbnf(0.0, 2147483647, 0.0, 0.0, 0)); -assert(test_scalbnf(0.0, -2147483647, 0.0, 0.0, 0)); -assert(test_scalbnf(-0.0, 2147483647, -0.0, 0.0, 0)); -assert(test_scalbnf(NaN, 0, NaN, 0.0, 0)); -assert(test_scalbnf(Infinity, 0, Infinity, 0.0, 0)); -assert(test_scalbnf(-Infinity, 0, -Infinity, 0.0, 0)); -assert(test_scalbnf(1.0, 0, 1.0, 0.0, 0)); -assert(test_scalbnf(1.0, 1, 2.0, 0.0, 0)); -assert(test_scalbnf(1.0, -1, 0.5, 0.0, 0)); -assert(test_scalbnf(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); -assert(test_scalbnf(NaN, 1, NaN, 0.0, 0)); -assert(test_scalbnf(Infinity, 2147483647, Infinity, 0.0, 0)); -assert(test_scalbnf(Infinity, -2147483647, Infinity, 0.0, 0)); -assert(test_scalbnf(-Infinity, 2147483647, -Infinity, 0.0, 0)); -assert(test_scalbnf(1.701411835e+38, -276, 1.401298464e-45, 0.0, 0)); -assert(test_scalbnf(1.401298464e-45, 276, 1.701411835e+38, 0.0, 0)); -assert(test_scalbnf(1.000244141, -149, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); -assert(test_scalbnf(0.7499999404, -148, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); -assert(test_scalbnf(0.5000006557, -128, 1.469369340e-39, 0.0, INEXACT | UNDERFLOW)); - -// === NativeMath.mod ================================ - -declare namespace JSOp { - export function mod(x: f64, y: f64): f64; -} - -function test_mod(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { - return check(NativeMath.mod(left, right), expected, error, flags) && - (!js || check( JSOp.mod(left, right), expected, error, flags)); -} - -// sanity -assert(test_mod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0)); -assert(test_mod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); -assert(test_mod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); -assert(test_mod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); -assert(test_mod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0)); -assert(test_mod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0)); -assert(test_mod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0)); -assert(test_mod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); -assert(test_mod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); -assert(test_mod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); - -// special -assert(test_mod(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_mod(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_mod(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_mod(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_mod(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_mod(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_mod(1.5, 1.0, 0.5, 0.0, 0)); -assert(test_mod(-1.5, 1.0, -0.5, 0.0, 0)); -assert(test_mod(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_mod(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_mod(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_mod(NaN, 1.0, NaN, 0.0, 0)); -assert(test_mod(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_mod(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_mod(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_mod(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_mod(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_mod(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_mod(1.5, -1.0, 0.5, 0.0, 0)); -assert(test_mod(-1.5, -1.0, -0.5, 0.0, 0)); -assert(test_mod(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_mod(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_mod(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_mod(NaN, -1.0, NaN, 0.0, 0)); -assert(test_mod(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_mod(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_mod(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_mod(0.0, NaN, NaN, 0.0, 0)); -assert(test_mod(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_mod(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_mod(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_mod(-0.0, NaN, NaN, 0.0, 0)); -assert(test_mod(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_mod(NaN, 0.0, NaN, 0.0, 0)); -assert(test_mod(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_mod(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_mod(NaN, -0.0, NaN, 0.0, 0)); -assert(test_mod(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_mod(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_mod(Infinity, NaN, NaN, 0.0, 0)); -assert(test_mod(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_mod(NaN, NaN, NaN, 0.0, 0)); -assert(test_mod(1.0, NaN, NaN, 0.0, 0)); -assert(test_mod(-1.0, NaN, NaN, 0.0, 0)); -assert(test_mod(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_mod(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_mod(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_mod(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_mod(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_mod(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_mod(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_mod(1.75, 0.5, 0.25, 0.0, 0)); -assert(test_mod(-1.75, 0.5, -0.25, 0.0, 0)); -assert(test_mod(1.75, -0.5, 0.25, 0.0, 0)); -assert(test_mod(-1.75, -0.5, -0.25, 0.0, 0)); - -// === NativeMathf.mod ================================ - -function test_modf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { - return check(NativeMathf.mod(left, right), expected, error, flags); -} - -// sanity -assert(test_modf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0)); -assert(test_modf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); -assert(test_modf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); -assert(test_modf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); -assert(test_modf(9.267057419, 4.811392307, 4.455665112, 0.0, 0)); -assert(test_modf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0)); -assert(test_modf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0)); -assert(test_modf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); -assert(test_modf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); -assert(test_modf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); - -// special -assert(test_modf(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_modf(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_modf(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_modf(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_modf(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_modf(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_modf(1.5, 1.0, 0.5, 0.0, 0)); -assert(test_modf(-1.5, 1.0, -0.5, 0.0, 0)); -assert(test_modf(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_modf(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_modf(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_modf(NaN, 1.0, NaN, 0.0, 0)); -assert(test_modf(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_modf(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_modf(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_modf(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_modf(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_modf(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_modf(1.5, -1.0, 0.5, 0.0, 0)); -assert(test_modf(-1.5, -1.0, -0.5, 0.0, 0)); -assert(test_modf(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_modf(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_modf(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_modf(NaN, -1.0, NaN, 0.0, 0)); -assert(test_modf(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_modf(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_modf(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_modf(0.0, NaN, NaN, 0.0, 0)); -assert(test_modf(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_modf(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_modf(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_modf(-0.0, NaN, NaN, 0.0, 0)); -assert(test_modf(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_modf(NaN, 0.0, NaN, 0.0, 0)); -assert(test_modf(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_modf(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_modf(NaN, -0.0, NaN, 0.0, 0)); -assert(test_modf(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_modf(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_modf(Infinity, NaN, NaN, 0.0, 0)); -assert(test_modf(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_modf(NaN, NaN, NaN, 0.0, 0)); -assert(test_modf(1.0, NaN, NaN, 0.0, 0)); -assert(test_modf(-1.0, NaN, NaN, 0.0, 0)); -assert(test_modf(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_modf(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_modf(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_modf(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_modf(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_modf(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_modf(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_modf(1.75, 0.5, 0.25, 0.0, 0)); -assert(test_modf(-1.75, 0.5, -0.25, 0.0, 0)); -assert(test_modf(1.75, -0.5, 0.25, 0.0, 0)); -assert(test_modf(-1.75, -0.5, -0.25, 0.0, 0)); - -// === NativeMath.rem ================================ - -function test_rem(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { - return check(NativeMath.rem(left, right), expected, error, flags); -} - -// sanity -assert(test_rem(-8.06684839057968084, 4.53566256067686879, 1.00447673077405675, 0.0, 0)); -assert(test_rem(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); -assert(test_rem(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); -assert(test_rem(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); -assert(test_rem(9.26705696697258574, 4.81139208435979615, -0.355727201747006561, 0.0, 0)); -assert(test_rem(-6.45004555606023633, 0.662071792337673881, 0.170672367316502482, 0.0, 0)); -assert(test_rem(7.85889025304169664, 0.0521545267500622481, -0.0164432862177028224, 0.0, 0)); -assert(test_rem(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); -assert(test_rem(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); -assert(test_rem(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); - -// special -assert(test_rem(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_rem(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_rem(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_rem(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_rem(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_rem(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_rem(1.5, 1.0, -0.5, 0.0, 0)); -assert(test_rem(-1.5, 1.0, 0.5, 0.0, 0)); -assert(test_rem(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_rem(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_rem(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_rem(NaN, 1.0, NaN, 0.0, 0)); -assert(test_rem(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_rem(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_rem(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_rem(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_rem(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_rem(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_rem(1.5, -1.0, -0.5, 0.0, 0)); -assert(test_rem(-1.5, -1.0, 0.5, 0.0, 0)); -assert(test_rem(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_rem(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_rem(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_rem(NaN, -1.0, NaN, 0.0, 0)); -assert(test_rem(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_rem(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_rem(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_rem(0.0, NaN, NaN, 0.0, 0)); -assert(test_rem(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_rem(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_rem(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_rem(-0.0, NaN, NaN, 0.0, 0)); -assert(test_rem(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_rem(NaN, 0.0, NaN, 0.0, 0)); -assert(test_rem(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_rem(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_rem(NaN, -0.0, NaN, 0.0, 0)); -assert(test_rem(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_rem(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_rem(Infinity, NaN, NaN, 0.0, 0)); -assert(test_rem(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_rem(NaN, NaN, NaN, 0.0, 0)); -assert(test_rem(1.0, NaN, NaN, 0.0, 0)); -assert(test_rem(-1.0, NaN, NaN, 0.0, 0)); -assert(test_rem(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_rem(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_rem(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_rem(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_rem(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_rem(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_rem(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_rem(1.75, 0.5, -0.25, 0.0, 0)); -assert(test_rem(-1.75, 0.5, 0.25, 0.0, 0)); -assert(test_rem(1.75, -0.5, -0.25, 0.0, 0)); -assert(test_rem(-1.75, -0.5, 0.25, 0.0, 0)); -assert(test_rem(7.90505033345994471e-323, Infinity, 7.90505033345994471e-323, 0.0, 0)); - -// === NativeMathf.rem ================================ - -function test_remf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { - return check(NativeMathf.rem(left, right), expected, error, flags); -} - -// sanity -assert(test_remf(-8.066848755, 4.535662651, 1.004476547, 0.0, 0)); -assert(test_remf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); -assert(test_remf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); -assert(test_remf(-6.531673431, 4.567535400, -1.964138031, 0.0, 0)); -assert(test_remf(9.267057419, 4.811392307, -0.3557271957, 0.0, 0)); -assert(test_remf(-6.450045586, 0.6620717645, 0.1706720591, 0.0, 0)); -assert(test_remf(7.858890057, 0.05215452611, -0.01644338667, 0.0, 0)); -assert(test_remf(-0.7920545340, 7.676402569, -0.7920545340, 0.0, 0)); -assert(test_remf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); -assert(test_remf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); - -// special -assert(test_remf(0.0, 1.0, 0.0, 0.0, 0)); -assert(test_remf(-0.0, 1.0, -0.0, 0.0, 0)); -assert(test_remf(0.5, 1.0, 0.5, 0.0, 0)); -assert(test_remf(-0.5, 1.0, -0.5, 0.0, 0)); -assert(test_remf(1.0, 1.0, 0.0, 0.0, 0)); -assert(test_remf(-1.0, 1.0, -0.0, 0.0, 0)); -assert(test_remf(1.5, 1.0, -0.5, 0.0, 0)); -assert(test_remf(-1.5, 1.0, 0.5, 0.0, 0)); -assert(test_remf(2.0, 1.0, 0.0, 0.0, 0)); -assert(test_remf(-2.0, 1.0, -0.0, 0.0, 0)); -assert(test_remf(Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, 1.0, NaN, 0.0, INVALID)); -assert(test_remf(NaN, 1.0, NaN, 0.0, 0)); -assert(test_remf(0.0, -1.0, 0.0, 0.0, 0)); -assert(test_remf(-0.0, -1.0, -0.0, 0.0, 0)); -assert(test_remf(0.5, -1.0, 0.5, 0.0, 0)); -assert(test_remf(-0.5, -1.0, -0.5, 0.0, 0)); -assert(test_remf(1.0, -1.0, 0.0, 0.0, 0)); -assert(test_remf(-1.0, -1.0, -0.0, 0.0, 0)); -assert(test_remf(1.5, -1.0, -0.5, 0.0, 0)); -assert(test_remf(-1.5, -1.0, 0.5, 0.0, 0)); -assert(test_remf(2.0, -1.0, 0.0, 0.0, 0)); -assert(test_remf(-2.0, -1.0, -0.0, 0.0, 0)); -assert(test_remf(Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, -1.0, NaN, 0.0, INVALID)); -assert(test_remf(NaN, -1.0, NaN, 0.0, 0)); -assert(test_remf(0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_remf(0.0, Infinity, 0.0, 0.0, 0)); -assert(test_remf(0.0, -Infinity, 0.0, 0.0, 0)); -assert(test_remf(0.0, NaN, NaN, 0.0, 0)); -assert(test_remf(-0.0, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(-0.0, -0.0, NaN, 0.0, INVALID)); -assert(test_remf(-0.0, Infinity, -0.0, 0.0, 0)); -assert(test_remf(-0.0, -Infinity, -0.0, 0.0, 0)); -assert(test_remf(-0.0, NaN, NaN, 0.0, 0)); -assert(test_remf(1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(-1.0, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, 0.0, NaN, 0.0, INVALID)); -assert(test_remf(NaN, 0.0, NaN, 0.0, 0)); -assert(test_remf(-1.0, -0.0, NaN, 0.0, INVALID)); -assert(test_remf(Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, -0.0, NaN, 0.0, INVALID)); -assert(test_remf(NaN, -0.0, NaN, 0.0, 0)); -assert(test_remf(Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_remf(Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_remf(Infinity, NaN, NaN, 0.0, 0)); -assert(test_remf(-Infinity, 2.0, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, -0.5, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, NaN, NaN, 0.0, 0)); -assert(test_remf(NaN, NaN, NaN, 0.0, 0)); -assert(test_remf(1.0, NaN, NaN, 0.0, 0)); -assert(test_remf(-1.0, NaN, NaN, 0.0, 0)); -assert(test_remf(1.0, Infinity, 1.0, 0.0, 0)); -assert(test_remf(-1.0, Infinity, -1.0, 0.0, 0)); -assert(test_remf(Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, Infinity, NaN, 0.0, INVALID)); -assert(test_remf(1.0, -Infinity, 1.0, 0.0, 0)); -assert(test_remf(-1.0, -Infinity, -1.0, 0.0, 0)); -assert(test_remf(Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_remf(-Infinity, -Infinity, NaN, 0.0, INVALID)); -assert(test_remf(1.750000000, 0.5, -0.25, 0.0, 0)); -assert(test_remf(-1.750000000, 0.5, 0.25, 0.0, 0)); -assert(test_remf(1.750000000, -0.5, -0.25, 0.0, 0)); -assert(test_remf(-1.750000000, -0.5, 0.25, 0.0, 0)); -assert(test_remf(5.877471754e-39, Infinity, 5.877471754e-39, 0.0, 0)); +assert(test_scalbn(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); +assert(test_scalbn(NaN, 1, NaN, 0.0, 0)); +assert(test_scalbn(Infinity, 2147483647, Infinity, 0.0, 0)); +assert(test_scalbn(Infinity, -2147483647, Infinity, 0.0, 0)); +assert(test_scalbn(-Infinity, 2147483647, -Infinity, 0.0, 0)); +assert(test_scalbn(8.98846567431157954e+307, -2097, 4.94065645841246544e-324, 0.0, 0)); +assert(test_scalbn(4.94065645841246544e-324, 2097, 8.98846567431157954e+307, 0.0, 0)); +assert(test_scalbn(1.000244140625, -1074, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbn(0.749999999999999889, -1073, 4.94065645841246544e-324, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbn(0.500000000000001221, -1024, 2.78134232313400667e-309, 0.0, INEXACT | UNDERFLOW)); + +// Internal scalbnf //////////////////////////////////////////////////////////////////////////////// + +function test_scalbnf(value: f32, n: i32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.scalbn(value, n), expected, error, flags); +} + +// sanity +assert(test_scalbnf(-8.066848755, -2, -2.016712189, 0.0, 0)); +assert(test_scalbnf(4.345239639, -1, 2.17261982, 0.0, 0)); +assert(test_scalbnf(-8.381433487, 0, -8.381433487, 0.0, 0)); +assert(test_scalbnf(-6.531673431, 1, -13.06334686, 0.0, 0)); +assert(test_scalbnf(9.267057419, 2, 37.06822968, 0.0, 0)); +assert(test_scalbnf(0.6619858742, 3, 5.295886993, 0.0, 0)); +assert(test_scalbnf(-0.4066039324, 4, -6.505662918, 0.0, 0)); +assert(test_scalbnf(0.5617597699, 5, 17.97631264, 0.0, 0)); +assert(test_scalbnf(0.7741522789, 6, 49.54574585, 0.0, 0)); +assert(test_scalbnf(-0.6787636876, 7, -86.88175201, 0.0, 0)); + +// special +assert(test_scalbnf(0.0, 2147483647, 0.0, 0.0, 0)); +assert(test_scalbnf(0.0, -2147483647, 0.0, 0.0, 0)); +assert(test_scalbnf(-0.0, 2147483647, -0.0, 0.0, 0)); +assert(test_scalbnf(NaN, 0, NaN, 0.0, 0)); +assert(test_scalbnf(Infinity, 0, Infinity, 0.0, 0)); +assert(test_scalbnf(-Infinity, 0, -Infinity, 0.0, 0)); +assert(test_scalbnf(1.0, 0, 1.0, 0.0, 0)); +assert(test_scalbnf(1.0, 1, 2.0, 0.0, 0)); +assert(test_scalbnf(1.0, -1, 0.5, 0.0, 0)); +assert(test_scalbnf(1.0, 2147483647, Infinity, 0.0, INEXACT | OVERFLOW)); +assert(test_scalbnf(NaN, 1, NaN, 0.0, 0)); +assert(test_scalbnf(Infinity, 2147483647, Infinity, 0.0, 0)); +assert(test_scalbnf(Infinity, -2147483647, Infinity, 0.0, 0)); +assert(test_scalbnf(-Infinity, 2147483647, -Infinity, 0.0, 0)); +assert(test_scalbnf(1.701411835e+38, -276, 1.401298464e-45, 0.0, 0)); +assert(test_scalbnf(1.401298464e-45, 276, 1.701411835e+38, 0.0, 0)); +assert(test_scalbnf(1.000244141, -149, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbnf(0.7499999404, -148, 1.401298464e-45, 0.0, INEXACT | UNDERFLOW)); +assert(test_scalbnf(0.5000006557, -128, 1.469369340e-39, 0.0, INEXACT | UNDERFLOW)); -// === Math.abs ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.abs +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_abs(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.abs(value), expected, error, flags) && @@ -532,13 +228,13 @@ assert(test_abs(-8.38143342755524934, 8.38143342755524934, 0.0, 0)); assert(test_abs(-6.53167358191348413, 6.53167358191348413, 0.0, 0)); assert(test_abs(9.26705696697258574, 9.26705696697258574, 0.0, 0)); assert(test_abs(0.661985898099504477, 0.661985898099504477, 0.0, 0)); -assert(test_abs(-0.406603922385355310, 0.406603922385355310, 0.0, 0)); -assert(test_abs(0.561759746220724110, 0.561759746220724110, 0.0, 0)); -assert(test_abs(0.774152296591303690, 0.774152296591303690, 0.0, 0)); +assert(test_abs(-0.40660392238535531, 0.40660392238535531, 0.0, 0)); +assert(test_abs(0.56175974622072411, 0.56175974622072411, 0.0, 0)); +assert(test_abs(0.77415229659130369, 0.77415229659130369, 0.0, 0)); assert(test_abs(-0.678763702639402444, 0.678763702639402444, 0.0, 0)); // special -assert(test_abs(0.0, 0.00, 0.0, 0)); +assert(test_abs(0.0, 0.0, 0.0, 0)); assert(test_abs(-0.0, 0.0, 0.0, 0)); assert(test_abs(1.0, 1.0, 0.0, 0)); assert(test_abs(-1.0, 1.0, 0.0, 0)); @@ -546,7 +242,7 @@ assert(test_abs(Infinity, Infinity, 0.0, 0)); assert(test_abs(-Infinity, Infinity, 0.0, 0)); assert(test_abs(NaN, NaN, 0.0, 0)); -// === Mathf.abs ================================ +// Mathf.abs /////////////////////////////////////////////////////////////////////////////////////// function test_absf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.abs(value), expected, error, flags); @@ -573,7 +269,9 @@ assert(test_absf(Infinity, Infinity, 0.0, 0)); assert(test_absf(-Infinity, Infinity, 0.0, 0)); assert(test_absf(NaN, NaN, 0.0, 0)); -// === Math.acos ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.acos +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_acos(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.acos(value), expected, error, flags) && @@ -586,10 +284,10 @@ assert(test_acos(4.34523984933830487, NaN, 0.0, INVALID)); assert(test_acos(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_acos(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_acos(9.26705696697258574, NaN, 0.0, INVALID)); -assert(test_acos(0.661985898099504477, 0.847331082843350680, -0.415532767772674561, INEXACT)); -assert(test_acos(-0.406603922385355310, 1.98953007108866897, 0.497394621372222900, INEXACT)); -assert(test_acos(0.561759746220724110, 0.974284964567490364, -0.442889750003814697, INEXACT)); -assert(test_acos(0.774152296591303690, 0.685421515863622210, -0.125895276665687561, INEXACT)); +assert(test_acos(0.661985898099504477, 0.84733108284335068, -0.415532767772674561, INEXACT)); +assert(test_acos(-0.40660392238535531, 1.98953007108866897, 0.4973946213722229, INEXACT)); +assert(test_acos(0.56175974622072411, 0.974284964567490364, -0.442889750003814697, INEXACT)); +assert(test_acos(0.77415229659130369, 0.68542151586362221, -0.125895276665687561, INEXACT)); assert(test_acos(-0.678763702639402444, 2.31687413820596388, -0.172849491238594055, INEXACT)); // special @@ -604,7 +302,7 @@ assert(test_acos(NaN, NaN, 0.0, 0)); assert(test_acos(-0.530922720959298489, 2.13048537997054632, 0.139100849628448486, INEXACT)); assert(test_acos(0.493955674639974585, 1.05416298758519456, 0.220547676086425781, INEXACT)); -// === Mathf.acos ================================ +// Mathf.acos ////////////////////////////////////////////////////////////////////////////////////// function test_acosf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.acos(value), expected, error, flags); @@ -632,10 +330,12 @@ assert(test_acosf(Infinity, NaN, 0.0, INVALID)); assert(test_acosf(-Infinity, NaN, 0.0, INVALID)); assert(test_acosf(NaN, NaN, 0.0, 0)); assert(test_acosf(0.4996506572, 1.047600865, -0.2116181403, INEXACT)); -assert(test_acosf(-0.5051405430, 2.100341082, -0.2085270584, INEXACT)); -assert(test_acosf(-0.5189794898, 2.116452932, -0.1460082680, INEXACT)); +assert(test_acosf(-0.505140543, 2.100341082, -0.2085270584, INEXACT)); +assert(test_acosf(-0.5189794898, 2.116452932, -0.146008268, INEXACT)); -// === Math.acosh ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.acosh +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_acosh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.acosh(value), expected, error, flags) && @@ -649,40 +349,40 @@ assert(test_acosh(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_acosh(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_acosh(9.26705696697258574, 2.91668914109907984, -0.241919085383415222, INEXACT)); assert(test_acosh(0.661985898099504477, NaN, 0.0, INVALID)); -assert(test_acosh(-0.406603922385355310, NaN, 0.0, INVALID)); -assert(test_acosh(0.561759746220724110, NaN, 0.0, INVALID)); -assert(test_acosh(0.774152296591303690, NaN, 0.0, INVALID)); +assert(test_acosh(-0.40660392238535531, NaN, 0.0, INVALID)); +assert(test_acosh(0.56175974622072411, NaN, 0.0, INVALID)); +assert(test_acosh(0.77415229659130369, NaN, 0.0, INVALID)); assert(test_acosh(-0.678763702639402444, NaN, 0.0, INVALID)); // special assert(test_acosh(NaN, NaN, 0.0, 0)); assert(test_acosh(Infinity, Infinity, 0.0, 0)); assert(test_acosh(1.0, 0.0, 0.0, 0)); -assert(test_acosh(0.999992370605468750, NaN, 0.0, INVALID)); +assert(test_acosh(0.99999237060546875, NaN, 0.0, INVALID)); assert(test_acosh(0.0, NaN, 0.0, INVALID)); assert(test_acosh(-0.0, NaN, 0.0, INVALID)); assert(test_acosh(-Infinity, NaN, 0.0, INVALID)); // TODO: hard cases close to 1 -// assert(test_acosh(1.00047471439683111, 0.0308115836212692340, -0.147202208638191223, INEXACT)); -// assert(test_acosh(1.00183940730320464, 0.0606439391272710696, -0.276413351297378540, INEXACT)); +// assert(test_acosh(1.00047471439683111, 0.030811583621269234, -0.147202208638191223, INEXACT)); +// assert(test_acosh(1.00183940730320464, 0.0606439391272710696, -0.27641335129737854, INEXACT)); // assert(test_acosh(1.00188411580836734, 0.0613762895053152624, 0.144539892673492432, INEXACT)); -// assert(test_acosh(1.00710219219241903, 0.119111722533103620, -0.0701267644762992859, INEXACT)); -// assert(test_acosh(1.00721657615236126, 0.120065923465338800, 0.348167449235916138, INEXACT)); +// assert(test_acosh(1.00710219219241903, 0.11911172253310362, -0.0701267644762992859, INEXACT)); +// assert(test_acosh(1.00721657615236126, 0.1200659234653388, 0.348167449235916138, INEXACT)); // assert(test_acosh(1.00755889036240331, 0.122877066266470714, 0.238077804446220398, INEXACT)); // assert(test_acosh(1.02542398474864016, 0.225019907470933367, -0.326139897108078003, INEXACT)); -// assert(test_acosh(1.02566252207476860, 0.226068601206439679, -0.0386677794158458710, INEXACT)); -// assert(test_acosh(1.02583916511391160, 0.226842008792436378, -0.214941442012786865, INEXACT)); -// assert(test_acosh(1.02779264167821971, 0.235222655703679978, -0.181946381926536560, INEXACT)); -// assert(test_acosh(1.02795793845257588, 0.235917895367856345, -0.210223436355590820, INEXACT)); +// assert(test_acosh(1.0256625220747686, 0.226068601206439679, -0.038667779415845871, INEXACT)); +// assert(test_acosh(1.0258391651139116, 0.226842008792436378, -0.214941442012786865, INEXACT)); +// assert(test_acosh(1.02779264167821971, 0.235222655703679978, -0.18194638192653656, INEXACT)); +// assert(test_acosh(1.02795793845257588, 0.235917895367856345, -0.21022343635559082, INEXACT)); // assert(test_acosh(1.03023030515918168, 0.245272131775117419, -0.281468182802200317, INEXACT)); // assert(test_acosh(1.10422493637863384, 0.452687876797022049, 0.276559263467788696, INEXACT)); -assert(test_acosh(1.10608311999264286, 0.456637340438480310, -0.293816089630126953, INEXACT)); +assert(test_acosh(1.10608311999264286, 0.45663734043848031, -0.293816089630126953, INEXACT)); // assert(test_acosh(1.10669650280664866, 0.457933064962976033, -0.261756330728530884, INEXACT)); assert(test_acosh(1.10898095576286582, 0.462724685995942797, -0.399009555578231812, INEXACT)); -assert(test_acosh(1.11694291598755213, 0.479024331340752840, -0.321674108505249023, INEXACT)); +assert(test_acosh(1.11694291598755213, 0.47902433134075284, -0.321674108505249023, INEXACT)); -// === Mathf.acosh ================================ +// Mathf.acosh ///////////////////////////////////////////////////////////////////////////////////// function test_acoshf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.acosh(value), expected, error, flags); @@ -690,7 +390,7 @@ function test_acoshf(value: f32, expected: f32, error: f32, flags: i32): bool { // sanity assert(test_acoshf(-8.066848755, NaN, 0.0, INVALID)); -assert(test_acoshf(4.345239639, 2.148716450, 0.4251045287, INEXACT)); +assert(test_acoshf(4.345239639, 2.14871645, 0.4251045287, INEXACT)); assert(test_acoshf(-8.381433487, NaN, 0.0, INVALID)); assert(test_acoshf(-6.531673431, NaN, 0.0, INVALID)); assert(test_acoshf(9.267057419, 2.916689157, -0.1369788945, INEXACT)); @@ -710,7 +410,9 @@ assert(test_acoshf(-0.0, NaN, 0.0, INVALID)); assert(test_acoshf(-Infinity, NaN, 0.0, INVALID)); assert(test_acoshf(-1.125899907e+15, NaN, 0.0, INVALID)); -// === Math.asin ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.asin +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_asin(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.asin(value), expected, error, flags) && @@ -724,9 +426,9 @@ assert(test_asin(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_asin(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_asin(9.26705696697258574, NaN, 0.0, INVALID)); assert(test_asin(0.661985898099504477, 0.723465243951545878, -0.135999128222465515, INEXACT)); -assert(test_asin(-0.406603922385355310, -0.418733744293772248, -0.0926423072814941406, INEXACT)); -assert(test_asin(0.561759746220724110, 0.596511362227406194, -0.108642138540744781, INEXACT)); -assert(test_asin(0.774152296591303690, 0.885374810931274348, -0.425636619329452515, INEXACT)); +assert(test_asin(-0.40660392238535531, -0.418733744293772248, -0.0926423072814941406, INEXACT)); +assert(test_asin(0.56175974622072411, 0.596511362227406194, -0.108642138540744781, INEXACT)); +assert(test_asin(0.77415229659130369, 0.885374810931274348, -0.425636619329452515, INEXACT)); assert(test_asin(-0.678763702639402444, -0.746077811411067326, 0.139866068959236145, INEXACT)); // special @@ -739,9 +441,9 @@ assert(test_asin(-1.00000000000000022, NaN, 0.0, INVALID)); assert(test_asin(Infinity, NaN, 0.0, INVALID)); assert(test_asin(-Infinity, NaN, 0.0, INVALID)); assert(test_asin(NaN, NaN, 0.0, 0)); -assert(test_asin(0.507304392911914759, 0.532053899777234940, -0.161573171615600586, INEXACT)); +assert(test_asin(0.507304392911914759, 0.53205389977723494, -0.161573171615600586, INEXACT)); -// === Mathf.asin ================================ +// Mathf.asin ////////////////////////////////////////////////////////////////////////////////////// function test_asinf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.asin(value), expected, error, flags); @@ -755,9 +457,9 @@ assert(test_asinf(-6.531673431, NaN, 0.0, INVALID)); assert(test_asinf(9.267057419, NaN, 0.0, INVALID)); assert(test_asinf(0.6619858742, 0.7234652042, -0.1307632476, INEXACT)); assert(test_asinf(-0.4066039324, -0.4187337458, 0.3161141574, INEXACT)); -assert(test_asinf(0.5617597699, 0.5965113640, -0.4510819614, INEXACT)); +assert(test_asinf(0.5617597699, 0.596511364, -0.4510819614, INEXACT)); assert(test_asinf(0.7741522789, 0.8853747845, 0.02493886836, INEXACT)); -assert(test_asinf(-0.6787636876, -0.7460777760, 0.2515012324, INEXACT)); +assert(test_asinf(-0.6787636876, -0.746077776, 0.2515012324, INEXACT)); // special assert(test_asinf(1.0, 1.570796371, 0.3666777015, INEXACT)); @@ -769,9 +471,11 @@ assert(test_asinf(-1.000000119, NaN, 0.0, INVALID)); assert(test_asinf(Infinity, NaN, 0.0, INVALID)); assert(test_asinf(-Infinity, NaN, 0.0, INVALID)); assert(test_asinf(NaN, NaN, 0.0, 0)); -assert(test_asinf(0.5004770160, 0.5241496563, -0.2942709923, INEXACT)); +assert(test_asinf(0.500477016, 0.5241496563, -0.2942709923, INEXACT)); -// === Math.asinh ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.asinh +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_asinh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.asinh(value), expected, error, flags) && @@ -781,13 +485,13 @@ function test_asinh(value: f64, expected: f64, error: f64, flags: i32): bool { // sanity assert(test_asinh(-8.06684839057968084, -2.78472987838786112, -0.476218998432159424, INEXACT)); assert(test_asinh(4.34523984933830487, 2.17521338901316419, -0.0272875130176544189, INEXACT)); -assert(test_asinh(-8.38143342755524934, -2.82270608369769604, 0.209852576255798340, INEXACT)); +assert(test_asinh(-8.38143342755524934, -2.82270608369769604, 0.20985257625579834, INEXACT)); assert(test_asinh(-6.53167358191348413, -2.57561944659192221, 0.311313420534133911, INEXACT)); assert(test_asinh(9.26705696697258574, 2.92251149510486741, 0.499175608158111572, INEXACT)); assert(test_asinh(0.661985898099504477, 0.621246276270716602, -0.469734758138656616, INEXACT)); -assert(test_asinh(-0.406603922385355310, -0.396159903931920354, -0.408144384622573853, INEXACT)); -assert(test_asinh(0.561759746220724110, 0.535758887025547414, 0.352071315050125122, INEXACT)); -assert(test_asinh(0.774152296591303690, 0.712357126319734912, 0.133714511990547180, INEXACT)); +assert(test_asinh(-0.40660392238535531, -0.396159903931920354, -0.408144384622573853, INEXACT)); +assert(test_asinh(0.56175974622072411, 0.535758887025547414, 0.352071315050125122, INEXACT)); +assert(test_asinh(0.77415229659130369, 0.712357126319734912, 0.13371451199054718, INEXACT)); assert(test_asinh(-0.678763702639402444, -0.635182348903198024, 0.0474967099726200104, INEXACT)); // special @@ -800,8 +504,8 @@ assert(test_asinh(-0.0, -0.0, 0.0, 0)); // TODO: hard cases around 0.125? // assert(test_asinh(0.247980229031791038, 0.245506531315820731, -0.487455964088439941, INEXACT)); // assert(test_asinh(0.233961368245165308, 0.231877865394494953, 0.448774427175521851, INEXACT)); -// assert(test_asinh(0.241896364059492580, 0.239597351837045336, -0.432244122028350830, INEXACT)); -// assert(test_asinh(0.242977050175132520, 0.240647613714979003, 0.464605927467346191, INEXACT)); +// assert(test_asinh(0.24189636405949258, 0.239597351837045336, -0.43224412202835083, INEXACT)); +// assert(test_asinh(0.24297705017513252, 0.240647613714979003, 0.464605927467346191, INEXACT)); // assert(test_asinh(0.243009640747287647, 0.240679282734723166, 0.474347352981567383, INEXACT)); // assert(test_asinh(0.243762819057833202, 0.241411097647160899, -0.471239805221557617, INEXACT)); // assert(test_asinh(0.244209582852871615, 0.241845129387203428, 0.357721567153930664, INEXACT)); @@ -809,7 +513,7 @@ assert(test_asinh(-0.0, -0.0, 0.0, 0)); // assert(test_asinh(0.248925886656024803, 0.246424287018607635, 0.423774600028991699, INEXACT)); // assert(test_asinh(0.249687050136605942, 0.247162844410159732, 0.467378854751586914, INEXACT)); // assert(test_asinh(0.252496955340698215, 0.249888150492394823, -0.330307126045227051, INEXACT)); -// assert(test_asinh(0.465276618378783480, 0.449940706126732537, 0.415301203727722168, INEXACT)); +// assert(test_asinh(0.46527661837878348, 0.449940706126732537, 0.415301203727722168, INEXACT)); // assert(test_asinh(0.467958660300663964, 0.452371172681032996, 0.495325148105621338, INEXACT)); // assert(test_asinh(0.479083566135035333, 0.462425786301167263, 0.421210944652557373, INEXACT)); // assert(test_asinh(0.481281048969517788, 0.464406726694242211, -0.483110427856445313, INEXACT)); @@ -817,7 +521,7 @@ assert(test_asinh(-0.0, -0.0, 0.0, 0)); // assert(test_asinh(0.489993198082535886, 0.472243604962259256, -0.437918633222579956, INEXACT)); // assert(test_asinh(0.519085143365399015, 0.498216616337933904, -0.420524448156356812, INEXACT)); -// === Mathf.asinh ================================ +// Mathf.asinh ///////////////////////////////////////////////////////////////////////////////////// function test_asinhf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.asinh(value), expected, error, flags); @@ -829,7 +533,7 @@ assert(test_asinhf(4.345239639, 2.175213337, -0.02079696581, INEXACT)); assert(test_asinhf(-8.381433487, -2.822705984, 0.4471853375, INEXACT)); assert(test_asinhf(-6.531673431, -2.575619459, -0.1482227296, INEXACT)); assert(test_asinhf(9.267057419, 2.922511578, 0.1427068114, INEXACT)); -assert(test_asinhf(0.6619858742, 0.6212462783, 0.3684912920, INEXACT)); +assert(test_asinhf(0.6619858742, 0.6212462783, 0.368491292, INEXACT)); assert(test_asinhf(-0.4066039324, -0.3961599171, -0.1317030638, INEXACT)); assert(test_asinhf(0.5617597699, 0.5357589126, 0.08184859902, INEXACT)); assert(test_asinhf(0.7741522789, 0.7123571038, -0.1427073777, INEXACT)); @@ -842,7 +546,9 @@ assert(test_asinhf(-Infinity, -Infinity, 0.0, 0)); assert(test_asinhf(0.0, 0.0, 0.0, 0)); assert(test_asinhf(-0.0, -0.0, 0.0, 0)); -// === Math.atan ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.atan +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_atan(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.atan(value), expected, error, flags) && @@ -856,9 +562,9 @@ assert(test_atan(-8.38143342755524934, -1.45204634632955387, -0.0750548020005226 assert(test_atan(-6.53167358191348413, -1.41887586587525316, -0.0576334968209266663, INEXACT)); assert(test_atan(9.26705696697258574, 1.46330314544870599, 0.160695642232894897, INEXACT)); assert(test_atan(0.661985898099504477, 0.584755067023832509, 0.458255648612976074, INEXACT)); -assert(test_atan(-0.406603922385355310, -0.386186417755213118, -0.257428169250488281, INEXACT)); -assert(test_atan(0.561759746220724110, 0.511826953162888065, -0.114442773163318634, INEXACT)); -assert(test_atan(0.774152296591303690, 0.658780243165382196, -0.112864881753921509, INEXACT)); +assert(test_atan(-0.40660392238535531, -0.386186417755213118, -0.257428169250488281, INEXACT)); +assert(test_atan(0.56175974622072411, 0.511826953162888065, -0.114442773163318634, INEXACT)); +assert(test_atan(0.77415229659130369, 0.658780243165382196, -0.112864881753921509, INEXACT)); assert(test_atan(-0.678763702639402444, -0.596330782697347184, -0.218284234404563904, INEXACT)); // special @@ -869,9 +575,9 @@ assert(test_atan(-1.0, -0.785398163397448279, 0.275765955448150635, INEXACT)); assert(test_atan(Infinity, 1.57079632679489656, -0.275765955448150635, INEXACT)); assert(test_atan(-Infinity, -1.57079632679489656, 0.275765955448150635, INEXACT)); assert(test_atan(NaN, NaN, 0.0, 0)); -assert(test_atan(0.692982153567462400, 0.606000455515256164, -0.170757904648780823, INEXACT)); +assert(test_atan(0.6929821535674624, 0.606000455515256164, -0.170757904648780823, INEXACT)); -// === Mathf.atan ================================ +// Mathf.atan ////////////////////////////////////////////////////////////////////////////////////// function test_atanf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.atan(value), expected, error, flags); @@ -885,7 +591,7 @@ assert(test_atanf(-6.531673431, -1.418875813, 0.4105703533, INEXACT)); assert(test_atanf(9.267057419, 1.463303208, 0.4840350151, INEXACT)); assert(test_atanf(0.6619858742, 0.5847550631, 0.2125193477, INEXACT)); assert(test_atanf(-0.4066039324, -0.3861864209, 0.1816962808, INEXACT)); -assert(test_atanf(0.5617597699, 0.5118269920, 0.3499770761, INEXACT)); +assert(test_atanf(0.5617597699, 0.511826992, 0.3499770761, INEXACT)); assert(test_atanf(0.7741522789, 0.6587802172, -0.2505330741, INEXACT)); assert(test_atanf(-0.6787636876, -0.5963307619, 0.1761482656, INEXACT)); @@ -898,7 +604,181 @@ assert(test_atanf(Infinity, 1.570796371, 0.3666777015, INEXACT)); assert(test_atanf(-Infinity, -1.570796371, -0.3666777015, INEXACT)); assert(test_atanf(NaN, NaN, 0.0, 0)); -// === Math.cbrt ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.atanh +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_atanh(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.atanh(value), expected, error, flags) && + (!js || check( JSMath.atanh(value), expected, error, flags)); +} + +// sanity +assert(test_atanh(-8.06684839057968084, NaN, 0.0, INVALID)); +assert(test_atanh(4.34523984933830487, NaN, 0.0, INVALID)); +assert(test_atanh(-8.38143342755524934, NaN, 0.0, INVALID)); +assert(test_atanh(-6.53167358191348413, NaN, 0.0, INVALID)); +assert(test_atanh(9.26705696697258574, NaN, 0.0, INVALID)); +assert(test_atanh(0.661985898099504477, 0.796340437134794299, 0.213383659720420837, INEXACT)); +assert(test_atanh(-0.40660392238535531, -0.431535707306028971, -0.432566612958908081, INEXACT)); +assert(test_atanh(0.56175974622072411, 0.635400611164457785, -0.0652786567807197571, INEXACT)); +assert(test_atanh(0.77415229659130369, 1.03060855752779945, 0.146320521831512451, INEXACT)); +assert(test_atanh(-0.678763702639402444, -0.826817964520525472, 0.139712870121002197, INEXACT)); + +// special +assert(test_atanh(NaN, NaN, 0.0, 0)); +assert(test_atanh(Infinity, NaN, 0.0, INVALID)); +assert(test_atanh(-Infinity, NaN, 0.0, INVALID)); +assert(test_atanh(0.0, 0.0, 0.0, 0)); +assert(test_atanh(-0.0, -0.0, 0.0, 0)); +assert(test_atanh(1.0, Infinity, 0.0, DIVBYZERO)); +assert(test_atanh(-1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_atanh(1.0000152587890625, NaN, 0.0, INVALID)); +assert(test_atanh(-1.0000152587890625, NaN, 0.0, INVALID)); +assert(test_atanh(1.35525271560688054e-20, 1.35525271560688054e-20, 0.0, INEXACT)); +assert(test_atanh(9.33263618503218879e-302, 9.33263618503218879e-302, 0.0, INEXACT)); +assert(test_atanh(5.56268464626800346e-309, 5.56268464626800346e-309, 0.0, INEXACT | UNDERFLOW)); +assert(test_atanh(-5.56268464626800346e-309, -5.56268464626800346e-309, 0.0, INEXACT | UNDERFLOW)); +assert(test_atanh(8.98846567431157954e+307, NaN, 0.0, INVALID)); + +// Mathf.atanh ///////////////////////////////////////////////////////////////////////////////////// + +function test_atanhf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.atanh(value), expected, error, flags); +} + +// sanity +assert(test_atanhf(-8.066848755, NaN, 0.0, INVALID)); +assert(test_atanhf(4.345239639, NaN, 0.0, INVALID)); +assert(test_atanhf(-8.381433487, NaN, 0.0, INVALID)); +assert(test_atanhf(-6.531673431, NaN, 0.0, INVALID)); +assert(test_atanhf(9.267057419, NaN, 0.0, INVALID)); +assert(test_atanhf(0.6619858742, 0.7963404059, 0.1911219656, INEXACT)); +assert(test_atanhf(-0.4066039324, -0.4315357208, -0.05180925131, INEXACT)); +assert(test_atanhf(0.5617597699, 0.6354006529, 0.1191105619, INEXACT)); +assert(test_atanhf(0.7741522789, 1.030608535, 0.1798270345, INEXACT)); +assert(test_atanhf(-0.6787636876, -0.8268179297, 0.1158898324, INEXACT)); + +// special +assert(test_atanhf(NaN, NaN, 0.0, 0)); +assert(test_atanhf(Infinity, NaN, 0.0, INVALID)); +assert(test_atanhf(-Infinity, NaN, 0.0, INVALID)); +assert(test_atanhf(0.0, 0.0, 0.0, 0)); +assert(test_atanhf(-0.0, -0.0, 0.0, 0)); +assert(test_atanhf(1.0, Infinity, 0.0, DIVBYZERO)); +assert(test_atanhf(-1.0, -Infinity, 0.0, DIVBYZERO)); +assert(test_atanhf(1.000015259, NaN, 0.0, INVALID)); +assert(test_atanhf(-1.000015259, NaN, 0.0, INVALID)); +assert(test_atanhf(1.355252716e-20, 1.355252716e-20, 0.0, INEXACT)); +assert(test_atanhf(7.888609052e-31, 7.888609052e-31, 0.0, INEXACT)); +assert(test_atanhf(2.938735877e-39, 2.938735877e-39, 0.0, INEXACT | UNDERFLOW)); +assert(test_atanhf(-2.938735877e-39, -2.938735877e-39, 0.0, INEXACT | UNDERFLOW)); +assert(test_atanhf(1.701411835e+38, NaN, 0.0, INVALID)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.atan2 +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_atan2(value1: f64, value2: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.atan2(value1, value2), expected, error, flags) && + (!js || check( JSMath.atan2(value1, value2), expected, error, flags)); +} + +// sanity +assert(test_atan2(-8.06684839057968084, 4.53566256067686879, -1.05858954024890228, 0.0976626351475715637, INEXACT)); +assert(test_atan2(4.34523984933830487, -8.88799136300345083, 2.68687341260130674, 0.358339488506317139, INEXACT)); +assert(test_atan2(-8.38143342755524934, -2.76360733737958819, -1.88930009184952796, -0.462359577417373657, INEXACT)); +assert(test_atan2(-6.53167358191348413, 4.56753527684274374, -0.960546902111148904, -0.215244770050048828, INEXACT)); +assert(test_atan2(9.26705696697258574, 4.81139208435979615, 1.09191239461421086, 0.389444321393966675, INEXACT)); +assert(test_atan2(-6.45004555606023633, 0.662071792337673881, -1.46850850061642402, -0.448591411113739014, INEXACT)); +assert(test_atan2(7.85889025304169664, 0.0521545267500622481, 1.5641600512601268, 0.378484278917312622, INEXACT)); +assert(test_atan2(-0.792054511984895959, 7.67640268511753998, -0.102816589106785081, -0.139932602643966675, INEXACT)); +assert(test_atan2(0.615702673197924044, 2.01190257903248026, 0.296979740044935159, 0.44753071665763855, INEXACT)); +assert(test_atan2(-0.558758682360915193, 0.0322398306026380407, -1.51316120533039156, 0.397088766098022461, INEXACT)); + +// special +assert(test_atan2(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_atan2(0.0, -0.0, 3.14159265358979312, -0.275765955448150635, INEXACT)); +assert(test_atan2(0.0, -1.0, 3.14159265358979312, -0.275765955448150635, INEXACT)); +assert(test_atan2(0.0, -Infinity, 3.14159265358979312, -0.275765955448150635, INEXACT)); +assert(test_atan2(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_atan2(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_atan2(-0.0, 0.0, -0.0, 0.0, 0)); +assert(test_atan2(-0.0, -0.0, -3.14159265358979312, 0.275765955448150635, INEXACT)); +assert(test_atan2(-0.0, -1.0, -3.14159265358979312, 0.275765955448150635, INEXACT)); +assert(test_atan2(-0.0, -Infinity, -3.14159265358979312, 0.275765955448150635, INEXACT)); +assert(test_atan2(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_atan2(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_atan2(-1.0, 0.0, -1.57079632679489656, 0.275765955448150635, INEXACT)); +assert(test_atan2(-1.0, -0.0, -1.57079632679489656, 0.275765955448150635, INEXACT)); +assert(test_atan2(1.0, 0.0, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_atan2(1.0, -0.0, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_atan2(-1.0, Infinity, -0.0, 0.0, 0)); +assert(test_atan2(1.0, Infinity, 0.0, 0.0, 0)); +assert(test_atan2(-1.0, -Infinity, -3.14159265358979312, 0.275765955448150635, INEXACT)); +assert(test_atan2(1.0, -Infinity, 3.14159265358979312, -0.275765955448150635, INEXACT)); +assert(test_atan2(Infinity, 0.0, 1.57079632679489656, -0.275765955448150635, INEXACT)); +assert(test_atan2(-Infinity, 0.0, -1.57079632679489656, 0.275765955448150635, INEXACT)); +assert(test_atan2(Infinity, Infinity, 0.785398163397448279, -0.275765955448150635, INEXACT)); +assert(test_atan2(Infinity, -Infinity, 2.35619449019234484, -0.206824451684951782, INEXACT)); +assert(test_atan2(-Infinity, Infinity, -0.785398163397448279, 0.275765955448150635, INEXACT)); +assert(test_atan2(-Infinity, -Infinity, -2.35619449019234484, 0.206824451684951782, INEXACT)); +assert(test_atan2(1.11253692925360069e-308, 1.0, 1.11253692925360069e-308, 0.0, INEXACT | UNDERFLOW)); +assert(test_atan2(1.0, 8.98846567431157954e+307, 1.11253692925360069e-308, 0.0, INEXACT | UNDERFLOW)); +assert(test_atan2(1.5, 8.98846567431157954e+307, 1.66880539388040104e-308, 0.0, INEXACT | UNDERFLOW)); +assert(test_atan2(1.5, -8.98846567431157954e+307, 3.14159265358979312, 0.0, INEXACT)); + +// Mathf.atan2 ///////////////////////////////////////////////////////////////////////////////////// + +function test_atan2f(value1: f32, value2: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.atan2(value1, value2), expected, error, flags); +} + +// sanity +assert(test_atan2f(-8.066848755, 4.535662651, -1.058589578, -0.2235258818, INEXACT)); +assert(test_atan2f(4.345239639, -8.887990952, 2.686873436, 0.09464472532, INEXACT)); +assert(test_atan2f(-8.381433487, -2.763607264, -1.889300108, -0.2194190174, INEXACT)); +assert(test_atan2f(-6.531673431, 4.5675354, -0.9605468512, 0.4601557553, INEXACT)); +assert(test_atan2f(9.267057419, 4.811392307, 1.091912389, -0.05708503723, INEXACT)); +assert(test_atan2f(-6.450045586, 0.6620717645, -1.468508482, 0.1961120665, INEXACT)); +assert(test_atan2f(7.858890057, 0.05215452611, 1.564160109, 0.4814318717, INEXACT)); +assert(test_atan2f(-0.792054534, 7.676402569, -0.1028165966, -0.4216274917, INEXACT)); +assert(test_atan2f(0.6157026887, 2.011902571, 0.2969797552, 0.2322007567, INEXACT)); +assert(test_atan2f(-0.5587586761, 0.03223983198, -1.513161182, 0.1662072688, INEXACT)); + +// special +assert(test_atan2f(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_atan2f(0.0, -0.0, 3.141592741, 0.3666777015, INEXACT)); +assert(test_atan2f(0.0, -1.0, 3.141592741, 0.3666777015, INEXACT)); +assert(test_atan2f(0.0, -Infinity, 3.141592741, 0.3666777015, INEXACT)); +assert(test_atan2f(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_atan2f(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_atan2f(-0.0, 0.0, -0.0, 0.0, 0)); +assert(test_atan2f(-0.0, -0.0, -3.141592741, -0.3666777015, INEXACT)); +assert(test_atan2f(-0.0, -1.0, -3.141592741, -0.3666777015, INEXACT)); +assert(test_atan2f(-0.0, -Infinity, -3.141592741, -0.3666777015, INEXACT)); +assert(test_atan2f(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_atan2f(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_atan2f(-1.0, 0.0, -1.570796371, -0.3666777015, INEXACT)); +assert(test_atan2f(-1.0, -0.0, -1.570796371, -0.3666777015, INEXACT)); +assert(test_atan2f(1.0, 0.0, 1.570796371, 0.3666777015, INEXACT)); +assert(test_atan2f(1.0, -0.0, 1.570796371, 0.3666777015, INEXACT)); +assert(test_atan2f(-1.0, Infinity, -0.0, 0.0, 0)); +assert(test_atan2f(1.0, Infinity, 0.0, 0.0, 0)); +assert(test_atan2f(-1.0, -Infinity, -3.141592741, -0.3666777015, INEXACT)); +assert(test_atan2f(1.0, -Infinity, 3.141592741, 0.3666777015, INEXACT)); +assert(test_atan2f(Infinity, 0.0, 1.570796371, 0.3666777015, INEXACT)); +assert(test_atan2f(-Infinity, 0.0, -1.570796371, -0.3666777015, INEXACT)); +assert(test_atan2f(Infinity, Infinity, 0.7853981853, 0.3666777015, INEXACT)); +assert(test_atan2f(Infinity, -Infinity, 2.356194496, 0.02500828728, INEXACT)); +assert(test_atan2f(-Infinity, Infinity, -0.7853981853, -0.3666777015, INEXACT)); +assert(test_atan2f(-Infinity, -Infinity, -2.356194496, -0.02500828728, INEXACT)); +assert(test_atan2f(5.877471754e-39, 1.0, 5.877471754e-39, 0.0, INEXACT | UNDERFLOW)); +assert(test_atan2f(1.0, 1.701411835e+38, 5.877471754e-39, 0.0, INEXACT | UNDERFLOW)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.cbrt +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_cbrt(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cbrt(value), expected, error, flags) && @@ -908,13 +788,13 @@ function test_cbrt(value: f64, expected: f64, error: f64, flags: i32): bool { // sanity assert(test_cbrt(-8.06684839057968084, -2.00555525450202454, 0.466679513454437256, INEXACT)); assert(test_cbrt(4.34523984933830487, 1.63181624105156353, -0.0816027149558067322, INEXACT)); -assert(test_cbrt(-8.38143342755524934, -2.03129391067336096, -0.0481018163263797760, INEXACT)); +assert(test_cbrt(-8.38143342755524934, -2.03129391067336096, -0.048101816326379776, INEXACT)); assert(test_cbrt(-6.53167358191348413, -1.86928200122049248, 0.0862401872873306274, INEXACT)); assert(test_cbrt(9.26705696697258574, 2.10045772085970217, -0.272298902273178101, INEXACT)); -assert(test_cbrt(0.661985898099504477, 0.871531147045597310, 0.441491812467575073, INEXACT)); -assert(test_cbrt(-0.406603922385355310, -0.740839030300223023, 0.0164538137614727020, INEXACT)); -assert(test_cbrt(0.561759746220724110, 0.825119540055928580, 0.306806385517120361, INEXACT)); -assert(test_cbrt(0.774152296591303690, 0.918210247895991372, 0.0654399842023849487, INEXACT)); +assert(test_cbrt(0.661985898099504477, 0.87153114704559731, 0.441491812467575073, INEXACT)); +assert(test_cbrt(-0.40660392238535531, -0.740839030300223023, 0.016453813761472702, INEXACT)); +assert(test_cbrt(0.56175974622072411, 0.82511954005592858, 0.306806385517120361, INEXACT)); +assert(test_cbrt(0.77415229659130369, 0.918210247895991372, 0.0654399842023849487, INEXACT)); assert(test_cbrt(-0.678763702639402444, -0.878832690658009397, -0.201671317219734192, INEXACT)); // special @@ -929,7 +809,7 @@ assert(test_cbrt(1.0, 1.0, 0.0, 0)); assert(test_cbrt(-1.0, -1.0, 0.0, 0)); assert(test_cbrt(8.0, 2.0, 0.0, 0)); -// === Mathf.cbrt ================================ +// Mathf.cbrt ////////////////////////////////////////////////////////////////////////////////////// function test_cbrtf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.cbrt(value), expected, error, flags); @@ -943,8 +823,8 @@ assert(test_cbrtf(-6.531673431, -1.869282007, -0.1707551479, INEXACT)); assert(test_cbrtf(9.267057419, 2.100457668, -0.3636204302, INEXACT)); assert(test_cbrtf(0.6619858742, 0.8715311289, -0.1285720915, INEXACT)); assert(test_cbrtf(-0.4066039324, -0.7408390641, -0.4655757546, INEXACT)); -assert(test_cbrtf(0.5617597699, 0.8251195550, 0.05601907894, INEXACT)); -assert(test_cbrtf(0.7741522789, 0.9182102680, 0.4549820423, INEXACT)); +assert(test_cbrtf(0.5617597699, 0.825119555, 0.05601907894, INEXACT)); +assert(test_cbrtf(0.7741522789, 0.918210268, 0.4549820423, INEXACT)); assert(test_cbrtf(-0.6787636876, -0.8788326979, -0.2297896743, INEXACT)); // special @@ -959,15 +839,148 @@ assert(test_cbrtf(1.0, 1.0, 0.0, 0)); assert(test_cbrtf(-1.0, -1.0, 0.0, 0)); assert(test_cbrtf(8.0, 2.0, 0.0, 0)); -// === Math.cos ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.ceil +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_ceil(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.ceil(value), expected, error, flags) && + (!js || check( JSMath.ceil(value), expected, error, flags)); +} + +// sanity +assert(test_ceil(-8.06684839057968084, -8.0, 0.0, INEXACT)); +assert(test_ceil(4.34523984933830487, 5.0, 0.0, INEXACT)); +assert(test_ceil(-8.38143342755524934, -8.0, 0.0, INEXACT)); +assert(test_ceil(-6.53167358191348413, -6.0, 0.0, INEXACT)); +assert(test_ceil(9.26705696697258574, 10.0, 0.0, INEXACT)); +assert(test_ceil(0.661985898099504477, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.40660392238535531, -0.0, 0.0, INEXACT)); +assert(test_ceil(0.56175974622072411, 1.0, 0.0, INEXACT)); +assert(test_ceil(0.77415229659130369, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.678763702639402444, -0.0, 0.0, INEXACT)); + +// special +assert(test_ceil(NaN, NaN, 0.0, 0)); +assert(test_ceil(Infinity, Infinity, 0.0, 0)); +assert(test_ceil(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceil(0.0, 0.0, 0.0, 0)); +assert(test_ceil(-0.0, -0.0, 0.0, 0)); +assert(test_ceil(1.0, 1.0, 0.0, 0)); +assert(test_ceil(-1.0, -1.0, 0.0, 0)); +assert(test_ceil(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceil(1.0000152587890625, 2.0, 0.0, INEXACT)); +assert(test_ceil(-1.0000152587890625, -1.0, 0.0, INEXACT)); +assert(test_ceil(0.99999237060546875, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.99999237060546875, -0.0, 0.0, INEXACT)); +assert(test_ceil(7.88860905221011805e-31, 1.0, 0.0, INEXACT)); +assert(test_ceil(-7.88860905221011805e-31, -0.0, 0.0, INEXACT)); +assert(test_ceil(NaN, NaN, 0.0, 0)); +assert(test_ceil(Infinity, Infinity, 0.0, 0)); +assert(test_ceil(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceil(0.0, 0.0, 0.0, 0)); +assert(test_ceil(-0.0, -0.0, 0.0, 0)); +assert(test_ceil(1.0, 1.0, 0.0, 0)); +assert(test_ceil(-1.0, -1.0, 0.0, 0)); +assert(test_ceil(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceil(1.0000152587890625, 2.0, 0.0, INEXACT)); +assert(test_ceil(-1.0000152587890625, -1.0, 0.0, INEXACT)); +assert(test_ceil(0.99999237060546875, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.99999237060546875, -0.0, 0.0, INEXACT)); +assert(test_ceil(7.88860905221011805e-31, 1.0, 0.0, INEXACT)); +assert(test_ceil(-7.88860905221011805e-31, -0.0, 0.0, INEXACT)); +assert(test_ceil(NaN, NaN, 0.0, 0)); +assert(test_ceil(Infinity, Infinity, 0.0, 0)); +assert(test_ceil(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceil(0.0, 0.0, 0.0, 0)); +assert(test_ceil(-0.0, -0.0, 0.0, 0)); +assert(test_ceil(1.0, 1.0, 0.0, 0)); +assert(test_ceil(-1.0, -1.0, 0.0, 0)); +assert(test_ceil(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceil(1.0000152587890625, 2.0, 0.0, INEXACT)); +assert(test_ceil(-1.0000152587890625, -1.0, 0.0, INEXACT)); +assert(test_ceil(0.99999237060546875, 1.0, 0.0, INEXACT)); +assert(test_ceil(-0.99999237060546875, -0.0, 0.0, INEXACT)); +assert(test_ceil(7.88860905221011805e-31, 1.0, 0.0, INEXACT)); +assert(test_ceil(-7.88860905221011805e-31, -0.0, 0.0, INEXACT)); + +// Mathf.ceil ////////////////////////////////////////////////////////////////////////////////////// + +function test_ceilf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.ceil(value), expected, error, flags); +} + +// sanity +assert(test_ceilf(-8.066848755, -8.0, 0.0, INEXACT)); +assert(test_ceilf(4.345239639, 5.0, 0.0, INEXACT)); +assert(test_ceilf(-8.381433487, -8.0, 0.0, INEXACT)); +assert(test_ceilf(-6.531673431, -6.0, 0.0, INEXACT)); +assert(test_ceilf(9.267057419, 10.0, 0.0, INEXACT)); +assert(test_ceilf(0.6619858742, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.4066039324, -0.0, 0.0, INEXACT)); +assert(test_ceilf(0.5617597699, 1.0, 0.0, INEXACT)); +assert(test_ceilf(0.7741522789, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.6787636876, -0.0, 0.0, INEXACT)); +// special +assert(test_ceilf(NaN, NaN, 0.0, 0)); +assert(test_ceilf(Infinity, Infinity, 0.0, 0)); +assert(test_ceilf(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceilf(0.0, 0.0, 0.0, 0)); +assert(test_ceilf(-0.0, -0.0, 0.0, 0)); +assert(test_ceilf(1.0, 1.0, 0.0, 0)); +assert(test_ceilf(-1.0, -1.0, 0.0, 0)); +assert(test_ceilf(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceilf(1.000015259, 2.0, 0.0, INEXACT)); +assert(test_ceilf(-1.000015259, -1.0, 0.0, INEXACT)); +assert(test_ceilf(0.9999923706, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.9999923706, -0.0, 0.0, INEXACT)); +assert(test_ceilf(7.888609052e-31, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-7.888609052e-31, -0.0, 0.0, INEXACT)); +assert(test_ceilf(NaN, NaN, 0.0, 0)); +assert(test_ceilf(Infinity, Infinity, 0.0, 0)); +assert(test_ceilf(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceilf(0.0, 0.0, 0.0, 0)); +assert(test_ceilf(-0.0, -0.0, 0.0, 0)); +assert(test_ceilf(1.0, 1.0, 0.0, 0)); +assert(test_ceilf(-1.0, -1.0, 0.0, 0)); +assert(test_ceilf(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceilf(1.000015259, 2.0, 0.0, INEXACT)); +assert(test_ceilf(-1.000015259, -1.0, 0.0, INEXACT)); +assert(test_ceilf(0.9999923706, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.9999923706, -0.0, 0.0, INEXACT)); +assert(test_ceilf(7.888609052e-31, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-7.888609052e-31, -0.0, 0.0, INEXACT)); +assert(test_ceilf(NaN, NaN, 0.0, 0)); +assert(test_ceilf(Infinity, Infinity, 0.0, 0)); +assert(test_ceilf(-Infinity, -Infinity, 0.0, 0)); +assert(test_ceilf(0.0, 0.0, 0.0, 0)); +assert(test_ceilf(-0.0, -0.0, 0.0, 0)); +assert(test_ceilf(1.0, 1.0, 0.0, 0)); +assert(test_ceilf(-1.0, -1.0, 0.0, 0)); +assert(test_ceilf(0.5, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.5, -0.0, 0.0, INEXACT)); +assert(test_ceilf(1.000015259, 2.0, 0.0, INEXACT)); +assert(test_ceilf(-1.000015259, -1.0, 0.0, INEXACT)); +assert(test_ceilf(0.9999923706, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-0.9999923706, -0.0, 0.0, INEXACT)); +assert(test_ceilf(7.888609052e-31, 1.0, 0.0, INEXACT)); +assert(test_ceilf(-7.888609052e-31, -0.0, 0.0, INEXACT)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.cos +//////////////////////////////////////////////////////////////////////////////////////////////////// +/* TODO function test_cos(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cos(value), expected, error, flags) && (!js || check( JSMath.cos(value), expected, error, flags)); } -/* TODO - // sanity assert(test_cos(-8.06684839057968084, -0.211262815998871367, -0.109624691307544708, INEXACT)); assert(test_cos(4.34523984933830487, -0.358956022975789546, -0.107598282396793365, INEXACT)); @@ -975,9 +988,9 @@ assert(test_cos(-8.38143342755524934, -0.503333091765515994, -0.0214304737746715 assert(test_cos(-6.53167358191348413, 0.969285321250328291, -0.478787630796432495, INEXACT)); assert(test_cos(9.26705696697258574, -0.987587806478862684, 0.488066881895065308, INEXACT)); assert(test_cos(0.661985898099504477, 0.788773086924857592, 0.127086669206619263, INEXACT)); -assert(test_cos(-0.406603922385355310, 0.918469239700729356, -0.261207133531570435, INEXACT)); -assert(test_cos(0.561759746220724110, 0.846319046741589642, -0.302586168050765991, INEXACT)); -assert(test_cos(0.774152296591303690, 0.715013928995238301, -0.0853774622082710266, INEXACT)); +assert(test_cos(-0.40660392238535531, 0.918469239700729356, -0.261207133531570435, INEXACT)); +assert(test_cos(0.56175974622072411, 0.846319046741589642, -0.302586168050765991, INEXACT)); +assert(test_cos(0.77415229659130369, 0.715013928995238301, -0.0853774622082710266, INEXACT)); assert(test_cos(-0.678763702639402444, 0.778349499475744722, 0.308907508850097656, INEXACT)); // special @@ -989,13 +1002,13 @@ assert(test_cos(NaN, NaN, 0.0, 0)); assert(test_cos(1.0, 0.540302305868139765, 0.428828656673431396, INEXACT)); assert(test_cos(2.0, -0.416146836547142407, -0.358593970537185669, INEXACT)); assert(test_cos(3.0, -0.989992496600445415, 0.378845155239105225, INEXACT)); -assert(test_cos(4.0, -0.653643620863611940, -0.232805609703063965, INEXACT)); +assert(test_cos(4.0, -0.65364362086361194, -0.232805609703063965, INEXACT)); assert(test_cos(5.0, 0.283662185463226246, -0.327735781669616699, INEXACT)); assert(test_cos(0.100000000000000006, 0.995004165278025821, 0.495585262775421143, INEXACT)); -assert(test_cos(0.200000000000000011, 0.980066577841241626, -0.0240764096379280090, INEXACT)); +assert(test_cos(0.200000000000000011, 0.980066577841241626, -0.024076409637928009, INEXACT)); assert(test_cos(0.299999999999999989, 0.955336489125605981, -0.377722293138504028, INEXACT)); assert(test_cos(0.400000000000000022, 0.921060994002885103, 0.258184850215911865, INEXACT)); -assert(test_cos(0.500000000000000000, 0.877582561890372759, 0.383915215730667114, INEXACT)); +assert(test_cos(0.5, 0.877582561890372759, 0.383915215730667114, INEXACT)); assert(test_cos(2.36414097466390147e-308, 1.0, 0.0, INEXACT)); assert(test_cos(1.18207048733195073e-308, 1.0, 0.0, INEXACT)); assert(test_cos(4.94065645841246544e-324, 1.0, 0.0, INEXACT)); @@ -1005,28 +1018,28 @@ assert(test_cos(8.98846567431157954e+307, -0.826369834614148036, -0.369596511125 assert(test_cos(1.79769313486231571e+308, -0.999987689426559911, 0.234483435750007629, INEXACT)); assert(test_cos(-8.98846567431157954e+307, -0.826369834614148036, -0.369596511125564575, INEXACT)); assert(test_cos(3.14000000000000012, -0.999998731727539503, 0.385551601648330688, INEXACT)); -assert(test_cos(3.14150000000000018, -0.999999995707656186, -0.306089758872985840, INEXACT)); +assert(test_cos(3.14150000000000018, -0.999999995707656186, -0.30608975887298584, INEXACT)); assert(test_cos(3.14159200000000016, -0.999999999999786393, 0.154033288359642029, INEXACT)); assert(test_cos(3.14159265000000021, -1.0, -0.0290180742740631104, INEXACT)); -assert(test_cos(3.14159265350000005, -1.0, -0.0000181558480107923970, INEXACT)); +assert(test_cos(3.14159265350000005, -1.0, -0.000018155848010792397, INEXACT)); assert(test_cos(3.14159265358899997, -1.0, -1.41699141309459264e-9, INEXACT)); assert(test_cos(3.14159265358979001, -1.0, -2.35086489798518386e-14, INEXACT)); assert(test_cos(3.14159265358979312, -1.0, -3.37715874188331791e-17, INEXACT)); assert(test_cos(1.57000000000000006, 0.000796326710733263345, 0.296815931797027588, INEXACT)); assert(test_cos(1.57079600000000008, 3.26794896538138351e-7, -0.325708955526351929, INEXACT)); assert(test_cos(1.57079632670000002, 9.48965963067801342e-11, -0.272456467151641846, INEXACT)); -assert(test_cos(1.57079632679488990, 6.72257048770830682e-15, -0.107476837933063507, INEXACT)); +assert(test_cos(1.5707963267948899, 6.72257048770830682e-15, -0.107476837933063507, INEXACT)); assert(test_cos(1.57079632679489656, 6.12323399573676604e-17, 0.121482297778129578, INEXACT)); assert(test_cos(0.670063519948610575, 0.783782219301615846, -0.0727850273251533508, INEXACT)); assert(test_cos(0.534389018943755345, 0.860579971903951746, -0.484340280294418335, INEXACT)); assert(test_cos(0.439997027548900854, 0.904752929300197573, 0.0297774728387594223, INEXACT)); assert(test_cos(0.990284084468731285, 0.548452336448076783, 0.197652801871299744, INEXACT)); -assert(test_cos(0.453814475343389145, 0.898781390226378263, -0.0177248660475015640, INEXACT)); -assert(test_cos(0.460988881358358915, 0.895613047471305657, 0.364498198032379150, INEXACT)); +assert(test_cos(0.453814475343389145, 0.898781390226378263, -0.017724866047501564, INEXACT)); +assert(test_cos(0.460988881358358915, 0.895613047471305657, 0.36449819803237915, INEXACT)); assert(test_cos(0.928543409795642205, 0.599000979429298419, -0.289941638708114624, INEXACT)); assert(test_cos(0.910909212448835159, 0.613027669277437792, -0.493531346321105957, INEXACT)); assert(test_cos(0.832860065035955555, 0.672762471004635709, -0.366060882806777954, INEXACT)); -assert(test_cos(0.953620125220343340, 0.578734618348708429, -0.170898333191871643, INEXACT)); +assert(test_cos(0.95362012522034334, 0.578734618348708429, -0.170898333191871643, INEXACT)); assert(test_cos(0.872659006545769889, 0.642791914425904665, -0.274498611688613892, INEXACT)); assert(test_cos(0.181004475359684475, 0.983663365688489333, 0.00301952729932963848, INEXACT)); assert(test_cos(2.35619449034983885, -0.707106781297912601, -0.482787460088729858, INEXACT)); @@ -1034,7 +1047,7 @@ assert(test_cos(2.35619449037227202, -0.707106781313775246, -0.48660501837730407 assert(test_cos(2.35619449022511152, -0.707106781209717039, -0.353395223617553711, INEXACT)); assert(test_cos(2.35619449031499961, -0.707106781273277529, -0.419119864702224731, INEXACT)); assert(test_cos(2.35619449036035267, -0.707106781305346987, -0.470620006322860718, INEXACT)); -assert(test_cos(2.35619449038261974, -0.707106781321092170, -0.306183516979217529, INEXACT)); +assert(test_cos(2.35619449038261974, -0.70710678132109217, -0.306183516979217529, INEXACT)); assert(test_cos(2.35619449037180306, -0.707106781313443622, -0.305648207664489746, INEXACT)); assert(test_cos(2.35619449039993079, -0.707106781333332934, -0.388455718755722046, INEXACT)); assert(test_cos(2.35619449026019101, -0.707106781234521975, -0.237968519330024719, INEXACT)); @@ -1055,14 +1068,39 @@ assert(test_cos(9.17192539308640775, -0.968202744042454433, -0.49827584624290466 assert(test_cos(8.85469011288857288, -0.841853566381852714, 0.497497975826263428, INEXACT)); assert(test_cos(9.21351081385960846, -0.977765980283850644, -0.499560445547103882, INEXACT)); assert(test_cos(7.78244908154215143, 0.0714715638129333891, 0.498581260442733765, INEXACT)); -assert(test_cos(7.50026133227361580, 0.346390176334581135, -0.499621003866195679, INEXACT)); +assert(test_cos(7.5002613322736158, 0.346390176334581135, -0.499621003866195679, INEXACT)); assert(test_cos(9.12173941873158789, -0.954434129754181071, 0.498281508684158325, INEXACT)); assert(test_cos(6.78495402047631568, 0.876733223316664589, -0.498808383941650391, INEXACT)); assert(test_cos(8.77084654266666419, -0.793698411740070497, 0.499968290328979492, INEXACT)); -*/ +// Mathf.cos /////////////////////////////////////////////////////////////////////////////////////// + +function test_cosf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.cos(value), expected, error, flags); +} + +// sanity +assert(test_cosf(-8.0668487548828125, -0.211263164877891541, 0.483285695314407349, INEXACT)); +assert(test_cosf(4.34523963928222656, -0.358956217765808105, 0.0425052084028720856, INEXACT)); +assert(test_cosf(-8.38143348693847656, -0.503333151340484619, -0.138619571924209595, INEXACT)); +assert(test_cosf(-6.53167343139648438, 0.969285368919372559, 0.178695172071456909, INEXACT)); +assert(test_cosf(9.26705741882324219, -0.987587869167327881, 0.138960093259811401, INEXACT)); +assert(test_cosf(0.661985874176025391, 0.788773119449615479, 0.29895937442779541, INEXACT)); +assert(test_cosf(-0.40660393238067627, 0.918469250202178955, 0.242506653070449829, INEXACT)); +assert(test_cosf(0.561759769916534424, 0.846319019794464111, -0.240332409739494324, INEXACT)); +assert(test_cosf(0.774152278900146484, 0.71501392126083374, -0.337263524532318115, INEXACT)); +assert(test_cosf(-0.678763687610626221, 0.778349518775939941, 0.165501534938812256, INEXACT)); + +// special +assert(test_cosf(0.0, 1.0, 0.0, 0)); +assert(test_cosf(-0.0, 1.0, 0.0, 0)); +assert(test_cosf(Infinity, NaN, 0.0, INVALID)); +assert(test_cosf(-Infinity, NaN, 0.0, INVALID)); +assert(test_cosf(NaN, NaN, 0.0, 0)); */ -// === Math.cosh ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.cosh +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_cosh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.cosh(value), expected, error, flags) && @@ -1074,10 +1112,10 @@ assert(test_cosh(4.34523984933830487, 38.5617492842672931, -0.271227836608886719 assert(test_cosh(-8.38143342755524934, 2182.63097959589322, 0.0817827582359313965, INEXACT)); assert(test_cosh(-6.53167358191348413, 343.273849250878982, -0.429940402507781982, INEXACT)); assert(test_cosh(9.26705696697258574, 5291.77917000558682, -0.159299582242965698, INEXACT)); -assert(test_cosh(0.661985898099504477, 1.22723219573428421, 0.232807412743568420, INEXACT)); -assert(test_cosh(-0.406603922385355310, 1.08380854187119691, -0.396091699600219727, INEXACT)); -assert(test_cosh(0.561759746220724110, 1.16198035831750768, 0.377483904361724854, INEXACT)); -assert(test_cosh(0.774152296591303690, 1.31492368762767065, 0.435870081186294556, INEXACT)); +assert(test_cosh(0.661985898099504477, 1.22723219573428421, 0.23280741274356842, INEXACT)); +assert(test_cosh(-0.40660392238535531, 1.08380854187119691, -0.396091699600219727, INEXACT)); +assert(test_cosh(0.56175974622072411, 1.16198035831750768, 0.377483904361724854, INEXACT)); +assert(test_cosh(0.77415229659130369, 1.31492368762767065, 0.435870081186294556, INEXACT)); assert(test_cosh(-0.678763702639402444, 1.23934132459345325, 0.102016061544418335, INEXACT)); // special @@ -1087,7 +1125,7 @@ assert(test_cosh(Infinity, Infinity, 0.0, 0)); assert(test_cosh(-Infinity, Infinity, 0.0, 0)); assert(test_cosh(NaN, NaN, 0.0, 0)); -// === Mathf.cosh ================================ +// Mathf.cosh ////////////////////////////////////////////////////////////////////////////////////// function test_coshf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.cosh(value), expected, error, flags); @@ -1112,7 +1150,9 @@ assert(test_coshf(Infinity, Infinity, 0.0, 0)); assert(test_coshf(-Infinity, Infinity, 0.0, 0)); assert(test_coshf(NaN, NaN, 0.0, 0)); -// === Math.exp ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.exp +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_exp(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.exp(value), expected, error, flags) && @@ -1125,10 +1165,10 @@ assert(test_exp(4.34523984933830487, 77.1105301711214111, -0.0279267579317092896 assert(test_exp(-8.38143342755524934, 0.000229081338491632304, -0.249743342399597168, INEXACT)); assert(test_exp(-6.53167358191348413, 0.00145656612609315877, -0.481682240962982178, INEXACT)); assert(test_exp(9.26705696697258574, 10583.5582455249933, 0.176967620849609375, INEXACT)); -assert(test_exp(0.661985898099504477, 1.93863845255719980, -0.496424645185470581, INEXACT)); -assert(test_exp(-0.406603922385355310, 0.665907889283802512, -0.106083184480667114, INEXACT)); -assert(test_exp(0.561759746220724110, 1.75375595186263111, -0.391621112823486328, INEXACT)); -assert(test_exp(0.774152296591303690, 2.16875288851292458, -0.299612581729888916, INEXACT)); +assert(test_exp(0.661985898099504477, 1.9386384525571998, -0.496424645185470581, INEXACT)); +assert(test_exp(-0.40660392238535531, 0.665907889283802512, -0.106083184480667114, INEXACT)); +assert(test_exp(0.56175974622072411, 1.75375595186263111, -0.391621112823486328, INEXACT)); +assert(test_exp(0.77415229659130369, 2.16875288851292458, -0.299612581729888916, INEXACT)); assert(test_exp(-0.678763702639402444, 0.507243708940284255, 0.472617387771606445, INEXACT)); // special @@ -1139,12 +1179,12 @@ assert(test_exp(-1.0, 0.367879441171442334, 0.223896518349647522, INEXACT)); assert(test_exp(Infinity, Infinity, 0.0, 0)); assert(test_exp(-Infinity, 0.0, 0.0, 0)); assert(test_exp(NaN, NaN, 0.0, 0)); -assert(test_exp(1.03972148895263650, 2.82842915587641119, 0.188030809164047241, INEXACT)); -assert(test_exp(-1.03972148895263650, 0.353553136702178472, 0.252727240324020386, INEXACT)); +assert(test_exp(1.0397214889526365, 2.82842915587641119, 0.188030809164047241, INEXACT)); +assert(test_exp(-1.0397214889526365, 0.353553136702178472, 0.252727240324020386, INEXACT)); assert(test_exp(1.03972101211547852, 2.82842780717661224, -0.418413937091827393, INEXACT)); assert(test_exp(1.03972148895263672, 2.82842915587641164, -0.226183772087097168, INEXACT)); -// === Mathf.exp ================================ +// Mathf.exp /////////////////////////////////////////////////////////////////////////////////////// function test_expf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.exp(value), expected, error, flags); @@ -1155,10 +1195,10 @@ assert(test_expf(-8.066848755, 0.0003137704916, -0.03019333631, INEXACT)); assert(test_expf(4.345239639, 77.11051178, -0.2875460684, INEXACT)); assert(test_expf(-8.381433487, 0.0002290813281, 0.2237040401, INEXACT)); assert(test_expf(-6.531673431, 0.001456566388, 0.3646970391, INEXACT)); -assert(test_expf(9.267057419, 10583.56348, 0.4596210420, INEXACT)); +assert(test_expf(9.267057419, 10583.56348, 0.459621042, INEXACT)); assert(test_expf(0.6619858742, 1.938638449, 0.3568260968, INEXACT)); assert(test_expf(-0.4066039324, 0.6659078598, -0.3829499185, INEXACT)); -assert(test_expf(0.5617597699, 1.753756046, 0.4435549080, INEXACT)); +assert(test_expf(0.5617597699, 1.753756046, 0.443554908, INEXACT)); assert(test_expf(0.7741522789, 2.168752909, 0.2456246912, INEXACT)); assert(test_expf(-0.6787636876, 0.5072436929, -0.3974292278, INEXACT)); @@ -1173,12 +1213,14 @@ assert(test_expf(NaN, NaN, 0.0, 0)); assert(test_expf(88.72283173, 3.402798519e+38, -0.09067153931, INEXACT)); assert(test_expf(88.72283936, Infinity, 0.0, INEXACT | OVERFLOW)); assert(test_expf(-103.9720764, 1.401298464e-45, 0.4999996722, INEXACT | UNDERFLOW)); -assert(test_expf(-103.9720840, 0.0, -0.4999965131, INEXACT | UNDERFLOW)); +assert(test_expf(-103.972084, 0.0, -0.4999965131, INEXACT | UNDERFLOW)); assert(test_expf(0.3465735614, 1.414213538, 0.1392242163, INEXACT)); assert(test_expf(0.3465735912, 1.414213538, -0.2143291682, INEXACT)); -assert(test_expf(0.3465736210, 1.414213657, 0.4321174324, INEXACT)); +assert(test_expf(0.346573621, 1.414213657, 0.4321174324, INEXACT)); -// === Math.expm1 ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.expm1 +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_expm1(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.expm1(value), expected, error, flags) && @@ -1192,9 +1234,9 @@ assert(test_expm1(-8.38143342755524934, -0.999770918661508357, 0.100524961948394 assert(test_expm1(-6.53167358191348413, -0.998543433873906872, -0.274378299713134766, INEXACT)); assert(test_expm1(9.26705696697258574, 10582.5582455249933, 0.176967620849609375, INEXACT)); assert(test_expm1(0.661985898099504477, 0.938638452557199909, 0.00715068448334932327, INEXACT)); -assert(test_expm1(-0.406603922385355310, -0.334092110716197488, -0.212166368961334229, INEXACT)); -assert(test_expm1(0.561759746220724110, 0.753755951862631224, 0.216757774353027344, INEXACT)); -assert(test_expm1(0.774152296591303690, 1.16875288851292480, 0.400774806737899780, INEXACT)); +assert(test_expm1(-0.40660392238535531, -0.334092110716197488, -0.212166368961334229, INEXACT)); +assert(test_expm1(0.56175974622072411, 0.753755951862631224, 0.216757774353027344, INEXACT)); +assert(test_expm1(0.77415229659130369, 1.1687528885129248, 0.40077480673789978, INEXACT)); assert(test_expm1(-0.678763702639402444, -0.492756291059715801, -0.0547651983797550201, INEXACT)); // special @@ -1208,7 +1250,7 @@ assert(test_expm1(NaN, NaN, 0.0, 0)); assert(test_expm1(2.22507385850720089e-308, 2.22507385850720089e-308, 0.0, INEXACT | UNDERFLOW)); assert(test_expm1(-2.22507385850720089e-308,-2.22507385850720089e-308, 0.0, INEXACT | UNDERFLOW)); -// === Mathf.expm1 ================================ +// Mathf.expm1 ///////////////////////////////////////////////////////////////////////////////////// function test_expm1f(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.expm1(value), expected, error, flags); @@ -1219,7 +1261,7 @@ assert(test_expm1f(-8.066848755, -0.9996862411, -0.1953272372, INEXACT)); assert(test_expm1f(4.345239639, 76.11051178, -0.2875460684, INEXACT)); assert(test_expm1f(-8.381433487, -0.9997709394, -0.3468692005, INEXACT)); assert(test_expm1f(-6.531673431, -0.9985434413, -0.1281939447, INEXACT)); -assert(test_expm1f(9.267057419, 10582.56348, 0.4596210420, INEXACT)); +assert(test_expm1f(9.267057419, 10582.56348, 0.459621042, INEXACT)); assert(test_expm1f(0.6619858742, 0.9386383891, -0.2863478065, INEXACT)); assert(test_expm1f(-0.4066039324, -0.3340921104, 0.2341001779, INEXACT)); assert(test_expm1f(0.5617597699, 0.7537559867, -0.1128901765, INEXACT)); @@ -1235,7 +1277,82 @@ assert(test_expm1f(Infinity, Infinity, 0.0, 0)); assert(test_expm1f(-Infinity, -1.0, 0.0, 0)); assert(test_expm1f(NaN, NaN, 0.0, 0)); -// === Math.hypot ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.floor +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_floor(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.floor(value), expected, error, flags) && + (!js || check( JSMath.floor(value), expected, error, flags)); +} + +// sanity +assert(test_floor(-8.06684839057968084, -9.0, 0.0, INEXACT)); +assert(test_floor(4.34523984933830487, 4.0, 0.0, INEXACT)); +assert(test_floor(-8.38143342755524934, -9.0, 0.0, INEXACT)); +assert(test_floor(-6.53167358191348413, -7.0, 0.0, INEXACT)); +assert(test_floor(9.26705696697258574, 9.0, 0.0, INEXACT)); +assert(test_floor(0.661985898099504477, 0.0, 0.0, INEXACT)); +assert(test_floor(-0.40660392238535531, -1.0, 0.0, INEXACT)); +assert(test_floor(0.56175974622072411, 0.0, 0.0, INEXACT)); +assert(test_floor(0.77415229659130369, 0.0, 0.0, INEXACT)); +assert(test_floor(-0.678763702639402444, -1.0, 0.0, INEXACT)); + +// special +assert(test_floor(NaN, NaN, 0.0, 0)); +assert(test_floor(Infinity, Infinity, 0.0, 0)); +assert(test_floor(-Infinity, -Infinity, 0.0, 0)); +assert(test_floor(0.0, 0.0, 0.0, 0)); +assert(test_floor(-0.0, -0.0, 0.0, 0)); +assert(test_floor(1.0, 1.0, 0.0, 0)); +assert(test_floor(-1.0, -1.0, 0.0, 0)); +assert(test_floor(0.5, 0.0, 0.0, INEXACT)); +assert(test_floor(-0.5, -1.0, 0.0, INEXACT)); +assert(test_floor(1.0000152587890625, 1.0, 0.0, INEXACT)); +assert(test_floor(-1.0000152587890625, -2.0, 0.0, INEXACT)); +assert(test_floor(0.99999237060546875, 0.0, 0.0, INEXACT)); +assert(test_floor(-0.99999237060546875, -1.0, 0.0, INEXACT)); +assert(test_floor(7.88860905221011805e-31, 0.0, 0.0, INEXACT)); +assert(test_floor(-7.88860905221011805e-31, -1.0, 0.0, INEXACT)); + +// Mathf.floor ///////////////////////////////////////////////////////////////////////////////////// + +function test_floorf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.floor(value), expected, error, flags); +} + +// sanity +assert(test_floorf(-8.066848755, -9.0, 0.0, INEXACT)); +assert(test_floorf(4.345239639, 4.0, 0.0, INEXACT)); +assert(test_floorf(-8.381433487, -9.0, 0.0, INEXACT)); +assert(test_floorf(-6.531673431, -7.0, 0.0, INEXACT)); +assert(test_floorf(9.267057419, 9.0, 0.0, INEXACT)); +assert(test_floorf(0.6619858742, 0.0, 0.0, INEXACT)); +assert(test_floorf(-0.4066039324, -1.0, 0.0, INEXACT)); +assert(test_floorf(0.5617597699, 0.0, 0.0, INEXACT)); +assert(test_floorf(0.7741522789, 0.0, 0.0, INEXACT)); +assert(test_floorf(-0.6787636876, -1.0, 0.0, INEXACT)); + +// special +assert(test_floorf(NaN, NaN, 0.0, 0)); +assert(test_floorf(Infinity, Infinity, 0.0, 0)); +assert(test_floorf(-Infinity, -Infinity, 0.0, 0)); +assert(test_floorf(0.0, 0.0, 0.0, 0)); +assert(test_floorf(-0.0, -0.0, 0.0, 0)); +assert(test_floorf(1.0, 1.0, 0.0, 0)); +assert(test_floorf(-1.0, -1.0, 0.0, 0)); +assert(test_floorf(0.5, 0.0, 0.0, INEXACT)); +assert(test_floorf(-0.5, -1.0, 0.0, INEXACT)); +assert(test_floorf(1.000015259, 1.0, 0.0, INEXACT)); +assert(test_floorf(-1.000015259, -2.0, 0.0, INEXACT)); +assert(test_floorf(0.9999923706, 0.0, 0.0, INEXACT)); +assert(test_floorf(-0.9999923706, -1.0, 0.0, INEXACT)); +assert(test_floorf(7.888609052e-31, 0.0, 0.0, INEXACT)); +assert(test_floorf(-7.888609052e-31, -1.0, 0.0, INEXACT)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.hypot +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_hypot(value1: f64, value2: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.hypot(value1, value2), expected, error, flags) && @@ -1250,7 +1367,7 @@ assert(test_hypot(-6.53167358191348413, 4.56753527684274374, 7.97026588551909221 assert(test_hypot(9.26705696697258574, 4.81139208435979615, 10.4416396518245751, -0.269363343715667725, INEXACT)); assert(test_hypot(-6.45004555606023633, 0.662071792337673881, 6.48393605254259331, 0.356188982725143433, INEXACT)); assert(test_hypot(7.85889025304169664, 0.0521545267500622481, 7.85906330958176635, 0.0804465562105178833, INEXACT)); -assert(test_hypot(-0.792054511984895959, 7.67640268511753998, 7.71715676489958380, 0.0517808496952056885, INEXACT)); +assert(test_hypot(-0.792054511984895959, 7.67640268511753998, 7.7171567648995838, 0.0517808496952056885, INEXACT)); assert(test_hypot(0.615702673197924044, 2.01190257903248026, 2.10400612387431396, -0.0918039008975028992, INEXACT)); assert(test_hypot(-0.558758682360915193, 0.0322398306026380407, 0.559688012906291332, 0.138340771198272705, INEXACT)); @@ -1266,7 +1383,7 @@ assert(test_hypot(4.94065645841246544e-324, 0.0, 4.94065645841246544e-324, 0.0, assert(test_hypot(4.94065645841246544e-324, -0.0, 4.94065645841246544e-324, 0.0, 0)); assert(test_hypot(Infinity, 1.0, Infinity, 0.0, 0)); assert(test_hypot(1.0, Infinity, Infinity, 0.0, 0)); -assert(test_hypot(Infinity, NaN, Infinity, 0.00, 0)); +assert(test_hypot(Infinity, NaN, Infinity, 0.0, 0)); assert(test_hypot(NaN, Infinity, Infinity, 0.0, 0)); assert(test_hypot(-Infinity, 1.0, Infinity, 0.0, 0)); assert(test_hypot(1.0, -Infinity, Infinity, 0.0, 0)); @@ -1275,7 +1392,7 @@ assert(test_hypot(NaN, -Infinity, Infinity, 0.0, 0)); assert(test_hypot(NaN, 1.0, NaN, 0.0, 0)); assert(test_hypot(1.0, NaN, NaN, 0.0, 0)); -// === Mathf.hypot ================================ +// Mathf.hypot ///////////////////////////////////////////////////////////////////////////////////// function test_hypotf(value1: f32, value2: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.hypot(value1, value2), expected, error, flags); @@ -1285,12 +1402,12 @@ function test_hypotf(value1: f32, value2: f32, expected: f32, error: f32, flags: assert(test_hypotf(-8.066848755, 4.535662651, 9.254528046, 0.2735958993, INEXACT)); assert(test_hypotf(4.345239639, -8.887990952, 9.893305779, 0.4530770779, INEXACT)); assert(test_hypotf(-8.381433487, -2.763607264, 8.825302124, 0.3075572848, INEXACT)); -assert(test_hypotf(-6.531673431, 4.567535400, 7.970265865, 0.06785223633, INEXACT)); -assert(test_hypotf(9.267057419, 4.811392307, 10.44163990, -0.2677630782, INEXACT)); -assert(test_hypotf(-6.450045586, 0.6620717645, 6.483936310, 0.4838129282, INEXACT)); +assert(test_hypotf(-6.531673431, 4.5675354, 7.970265865, 0.06785223633, INEXACT)); +assert(test_hypotf(9.267057419, 4.811392307, 10.4416399, -0.2677630782, INEXACT)); +assert(test_hypotf(-6.450045586, 0.6620717645, 6.48393631, 0.4838129282, INEXACT)); assert(test_hypotf(7.858890057, 0.05215452611, 7.859063148, 0.07413065434, INEXACT)); -assert(test_hypotf(-0.7920545340, 7.676402569, 7.717156887, 0.4940592647, INEXACT)); -assert(test_hypotf(0.6157026887, 2.011902571, 2.104006052, -0.2870894670, INEXACT)); +assert(test_hypotf(-0.792054534, 7.676402569, 7.717156887, 0.4940592647, INEXACT)); +assert(test_hypotf(0.6157026887, 2.011902571, 2.104006052, -0.287089467, INEXACT)); assert(test_hypotf(-0.5587586761, 0.03223983198, 0.5596880317, 0.4191940725, INEXACT)); // special @@ -1314,7 +1431,9 @@ assert(test_hypotf(NaN, -Infinity, Infinity, 0.0, 0)); assert(test_hypotf(NaN, 1.0, NaN, 0.0, 0)); assert(test_hypotf(1.0, NaN, NaN, 0.0, 0)); -// === Math.log ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.log +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_log(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log(value), expected, error, flags) && @@ -1328,9 +1447,9 @@ assert(test_log(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_log(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_log(9.26705696697258574, 2.22646584987956153, 0.363811403512954712, INEXACT)); assert(test_log(0.661985898099504477, -0.412511025236513673, -0.291087478399276733, INEXACT)); -assert(test_log(-0.406603922385355310, NaN, 0.0, INVALID)); -assert(test_log(0.561759746220724110, -0.576681018319586181, -0.109831996262073517, INEXACT)); -assert(test_log(0.774152296591303690, -0.255986659126386518, -0.0579900443553924561, INEXACT)); +assert(test_log(-0.40660392238535531, NaN, 0.0, INVALID)); +assert(test_log(0.56175974622072411, -0.576681018319586181, -0.109831996262073517, INEXACT)); +assert(test_log(0.77415229659130369, -0.255986659126386518, -0.0579900443553924561, INEXACT)); assert(test_log(-0.678763702639402444, NaN, 0.0, INVALID)); // special @@ -1343,7 +1462,7 @@ assert(test_log(Infinity, Infinity, 0.0, 0)); assert(test_log(-Infinity, NaN, 0.0, INVALID)); assert(test_log(NaN, NaN, 0.0, 0)); -// === Mathf.log ================================ +// Mathf.log /////////////////////////////////////////////////////////////////////////////////////// function test_logf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.log(value), expected, error, flags); @@ -1369,7 +1488,9 @@ assert(test_logf(Infinity, Infinity, 0.0, 0)); assert(test_logf(-Infinity, NaN, 0.0, INVALID)); assert(test_logf(NaN, NaN, 0.0, 0)); -// === Math.log10 ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.log10 +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_log10(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log10(value), expected, error, flags) && @@ -1378,14 +1499,14 @@ function test_log10(value: f64, expected: f64, error: f64, flags: i32): bool { // sanity assert(test_log10(-8.06684839057968084, NaN, 0.0, INVALID)); -assert(test_log10(4.34523984933830487, 0.638013753712002862, -0.208882406353950500, INEXACT)); +assert(test_log10(4.34523984933830487, 0.638013753712002862, -0.2088824063539505, INEXACT)); assert(test_log10(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_log10(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_log10(9.26705696697258574, 0.966941832748727359, -0.0612043179571628571, INEXACT)); assert(test_log10(0.661985898099504477, -0.179151261984470928, 0.390908747911453247, INEXACT)); -assert(test_log10(-0.406603922385355310, NaN, 0.0, INVALID)); -assert(test_log10(0.561759746220724110, -0.250449384074544368, -0.304684162139892578, INEXACT)); -assert(test_log10(0.774152296591303690, -0.111173593499438367, -0.315033614635467529, INEXACT)); +assert(test_log10(-0.40660392238535531, NaN, 0.0, INVALID)); +assert(test_log10(0.56175974622072411, -0.250449384074544368, -0.304684162139892578, INEXACT)); +assert(test_log10(0.77415229659130369, -0.111173593499438367, -0.315033614635467529, INEXACT)); assert(test_log10(-0.678763702639402444, NaN, 0.0, INVALID)); // special @@ -1398,7 +1519,7 @@ assert(test_log10(Infinity, Infinity, 0.0, 0)); assert(test_log10(-Infinity, NaN, 0.0, INVALID)); assert(test_log10(NaN, NaN, 0.0, 0)); -// === Mathf.log10 ================================ +// Mathf.log10 ///////////////////////////////////////////////////////////////////////////////////// function test_log10f(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.log10(value), expected, error, flags); @@ -1426,7 +1547,9 @@ assert(test_log10f(Infinity, Infinity, 0.0, 0)); assert(test_log10f(-Infinity, NaN, 0.0, INVALID)); assert(test_log10f(NaN, NaN, 0.0, 0)); -// === Math.log1p ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.log1p +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_log1p(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log1p(value), expected, error, flags) && @@ -1435,15 +1558,15 @@ function test_log1p(value: f64, expected: f64, error: f64, flags: i32): bool { // sanity assert(test_log1p(-8.06684839057968084, NaN, 0.0, INVALID)); -assert(test_log1p(4.34523984933830487, 1.67620641706017337, 0.461881995201110840, INEXACT)); +assert(test_log1p(4.34523984933830487, 1.67620641706017337, 0.46188199520111084, INEXACT)); assert(test_log1p(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_log1p(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_log1p(9.26705696697258574, 2.32894041685238262, -0.411114901304244995, INEXACT)); assert(test_log1p(0.661985898099504477, 0.508013211499247719, -0.293060451745986938, INEXACT)); -assert(test_log1p(-0.406603922385355310, -0.521893181166397935, -0.258257269859313965, INEXACT)); -assert(test_log1p(0.561759746220724110, 0.445813227948810176, -0.132748872041702271, INEXACT)); -assert(test_log1p(0.774152296591303690, 0.573322729464841419, 0.0271658301353454590, INEXACT)); -assert(test_log1p(-0.678763702639402444, -1.13557829781285635, 0.271309286355972290, INEXACT)); +assert(test_log1p(-0.40660392238535531, -0.521893181166397935, -0.258257269859313965, INEXACT)); +assert(test_log1p(0.56175974622072411, 0.445813227948810176, -0.132748872041702271, INEXACT)); +assert(test_log1p(0.77415229659130369, 0.573322729464841419, 0.027165830135345459, INEXACT)); +assert(test_log1p(-0.678763702639402444, -1.13557829781285635, 0.27130928635597229, INEXACT)); // special assert(test_log1p(0.0, 0.0, 0.0, 0)); @@ -1455,7 +1578,7 @@ assert(test_log1p(Infinity, Infinity, 0.0, 0)); assert(test_log1p(-Infinity, NaN, 0.0, INVALID)); assert(test_log1p(NaN, NaN, 0.0, 0)); -// === Mathf.log1p ================================ +// Mathf.log1p ///////////////////////////////////////////////////////////////////////////////////// function test_log1pf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.log1p(value), expected, error, flags); @@ -1463,7 +1586,7 @@ function test_log1pf(value: f32, expected: f32, error: f32, flags: i32): bool { // sanity assert(test_log1pf(-8.066848755, NaN, 0.0, INVALID)); -assert(test_log1pf(4.345239639, 1.676206350, -0.2301485986, INEXACT)); +assert(test_log1pf(4.345239639, 1.67620635, -0.2301485986, INEXACT)); assert(test_log1pf(-8.381433487, NaN, 0.0, INVALID)); assert(test_log1pf(-6.531673431, NaN, 0.0, INVALID)); assert(test_log1pf(9.267057419, 2.328940392, -0.2907558978, INEXACT)); @@ -1471,7 +1594,7 @@ assert(test_log1pf(0.6619858742, 0.5080131888, -0.1386766881, INEXACT)); assert(test_log1pf(-0.4066039324, -0.5218932033, -0.08804433048, INEXACT)); assert(test_log1pf(0.5617597699, 0.4458132386, -0.1510136873, INEXACT)); assert(test_log1pf(0.7741522789, 0.5733227134, -0.1026453301, INEXACT)); -assert(test_log1pf(-0.6787636876, -1.135578275, -0.1987948120, INEXACT)); +assert(test_log1pf(-0.6787636876, -1.135578275, -0.198794812, INEXACT)); // special assert(test_log1pf(0.0, 0.0, 0.0, 0)); @@ -1484,7 +1607,9 @@ assert(test_log1pf(-Infinity, NaN, 0.0, INVALID)); assert(test_log1pf(NaN, NaN, 0.0, 0)); assert(test_log1pf(-1.175494211e-38,-1.175494211e-38, 4.930380658e-32, INEXACT | UNDERFLOW)); -// === Math.log2 ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.log2 +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_log2(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.log2(value), expected, error, flags) && @@ -1497,10 +1622,10 @@ assert(test_log2(4.34523984933830487, 2.11943581338044851, -0.101648777723312378 assert(test_log2(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_log2(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_log2(9.26705696697258574, 3.21211124032987438, -0.157394468784332275, INEXACT)); -assert(test_log2(0.661985898099504477, -0.595127610420740250, 0.332148522138595581, INEXACT)); -assert(test_log2(-0.406603922385355310, NaN, 0.0, INVALID)); -assert(test_log2(0.561759746220724110, -0.831974845304464417, 0.0575554370880126953, INEXACT)); -assert(test_log2(0.774152296591303690, -0.369310683655371341, -0.198382794857025146, INEXACT)); +assert(test_log2(0.661985898099504477, -0.59512761042074025, 0.332148522138595581, INEXACT)); +assert(test_log2(-0.40660392238535531, NaN, 0.0, INVALID)); +assert(test_log2(0.56175974622072411, -0.831974845304464417, 0.0575554370880126953, INEXACT)); +assert(test_log2(0.77415229659130369, -0.369310683655371341, -0.198382794857025146, INEXACT)); assert(test_log2(-0.678763702639402444, NaN, 0.0, INVALID)); // special @@ -1513,7 +1638,7 @@ assert(test_log2(Infinity, Infinity, 0.0, 0)); assert(test_log2(-Infinity, NaN, 0.0, INVALID)); assert(test_log2(NaN, NaN, 0.0, 0)); -// === Mathf.log2 ================================ +// Mathf.log2 ////////////////////////////////////////////////////////////////////////////////////// function test_log2f(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.log2(value), expected, error, flags); @@ -1541,7 +1666,506 @@ assert(test_log2f(Infinity, Infinity, 0.0, 0)); assert(test_log2f(-Infinity, NaN, 0.0, INVALID)); assert(test_log2f(NaN, NaN, 0.0, 0)); -// === Math.pow ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.max +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_max(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.max(left, right), expected, error, flags) && + (!js || check( JSMath.max(left, right), expected, error, flags)); +} + +// sanity +assert(test_max(-8.06684839057968084, 4.53566256067686879, 4.53566256067686879, 0.0, 0)); +assert(test_max(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_max(-8.38143342755524934, -2.76360733737958819, -2.76360733737958819, 0.0, 0)); +assert(test_max(-6.53167358191348413, 4.56753527684274374, 4.56753527684274374, 0.0, 0)); +assert(test_max(9.26705696697258574, 4.81139208435979615, 9.26705696697258574, 0.0, 0)); +assert(test_max(-6.45004555606023633, 0.662071792337673881, 0.662071792337673881, 0.0, 0)); +assert(test_max(7.85889025304169664, 0.0521545267500622481, 7.85889025304169664, 0.0, 0)); +assert(test_max(-0.792054511984895959, 7.67640268511753998, 7.67640268511753998, 0.0, 0)); +assert(test_max(0.615702673197924044, 2.01190257903248026, 2.01190257903248026, 0.0, 0)); +assert(test_max(-0.558758682360915193, 0.0322398306026380407, 0.0322398306026380407, 0.0, 0)); + +// special +assert(test_max(0.0, 1.0, 1.0, 0.0, 0)); +assert(test_max(-0.0, 1.0, 1.0, 0.0, 0)); +assert(test_max(0.5, 1.0, 1.0, 0.0, 0)); +assert(test_max(-0.5, 1.0, 1.0, 0.0, 0)); +assert(test_max(1.0, 1.0, 1.0, 0.0, 0)); +assert(test_max(-1.0, 1.0, 1.0, 0.0, 0)); +assert(test_max(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_max(-Infinity, 1.0, 1.0, 0.0, 0)); +assert(test_max(NaN, 1.0, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_max(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_max(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_max(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_max(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_max(1.0, -1.0, 1.0, 0.0, 0)); +assert(test_max(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_max(Infinity, -1.0, Infinity, 0.0, 0)); +assert(test_max(-Infinity, -1.0, -1.0, 0.0, 0)); +assert(test_max(NaN, -1.0, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_max(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_max(0.0, -0.0, 0.0, 0.0, 0)); +assert(test_max(0.0, Infinity, Infinity, 0.0, 0)); +assert(test_max(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_max(0.0, NaN, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_max(-0.0, 0.0, 0.0, 0.0, 0)); +assert(test_max(-0.0, -0.0, -0.0, 0.0, 0)); +assert(test_max(-0.0, Infinity, Infinity, 0.0, 0)); +assert(test_max(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_max(-0.0, NaN, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_max(1.0, 0.0, 1.0, 0.0, 0)); +assert(test_max(-1.0, 0.0, 0.0, 0.0, 0)); +assert(test_max(Infinity, 0.0, Infinity, 0.0, 0)); +assert(test_max(-Infinity, 0.0, 0.0, 0.0, 0)); +assert(test_max(NaN, 0.0, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_max(-1.0, -0.0, -0.0, 0.0, 0)); +assert(test_max(Infinity, -0.0, Infinity, 0.0, 0)); +assert(test_max(-Infinity, -0.0, -0.0, 0.0, 0)); +assert(test_max(NaN, -0.0, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_max(Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_max(Infinity, -0.5, Infinity, 0.0, 0)); +assert(test_max(Infinity, NaN, NaN, 0.0, 0)); // C: Infinity, JS: NaN +assert(test_max(-Infinity, 2.0, 2.0, 0.0, 0)); +assert(test_max(-Infinity, -0.5, -0.5, 0.0, 0)); +assert(test_max(-Infinity, NaN, NaN, 0.0, 0)); // C: -Infinity, JS: NaN +assert(test_max(NaN, NaN, NaN, 0.0, 0)); +assert(test_max(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_max(-1.0, NaN, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_max(1.0, Infinity, Infinity, 0.0, 0)); +assert(test_max(-1.0, Infinity, Infinity, 0.0, 0)); +assert(test_max(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_max(-Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_max(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_max(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_max(Infinity, -Infinity, Infinity, 0.0, 0)); +assert(test_max(-Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_max(1.75, 0.5, 1.75, 0.0, 0)); +assert(test_max(-1.75, 0.5, 0.5, 0.0, 0)); +assert(test_max(1.75, -0.5, 1.75, 0.0, 0)); +assert(test_max(-1.75, -0.5, -0.5, 0.0, 0)); + +// Mathf.max /////////////////////////////////////////////////////////////////////////////////////// + +function test_maxf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.max(left, right), expected, error, flags); +} + +// sanity +assert(test_maxf(-8.066848755, 4.535662651, 4.535662651, 0.0, 0)); +assert(test_maxf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_maxf(-8.381433487, -2.763607264, -2.763607264, 0.0, 0)); +assert(test_maxf(-6.531673431, 4.5675354, 4.5675354, 0.0, 0)); +assert(test_maxf(9.267057419, 4.811392307, 9.267057419, 0.0, 0)); +assert(test_maxf(-6.450045586, 0.6620717645, 0.6620717645, 0.0, 0)); +assert(test_maxf(7.858890057, 0.05215452611, 7.858890057, 0.0, 0)); +assert(test_maxf(-0.792054534, 7.676402569, 7.676402569, 0.0, 0)); +assert(test_maxf(0.6157026887, 2.011902571, 2.011902571, 0.0, 0)); +assert(test_maxf(-0.5587586761, 0.03223983198, 0.03223983198, 0.0, 0)); + +// special +assert(test_maxf(0.0, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(-0.0, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(0.5, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(-0.5, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(1.0, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(-1.0, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(Infinity, 1.0, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, 1.0, 1.0, 0.0, 0)); +assert(test_maxf(NaN, 1.0, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_maxf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_maxf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_maxf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_maxf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_maxf(1.0, -1.0, 1.0, 0.0, 0)); +assert(test_maxf(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_maxf(Infinity, -1.0, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, -1.0, -1.0, 0.0, 0)); +assert(test_maxf(NaN, -1.0, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_maxf(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_maxf(0.0, -0.0, 0.0, 0.0, 0)); +assert(test_maxf(0.0, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_maxf(0.0, NaN, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_maxf(-0.0, 0.0, 0.0, 0.0, 0)); +assert(test_maxf(-0.0, -0.0, -0.0, 0.0, 0)); +assert(test_maxf(-0.0, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_maxf(-0.0, NaN, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_maxf(1.0, 0.0, 1.0, 0.0, 0)); +assert(test_maxf(-1.0, 0.0, 0.0, 0.0, 0)); +assert(test_maxf(Infinity, 0.0, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, 0.0, 0.0, 0.0, 0)); +assert(test_maxf(NaN, 0.0, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_maxf(-1.0, -0.0, -0.0, 0.0, 0)); +assert(test_maxf(Infinity, -0.0, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, -0.0, -0.0, 0.0, 0)); +assert(test_maxf(NaN, -0.0, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_maxf(Infinity, 2.0, Infinity, 0.0, 0)); +assert(test_maxf(Infinity, -0.5, Infinity, 0.0, 0)); +assert(test_maxf(Infinity, NaN, NaN, 0.0, 0)); // C: Infinity, JS: NaN +assert(test_maxf(-Infinity, 2.0, 2.0, 0.0, 0)); +assert(test_maxf(-Infinity, -0.5, -0.5, 0.0, 0)); +assert(test_maxf(-Infinity, NaN, NaN, 0.0, 0)); // C: -Infinity, JS: NaN +assert(test_maxf(NaN, NaN, NaN, 0.0, 0)); +assert(test_maxf(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_maxf(-1.0, NaN, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_maxf(1.0, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(-1.0, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_maxf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_maxf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_maxf(Infinity, -Infinity, Infinity, 0.0, 0)); +assert(test_maxf(-Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_maxf(1.75, 0.5, 1.75, 0.0, 0)); +assert(test_maxf(-1.75, 0.5, 0.5, 0.0, 0)); +assert(test_maxf(1.75, -0.5, 1.75, 0.0, 0)); +assert(test_maxf(-1.75, -0.5, -0.5, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.min +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_min(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.min(left, right), expected, error, flags) && + (!js || check( JSMath.min(left, right), expected, error, flags)); +} + +// sanity +assert(test_min(-8.06684839057968084, 4.53566256067686879, -8.06684839057968084, 0.0, 0)); +assert(test_min(4.34523984933830487, -8.88799136300345083, -8.88799136300345083, 0.0, 0)); +assert(test_min(-8.38143342755524934, -2.76360733737958819, -8.38143342755524934, 0.0, 0)); +assert(test_min(-6.53167358191348413, 4.56753527684274374, -6.53167358191348413, 0.0, 0)); +assert(test_min(9.26705696697258574, 4.81139208435979615, 4.81139208435979615, 0.0, 0)); +assert(test_min(-6.45004555606023633, 0.662071792337673881, -6.45004555606023633, 0.0, 0)); +assert(test_min(7.85889025304169664, 0.0521545267500622481, 0.0521545267500622481, 0.0, 0)); +assert(test_min(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_min(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_min(-0.558758682360915193, 0.0322398306026380407, -0.558758682360915193, 0.0, 0)); + +// special +assert(test_min(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_min(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_min(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_min(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_min(1.0, 1.0, 1.0, 0.0, 0)); +assert(test_min(-1.0, 1.0, -1.0, 0.0, 0)); +assert(test_min(Infinity, 1.0, 1.0, 0.0, 0)); +assert(test_min(-Infinity, 1.0, -Infinity, 0.0, 0)); +assert(test_min(NaN, 1.0, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_min(0.0, -1.0, -1.0, 0.0, 0)); +assert(test_min(-0.0, -1.0, -1.0, 0.0, 0)); +assert(test_min(0.5, -1.0, -1.0, 0.0, 0)); +assert(test_min(-0.5, -1.0, -1.0, 0.0, 0)); +assert(test_min(1.0, -1.0, -1.0, 0.0, 0)); +assert(test_min(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_min(Infinity, -1.0, -1.0, 0.0, 0)); +assert(test_min(-Infinity, -1.0, -Infinity, 0.0, 0)); +assert(test_min(NaN, -1.0, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_min(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_min(0.0, -0.0, -0.0, 0.0, 0)); +assert(test_min(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_min(0.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(0.0, NaN, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_min(-0.0, 0.0, -0.0, 0.0, 0)); +assert(test_min(-0.0, -0.0, -0.0, 0.0, 0)); +assert(test_min(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_min(-0.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(-0.0, NaN, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_min(1.0, 0.0, 0.0, 0.0, 0)); +assert(test_min(-1.0, 0.0, -1.0, 0.0, 0)); +assert(test_min(Infinity, 0.0, 0.0, 0.0, 0)); +assert(test_min(-Infinity, 0.0, -Infinity, 0.0, 0)); +assert(test_min(NaN, 0.0, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_min(-1.0, -0.0, -1.0, 0.0, 0)); +assert(test_min(Infinity, -0.0, -0.0, 0.0, 0)); +assert(test_min(-Infinity, -0.0, -Infinity, 0.0, 0)); +assert(test_min(NaN, -0.0, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_min(Infinity, 2.0, 2.0, 0.0, 0)); +assert(test_min(Infinity, -0.5, -0.5, 0.0, 0)); +assert(test_min(Infinity, NaN, NaN, 0.0, 0)); // C: Infinity, JS: NaN +assert(test_min(-Infinity, 2.0, -Infinity, 0.0, 0)); +assert(test_min(-Infinity, -0.5, -Infinity, 0.0, 0)); +assert(test_min(-Infinity, NaN, NaN, 0.0, 0)); // C: -Infinity, JS: NaN +assert(test_min(NaN, NaN, NaN, 0.0, 0)); +assert(test_min(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_min(-1.0, NaN, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_min(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_min(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_min(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_min(-Infinity, Infinity, -Infinity, 0.0, 0)); +assert(test_min(1.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(-1.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(-Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_min(1.75, 0.5, 0.5, 0.0, 0)); +assert(test_min(-1.75, 0.5, -1.75, 0.0, 0)); +assert(test_min(1.75, -0.5, -0.5, 0.0, 0)); +assert(test_min(-1.75, -0.5, -1.75, 0.0, 0)); + +// Mathf.min /////////////////////////////////////////////////////////////////////////////////////// + +function test_minf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.min(left, right), expected, error, flags); +} + +// sanity +assert(test_minf(-8.066848755, 4.535662651, -8.066848755, 0.0, 0)); +assert(test_minf(4.345239639, -8.887990952, -8.887990952, 0.0, 0)); +assert(test_minf(-8.381433487, -2.763607264, -8.381433487, 0.0, 0)); +assert(test_minf(-6.531673431, 4.5675354, -6.531673431, 0.0, 0)); +assert(test_minf(9.267057419, 4.811392307, 4.811392307, 0.0, 0)); +assert(test_minf(-6.450045586, 0.6620717645, -6.450045586, 0.0, 0)); +assert(test_minf(7.858890057, 0.05215452611, 0.05215452611, 0.0, 0)); +assert(test_minf(-0.792054534, 7.676402569, -0.792054534, 0.0, 0)); +assert(test_minf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_minf(-0.5587586761, 0.03223983198, -0.5587586761, 0.0, 0)); + +// special +assert(test_minf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_minf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_minf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_minf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_minf(1.0, 1.0, 1.0, 0.0, 0)); +assert(test_minf(-1.0, 1.0, -1.0, 0.0, 0)); +assert(test_minf(Infinity, 1.0, 1.0, 0.0, 0)); +assert(test_minf(-Infinity, 1.0, -Infinity, 0.0, 0)); +assert(test_minf(NaN, 1.0, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_minf(0.0, -1.0, -1.0, 0.0, 0)); +assert(test_minf(-0.0, -1.0, -1.0, 0.0, 0)); +assert(test_minf(0.5, -1.0, -1.0, 0.0, 0)); +assert(test_minf(-0.5, -1.0, -1.0, 0.0, 0)); +assert(test_minf(1.0, -1.0, -1.0, 0.0, 0)); +assert(test_minf(-1.0, -1.0, -1.0, 0.0, 0)); +assert(test_minf(Infinity, -1.0, -1.0, 0.0, 0)); +assert(test_minf(-Infinity, -1.0, -Infinity, 0.0, 0)); +assert(test_minf(NaN, -1.0, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_minf(0.0, 0.0, 0.0, 0.0, 0)); +assert(test_minf(0.0, -0.0, -0.0, 0.0, 0)); +assert(test_minf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_minf(0.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(0.0, NaN, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_minf(-0.0, 0.0, -0.0, 0.0, 0)); +assert(test_minf(-0.0, -0.0, -0.0, 0.0, 0)); +assert(test_minf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_minf(-0.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(-0.0, NaN, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_minf(1.0, 0.0, 0.0, 0.0, 0)); +assert(test_minf(-1.0, 0.0, -1.0, 0.0, 0)); +assert(test_minf(Infinity, 0.0, 0.0, 0.0, 0)); +assert(test_minf(-Infinity, 0.0, -Infinity, 0.0, 0)); +assert(test_minf(NaN, 0.0, NaN, 0.0, 0)); // C: 0.0, JS: NaN +assert(test_minf(-1.0, -0.0, -1.0, 0.0, 0)); +assert(test_minf(Infinity, -0.0, -0.0, 0.0, 0)); +assert(test_minf(-Infinity, -0.0, -Infinity, 0.0, 0)); +assert(test_minf(NaN, -0.0, NaN, 0.0, 0)); // C: -0.0, JS: NaN +assert(test_minf(Infinity, 2.0, 2.0, 0.0, 0)); +assert(test_minf(Infinity, -0.5, -0.5, 0.0, 0)); +assert(test_minf(Infinity, NaN, NaN, 0.0, 0)); // C: Infinity, JS: NaN +assert(test_minf(-Infinity, 2.0, -Infinity, 0.0, 0)); +assert(test_minf(-Infinity, -0.5, -Infinity, 0.0, 0)); +assert(test_minf(-Infinity, NaN, NaN, 0.0, 0)); // C: -Infinity, JS: NaN +assert(test_minf(NaN, NaN, NaN, 0.0, 0)); +assert(test_minf(1.0, NaN, NaN, 0.0, 0)); // C: 1.0, JS: NaN +assert(test_minf(-1.0, NaN, NaN, 0.0, 0)); // C: -1.0, JS: NaN +assert(test_minf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_minf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_minf(Infinity, Infinity, Infinity, 0.0, 0)); +assert(test_minf(-Infinity, Infinity, -Infinity, 0.0, 0)); +assert(test_minf(1.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(-1.0, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(-Infinity, -Infinity, -Infinity, 0.0, 0)); +assert(test_minf(1.75, 0.5, 0.5, 0.0, 0)); +assert(test_minf(-1.75, 0.5, -1.75, 0.0, 0)); +assert(test_minf(1.75, -0.5, -0.5, 0.0, 0)); +assert(test_minf(-1.75, -0.5, -1.75, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.mod +//////////////////////////////////////////////////////////////////////////////////////////////////// + +declare namespace JSOp { + export function mod(x: f64, y: f64): f64; +} + +function test_mod(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.mod(left, right), expected, error, flags) && + (!js || check( JSOp.mod(left, right), expected, error, flags)); +} + +// sanity +assert(test_mod(-8.06684839057968084, 4.53566256067686879, -3.53118582990281205, 0.0, 0)); +assert(test_mod(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_mod(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); +assert(test_mod(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); +assert(test_mod(9.26705696697258574, 4.81139208435979615, 4.45566488261278959, 0.0, 0)); +assert(test_mod(-6.45004555606023633, 0.662071792337673881, -0.491399425021171399, 0.0, 0)); +assert(test_mod(7.85889025304169664, 0.0521545267500622481, 0.0357112405323594256, 0.0, 0)); +assert(test_mod(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_mod(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_mod(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); + +// special +assert(test_mod(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_mod(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_mod(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_mod(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_mod(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_mod(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_mod(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, 1.0, NaN, 0.0, 0)); +assert(test_mod(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_mod(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_mod(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_mod(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_mod(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_mod(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_mod(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, -1.0, NaN, 0.0, 0)); +assert(test_mod(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_mod(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_mod(0.0, NaN, NaN, 0.0, 0)); +assert(test_mod(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_mod(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_mod(-0.0, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, 0.0, NaN, 0.0, 0)); +assert(test_mod(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_mod(NaN, -0.0, NaN, 0.0, 0)); +assert(test_mod(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_mod(Infinity, NaN, NaN, 0.0, 0)); +assert(test_mod(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_mod(NaN, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, NaN, NaN, 0.0, 0)); +assert(test_mod(-1.0, NaN, NaN, 0.0, 0)); +assert(test_mod(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_mod(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_mod(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_mod(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_mod(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_mod(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_mod(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_mod(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_mod(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_mod(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_mod(-1.75, -0.5, -0.25, 0.0, 0)); + +// Mathf.mod /////////////////////////////////////////////////////////////////////////////////////// + +function test_modf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.mod(left, right), expected, error, flags); +} + +// sanity +assert(test_modf(-8.066848755, 4.535662651, -3.531186104, 0.0, 0)); +assert(test_modf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_modf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); +assert(test_modf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); +assert(test_modf(9.267057419, 4.811392307, 4.455665112, 0.0, 0)); +assert(test_modf(-6.450045586, 0.6620717645, -0.4913997054, 0.0, 0)); +assert(test_modf(7.858890057, 0.05215452611, 0.03571113944, 0.0, 0)); +assert(test_modf(-0.792054534, 7.676402569, -0.792054534, 0.0, 0)); +assert(test_modf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_modf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); + +// special +assert(test_modf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_modf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_modf(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(1.5, 1.0, 0.5, 0.0, 0)); +assert(test_modf(-1.5, 1.0, -0.5, 0.0, 0)); +assert(test_modf(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_modf(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_modf(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_modf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_modf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_modf(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(1.5, -1.0, 0.5, 0.0, 0)); +assert(test_modf(-1.5, -1.0, -0.5, 0.0, 0)); +assert(test_modf(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_modf(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_modf(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_modf(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_modf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_modf(0.0, NaN, NaN, 0.0, 0)); +assert(test_modf(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_modf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_modf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, 0.0, NaN, 0.0, 0)); +assert(test_modf(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_modf(NaN, -0.0, NaN, 0.0, 0)); +assert(test_modf(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_modf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_modf(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_modf(NaN, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, NaN, NaN, 0.0, 0)); +assert(test_modf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_modf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_modf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_modf(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_modf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_modf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_modf(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_modf(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_modf(1.75, 0.5, 0.25, 0.0, 0)); +assert(test_modf(-1.75, 0.5, -0.25, 0.0, 0)); +assert(test_modf(1.75, -0.5, 0.25, 0.0, 0)); +assert(test_modf(-1.75, -0.5, -0.25, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.pow +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_pow(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.pow(left, right), expected, error, flags) && @@ -1557,7 +2181,7 @@ assert(test_pow(9.26705696697258574, 4.81139208435979615, 44909.2994151296589, - assert(test_pow(-6.45004555606023633, 0.662071792337673881, NaN, 0.0, INVALID)); assert(test_pow(7.85889025304169664, 0.0521545267500622481, 1.11351774134586523, -0.371686071157455444, INEXACT)); assert(test_pow(-0.792054511984895959, 7.67640268511753998, NaN, 0.0, INVALID)); -assert(test_pow(0.615702673197924044, 2.01190257903248026, 0.376907735213801831, 0.324733018875122070, INEXACT)); +assert(test_pow(0.615702673197924044, 2.01190257903248026, 0.376907735213801831, 0.32473301887512207, INEXACT)); assert(test_pow(-0.558758682360915193, 0.0322398306026380407, NaN, 0.0, INVALID)); // special @@ -1654,7 +2278,7 @@ assert(test_pow(NaN, -1.0, NaN, 0.0, 0)); assert(test_pow(-2.0, 1.0, -2.0, 0.0, 0)); assert(test_pow(-2.0, -1.0, -0.5, 0.0, 0)); -// === Mathf.pow ================================ +// Mathf.pow /////////////////////////////////////////////////////////////////////////////////////// function test_powf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.pow(left, right), expected, error, flags); @@ -1664,11 +2288,11 @@ function test_powf(left: f32, right: f32, expected: f32, error: f32, flags: i32) assert(test_powf(-8.066848755, 4.535662651, NaN, 0.0, INVALID)); assert(test_powf(4.345239639, -8.887990952, 0.000002134714123, 0.1436440796, INEXACT)); assert(test_powf(-8.381433487, -2.763607264, NaN, 0.0, INVALID)); -assert(test_powf(-6.531673431, 4.567535400, NaN, 0.0, INVALID)); +assert(test_powf(-6.531673431, 4.5675354, NaN, 0.0, INVALID)); assert(test_powf(9.267057419, 4.811392307, 44909.33203, -0.05356409028, INEXACT)); assert(test_powf(-6.450045586, 0.6620717645, NaN, 0.0, INVALID)); assert(test_powf(7.858890057, 0.05215452611, 1.113517761, 0.1912208945, INEXACT)); -assert(test_powf(-0.7920545340, 7.676402569, NaN, 0.0, INVALID)); +assert(test_powf(-0.792054534, 7.676402569, NaN, 0.0, INVALID)); assert(test_powf(0.6157026887, 2.011902571, 0.3769077659, 0.3371490538, INEXACT)); assert(test_powf(-0.5587586761, 0.03223983198, NaN, 0.0, INVALID)); @@ -1766,33 +2390,332 @@ assert(test_powf(NaN, -1.0, NaN, 0.0, 0)); assert(test_powf(-2.0, 1.0, -2.0, 0.0, 0)); assert(test_powf(-2.0, -1.0, -0.5, 0.0, 0)); -// === Mathf.random ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.random +//////////////////////////////////////////////////////////////////////////////////////////////////// NativeMath.seedRandom(reinterpret(JSMath.random())); -for (let i = 0; i < 1e7; ++i) { +for (let i = 0; i < 1e6; ++i) { let r = NativeMath.random(); assert(r >= 0.0 && r < 1.0); } -// === Math.sin ================================ +// Mathf.random //////////////////////////////////////////////////////////////////////////////////// + +NativeMathf.seedRandom(reinterpret(JSMath.random())); +for (let i = 0; i < 1e6; ++i) { + let r = NativeMathf.random(); + assert(r >= 0.0 && r < 1.0); +} + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.round +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_round(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.round(value), expected, error, flags); + // (!js || check( JSMath.round(value), expected, error, flags)); + // FIXME: JS rounds fractional 0.5 towards +inf (why would one do that?) +} + +// sanity +assert(test_round(-8.06684839057968084, -8.0, 0.0, INEXACT)); +assert(test_round(4.34523984933830487, 4.0, 0.0, INEXACT)); +assert(test_round(-8.38143342755524934, -8.0, 0.0, INEXACT)); +assert(test_round(-6.53167358191348413, -7.0, 0.0, INEXACT)); +assert(test_round(9.26705696697258574, 9.0, 0.0, INEXACT)); +assert(test_round(0.661985898099504477, 1.0, 0.0, INEXACT)); +assert(test_round(-0.406603922385355310, -0.0, 0.0, INEXACT)); +assert(test_round(0.561759746220724110, 1.0, 0.0, INEXACT)); +assert(test_round(0.774152296591303690, 1.0, 0.0, INEXACT)); +assert(test_round(-0.678763702639402444, -1.0, 0.0, INEXACT)); + +// special +assert(test_round(NaN, NaN, 0.0, 0)); +assert(test_round(Infinity, Infinity, 0.0, 0)); +assert(test_round(-Infinity, -Infinity, 0.0, 0)); +assert(test_round(0.0, 0.0, 0.0, 0)); +assert(test_round(-0.0, -0.0, 0.0, 0)); +assert(test_round(1.0, 1.0, 0.0, 0)); +assert(test_round(-1.0, -1.0, 0.0, 0)); +assert(test_round(0.5, 1.0, 0.0, INEXACT)); +assert(test_round(-0.5, -1.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 +assert(test_round(1.5, 2.0, 0.0, INEXACT)); +assert(test_round(-1.5, -2.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 +assert(test_round(1.00001525878906250, 1.0, 0.0, INEXACT)); +assert(test_round(-1.00001525878906250, -1.0, 0.0, INEXACT)); +assert(test_round(0.999992370605468750, 1.0, 0.0, INEXACT)); +assert(test_round(-0.999992370605468750, -1.0, 0.0, INEXACT)); +assert(test_round(7.88860905221011805e-31, 0.0, 0.0, INEXACT)); +assert(test_round(-7.88860905221011805e-31, -0.0, 0.0, INEXACT)); + +// Mathf.round ///////////////////////////////////////////////////////////////////////////////////// + +function test_roundf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.round(value), expected, error, flags); +} + +// sanity +assert(test_roundf(-8.066848755, -8.0, 0.0, INEXACT)); +assert(test_roundf(4.345239639, 4.0, 0.0, INEXACT)); +assert(test_roundf(-8.381433487, -8.0, 0.0, INEXACT)); +assert(test_roundf(-6.531673431, -7.0, 0.0, INEXACT)); +assert(test_roundf(9.267057419, 9.0, 0.0, INEXACT)); +assert(test_roundf(0.6619858742, 1.0, 0.0, INEXACT)); +assert(test_roundf(-0.4066039324, -0.0, 0.0, INEXACT)); +assert(test_roundf(0.5617597699, 1.0, 0.0, INEXACT)); +assert(test_roundf(0.7741522789, 1.0, 0.0, INEXACT)); +assert(test_roundf(-0.6787636876, -1.0, 0.0, INEXACT)); + +// special +assert(test_roundf(NaN, NaN, 0.0, 0)); +assert(test_roundf(Infinity, Infinity, 0.0, 0)); +assert(test_roundf(-Infinity, -Infinity, 0.0, 0)); +assert(test_roundf(0.0, 0.0, 0.0, 0)); +assert(test_roundf(-0.0, -0.0, 0.0, 0)); +assert(test_roundf(1.0, 1.0, 0.0, 0)); +assert(test_roundf(-1.0, -1.0, 0.0, 0)); +assert(test_roundf(0.5, 1.0, 0.0, INEXACT)); +assert(test_roundf(-0.5, -1.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 +assert(test_round(1.5, 2.0, 0.0, INEXACT)); +assert(test_round(-1.5, -2.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 +assert(test_roundf(1.000015259, 1.0, 0.0, INEXACT)); +assert(test_roundf(-1.000015259, -1.0, 0.0, INEXACT)); +assert(test_roundf(0.9999923706, 1.0, 0.0, INEXACT)); +assert(test_roundf(-0.9999923706, -1.0, 0.0, INEXACT)); +assert(test_roundf(7.888609052e-31, 0.0, 0.0, INEXACT)); +assert(test_roundf(-7.888609052e-31, -0.0, 0.0, INEXACT)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.sign +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_sign(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.sign(value), expected, error, flags) && + (!js || check( JSMath.sign(value), expected, error, flags)); +} + +assert(test_sign(0.0, 0.0, 0.0, 0)); +assert(test_sign(-0.0, -0.0, 0.0, 0)); +assert(test_sign(1.0, 1.0, 0.0, 0)); +assert(test_sign(2.0, 1.0, 0.0, 0)); +assert(test_sign(-1.0, -1.0, 0.0, 0)); +assert(test_sign(-2.0, -1.0, 0.0, 0)); +assert(test_sign(Infinity, 1.0, 0.0, 0)); +assert(test_sign(-Infinity, -1.0, 0.0, 0)); +assert(test_sign(NaN, NaN, 0.0, 0)); + +// Mathf.sign ////////////////////////////////////////////////////////////////////////////////////// + +function test_signf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.sign(value), expected, error, flags); +} + +assert(test_signf(0.0, 0.0, 0.0, 0)); +assert(test_signf(-0.0, -0.0, 0.0, 0)); +assert(test_signf(1.0, 1.0, 0.0, 0)); +assert(test_signf(2.0, 1.0, 0.0, 0)); +assert(test_signf(-1.0, -1.0, 0.0, 0)); +assert(test_signf(-2.0, -1.0, 0.0, 0)); +assert(test_signf(Infinity, 1.0, 0.0, 0)); +assert(test_signf(-Infinity, -1.0, 0.0, 0)); +assert(test_signf(NaN, NaN, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.rem +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_rem(left: f64, right: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.rem(left, right), expected, error, flags); +} + +// sanity +assert(test_rem(-8.06684839057968084, 4.53566256067686879, 1.00447673077405675, 0.0, 0)); +assert(test_rem(4.34523984933830487, -8.88799136300345083, 4.34523984933830487, 0.0, 0)); +assert(test_rem(-8.38143342755524934, -2.76360733737958819, -0.0906114154164847641, 0.0, 0)); +assert(test_rem(-6.53167358191348413, 4.56753527684274374, -1.96413830507074039, 0.0, 0)); +assert(test_rem(9.26705696697258574, 4.81139208435979615, -0.355727201747006561, 0.0, 0)); +assert(test_rem(-6.45004555606023633, 0.662071792337673881, 0.170672367316502482, 0.0, 0)); +assert(test_rem(7.85889025304169664, 0.0521545267500622481, -0.0164432862177028224, 0.0, 0)); +assert(test_rem(-0.792054511984895959, 7.67640268511753998, -0.792054511984895959, 0.0, 0)); +assert(test_rem(0.615702673197924044, 2.01190257903248026, 0.615702673197924044, 0.0, 0)); +assert(test_rem(-0.558758682360915193, 0.0322398306026380407, -0.0106815621160685006, 0.0, 0)); + +// special +assert(test_rem(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_rem(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_rem(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(1.5, 1.0, -0.5, 0.0, 0)); +assert(test_rem(-1.5, 1.0, 0.5, 0.0, 0)); +assert(test_rem(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_rem(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_rem(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, 1.0, NaN, 0.0, 0)); +assert(test_rem(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_rem(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_rem(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(1.5, -1.0, -0.5, 0.0, 0)); +assert(test_rem(-1.5, -1.0, 0.5, 0.0, 0)); +assert(test_rem(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_rem(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_rem(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, -1.0, NaN, 0.0, 0)); +assert(test_rem(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_rem(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_rem(0.0, NaN, NaN, 0.0, 0)); +assert(test_rem(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_rem(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_rem(-0.0, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, 0.0, NaN, 0.0, 0)); +assert(test_rem(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_rem(NaN, -0.0, NaN, 0.0, 0)); +assert(test_rem(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_rem(Infinity, NaN, NaN, 0.0, 0)); +assert(test_rem(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_rem(NaN, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, NaN, NaN, 0.0, 0)); +assert(test_rem(-1.0, NaN, NaN, 0.0, 0)); +assert(test_rem(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_rem(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_rem(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_rem(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_rem(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_rem(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_rem(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_rem(1.75, 0.5, -0.25, 0.0, 0)); +assert(test_rem(-1.75, 0.5, 0.25, 0.0, 0)); +assert(test_rem(1.75, -0.5, -0.25, 0.0, 0)); +assert(test_rem(-1.75, -0.5, 0.25, 0.0, 0)); +assert(test_rem(7.90505033345994471e-323, Infinity, 7.90505033345994471e-323, 0.0, 0)); + +// Mathf.rem /////////////////////////////////////////////////////////////////////////////////////// + +function test_remf(left: f32, right: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.rem(left, right), expected, error, flags); +} + +// sanity +assert(test_remf(-8.066848755, 4.535662651, 1.004476547, 0.0, 0)); +assert(test_remf(4.345239639, -8.887990952, 4.345239639, 0.0, 0)); +assert(test_remf(-8.381433487, -2.763607264, -0.09061169624, 0.0, 0)); +assert(test_remf(-6.531673431, 4.5675354, -1.964138031, 0.0, 0)); +assert(test_remf(9.267057419, 4.811392307, -0.3557271957, 0.0, 0)); +assert(test_remf(-6.450045586, 0.6620717645, 0.1706720591, 0.0, 0)); +assert(test_remf(7.858890057, 0.05215452611, -0.01644338667, 0.0, 0)); +assert(test_remf(-0.792054534, 7.676402569, -0.792054534, 0.0, 0)); +assert(test_remf(0.6157026887, 2.011902571, 0.6157026887, 0.0, 0)); +assert(test_remf(-0.5587586761, 0.03223983198, -0.01068153232, 0.0, 0)); + +// special +assert(test_remf(0.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-0.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(0.5, 1.0, 0.5, 0.0, 0)); +assert(test_remf(-0.5, 1.0, -0.5, 0.0, 0)); +assert(test_remf(1.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-1.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(1.5, 1.0, -0.5, 0.0, 0)); +assert(test_remf(-1.5, 1.0, 0.5, 0.0, 0)); +assert(test_remf(2.0, 1.0, 0.0, 0.0, 0)); +assert(test_remf(-2.0, 1.0, -0.0, 0.0, 0)); +assert(test_remf(Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, 1.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, 1.0, NaN, 0.0, 0)); +assert(test_remf(0.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-0.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(0.5, -1.0, 0.5, 0.0, 0)); +assert(test_remf(-0.5, -1.0, -0.5, 0.0, 0)); +assert(test_remf(1.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-1.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(1.5, -1.0, -0.5, 0.0, 0)); +assert(test_remf(-1.5, -1.0, 0.5, 0.0, 0)); +assert(test_remf(2.0, -1.0, 0.0, 0.0, 0)); +assert(test_remf(-2.0, -1.0, -0.0, 0.0, 0)); +assert(test_remf(Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -1.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, -1.0, NaN, 0.0, 0)); +assert(test_remf(0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(0.0, Infinity, 0.0, 0.0, 0)); +assert(test_remf(0.0, -Infinity, 0.0, 0.0, 0)); +assert(test_remf(0.0, NaN, NaN, 0.0, 0)); +assert(test_remf(-0.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-0.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(-0.0, Infinity, -0.0, 0.0, 0)); +assert(test_remf(-0.0, -Infinity, -0.0, 0.0, 0)); +assert(test_remf(-0.0, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-1.0, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, 0.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, 0.0, NaN, 0.0, 0)); +assert(test_remf(-1.0, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -0.0, NaN, 0.0, INVALID)); +assert(test_remf(NaN, -0.0, NaN, 0.0, 0)); +assert(test_remf(Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_remf(Infinity, NaN, NaN, 0.0, 0)); +assert(test_remf(-Infinity, 2.0, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -0.5, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, NaN, NaN, 0.0, 0)); +assert(test_remf(NaN, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, NaN, NaN, 0.0, 0)); +assert(test_remf(-1.0, NaN, NaN, 0.0, 0)); +assert(test_remf(1.0, Infinity, 1.0, 0.0, 0)); +assert(test_remf(-1.0, Infinity, -1.0, 0.0, 0)); +assert(test_remf(Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, Infinity, NaN, 0.0, INVALID)); +assert(test_remf(1.0, -Infinity, 1.0, 0.0, 0)); +assert(test_remf(-1.0, -Infinity, -1.0, 0.0, 0)); +assert(test_remf(Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_remf(-Infinity, -Infinity, NaN, 0.0, INVALID)); +assert(test_remf(1.75, 0.5, -0.25, 0.0, 0)); +assert(test_remf(-1.75, 0.5, 0.25, 0.0, 0)); +assert(test_remf(1.75, -0.5, -0.25, 0.0, 0)); +assert(test_remf(-1.75, -0.5, 0.25, 0.0, 0)); +assert(test_remf(5.877471754e-39, Infinity, 5.877471754e-39, 0.0, 0)); +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.sin +//////////////////////////////////////////////////////////////////////////////////////////////////// +/* TODO function test_sin(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sin(value), expected, error, flags) && (!js || check( JSMath.sin(value), expected, error, flags)); } -/* TODO - // sanity assert(test_sin(-8.06684839057968084, -0.977429292878122746, -0.145649120211601257, INEXACT)); assert(test_sin(4.34523984933830487, -0.933354473696571763, -0.0881374701857566833, INEXACT)); assert(test_sin(-8.38143342755524934, -0.864092471170630372, -0.117438830435276031, INEXACT)); assert(test_sin(-6.53167358191348413, -0.245938947726153739, -0.126978516578674316, INEXACT)); -assert(test_sin(9.26705696697258574, 0.157067897720280070, -0.0295501593500375748, INEXACT)); +assert(test_sin(9.26705696697258574, 0.15706789772028007, -0.0295501593500375748, INEXACT)); assert(test_sin(0.661985898099504477, 0.614684486011344733, -0.0997673794627189636, INEXACT)); -assert(test_sin(-0.406603922385355310, -0.395492421828236962, -0.366877496242523193, INEXACT)); -assert(test_sin(0.561759746220724110, 0.532676328667237575, -0.355040758848190308, INEXACT)); -assert(test_sin(0.774152296591303690, 0.699110206864977934, -0.427672415971755981, INEXACT)); +assert(test_sin(-0.40660392238535531, -0.395492421828236962, -0.366877496242523193, INEXACT)); +assert(test_sin(0.56175974622072411, 0.532676328667237575, -0.355040758848190308, INEXACT)); +assert(test_sin(0.77415229659130369, 0.699110206864977934, -0.427672415971755981, INEXACT)); assert(test_sin(-0.678763702639402444, -0.627831232630121527, -0.382811546325683594, INEXACT)); // special @@ -1802,18 +2725,14 @@ assert(test_sin(Infinity, NaN, 0.0, INVALID)); assert(test_sin(-Infinity, NaN, 0.0, INVALID)); assert(test_sin(NaN, NaN, 0.0, 0)); -*/ - -// === Mathf.sin ================================ +// Mathf.sin /////////////////////////////////////////////////////////////////////////////////////// function test_sinf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.sin(value), expected, error, flags); } -/* TODO - // sanity -assert(test_sinf(-8.066848755, -0.9774292111, 0.08010572940, INEXACT)); +assert(test_sinf(-8.066848755, -0.9774292111, 0.0801057294, INEXACT)); assert(test_sinf(4.345239639, -0.9333543777, 0.3447562754, INEXACT)); assert(test_sinf(-8.381433487, -0.8640924692, -0.4686599076, INEXACT)); assert(test_sinf(-6.531673431, -0.2459388077, -0.3955177665, INEXACT)); @@ -1829,11 +2748,11 @@ assert(test_sinf(0.0, 0.0, 0.0, 0)); assert(test_sinf(-0.0, -0.0, 0.0, 0)); assert(test_sinf(Infinity, NaN, 0.0, INVALID)); assert(test_sinf(-Infinity, NaN, 0.0, INVALID)); -assert(test_sinf(NaN, NaN, 0.0, 0)); +assert(test_sinf(NaN, NaN, 0.0, 0)); */ -*/ - -// === Math.sinh ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.sinh +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_sinh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sinh(value), expected, error, flags) && @@ -1842,14 +2761,14 @@ function test_sinh(value: f64, expected: f64, error: f64, flags: i32): bool { // sanity assert(test_sinh(-8.06684839057968084, -1593.52068011562619, -0.213872760534286499, INEXACT)); -assert(test_sinh(4.34523984933830487, 38.5487808868541180, 0.215374305844306946, INEXACT)); +assert(test_sinh(4.34523984933830487, 38.548780886854118, 0.215374305844306946, INEXACT)); assert(test_sinh(-8.38143342755524934, -2182.63075051455462, 0.162138268351554871, INEXACT)); assert(test_sinh(-6.53167358191348413, -343.272392684752901, 0.204795137047767639, INEXACT)); assert(test_sinh(9.26705696697258574, 5291.77907551940552, -0.486765176057815552, INEXACT)); assert(test_sinh(0.661985898099504477, 0.711406256822915695, -0.458464145660400391, INEXACT)); -assert(test_sinh(-0.406603922385355310, -0.417900652587394450, 0.372200459241867065, INEXACT)); -assert(test_sinh(0.561759746220724110, 0.591775593545123657, 0.461789965629577637, INEXACT)); -assert(test_sinh(0.774152296591303690, 0.853829200885254158, -0.0701905190944671631, INEXACT)); +assert(test_sinh(-0.40660392238535531, -0.41790065258739445, 0.372200459241867065, INEXACT)); +assert(test_sinh(0.56175974622072411, 0.591775593545123657, 0.461789965629577637, INEXACT)); +assert(test_sinh(0.77415229659130369, 0.853829200885254158, -0.0701905190944671631, INEXACT)); assert(test_sinh(-0.678763702639402444, -0.732097615653168998, 0.268585294485092163, INEXACT)); // special @@ -1857,24 +2776,24 @@ assert(test_sinh(0.0, 0.0, 0.0, 0)); assert(test_sinh(-0.0, -0.0, 0.0, 0)); assert(test_sinh(Infinity, Infinity, 0.0, 0)); assert(test_sinh(-Infinity, -Infinity, 0.0, 0)); -assert(test_sinh(NaN, NaN, 0.00, 0)); +assert(test_sinh(NaN, NaN, 0.0, 0)); -// === Mathf.sinh ================================ +// Mathf.sinh ////////////////////////////////////////////////////////////////////////////////////// function test_sinhf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.sinh(value), expected, error, flags); } // sanity -assert(test_sinhf(-8.066848755, -1593.521240, 0.1671663225, INEXACT)); -assert(test_sinhf(4.345239639, 38.54877090, -0.4934032857, INEXACT)); +assert(test_sinhf(-8.066848755, -1593.52124, 0.1671663225, INEXACT)); +assert(test_sinhf(4.345239639, 38.5487709, -0.4934032857, INEXACT)); assert(test_sinhf(-8.381433487, -2182.630859, 0.08499703556, INEXACT)); assert(test_sinhf(-6.531673431, -343.2723389, 0.07041906565, INEXACT)); -assert(test_sinhf(9.267057419, 5291.781250, -0.4436251521, INEXACT)); -assert(test_sinhf(0.6619858742, 0.7114062309, 0.05810388550, INEXACT)); +assert(test_sinhf(9.267057419, 5291.78125, -0.4436251521, INEXACT)); +assert(test_sinhf(0.6619858742, 0.7114062309, 0.0581038855, INEXACT)); assert(test_sinhf(-0.4066039324, -0.4179006517, 0.3934949934, INEXACT)); -assert(test_sinhf(0.5617597699, 0.5917755961, -0.4183797240, INEXACT)); -assert(test_sinhf(0.7741522789, 0.8538292050, 0.4599210620, INEXACT)); +assert(test_sinhf(0.5617597699, 0.5917755961, -0.418379724, INEXACT)); +assert(test_sinhf(0.7741522789, 0.853829205, 0.459921062, INEXACT)); assert(test_sinhf(-0.6787636876, -0.7320976257, -0.4815905988, INEXACT)); // special @@ -1884,7 +2803,9 @@ assert(test_sinhf(Infinity, Infinity, 0.0, 0)); assert(test_sinhf(-Infinity, -Infinity, 0.0, 0)); assert(test_sinhf(NaN, NaN, 0.0, 0)); -// === (built-in) Math.sqrt ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.sqrt +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_sqrt(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.sqrt(value), expected, error, flags) && @@ -1897,10 +2818,10 @@ assert(test_sqrt(4.34523984933830487, 2.08452389032563135, -0.071802616119384765 assert(test_sqrt(-8.38143342755524934, NaN, 0.0, INVALID)); assert(test_sqrt(-6.53167358191348413, NaN, 0.0, INVALID)); assert(test_sqrt(9.26705696697258574, 3.04418412172663855, -0.0154626257717609406, INEXACT)); -assert(test_sqrt(0.661985898099504477, 0.813625158226750300, -0.0861815735697746277, INEXACT)); -assert(test_sqrt(-0.406603922385355310, NaN, 0.0, INVALID)); -assert(test_sqrt(0.561759746220724110, 0.749506335010401425, -0.0981396734714508057, INEXACT)); -assert(test_sqrt(0.774152296591303690, 0.879859248170583030, -0.371243536472320557, INEXACT)); +assert(test_sqrt(0.661985898099504477, 0.8136251582267503, -0.0861815735697746277, INEXACT)); +assert(test_sqrt(-0.40660392238535531, NaN, 0.0, INVALID)); +assert(test_sqrt(0.56175974622072411, 0.749506335010401425, -0.0981396734714508057, INEXACT)); +assert(test_sqrt(0.77415229659130369, 0.87985924817058303, -0.371243536472320557, INEXACT)); assert(test_sqrt(-0.678763702639402444, NaN, 0.0, INVALID)); // special @@ -1956,13 +2877,13 @@ assert(test_sqrt(96.8480417488402168, 9.84114026669878506, 0.499801903963088989, assert(test_sqrt(97.4363905088315505, 9.87098731175517052, 0.499769628047943115, INEXACT)); assert(test_sqrt(97.5095797988304724, 9.87469390912095513, 0.499998182058334351, INEXACT)); assert(test_sqrt(97.8049689388261214, 9.88963947466367976, -0.499958068132400513, INEXACT)); -assert(test_sqrt(98.2751822888191953, 9.91338399784953417, 0.499799311161041260, INEXACT)); +assert(test_sqrt(98.2751822888191953, 9.91338399784953417, 0.49979931116104126, INEXACT)); assert(test_sqrt(99.4729356488015526, 9.97361196602321876, -0.499954044818878174, INEXACT)); assert(test_sqrt(100.570471308785386, 10.0284830013709136, -0.499964535236358643, INEXACT)); -assert(test_sqrt(100.609546088784811, 10.0304310021446650, 0.499756723642349243, INEXACT)); +assert(test_sqrt(100.609546088784811, 10.030431002144665, 0.499756723642349243, INEXACT)); assert(test_sqrt(100.679091098783786, 10.0338971042553435, -0.499777138233184814, INEXACT)); assert(test_sqrt(101.122680958777252, 10.0559773746154217, 0.499886780977249146, INEXACT)); -assert(test_sqrt(101.302769128774599, 10.0649276762813660, 0.499910563230514526, INEXACT)); +assert(test_sqrt(101.302769128774599, 10.064927676281366, 0.499910563230514526, INEXACT)); assert(test_sqrt(2.45932313565506984e-307, 4.95915631499458737e-154, -0.499899983406066895, INEXACT)); assert(test_sqrt(5.61095730518040884e-307, 7.49063235326658376e-154, -0.499934375286102295, INEXACT)); assert(test_sqrt(5.80738879774085241e-307, 7.62062254526547942e-154, -0.499895691871643066, INEXACT)); @@ -1979,7 +2900,7 @@ assert(test_sqrt(2.64615054688296253e-306, 1.62669927979419815e-153, 0.499867290 assert(test_sqrt(3.81670763677204135e-306, 1.95363958722483965e-153, 0.499834716320037842, INEXACT)); assert(test_sqrt(4.57432207785627658e-306, 2.13876648511619359e-153, 0.499859392642974854, INEXACT)); -// === (built-in) Mathf.sqrt ================================ +// Mathf.sqrt ////////////////////////////////////////////////////////////////////////////////////// function test_sqrtf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.sqrt(value), expected, error, flags); @@ -2021,25 +2942,25 @@ assert(test_sqrtf(1.000000238, 1.000000119, 5.960463767e-8, INEXACT)); assert(test_sqrtf(2.000000238, 1.414213657, 0.08986179531, INEXACT)); assert(test_sqrtf(2.000000477, 1.414213777, 0.3827550709, INEXACT)); -// === Math.tan ================================ - +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.tan +//////////////////////////////////////////////////////////////////////////////////////////////////// +/* TODO function test_tan(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.tan(value), expected, error, flags) && (!js || check( JSMath.tan(value), expected, error, flags)); } -/* TODO - // sanity assert(test_tan(-8.06684839057968084, 4.62660354240163318, -0.272760331630706787, INEXACT)); assert(test_tan(4.34523984933830487, 2.60019170582220216, 0.265100330114364624, INEXACT)); assert(test_tan(-8.38143342755524934, 1.71674083287410517, -0.246875196695327759, INEXACT)); -assert(test_tan(-6.53167358191348413, -0.253732252345372500, -0.467970371246337891, INEXACT)); +assert(test_tan(-6.53167358191348413, -0.2537322523453725, -0.467970371246337891, INEXACT)); assert(test_tan(9.26705696697258574, -0.159041957271919582, -0.0670407786965370178, INEXACT)); assert(test_tan(0.661985898099504477, 0.779291910691043421, -0.0380561351776123047, INEXACT)); -assert(test_tan(-0.406603922385355310, -0.430599528795436559, -0.0924271419644355774, INEXACT)); -assert(test_tan(0.561759746220724110, 0.629403687318739968, -0.321913480758666992, INEXACT)); -assert(test_tan(0.774152296591303690, 0.977757465294964545, -0.196665182709693909, INEXACT)); +assert(test_tan(-0.40660392238535531, -0.430599528795436559, -0.0924271419644355774, INEXACT)); +assert(test_tan(0.56175974622072411, 0.629403687318739968, -0.321913480758666992, INEXACT)); +assert(test_tan(0.77415229659130369, 0.977757465294964545, -0.196665182709693909, INEXACT)); assert(test_tan(-0.678763702639402444, -0.806618663020912341, -0.0676656961441040039, INEXACT)); // special @@ -2049,16 +2970,12 @@ assert(test_tan(Infinity, NaN, 0.0, INVALID)); assert(test_tan(-Infinity, NaN, 0.0, INVALID)); assert(test_tan(NaN, NaN, 0.0, 0)); -*/ - -// === Mathf.tan ================================ +// Mathf.tan /////////////////////////////////////////////////////////////////////////////////////// function test_tanf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.tan(value), expected, error, flags); } -/* TODO - // sanity assert(test_tanf(-8.066848755, 4.626595497, 0.2455666959, INEXACT)); assert(test_tanf(4.345239639, 2.600190163, 0.3652407229, INEXACT)); @@ -2068,7 +2985,7 @@ assert(test_tanf(9.267057419, -0.1590414941, -0.009332014248, INEXACT)); assert(test_tanf(0.6619858742, 0.7792918682, -0.06759700924, INEXACT)); assert(test_tanf(-0.4066039324, -0.4305995405, 0.005771996453, INEXACT)); assert(test_tanf(0.5617597699, 0.6294037104, -0.1683816314, INEXACT)); -assert(test_tanf(0.7741522789, 0.9777574539, 0.3896938860, INEXACT)); +assert(test_tanf(0.7741522789, 0.9777574539, 0.389693886, INEXACT)); assert(test_tanf(-0.6787636876, -0.8066186309, 0.1229405999, INEXACT)); // special @@ -2076,11 +2993,11 @@ assert(test_tanf(0.0, 0.0, 0.0, 0)); assert(test_tanf(-0.0, -0.0, 0.0, 0)); assert(test_tanf(Infinity, NaN, 0.0, INVALID)); assert(test_tanf(-Infinity, NaN, 0.0, INVALID)); -assert(test_tanf(NaN, NaN, 0.0, 0)); - -*/ +assert(test_tanf(NaN, NaN, 0.0, 0)); */ -// === Math.tanh ================================ +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.tanh +//////////////////////////////////////////////////////////////////////////////////////////////////// function test_tanh(value: f64, expected: f64, error: f64, flags: i32): bool { return check(NativeMath.tanh(value), expected, error, flags) && @@ -2094,9 +3011,9 @@ assert(test_tanh(-8.38143342755524934, -0.999999895043486187, 0.2798506617546081 assert(test_tanh(-6.53167358191348413, -0.999995756839242911, -0.442855745553970337, INEXACT)); assert(test_tanh(9.26705696697258574, 0.999999982144723409, 0.446275502443313599, INEXACT)); assert(test_tanh(0.661985898099504477, 0.579683501863527462, 0.489204317331314087, INEXACT)); -assert(test_tanh(-0.406603922385355310, -0.385585309990165215, 0.359938710927963257, INEXACT)); -assert(test_tanh(0.561759746220724110, 0.509281924870043867, -0.394365221261978149, INEXACT)); -assert(test_tanh(0.774152296591303690, 0.649337455031855471, -0.489939600229263306, INEXACT)); +assert(test_tanh(-0.40660392238535531, -0.385585309990165215, 0.359938710927963257, INEXACT)); +assert(test_tanh(0.56175974622072411, 0.509281924870043867, -0.394365221261978149, INEXACT)); +assert(test_tanh(0.77415229659130369, 0.649337455031855471, -0.489939600229263306, INEXACT)); assert(test_tanh(-0.678763702639402444, -0.590715084799841028, -0.0145387789234519005, INEXACT)); // special @@ -2106,7 +3023,7 @@ assert(test_tanh(Infinity, 1.0, 0.0, 0)); assert(test_tanh(-Infinity, -1.0, 0.0, 0)); assert(test_tanh(NaN, NaN, 0.0, 0)); -// === Mathf.tanh ================================ +// Mathf.tanh ////////////////////////////////////////////////////////////////////////////////////// function test_tanhf(value: f32, expected: f32, error: f32, flags: i32): bool { return check(NativeMathf.tanh(value), expected, error, flags); @@ -2120,9 +3037,9 @@ assert(test_tanhf(-6.531673431, -0.9999957681, -0.1884459704, INEXACT)); assert(test_tanhf(9.267057419, 1.0, 0.1497807801, INEXACT)); assert(test_tanhf(0.6619858742, 0.5796834826, -0.05590476096, INEXACT)); assert(test_tanhf(-0.4066039324, -0.3855853081, 0.3497871757, INEXACT)); -assert(test_tanhf(0.5617597699, 0.5092819333, -0.1528785080, INEXACT)); +assert(test_tanhf(0.5617597699, 0.5092819333, -0.152878508, INEXACT)); assert(test_tanhf(0.7741522789, 0.6493374705, 0.4317026138, INEXACT)); -assert(test_tanhf(-0.6787636876, -0.5907150507, 0.4079873860, INEXACT)); +assert(test_tanhf(-0.6787636876, -0.5907150507, 0.407987386, INEXACT)); // special assert(test_tanhf(0.0, 0.0, 0.0, 0)); @@ -2130,3 +3047,76 @@ assert(test_tanhf(-0.0, -0.0, 0.0, 0)); assert(test_tanhf(Infinity, 1.0, 0.0, 0)); assert(test_tanhf(-Infinity, -1.0, 0.0, 0)); assert(test_tanhf(NaN, NaN, 0.0, 0)); + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Math.trunc +//////////////////////////////////////////////////////////////////////////////////////////////////// + +function test_trunc(value: f64, expected: f64, error: f64, flags: i32): bool { + return check(NativeMath.trunc(value), expected, error, flags) && + (!js || check( JSMath.trunc(value), expected, error, flags)); +} + +// sanity +assert(test_trunc(-8.06684839057968084, -8.0, 0.0, INEXACT)); +assert(test_trunc(4.34523984933830487, 4.0, 0.0, INEXACT)); +assert(test_trunc(-8.38143342755524934, -8.0, 0.0, INEXACT)); +assert(test_trunc(-6.53167358191348413, -6.0, 0.0, INEXACT)); +assert(test_trunc(9.26705696697258574, 9.0, 0.0, INEXACT)); +assert(test_trunc(0.661985898099504477, 0.0, 0.0, INEXACT)); +assert(test_trunc(-0.40660392238535531, -0.0, 0.0, INEXACT)); +assert(test_trunc(0.56175974622072411, 0.0, 0.0, INEXACT)); +assert(test_trunc(0.77415229659130369, 0.0, 0.0, INEXACT)); +assert(test_trunc(-0.678763702639402444, -0.0, 0.0, INEXACT)); + +// special +assert(test_trunc(NaN, NaN, 0.0, 0)); +assert(test_trunc(Infinity, Infinity, 0.0, 0)); +assert(test_trunc(-Infinity, -Infinity, 0.0, 0)); +assert(test_trunc(0.0, 0.0, 0.0, 0)); +assert(test_trunc(-0.0, -0.0, 0.0, 0)); +assert(test_trunc(1.0, 1.0, 0.0, 0)); +assert(test_trunc(-1.0, -1.0, 0.0, 0)); +assert(test_trunc(0.5, 0.0, 0.0, INEXACT)); +assert(test_trunc(-0.5, -0.0, 0.0, INEXACT)); +assert(test_trunc(1.0000152587890625, 1.0, 0.0, INEXACT)); +assert(test_trunc(-1.0000152587890625, -1.0, 0.0, INEXACT)); +assert(test_trunc(0.99999237060546875, 0.0, 0.0, INEXACT)); +assert(test_trunc(-0.99999237060546875, -0.0, 0.0, INEXACT)); +assert(test_trunc(7.88860905221011805e-31, 0.0, 0.0, INEXACT)); +assert(test_trunc(-7.88860905221011805e-31, -0.0, 0.0, INEXACT)); + +// Mathf.trunc ///////////////////////////////////////////////////////////////////////////////////// + +function test_truncf(value: f32, expected: f32, error: f32, flags: i32): bool { + return check(NativeMathf.trunc(value), expected, error, flags); +} + +// sanity +assert(test_truncf(-8.066848755, -8.0, 0.0, INEXACT)); +assert(test_truncf(4.345239639, 4.0, 0.0, INEXACT)); +assert(test_truncf(-8.381433487, -8.0, 0.0, INEXACT)); +assert(test_truncf(-6.531673431, -6.0, 0.0, INEXACT)); +assert(test_truncf(9.267057419, 9.0, 0.0, INEXACT)); +assert(test_truncf(0.6619858742, 0.0, 0.0, INEXACT)); +assert(test_truncf(-0.4066039324, -0.0, 0.0, INEXACT)); +assert(test_truncf(0.5617597699, 0.0, 0.0, INEXACT)); +assert(test_truncf(0.7741522789, 0.0, 0.0, INEXACT)); +assert(test_truncf(-0.6787636876, -0.0, 0.0, INEXACT)); + +// special +assert(test_truncf(NaN, NaN, 0.0, 0)); +assert(test_truncf(Infinity, Infinity, 0.0, 0)); +assert(test_truncf(-Infinity, -Infinity, 0.0, 0)); +assert(test_truncf(0.0, 0.0, 0.0, 0)); +assert(test_truncf(-0.0, -0.0, 0.0, 0)); +assert(test_truncf(1.0, 1.0, 0.0, 0)); +assert(test_truncf(-1.0, -1.0, 0.0, 0)); +assert(test_truncf(0.5, 0.0, 0.0, INEXACT)); +assert(test_truncf(-0.5, -0.0, 0.0, INEXACT)); +assert(test_truncf(1.000015259, 1.0, 0.0, INEXACT)); +assert(test_truncf(-1.000015259, -1.0, 0.0, INEXACT)); +assert(test_truncf(0.9999923706, 0.0, 0.0, INEXACT)); +assert(test_truncf(-0.9999923706, -0.0, 0.0, INEXACT)); +assert(test_truncf(7.888609052e-31, 0.0, 0.0, INEXACT)); +assert(test_truncf(-7.888609052e-31, -0.0, 0.0, INEXACT)); diff --git a/tests/compiler/std/math.untouched.wat b/tests/compiler/std/math.untouched.wat index 68da3bdf24..d9fd19c2f0 100644 --- a/tests/compiler/std/math.untouched.wat +++ b/tests/compiler/std/math.untouched.wat @@ -2,24 +2,24 @@ (type $i (func (result i32))) (type $F (func (result f64))) (type $iiiiv (func (param i32 i32 i32 i32))) + (type $f (func (result f32))) (type $FFFii (func (param f64 f64 f64 i32) (result i32))) (type $FFFF (func (param f64 f64 f64) (result f64))) (type $Fi (func (param f64) (result i32))) (type $FiF (func (param f64 i32) (result f64))) (type $Fv (func (param f64))) - (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) - (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) - (type $fif (func (param f32 i32) (result f32))) - (type $f (func (result f32))) (type $fffii (func (param f32 f32 f32 i32) (result i32))) (type $ffff (func (param f32 f32 f32) (result f32))) (type $fi (func (param f32) (result i32))) + (type $fif (func (param f32 i32) (result f32))) + (type $FiFFii (func (param f64 i32 f64 f64 i32) (result i32))) + (type $fiffii (func (param f32 i32 f32 f32 i32) (result i32))) + (type $FF (func (param f64) (result f64))) + (type $ff (func (param f32) (result f32))) (type $FFFFii (func (param f64 f64 f64 f64 i32) (result i32))) (type $FFF (func (param f64 f64) (result f64))) (type $ffffii (func (param f32 f32 f32 f32 i32) (result i32))) (type $fff (func (param f32 f32) (result f32))) - (type $FF (func (param f64) (result f64))) - (type $ff (func (param f32) (result f32))) (type $Iv (func (param i64))) (type $II (func (param i64) (result i64))) (type $v (func)) @@ -32,27 +32,35 @@ (import "JSMath" "PI" (global $(lib)/math/JSMath.PI f64)) (import "JSMath" "SQRT1_2" (global $(lib)/math/JSMath.SQRT1_2 f64)) (import "JSMath" "SQRT2" (global $(lib)/math/JSMath.SQRT2 f64)) - (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "abs" (func $(lib)/math/JSMath.abs (param f64) (result f64))) (import "JSMath" "acos" (func $(lib)/math/JSMath.acos (param f64) (result f64))) (import "JSMath" "acosh" (func $(lib)/math/JSMath.acosh (param f64) (result f64))) (import "JSMath" "asin" (func $(lib)/math/JSMath.asin (param f64) (result f64))) (import "JSMath" "asinh" (func $(lib)/math/JSMath.asinh (param f64) (result f64))) (import "JSMath" "atan" (func $(lib)/math/JSMath.atan (param f64) (result f64))) + (import "JSMath" "atanh" (func $(lib)/math/JSMath.atanh (param f64) (result f64))) + (import "JSMath" "atan2" (func $(lib)/math/JSMath.atan2 (param f64 f64) (result f64))) (import "JSMath" "cbrt" (func $(lib)/math/JSMath.cbrt (param f64) (result f64))) + (import "JSMath" "ceil" (func $(lib)/math/JSMath.ceil (param f64) (result f64))) (import "JSMath" "cosh" (func $(lib)/math/JSMath.cosh (param f64) (result f64))) (import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64))) (import "JSMath" "expm1" (func $(lib)/math/JSMath.expm1 (param f64) (result f64))) + (import "JSMath" "floor" (func $(lib)/math/JSMath.floor (param f64) (result f64))) (import "JSMath" "hypot" (func $(lib)/math/JSMath.hypot (param f64 f64) (result f64))) (import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64))) (import "JSMath" "log10" (func $(lib)/math/JSMath.log10 (param f64) (result f64))) (import "JSMath" "log1p" (func $(lib)/math/JSMath.log1p (param f64) (result f64))) (import "JSMath" "log2" (func $(lib)/math/JSMath.log2 (param f64) (result f64))) + (import "JSMath" "max" (func $(lib)/math/JSMath.max (param f64 f64) (result f64))) + (import "JSMath" "min" (func $(lib)/math/JSMath.min (param f64 f64) (result f64))) + (import "JSOp" "mod" (func $std/math/JSOp.mod (param f64 f64) (result f64))) (import "JSMath" "pow" (func $(lib)/math/JSMath.pow (param f64 f64) (result f64))) (import "JSMath" "random" (func $(lib)/math/JSMath.random (result f64))) + (import "JSMath" "sign" (func $(lib)/math/JSMath.sign (param f64) (result f64))) (import "JSMath" "sinh" (func $(lib)/math/JSMath.sinh (param f64) (result f64))) (import "JSMath" "sqrt" (func $(lib)/math/JSMath.sqrt (param f64) (result f64))) (import "JSMath" "tanh" (func $(lib)/math/JSMath.tanh (param f64) (result f64))) + (import "JSMath" "trunc" (func $(lib)/math/JSMath.trunc (param f64) (result f64))) (global $std/math/js i32 (i32.const 1)) (global $std/math/INEXACT i32 (i32.const 1)) (global $std/math/INVALID i32 (i32.const 2)) @@ -68,7 +76,7 @@ (data (i32.const 32) "\0d\00\00\00(\00l\00i\00b\00)\00/\00m\00a\00t\00h\00.\00t\00s\00") (export "memory" (memory $0)) (start $start) - (func $std/math/signbit (; 23 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/signbit (; 31 ;) (type $Fi) (param $0 f64) (result i32) (return (i32.wrap/i64 (i64.shr_u @@ -80,7 +88,7 @@ ) ) ) - (func $std/math/eulp (; 24 ;) (type $Fi) (param $0 f64) (result i32) + (func $std/math/eulp (; 32 ;) (type $Fi) (param $0 f64) (result i32) (local $1 i64) (local $2 i32) (set_local $1 @@ -120,7 +128,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.scalbn" (; 25 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) + (func "$(lib)/math/NativeMath.scalbn" (; 33 ;) (type $FiF) (param $0 f64) (param $1 i32) (result f64) (local $2 f64) (nop) (set_local $2 @@ -241,7 +249,7 @@ ) ) ) - (func $std/math/ulperr (; 26 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) + (func $std/math/ulperr (; 34 ;) (type $FFFF) (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (local $3 f64) (local $4 i32) (nop) @@ -345,7 +353,7 @@ ) ) ) - (func $std/math/check (; 27 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/check (; 35 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 f64) (local $5 f64) (if @@ -403,20 +411,55 @@ (i32.const 1) ) ) - (func $std/math/test_scalbn (; 28 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/signbitf (; 36 ;) (type $fi) (param $0 f32) (result i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMath.scalbn" + (i32.shr_u + (i32.reinterpret/f32 (get_local $0) + ) + (i32.const 31) + ) + ) + ) + (func $std/math/eulpf (; 37 ;) (type $fi) (param $0 f32) (result i32) + (local $1 i32) + (local $2 i32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (i32.shr_u (get_local $1) + (i32.const 23) ) + (i32.const 255) + ) + ) + (if + (i32.eqz (get_local $2) - (get_local $3) - (get_local $4) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.const 1) + ) + ) + ) + (return + (i32.sub + (i32.sub + (get_local $2) + (i32.const 127) + ) + (i32.const 23) ) ) ) - (func "$(lib)/math/NativeMathf.scalbn" (; 29 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) + (func "$(lib)/math/NativeMathf.scalbn" (; 38 ;) (type $fif) (param $0 f32) (param $1 i32) (result f32) (local $2 f32) (nop) (set_local $2 @@ -535,55 +578,7 @@ ) ) ) - (func $std/math/signbitf (; 30 ;) (type $fi) (param $0 f32) (result i32) - (return - (i32.shr_u - (i32.reinterpret/f32 - (get_local $0) - ) - (i32.const 31) - ) - ) - ) - (func $std/math/eulpf (; 31 ;) (type $fi) (param $0 f32) (result i32) - (local $1 i32) - (local $2 i32) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.and - (i32.shr_u - (get_local $1) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (if - (i32.eqz - (get_local $2) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.const 1) - ) - ) - ) - (return - (i32.sub - (i32.sub - (get_local $2) - (i32.const 127) - ) - (i32.const 23) - ) - ) - ) - (func $std/math/ulperrf (; 32 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) + (func $std/math/ulperrf (; 39 ;) (type $ffff) (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (local $3 f32) (local $4 i32) (nop) @@ -687,7 +682,7 @@ ) ) ) - (func $std/math/check (; 33 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/check (; 40 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (local $4 f32) (local $5 f32) (if @@ -747,7 +742,20 @@ (i32.const 1) ) ) - (func $std/math/test_scalbnf (; 34 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (func $std/math/test_scalbn (; 41 ;) (type $FiFFii) (param $0 f64) (param $1 i32) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMath.scalbn" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func $std/math/test_scalbnf (; 42 ;) (type $fiffii) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.scalbn" @@ -760,2224 +768,2091 @@ ) ) ) - (func "$(lib)/math/NativeMath.mod" (; 35 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i64) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f64) - (local $8 i32) - (local $9 i64) - (set_local $2 - (i64.reinterpret/f64 + (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.abs (get_local $0) ) ) - (set_local $3 - (i64.reinterpret/f64 - (get_local $1) - ) - ) - (set_local $4 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $2) - (i64.const 52) + ) + (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) - (i64.const 2047) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.abs" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) ) + (i32.const 1) ) ) - (set_local $5 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $3) - (i64.const 52) - ) - (i64.const 2047) - ) + ) + (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.abs + (get_local $0) ) ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) + ) + (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.abs" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (if - (i32.and - (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) + ) + (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (local $2 f64) + (nop) + (set_local $1 + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.16666666666666666) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.3255658186224009) + (f64.mul + (get_local $0) + (f64.add + (f64.const 0.20121253213486293) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.04005553450067941) + (f64.mul + (get_local $0) + (f64.add + (f64.const 7.915349942898145e-04) + (f64.mul + (get_local $0) + (f64.const 3.479331075960212e-05) + ) + ) + ) ) - (i64.const 0) ) ) - (get_local $8) - (f64.ne - (tee_local $7 - (get_local $1) + ) + ) + ) + ) + ) + ) + (set_local $2 + (f64.add + (f64.const 1) + (f64.mul + (get_local $0) + (f64.add + (f64.const -2.403394911734414) + (f64.mul + (get_local $0) + (f64.add + (f64.const 2.0209457602335057) + (f64.mul + (get_local $0) + (f64.add + (f64.const -0.6882839716054533) + (f64.mul + (get_local $0) + (f64.const 0.07703815055590194) + ) ) - (get_local $7) ) ) - (i32.const 1) ) ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 2047) - ) ) - (i32.const 1) ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul + ) + (return + (f64.div + (get_local $1) + (get_local $2) + ) + ) + ) + (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (nop) + (set_local $1 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 (get_local $0) - (get_local $1) ) + (i64.const 32) ) ) ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) (if - (i64.le_u - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) + (i32.ge_u + (get_local $2) + (i32.const 1072693248) ) (block - (if - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.shl - (get_local $3) - (i64.const 1) - ) - ) - (return - (f64.mul - (f64.const 0) + (set_local $3 + (i32.wrap/i64 + (i64.reinterpret/f64 (get_local $0) ) ) ) - (return - (get_local $0) - ) - ) - ) - (nop) - (if - (i32.eqz - (get_local $4) - ) - (block - (block $break|0 - (set_local $9 - (i64.shl - (get_local $2) - (i64.const 12) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $2) + (i32.const 1072693248) + ) + (get_local $3) ) + (i32.const 0) ) - (loop $continue|0 + (block (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) + (i32.shr_u + (get_local $1) + (i32.const 31) ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) + (return + (f64.add + (f64.mul + (f64.const 2) + (f64.const 1.5707963267948966) ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) ) - (br $continue|0) - ) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) ) ) - ) - ) - ) - (block - (set_local $2 - (i64.and - (get_local $2) - (i64.shr_u - (i64.const -1) - (i64.const 12) + (return + (f64.const 0) ) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) + (return + (f64.div + (f64.const 0) + (f64.sub + (get_local $0) + (get_local $0) ) ) ) ) ) (if - (i32.eqz - (get_local $5) + (i32.lt_u + (get_local $2) + (i32.const 1071644672) ) (block - (block $break|1 - (set_local $9 - (i64.shl - (get_local $3) - (i64.const 12) - ) + (if + (i32.le_u + (get_local $2) + (i32.const 1012924416) ) - (loop $continue|1 - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $9 - (i64.shl - (get_local $9) - (i64.const 1) - ) - ) - (br $continue|1) + (return + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) ) ) ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) + (return + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (get_local $0) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (get_local $0) + (call "$(lib)/math/NativeMath.__R" + (f64.mul + (get_local $0) + (get_local $0) + ) + ) ) - (i32.const 1) ) ) ) ) ) + ) + (nop) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) (block - (set_local $3 - (i64.and - (get_local $3) - (i64.shr_u - (i64.const -1) - (i64.const 12) + (set_local $6 + (f64.mul + (f64.add + (f64.const 1) + (get_local $0) ) + (f64.const 0.5) ) ) - (set_local $3 - (i64.or - (get_local $3) - (i64.shl - (i64.const 1) - (i64.const 52) - ) + (set_local $4 + (f64.sqrt + (get_local $6) ) ) - ) - ) - (block $break|2 - (nop) - (loop $continue|2 - (if - (i32.gt_s - (get_local $4) - (get_local $5) - ) - (block - (block - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) - ) - ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) + (set_local $5 + (f64.sub + (f64.mul + (call "$(lib)/math/NativeMath.__R" + (get_local $6) ) + (get_local $4) ) - (set_local $4 - (i32.sub + (f64.const 6.123233995736766e-17) + ) + ) + (return + (f64.mul + (f64.const 2) + (f64.sub + (f64.const 1.5707963267948966) + (f64.add (get_local $4) - (i32.const 1) + (get_local $5) ) ) - (br $continue|2) ) ) ) ) - (set_local $9 - (i64.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i64.eqz - (i64.shr_u - (get_local $9) - (i64.const 63) + (set_local $6 + (f64.mul + (f64.sub + (f64.const 1) + (get_local $0) ) + (f64.const 0.5) ) - (block - (if - (i64.eqz - (get_local $9) - ) - (return - (f64.mul - (f64.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) + ) + (set_local $4 + (f64.sqrt + (get_local $6) ) ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i64.eqz - (i64.shr_u - (get_local $2) - (i64.const 52) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $2 - (i64.shl - (get_local $2) - (i64.const 1) - ) - ) - (br $continue|3) + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $4) ) + (i64.const -4294967296) ) ) ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - (block - (set_local $2 - (i64.sub - (get_local $2) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) - ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 - (get_local $4) - ) - (i64.const 52) - ) + (set_local $8 + (f64.div + (f64.sub + (get_local $6) + (f64.mul + (get_local $7) + (get_local $7) ) ) - ) - (set_local $2 - (i64.shr_u - (get_local $2) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) - ) + (f64.add + (get_local $4) + (get_local $7) ) ) ) - (set_local $2 - (i64.or - (get_local $2) - (i64.shl - (i64.extend_u/i32 + (set_local $5 + (f64.add + (f64.mul + (call "$(lib)/math/NativeMath.__R" (get_local $6) ) - (i64.const 63) + (get_local $4) ) + (get_local $8) ) ) (return - (f64.reinterpret/i64 - (get_local $2) + (f64.mul + (f64.const 2) + (f64.add + (get_local $7) + (get_local $5) + ) ) ) ) - (func $std/math/test_mod (; 36 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) + (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (return (i32.and (if (result i32) - (tee_local $5 + (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.mod" + (call "$(lib)/math/NativeMath.acos" (get_local $0) - (get_local $1) ) + (get_local $1) (get_local $2) (get_local $3) - (get_local $4) ) ) (if (result i32) - (tee_local $5 + (tee_local $4 (i32.eqz (i32.const 1) ) ) - (get_local $5) + (get_local $4) (call $std/math/check - (call $std/math/JSOp.mod + (call "$(lib)/math/JSMath.acos" (get_local $0) - (get_local $1) ) + (get_local $1) (get_local $2) (get_local $3) - (get_local $4) ) ) - (get_local $5) + (get_local $4) ) (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.mod" (; 37 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 f32) - (local $8 i32) - (local $9 i32) - (set_local $2 - (i32.reinterpret/f32 + (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) + (local $2 f32) + (nop) + (set_local $1 + (f32.mul (get_local $0) + (f32.add + (f32.const 0.16666586697101593) + (f32.mul + (get_local $0) + (f32.add + (f32.const -0.04274342209100723) + (f32.mul + (get_local $0) + (f32.const -0.008656363002955914) + ) + ) + ) + ) ) ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) + (set_local $2 + (f32.add + (f32.const 1) + (f32.mul + (get_local $0) + (f32.const -0.7066296339035034) + ) ) ) - (set_local $4 - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - (i32.const 255) + (return + (f32.div + (get_local $1) + (get_local $2) ) ) - (set_local $5 - (i32.and - (i32.shr_u - (get_local $3) - (i32.const 23) - ) - (i32.const 255) + ) + (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) ) ) - (set_local $6 + (set_local $2 (i32.and - (get_local $2) - (i32.const -2147483648) + (get_local $1) + (i32.const 2147483647) ) ) (if - (i32.and - (if (result i32) - (tee_local $8 - (i32.and - (if (result i32) - (tee_local $8 - (i32.eq - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 0) - ) - ) - (get_local $8) - (f32.ne - (tee_local $7 - (get_local $1) + (i32.ge_u + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.eq + (get_local $2) + (i32.const 1065353216) + ) + (block + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.add + (f32.mul + (f32.const 2) + (f32.const 1.570796251296997) ) - (get_local $7) + (f32.const 7.52316384526264e-37) ) ) - (i32.const 1) ) - ) - (get_local $8) - (i32.eq - (get_local $4) - (i32.const 255) + (return + (f32.const 0) + ) ) ) - (i32.const 1) - ) - (return - (f32.div - (f32.mul - (get_local $0) - (get_local $1) - ) - (f32.mul - (get_local $0) - (get_local $1) + (return + (f32.div + (f32.const 0) + (f32.sub + (get_local $0) + (get_local $0) + ) ) ) ) ) (if - (i32.le_u - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $3) - (i32.const 1) - ) + (i32.lt_u + (get_local $2) + (i32.const 1056964608) ) (block (if - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (get_local $3) - (i32.const 1) - ) + (i32.le_u + (get_local $2) + (i32.const 847249408) ) (return - (f32.mul - (f32.const 0) - (get_local $0) + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) ) ) (return - (get_local $0) + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (get_local $0) + (f32.sub + (f32.const 7.549789415861596e-08) + (f32.mul + (get_local $0) + (call "$(lib)/math/NativeMathf.__R" + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + ) + ) + ) ) ) ) (nop) (if - (i32.eqz - (get_local $4) + (i32.shr_u + (get_local $1) + (i32.const 31) ) (block - (block $break|0 - (set_local $9 - (i32.shl - (get_local $2) - (i32.const 9) + (set_local $3 + (f32.mul + (f32.add + (f32.const 1) + (get_local $0) ) + (f32.const 0.5) ) - (loop $continue|0 - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) - ) - (br $continue|0) + ) + (set_local $5 + (f32.sqrt + (get_local $3) + ) + ) + (set_local $4 + (f32.sub + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) ) + (get_local $5) ) + (f32.const 7.549789415861596e-08) ) ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.add - (i32.sub - (i32.const 0) + (return + (f32.mul + (f32.const 2) + (f32.sub + (f32.const 1.570796251296997) + (f32.add + (get_local $5) (get_local $4) ) - (i32.const 1) ) ) ) ) - (block - (set_local $2 - (i32.and - (get_local $2) - (i32.shr_u - (i32.const -1) - (i32.const 9) - ) - ) - ) - (set_local $2 - (i32.or - (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) - ) + ) + (set_local $3 + (f32.mul + (f32.sub + (f32.const 1) + (get_local $0) + ) + (f32.const 0.5) + ) + ) + (set_local $5 + (f32.sqrt + (get_local $3) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $5) + ) + ) + (set_local $6 + (f32.reinterpret/i32 + (i32.and + (get_local $1) + (i32.const -4096) + ) + ) + ) + (set_local $7 + (f32.div + (f32.sub + (get_local $3) + (f32.mul + (get_local $6) + (get_local $6) + ) + ) + (f32.add + (get_local $5) + (get_local $6) + ) + ) + ) + (set_local $4 + (f32.add + (f32.mul + (call "$(lib)/math/NativeMathf.__R" + (get_local $3) ) + (get_local $5) + ) + (get_local $7) + ) + ) + (return + (f32.mul + (f32.const 2) + (f32.add + (get_local $6) + (get_local $4) ) ) ) + ) + (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acos" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (local $5 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 1) + ) + (block + (set_local $4 + (f64.const 0) + ) + (set_local $5 + (f64.const 0) + ) + ) (if - (i32.eqz - (get_local $5) + (i32.and + (if (result i32) + (tee_local $6 + (i32.lt_u + (get_local $2) + (i32.const 1071284858) + ) + ) + (get_local $6) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) ) (block - (block $break|1 - (set_local $9 - (i32.shl - (get_local $3) - (i32.const 9) - ) + (if + (i32.ge_u + (get_local $2) + (i32.const -1074790400) ) - (loop $continue|1 + (block (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) + (f64.eq + (get_local $0) + (f64.const -1) ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) + (return + (f64.div + (get_local $0) + (f64.const 0) ) - (br $continue|1) ) ) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) ) - (i32.const 1) ) ) ) - ) - (block - (set_local $3 - (i32.and - (get_local $3) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (if + (i32.lt_u + (i32.shl + (get_local $2) + (i32.const 1) ) - ) - ) - (set_local $3 - (i32.or - (get_local $3) (i32.shl + (i32.const 1017118720) (i32.const 1) - (i32.const 23) ) ) + (return + (get_local $0) + ) ) - ) - ) - (block $break|2 - (nop) - (loop $continue|2 (if - (i32.gt_s - (get_local $4) - (get_local $5) + (i32.le_u + (get_local $2) + (i32.const -1076707644) ) (block - (block - (set_local $9 - (i32.sub - (get_local $2) - (get_local $3) - ) - ) - (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) - (block - (if - (i32.eqz - (get_local $9) - ) - (return - (f32.mul - (f32.const 0) - (get_local $0) - ) - ) - ) - (set_local $2 - (get_local $9) - ) - ) - ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) - ) - ) + (set_local $3 + (i32.const 0) ) (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) + (f64.const 0) + ) + (set_local $5 + (get_local $0) ) - (br $continue|2) ) ) ) - ) - (set_local $9 - (i32.sub - (get_local $2) - (get_local $3) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) ) ) (if - (i32.eqz - (i32.shr_u - (get_local $9) - (i32.const 31) - ) - ) + (get_local $3) (block - (if - (i32.eqz - (get_local $9) - ) - (return - (f32.mul - (f32.const 0) + (set_local $1 + (i64.reinterpret/f64 + (f64.add + (f64.const 1) (get_local $0) ) ) ) - (set_local $2 - (get_local $9) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i32.eqz + (set_local $6 + (i32.add + (get_local $6) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.sub (i32.shr_u - (get_local $2) - (i32.const 23) + (get_local $6) + (i32.const 20) ) + (i32.const 1023) + ) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 54) ) (block + (set_local $7 + (f64.reinterpret/i64 + (get_local $1) + ) + ) (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) + (if (result f64) + (i32.ge_s + (get_local $3) + (i32.const 2) + ) + (f64.sub + (f64.const 1) + (f64.sub + (get_local $7) + (get_local $0) + ) + ) + (f64.sub + (get_local $0) + (f64.sub + (get_local $7) + (f64.const 1) + ) + ) ) ) - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (set_local $4 + (f64.div + (get_local $4) + (get_local $7) ) ) - (br $continue|3) + ) + (set_local $4 + (f64.const 0) ) ) - ) - ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - (block - (set_local $2 - (i32.sub - (get_local $2) - (i32.shl - (i32.const 1) - (i32.const 23) + (set_local $6 + (i32.add + (i32.and + (get_local $6) + (i32.const 1048575) ) + (i32.const 1072079006) ) ) - (set_local $2 - (i32.or - (get_local $2) - (i32.shl - (get_local $4) - (i32.const 23) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $6) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) ) ) ) - ) - (set_local $2 - (i32.shr_u - (get_local $2) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (set_local $5 + (f64.sub + (f64.reinterpret/i64 + (get_local $1) ) - (i32.const 1) + (f64.const 1) ) ) ) ) - (set_local $2 - (i32.or - (get_local $2) - (get_local $6) - ) - ) - (return - (f32.reinterpret/i32 - (get_local $2) + (set_local $8 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) ) ) - ) - (func $std/math/test_modf (; 38 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.mod" - (get_local $0) - (get_local $1) + (set_local $9 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) ) - (get_local $2) - (get_local $3) - (get_local $4) ) ) - ) - (func "$(lib)/math/NativeMath.rem" (; 39 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i64) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 f64) - (local $9 i32) - (local $10 i64) - (local $11 i64) - (local $12 i32) - (set_local $2 - (i64.reinterpret/f64 - (get_local $0) + (set_local $10 + (f64.mul + (get_local $9) + (get_local $9) ) ) - (set_local $3 - (i64.reinterpret/f64 - (get_local $1) + (set_local $11 + (f64.mul + (get_local $10) + (get_local $10) ) ) - (set_local $4 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $2) - (i64.const 52) + (set_local $12 + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $11) + (f64.const 0.15313837699209373) + ) + ) ) - (i64.const 2047) ) ) ) - (set_local $5 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $3) - (i64.const 52) + (set_local $13 + (f64.mul + (get_local $10) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $11) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $11) + (f64.const 0.14798198605116586) + ) + ) + ) + ) ) - (i64.const 2047) ) ) ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 63) - ) + (set_local $14 + (f64.add + (get_local $13) + (get_local $12) ) ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (get_local $3) - (i64.const 63) - ) + (set_local $15 + (f64.convert_s/i32 + (get_local $3) ) ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i64.eq - (i64.shl - (get_local $3) - (i64.const 1) - ) - (i64.const 0) - ) - ) + (return + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul (get_local $9) - (f64.ne - (tee_local $8 - (get_local $1) - ) + (f64.add (get_local $8) + (get_local $14) ) ) - (i32.const 1) + (f64.add + (f64.mul + (get_local $15) + (f64.const 1.9082149292705877e-10) + ) + (get_local $4) + ) ) + (get_local $8) ) - (get_local $9) - (i32.eq - (get_local $4) - (i32.const 2047) - ) + (get_local $5) ) - (i32.const 1) - ) - (return - (f64.div - (f64.mul - (get_local $0) - (get_local $1) - ) - (f64.mul - (get_local $0) - (get_local $1) - ) + (f64.mul + (get_local $15) + (f64.const 0.6931471803691238) ) ) ) - (if - (i64.eq - (i64.shl - (get_local $2) - (i64.const 1) - ) - (i64.const 0) - ) - (return + ) + (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 i32) + (nop) + (set_local $1 + (i64.reinterpret/f64 (get_local $0) ) ) - (set_local $10 - (get_local $2) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (set_local $3 + (i32.const 0) ) - (nop) (if - (i32.eqz - (get_local $4) + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) ) (block - (block $break|0 - (set_local $11 + (if + (i64.eq (i64.shl - (get_local $10) - (i64.const 12) + (get_local $1) + (i64.const 1) ) + (i64.const 0) ) - (loop $continue|0 - (if - (i64.eq - (i64.shr_u - (get_local $11) - (i64.const 63) - ) - (i64.const 0) - ) - (block - (block - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $11 - (i64.shl - (get_local $11) - (i64.const 1) - ) - ) - ) - (br $continue|0) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) ) ) ) ) - (set_local $10 - (i64.shl - (get_local $10) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) ) + (f64.const 0) ) ) ) - ) - (block - (set_local $10 - (i64.and - (get_local $10) - (i64.shr_u - (i64.const -1) - (i64.const 12) - ) + (set_local $3 + (i32.sub + (get_local $3) + (i32.const 54) ) ) - (set_local $10 - (i64.or - (get_local $10) - (i64.shl - (i64.const 1) - (i64.const 52) - ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) ) ) - ) - ) - (if - (i32.eqz - (get_local $5) - ) - (block - (block $break|1 - (set_local $11 - (i64.shl - (get_local $3) - (i64.const 12) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) ) ) - (loop $continue|1 - (if - (i64.eq - (i64.shr_u - (get_local $11) - (i64.const 63) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) ) - (i64.const 0) ) - (block - (block - ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) - ) - (set_local $11 - (i64.shl - (get_local $11) - (i64.const 1) - ) - ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) ) - (br $continue|1) + (i64.const 0) ) + (get_local $4) ) + (i32.const 1) + ) + (return + (f64.const 0) ) ) - (set_local $3 - (i64.shl - (get_local $3) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) - ) - (i32.const 1) - ) - ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) + ) + ) + ) + (set_local $3 + (i32.add + (get_local $3) + (i32.sub + (i32.shr_s + (get_local $2) + (i32.const 20) ) + (i32.const 1023) ) ) - (block - (set_local $3 - (i64.and - (get_local $3) - (i64.shr_u - (i64.const -1) - (i64.const 12) + ) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) + ) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.const 1) + ) + ) + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) + (get_local $5) + ) + (get_local $5) + ) + ) + (set_local $7 + (f64.div + (get_local $5) + (f64.add + (f64.const 2) + (get_local $5) + ) + ) + ) + (set_local $8 + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) ) ) ) - (set_local $3 - (i64.or - (get_local $3) - (i64.shl - (i64.const 1) - (i64.const 52) + ) + ) + (set_local $11 + (f64.mul + (get_local $8) + (f64.add + (f64.const 0.6666666666666735) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) ) ) ) ) ) (set_local $12 - (i32.const 0) + (f64.add + (get_local $11) + (get_local $10) + ) ) - (block $break|2 - (loop $continue|2 - (block - (if - (i32.lt_s - (get_local $4) - (get_local $5) - ) - (block - (if - (i32.eq - (i32.add - (get_local $4) - (i32.const 1) - ) - (get_local $5) + (set_local $13 + (get_local $3) + ) + (return + (f64.add + (f64.add + (f64.sub + (f64.add + (f64.mul + (get_local $7) + (f64.add + (get_local $6) + (get_local $12) ) - (br $break|2) ) - (return - (get_local $0) + (f64.mul + (f64.convert_s/i32 + (get_local $13) + ) + (f64.const 1.9082149292705877e-10) ) ) + (get_local $6) ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i32.gt_s - (get_local $4) - (get_local $5) - ) - (block - (block - (set_local $11 - (i64.sub - (get_local $10) - (get_local $3) - ) - ) - (if - (i64.eq - (i64.shr_u - (get_local $11) - (i64.const 63) - ) - (i64.const 0) - ) - (block - (set_local $10 - (get_local $11) - ) - (set_local $12 - (i32.add - (get_local $12) - (i32.const 1) - ) - ) - ) - ) - (set_local $10 - (i64.shl - (get_local $10) - (i64.const 1) - ) - ) - (set_local $12 - (i32.shl - (get_local $12) - (i32.const 1) - ) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|3) - ) - ) - ) - ) - (set_local $11 - (i64.sub - (get_local $10) - (get_local $3) - ) - ) - (if - (i64.eq - (i64.shr_u - (get_local $11) - (i64.const 63) - ) - (i64.const 0) - ) - (block - (set_local $10 - (get_local $11) - ) - (set_local $12 - (i32.add - (get_local $12) - (i32.const 1) - ) - ) - ) - ) - (if - (i64.eq - (get_local $10) - (i64.const 0) - ) - (set_local $4 - (i32.const -60) - ) - (block $break|4 - (nop) - (loop $continue|4 - (if - (i64.eq - (i64.shr_u - (get_local $10) - (i64.const 52) - ) - (i64.const 0) - ) - (block - (block - ) - (block - (set_local $10 - (i64.shl - (get_local $10) - (i64.const 1) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - ) - (br $continue|4) - ) - ) - ) - ) - ) - (br $break|2) - ) - (br_if $continue|2 - (i32.const 0) - ) - ) - ) - (if - (i32.gt_s - (get_local $4) - (i32.const 0) - ) - (block - (set_local $10 - (i64.sub - (get_local $10) - (i64.shl - (i64.const 1) - (i64.const 52) - ) - ) + (get_local $5) ) - (set_local $10 - (i64.or - (get_local $10) - (i64.shl - (i64.extend_u/i32 - (get_local $4) - ) - (i64.const 52) - ) + (f64.mul + (f64.convert_s/i32 + (get_local $13) ) + (f64.const 0.6931471803691238) ) ) - (set_local $10 + ) + ) + (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (nop) + (set_local $1 + (i64.and (i64.shr_u - (get_local $10) - (i64.extend_u/i32 - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) + (i64.reinterpret/f64 + (get_local $0) ) + (i64.const 52) ) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $10) + (i64.const 2047) ) ) (if - (get_local $7) - (set_local $1 - (f64.neg - (get_local $1) + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 1) ) ) - ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $4) - (get_local $5) - ) - ) - (get_local $9) - (if (result i32) - (tee_local $9 - (i32.eq - (i32.add - (get_local $4) - (i32.const 1) - ) - (get_local $5) - ) + (return + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.sub + (get_local $0) + (f64.const 1) ) - (if (result i32) - (tee_local $9 - (f64.gt - (f64.mul - (f64.const 2) + (f64.sqrt + (f64.add + (f64.mul + (f64.sub (get_local $0) + (f64.const 1) ) - (get_local $1) - ) - ) - (get_local $9) - (if (result i32) - (tee_local $9 - (f64.eq - (f64.mul - (f64.const 2) - (get_local $0) - ) - (get_local $1) + (f64.sub + (get_local $0) + (f64.const 1) ) ) - (i32.and - (i32.rem_u - (get_local $12) - (i32.const 2) + (f64.mul + (f64.const 2) + (f64.sub + (get_local $0) + (f64.const 1) ) - (i32.const 1) ) - (get_local $9) ) ) - (get_local $9) ) ) - (i32.const 1) ) - (block - (set_local $0 - (f64.sub - (get_local $0) - (get_local $1) - ) + ) + (if + (i64.lt_u + (get_local $1) + (i64.add + (i64.const 1023) + (i64.const 26) ) - (set_local $12 - (i32.add - (get_local $12) - (i32.const 1) + ) + (return + (call "$(lib)/math/NativeMath.log" + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.div + (f64.const 1) + (f64.add + (get_local $0) + (f64.sqrt + (f64.sub + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + ) + ) ) ) ) ) - (set_local $12 - (i32.and - (get_local $12) - (i32.const 2147483647) - ) - ) (return - (if (result f64) - (get_local $6) - (f64.neg + (f64.add + (call "$(lib)/math/NativeMath.log" (get_local $0) ) - (get_local $0) + (f64.const 0.6931471805599453) ) ) ) - (func $std/math/test_rem (; 40 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMath.rem" - (get_local $0) - (get_local $1) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.acosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) ) - (get_local $2) - (get_local $3) - (get_local $4) + (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.rem" (; 41 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) + (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) + (local $3 f32) (local $4 i32) (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 i32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) (local $10 f32) - (local $11 i32) - (local $12 i32) - (set_local $2 + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (nop) + (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $4 - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (set_local $5 - (i32.and - (i32.shr_u - (get_local $3) - (i32.const 23) - ) - (i32.const 255) - ) - ) - (set_local $6 - (i32.shr_u - (get_local $2) - (i32.const 31) + (block + (set_local $2 + (f32.const 0) ) - ) - (set_local $7 - (i32.shr_u - (get_local $3) - (i32.const 31) + (set_local $3 + (f32.const 0) ) ) - (nop) - (set_local $9 - (get_local $2) + (set_local $4 + (i32.const 1) ) (if (i32.and (if (result i32) - (tee_local $11 - (i32.and - (if (result i32) - (tee_local $11 - (i32.eq - (i32.shl - (get_local $3) - (i32.const 1) - ) - (i32.const 0) - ) - ) - (get_local $11) - (f32.ne - (tee_local $10 - (get_local $1) - ) - (get_local $10) - ) - ) - (i32.const 1) + (tee_local $5 + (i32.lt_u + (get_local $1) + (i32.const 1054086096) ) ) - (get_local $11) - (i32.eq - (get_local $4) - (i32.const 255) + (get_local $5) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) ) ) (i32.const 1) ) - (return - (f32.div - (f32.mul - (get_local $0) + (block + (if + (i32.ge_u (get_local $1) + (i32.const -1082130432) ) - (f32.mul + (block + (if + (f32.eq + (get_local $0) + (f32.const -1) + ) + (return + (f32.div + (get_local $0) + (f32.const 0) + ) + ) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) + ) + ) + ) + ) + (if + (i32.lt_u + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.shl + (i32.const 864026624) + (i32.const 1) + ) + ) + (return (get_local $0) + ) + ) + (if + (i32.le_u (get_local $1) + (i32.const -1097468391) + ) + (block + (set_local $4 + (i32.const 0) + ) + (set_local $2 + (f32.const 0) + ) + (set_local $3 + (get_local $0) + ) ) ) ) - ) - (if - (i32.eq - (i32.shl - (get_local $2) - (i32.const 1) + (if + (i32.ge_u + (get_local $1) + (i32.const 2139095040) + ) + (return + (get_local $0) ) - (i32.const 0) - ) - (return - (get_local $0) ) ) (if - (i32.eqz - (get_local $4) - ) + (get_local $4) (block - (block $break|0 - (set_local $8 - (i32.shl - (get_local $9) - (i32.const 9) - ) - ) - (loop $continue|0 - (if - (i32.eq - (i32.shr_u - (get_local $8) - (i32.const 31) - ) - (i32.const 0) - ) - (block - (block - ) - (block - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (set_local $8 - (i32.shl - (get_local $8) - (i32.const 1) - ) - ) - ) - (br $continue|0) - ) - ) + (set_local $6 + (f32.add + (f32.const 1) + (get_local $0) ) ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) - ) - (i32.const 1) - ) + (set_local $5 + (i32.reinterpret/f32 + (get_local $6) ) ) - ) - (block - (set_local $9 - (i32.and - (get_local $9) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (set_local $5 + (i32.add + (get_local $5) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) ) ) ) - (set_local $9 - (i32.or - (get_local $9) - (i32.shl - (i32.const 1) + (set_local $4 + (i32.sub + (i32.shr_u + (get_local $5) (i32.const 23) ) + (i32.const 127) ) ) - ) - ) - (if - (i32.eqz - (get_local $5) - ) - (block - (block $break|1 - (set_local $8 - (i32.shl - (get_local $3) - (i32.const 9) - ) + (if + (i32.lt_s + (get_local $4) + (i32.const 25) ) - (loop $continue|1 - (if - (i32.eq - (i32.shr_u - (get_local $8) - (i32.const 31) - ) - (i32.const 0) - ) - (block - (block + (block + (set_local $2 + (if (result f32) + (i32.ge_s + (get_local $4) + (i32.const 2) ) - (block - (set_local $5 - (i32.sub - (get_local $5) - (i32.const 1) - ) + (f32.sub + (f32.const 1) + (f32.sub + (get_local $6) + (get_local $0) ) - (set_local $8 - (i32.shl - (get_local $8) - (i32.const 1) - ) + ) + (f32.sub + (get_local $0) + (f32.sub + (get_local $6) + (f32.const 1) ) ) - (br $continue|1) ) ) - ) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.add - (i32.sub - (i32.const 0) - (get_local $5) + (set_local $2 + (f32.div + (get_local $2) + (get_local $6) ) - (i32.const 1) ) ) + (set_local $2 + (f32.const 0) + ) ) - ) - (block - (set_local $3 - (i32.and - (get_local $3) - (i32.shr_u - (i32.const -1) - (i32.const 9) + (set_local $5 + (i32.add + (i32.and + (get_local $5) + (i32.const 8388607) ) + (i32.const 1060439283) ) ) (set_local $3 - (i32.or - (get_local $3) - (i32.shl - (i32.const 1) - (i32.const 23) + (f32.sub + (f32.reinterpret/i32 + (get_local $5) ) + (f32.const 1) ) ) ) ) - (set_local $12 - (i32.const 0) + (set_local $7 + (f32.div + (get_local $3) + (f32.add + (f32.const 2) + (get_local $3) + ) + ) ) - (block $break|2 - (loop $continue|2 - (block - (if - (i32.lt_s - (get_local $4) - (get_local $5) - ) - (block - (if - (i32.eq - (i32.add - (get_local $4) - (i32.const 1) - ) - (get_local $5) - ) - (br $break|2) - ) - (return - (get_local $0) - ) - ) - ) - (block $break|3 - (nop) - (loop $continue|3 - (if - (i32.gt_s - (get_local $4) - (get_local $5) - ) - (block - (block - (set_local $8 - (i32.sub - (get_local $9) - (get_local $3) - ) - ) - (if - (i32.eq - (i32.shr_u - (get_local $8) - (i32.const 31) - ) - (i32.const 0) - ) - (block - (set_local $9 - (get_local $8) - ) - (set_local $12 - (i32.add - (get_local $12) - (i32.const 1) - ) - ) - ) - ) - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) - ) - (set_local $12 - (i32.shl - (get_local $12) - (i32.const 1) - ) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - (br $continue|3) - ) - ) - ) + (set_local $8 + (f32.mul + (get_local $7) + (get_local $7) + ) + ) + (set_local $9 + (f32.mul + (get_local $8) + (get_local $8) + ) + ) + (set_local $10 + (f32.mul + (get_local $9) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $9) + (f32.const 0.24279078841209412) ) - (set_local $8 - (i32.sub - (get_local $9) - (get_local $3) - ) + ) + ) + ) + (set_local $11 + (f32.mul + (get_local $8) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $9) + (f32.const 0.2849878668785095) ) - (if - (i32.eq - (i32.shr_u - (get_local $8) - (i32.const 31) - ) - (i32.const 0) - ) - (block - (set_local $9 - (get_local $8) - ) - (set_local $12 - (i32.add + ) + ) + ) + (set_local $12 + (f32.add + (get_local $11) + (get_local $10) + ) + ) + (set_local $13 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $3) + ) + (get_local $3) + ) + ) + (set_local $14 + (f32.convert_s/i32 + (get_local $4) + ) + ) + (return + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $7) + (f32.add + (get_local $13) (get_local $12) - (i32.const 1) ) ) - ) - ) - (if - (i32.eq - (get_local $9) - (i32.const 0) - ) - (set_local $4 - (i32.const -30) - ) - (block $break|4 - (nop) - (loop $continue|4 - (if - (i32.eq - (i32.shr_u - (get_local $9) - (i32.const 23) - ) - (i32.const 0) - ) - (block - (block - ) - (block - (set_local $9 - (i32.shl - (get_local $9) - (i32.const 1) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 1) - ) - ) - ) - (br $continue|4) - ) + (f32.add + (f32.mul + (get_local $14) + (f32.const 9.05800061445916e-06) ) + (get_local $2) ) ) + (get_local $13) ) - (br $break|2) + (get_local $3) ) - (br_if $continue|2 - (i32.const 0) + (f32.mul + (get_local $14) + (f32.const 0.6931381225585938) ) ) ) + ) + (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.const 0) + ) (if - (i32.gt_s - (get_local $4) - (i32.const 0) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $1) + (i32.const 8388608) + ) + ) + (get_local $3) + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) ) (block - (set_local $9 - (i32.sub - (get_local $9) + (if + (i32.eq (i32.shl + (get_local $1) (i32.const 1) - (i32.const 23) ) + (i32.const 0) ) - ) - (set_local $9 - (i32.or - (get_local $9) - (i32.shl - (get_local $4) - (i32.const 23) + (return + (f32.div + (f32.const -1) + (f32.mul + (get_local $0) + (get_local $0) + ) ) ) ) - ) - (set_local $9 - (i32.shr_u - (get_local $9) - (i32.add - (i32.sub - (i32.const 0) - (get_local $4) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.const 0) ) - (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 25) + ) + ) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 33554432) + ) + ) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) ) ) ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $9) - ) - ) - (if - (get_local $7) - (set_local $1 - (f32.neg + (if + (i32.ge_u (get_local $1) + (i32.const 2139095040) ) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $11 - (i32.eq - (get_local $4) - (get_local $5) - ) + (return + (get_local $0) + ) + (if + (i32.eq + (get_local $1) + (i32.const 1065353216) ) - (get_local $11) - (if (result i32) - (tee_local $11 - (i32.eq - (i32.add - (get_local $4) - (i32.const 1) - ) - (get_local $5) - ) - ) - (if (result i32) - (tee_local $11 - (f32.gt - (f32.mul - (f32.const 2) - (get_local $0) - ) - (get_local $1) - ) - ) - (get_local $11) - (if (result i32) - (tee_local $11 - (f32.eq - (f32.mul - (f32.const 2) - (get_local $0) - ) - (get_local $1) - ) - ) - (i32.and - (i32.rem_s - (get_local $12) - (i32.const 2) - ) - (i32.const 1) - ) - (get_local $11) - ) - ) - (get_local $11) + (return + (f32.const 0) ) ) - (i32.const 1) ) - (block - (set_local $0 - (f32.sub - (get_local $0) + ) + (set_local $1 + (i32.add + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.const 1060439283) + ) + ) + ) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.shr_s (get_local $1) + (i32.const 23) ) + (i32.const 127) ) - (set_local $12 - (i32.add - (get_local $12) - (i32.const 1) - ) + ) + ) + (set_local $1 + (i32.add + (i32.and + (get_local $1) + (i32.const 8388607) ) + (i32.const 1060439283) ) ) - (set_local $12 - (i32.and - (get_local $12) - (i32.const 2147483647) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) ) ) - (return - (if (result f32) + (set_local $4 + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (set_local $5 + (f32.div + (get_local $4) + (f32.add + (f32.const 2) + (get_local $4) + ) + ) + ) + (set_local $6 + (f32.mul + (get_local $5) + (get_local $5) + ) + ) + (set_local $7 + (f32.mul (get_local $6) - (f32.neg - (get_local $0) + (get_local $6) + ) + ) + (set_local $8 + (f32.mul + (get_local $7) + (f32.add + (f32.const 0.40000972151756287) + (f32.mul + (get_local $7) + (f32.const 0.24279078841209412) + ) ) - (get_local $0) ) ) - ) - (func $std/math/test_remf (; 42 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.rem" - (get_local $0) - (get_local $1) + (set_local $9 + (f32.mul + (get_local $6) + (f32.add + (f32.const 0.6666666269302368) + (f32.mul + (get_local $7) + (f32.const 0.2849878668785095) + ) + ) + ) + ) + (set_local $10 + (f32.add + (get_local $9) + (get_local $8) + ) + ) + (set_local $11 + (f32.mul + (f32.mul + (f32.const 0.5) + (get_local $4) ) - (get_local $2) - (get_local $3) (get_local $4) ) ) - ) - (func "$(lib)/math/NativeMath.abs" (; 43 ;) (type $FF) (param $0 f64) (result f64) - (return - (f64.abs - (get_local $0) + (set_local $12 + (f32.convert_s/i32 + (get_local $2) ) ) - ) - (func $std/math/test_abs (; 44 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.abs" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) + (f32.add + (f32.add + (f32.sub + (f32.add + (f32.mul + (get_local $5) + (f32.add + (get_local $11) + (get_local $10) + ) ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.abs" - (get_local $0) + (f32.mul + (get_local $12) + (f32.const 9.05800061445916e-06) ) - (get_local $1) - (get_local $2) - (get_local $3) ) + (get_local $11) ) (get_local $4) ) - (i32.const 1) + (f32.mul + (get_local $12) + (f32.const 0.6931381225585938) + ) ) ) ) - (func "$(lib)/math/NativeMathf.abs" (; 45 ;) (type $ff) (param $0 f32) (result f32) - (return - (f32.abs + (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 (get_local $0) ) ) - ) - (func $std/math/test_absf (; 46 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.abs" - (get_local $0) - ) + (set_local $2 + (i32.and (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 2147483647) ) ) - ) - (func "$(lib)/math/NativeMath.__R" (; 47 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) - (local $2 f64) - (nop) - (set_local $1 - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.16666666666666666) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.3255658186224009) - (f64.mul - (get_local $0) - (f64.add - (f64.const 0.20121253213486293) - (f64.mul + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (f32.sub + (get_local $0) + (f32.const 1) + ) + (f32.sqrt + (f32.add + (f32.mul + (f32.sub (get_local $0) - (f64.add - (f64.const -0.04005553450067941) - (f64.mul - (get_local $0) - (f64.add - (f64.const 7.915349942898145e-04) - (f64.mul - (get_local $0) - (f64.const 3.479331075960212e-05) - ) - ) - ) - ) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (f32.const 1) + ) + ) + (f32.mul + (f32.const 2) + (f32.sub + (get_local $0) + (f32.const 1) ) ) ) @@ -2986,25 +2861,35 @@ ) ) ) - (set_local $2 - (f64.add - (f64.const 1) - (f64.mul - (get_local $0) - (f64.add - (f64.const -2.403394911734414) - (f64.mul + (if + (i32.lt_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (call "$(lib)/math/NativeMathf.log" + (f32.sub + (f32.mul + (f32.const 2) (get_local $0) - (f64.add - (f64.const 2.0209457602335057) - (f64.mul - (get_local $0) - (f64.add - (f64.const -0.6882839716054533) - (f64.mul + ) + (f32.div + (f32.const 1) + (f32.add + (get_local $0) + (f32.sqrt + (f32.sub + (f32.mul + (get_local $0) (get_local $0) - (f64.const 0.07703815055590194) ) + (f32.const 1) ) ) ) @@ -3014,13 +2899,27 @@ ) ) (return - (f64.div + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + ) + (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.acosh" + (get_local $0) + ) (get_local $1) (get_local $2) + (get_local $3) ) ) ) - (func "$(lib)/math/NativeMath.acos" (; 48 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) (local $1 i32) (local $2 i32) (local $3 i32) @@ -3070,27 +2969,16 @@ ) (i32.const 0) ) - (block - (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (return + (f64.add + (f64.mul + (get_local $0) + (f64.const 1.5707963267948966) ) - (return - (f64.add - (f64.mul - (f64.const 2) - (f64.const 1.5707963267948966) - ) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) - ) - ) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) ) - (return - (f64.const 0) - ) ) ) (return @@ -3111,34 +2999,35 @@ ) (block (if - (i32.le_u - (get_local $2) - (i32.const 1012924416) - ) - (return - (f64.add - (f64.const 1.5707963267948966) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 1045430272) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 1048576) ) + (get_local $3) ) + (i32.const 1) + ) + (return + (get_local $0) ) ) (return - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub + (f64.add + (get_local $0) + (f64.mul (get_local $0) - (f64.sub - (f64.const 6.123233995736766e-17) + (call "$(lib)/math/NativeMath.__R" (f64.mul (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) + (get_local $0) ) ) ) @@ -3146,120 +3035,137 @@ ) ) ) - (nop) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (block - (set_local $6 - (f64.mul - (f64.add - (f64.const 1) - (get_local $0) - ) - (f64.const 0.5) - ) - ) - (set_local $4 - (f64.sqrt - (get_local $6) - ) - ) - (set_local $5 - (f64.sub - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $6) - ) - (get_local $4) - ) - (f64.const 6.123233995736766e-17) + (set_local $4 + (f64.mul + (f64.sub + (f64.const 1) + (f64.abs + (get_local $0) ) ) - (return - (f64.mul - (f64.const 2) - (f64.sub - (f64.const 1.5707963267948966) - (f64.add - (get_local $4) - (get_local $5) - ) - ) - ) - ) - ) - ) - (set_local $6 - (f64.mul - (f64.sub - (f64.const 1) - (get_local $0) - ) (f64.const 0.5) ) ) - (set_local $4 + (set_local $5 (f64.sqrt - (get_local $6) + (get_local $4) ) ) - (set_local $7 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $4) - ) - (i64.const -4294967296) - ) + (set_local $6 + (call "$(lib)/math/NativeMath.__R" + (get_local $4) ) ) - (set_local $8 - (f64.div + (if + (i32.ge_u + (get_local $2) + (i32.const 1072640819) + ) + (set_local $0 (f64.sub - (get_local $6) - (f64.mul - (get_local $7) - (get_local $7) + (f64.const 1.5707963267948966) + (f64.sub + (f64.mul + (f64.const 2) + (f64.add + (get_local $5) + (f64.mul + (get_local $5) + (get_local $6) + ) + ) + ) + (f64.const 6.123233995736766e-17) ) ) - (f64.add - (get_local $4) - (get_local $7) - ) ) - ) - (set_local $5 - (f64.add - (f64.mul - (call "$(lib)/math/NativeMath.__R" - (get_local $6) + (block + (set_local $7 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $5) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $8 + (f64.div + (f64.sub + (get_local $4) + (f64.mul + (get_local $7) + (get_local $7) + ) + ) + (f64.add + (get_local $5) + (get_local $7) + ) + ) + ) + (set_local $0 + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.sub + (f64.sub + (f64.mul + (f64.mul + (f64.const 2) + (get_local $5) + ) + (get_local $6) + ) + (f64.sub + (f64.const 6.123233995736766e-17) + (f64.mul + (f64.const 2) + (get_local $8) + ) + ) + ) + (f64.sub + (f64.mul + (f64.const 0.5) + (f64.const 1.5707963267948966) + ) + (f64.mul + (f64.const 2) + (get_local $7) + ) + ) + ) ) - (get_local $4) ) - (get_local $8) ) ) - (return - (f64.mul - (f64.const 2) - (f64.add - (get_local $7) - (get_local $5) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f64.neg + (get_local $0) ) ) ) + (return + (get_local $0) + ) ) - (func $std/math/test_acos (; 49 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.acos" + (call "$(lib)/math/NativeMath.asin" (get_local $0) ) (get_local $1) @@ -3275,7 +3181,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.acos" + (call "$(lib)/math/JSMath.asin" (get_local $0) ) (get_local $1) @@ -3289,52 +3195,12 @@ ) ) ) - (func "$(lib)/math/NativeMathf.__R" (; 50 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (local $2 f32) - (nop) - (set_local $1 - (f32.mul - (get_local $0) - (f32.add - (f32.const 0.16666586697101593) - (f32.mul - (get_local $0) - (f32.add - (f32.const -0.04274342209100723) - (f32.mul - (get_local $0) - (f32.const -0.008656363002955914) - ) - ) - ) - ) - ) - ) - (set_local $2 - (f32.add - (f32.const 1) - (f32.mul - (get_local $0) - (f32.const -0.7066296339035034) - ) - ) - ) - (return - (f32.div - (get_local $1) - (get_local $2) - ) - ) - ) - (func "$(lib)/math/NativeMathf.acos" (; 51 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (local $3 f32) + (local $3 i32) (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) + (local $5 f64) (nop) (set_local $1 (i32.reinterpret/f32 @@ -3358,24 +3224,13 @@ (get_local $2) (i32.const 1065353216) ) - (block - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.add - (f32.mul - (f32.const 2) - (f32.const 1.570796251296997) - ) - (f32.const 7.52316384526264e-37) - ) + (return + (f32.add + (f32.mul + (get_local $0) + (f32.const 1.5707963705062866) ) - ) - (return - (f32.const 0) + (f32.const 7.52316384526264e-37) ) ) ) @@ -3397,32 +3252,35 @@ ) (block (if - (i32.le_u - (get_local $2) - (i32.const 847249408) + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (get_local $2) + (i32.const 964689920) + ) + ) + (i32.ge_u + (get_local $2) + (i32.const 8388608) + ) + (get_local $3) + ) + (i32.const 1) ) (return - (f32.add - (f32.const 1.570796251296997) - (f32.const 7.52316384526264e-37) - ) + (get_local $0) ) ) (return - (f32.sub - (f32.const 1.570796251296997) - (f32.sub + (f32.add + (get_local $0) + (f32.mul (get_local $0) - (f32.sub - (f32.const 7.549789415861596e-08) + (call "$(lib)/math/NativeMathf.__R" (f32.mul (get_local $0) - (call "$(lib)/math/NativeMathf.__R" - (f32.mul - (get_local $0) - (get_local $0) - ) - ) + (get_local $0) ) ) ) @@ -3430,119 +3288,68 @@ ) ) ) - (nop) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (block - (set_local $3 - (f32.mul - (f32.add - (f32.const 1) - (get_local $0) - ) - (f32.const 0.5) - ) - ) - (set_local $5 - (f32.sqrt - (get_local $3) - ) - ) - (set_local $4 - (f32.sub - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $3) - ) - (get_local $5) - ) - (f32.const 7.549789415861596e-08) - ) - ) - (return - (f32.mul - (f32.const 2) - (f32.sub - (f32.const 1.570796251296997) - (f32.add - (get_local $5) - (get_local $4) - ) - ) - ) - ) - ) - ) - (set_local $3 + (set_local $4 (f32.mul (f32.sub (f32.const 1) - (get_local $0) + (f32.abs + (get_local $0) + ) ) (f32.const 0.5) ) ) (set_local $5 - (f32.sqrt - (get_local $3) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (get_local $5) - ) - ) - (set_local $6 - (f32.reinterpret/i32 - (i32.and - (get_local $1) - (i32.const -4096) + (f64.sqrt + (f64.promote/f32 + (get_local $4) ) ) ) - (set_local $7 - (f32.div - (f32.sub - (get_local $3) - (f32.mul - (get_local $6) - (get_local $6) + (set_local $0 + (f32.demote/f64 + (f64.sub + (f64.promote/f32 + (f32.const 1.5707963705062866) + ) + (f64.mul + (f64.promote/f32 + (f32.const 2) + ) + (f64.add + (get_local $5) + (f64.mul + (get_local $5) + (f64.promote/f32 + (call "$(lib)/math/NativeMathf.__R" + (get_local $4) + ) + ) + ) + ) ) - ) - (f32.add - (get_local $5) - (get_local $6) ) ) ) - (set_local $4 - (f32.add - (f32.mul - (call "$(lib)/math/NativeMathf.__R" - (get_local $3) - ) - (get_local $5) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (return + (f32.neg + (get_local $0) ) - (get_local $7) ) ) (return - (f32.mul - (f32.const 2) - (f32.add - (get_local $6) - (get_local $4) - ) - ) + (get_local $0) ) ) - (func $std/math/test_acosf (; 52 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.acos" + (call "$(lib)/math/NativeMathf.asin" (get_local $0) ) (get_local $1) @@ -3551,22 +3358,10 @@ ) ) ) - (func "$(lib)/math/NativeMath.log1p" (; 53 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (local $5 f64) - (local $6 i32) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 f64) - (local $14 f64) - (local $15 f64) + (local $2 i64) + (local $3 i64) (nop) (set_local $1 (i64.reinterpret/f64 @@ -3574,295 +3369,282 @@ ) ) (set_local $2 - (i32.wrap/i64 + (i64.and (i64.shr_u (get_local $1) - (i64.const 32) + (i64.const 52) ) + (i64.const 2047) ) ) (set_local $3 - (i32.const 1) + (i64.shr_u + (get_local $1) + (i64.const 63) + ) ) - (block - (set_local $4 - (f64.const 0) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) ) - (set_local $5 - (f64.const 0) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) ) ) (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.lt_u - (get_local $2) - (i32.const 1071284858) - ) - ) - (get_local $6) - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (i32.const 1) + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 26) + ) + ) + (set_local $0 + (f64.add + (call "$(lib)/math/NativeMath.log" + (get_local $0) ) + (f64.const 0.6931471805599453) ) - (i32.const 1) ) - (block - (if - (i32.ge_u - (get_local $2) - (i32.const -1074790400) + (if + (i64.ge_u + (get_local $2) + (i64.add + (i64.const 1023) + (i64.const 1) ) - (block - (if - (f64.eq + ) + (set_local $0 + (call "$(lib)/math/NativeMath.log" + (f64.add + (f64.mul + (f64.const 2) (get_local $0) - (f64.const -1) - ) - (return - (f64.div - (get_local $0) - (f64.const 0) - ) ) - ) - (return (f64.div - (f64.sub - (get_local $0) + (f64.const 1) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) (get_local $0) ) - (f64.const 0) ) ) ) ) (if - (i32.lt_u - (i32.shl - (get_local $2) - (i32.const 1) - ) - (i32.shl - (i32.const 1017118720) - (i32.const 1) + (i64.ge_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 26) ) ) - (return - (get_local $0) - ) - ) - (if - (i32.le_u - (get_local $2) - (i32.const -1076707644) - ) - (block - (set_local $3 - (i32.const 0) - ) - (set_local $4 - (f64.const 0) - ) - (set_local $5 - (get_local $0) + (set_local $0 + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (get_local $0) + (f64.div + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.add + (f64.sqrt + (f64.add + (f64.mul + (get_local $0) + (get_local $0) + ) + (f64.const 1) + ) + ) + (f64.const 1) + ) + ) + ) ) ) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) + ) + (return + (if (result f64) + (i64.ne + (get_local $3) + (i64.const 0) ) - (return + (f64.neg (get_local $0) ) + (get_local $0) ) ) - (if - (get_local $3) - (block - (set_local $1 - (i64.reinterpret/f64 - (f64.add - (f64.const 1) - (get_local $0) - ) - ) - ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u + ) + (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.asinh" + (get_local $0) + ) (get_local $1) - (i64.const 32) - ) - ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) - ) - ) - ) - (set_local $3 - (i32.sub - (i32.shr_u - (get_local $6) - (i32.const 20) + (get_local $2) + (get_local $3) ) - (i32.const 1023) - ) - ) - (if - (i32.lt_s - (get_local $3) - (i32.const 54) ) - (block - (set_local $7 - (f64.reinterpret/i64 - (get_local $1) - ) - ) - (set_local $4 - (if (result f64) - (i32.ge_s - (get_local $3) - (i32.const 2) - ) - (f64.sub - (f64.const 1) - (f64.sub - (get_local $7) - (get_local $0) - ) - ) - (f64.sub - (get_local $0) - (f64.sub - (get_local $7) - (f64.const 1) - ) - ) - ) - ) - (set_local $4 - (f64.div - (get_local $4) - (get_local $7) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) ) - ) - (set_local $4 - (f64.const 0) - ) - ) - (set_local $6 - (i32.add - (i32.and - (get_local $6) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $6) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.asinh" + (get_local $0) ) - (i64.const 32) - ) - (i64.and - (get_local $1) - (i64.const 4294967295) - ) - ) - ) - (set_local $5 - (f64.sub - (f64.reinterpret/i64 (get_local $1) + (get_local $2) + (get_local $3) ) - (f64.const 1) ) + (get_local $4) ) + (i32.const 1) ) ) - (set_local $8 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $5) - ) - (get_local $5) + ) + (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) ) ) - (set_local $9 - (f64.div - (get_local $5) - (f64.add - (f64.const 2) - (get_local $5) - ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) ) ) - (set_local $10 - (f64.mul - (get_local $9) - (get_local $9) + (set_local $3 + (i32.shr_u + (get_local $1) + (i32.const 31) ) ) - (set_local $11 - (f64.mul - (get_local $10) - (get_local $10) + (set_local $1 + (get_local $2) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) ) ) - (set_local $12 - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $11) - (f64.const 0.15313837699209373) + (if + (i32.ge_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (set_local $0 + (f32.add + (call "$(lib)/math/NativeMathf.log" + (get_local $0) + ) + (f32.const 0.6931471824645996) + ) + ) + (if + (i32.ge_u + (get_local $2) + (i32.add + (i32.const 1065353216) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log" + (f32.add + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.div + (f32.const 1) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (get_local $0) + ) ) ) ) ) - ) - ) - (set_local $13 - (f64.mul - (get_local $10) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $11) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $11) - (f64.const 0.14798198605116586) + (if + (i32.ge_u + (get_local $2) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (set_local $0 + (call "$(lib)/math/NativeMathf.log1p" + (f32.add + (get_local $0) + (f32.div + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.add + (f32.sqrt + (f32.add + (f32.mul + (get_local $0) + (get_local $0) + ) + (f32.const 1) + ) + ) + (f32.const 1) ) ) ) @@ -3871,312 +3653,282 @@ ) ) ) - (set_local $14 - (f64.add - (get_local $13) - (get_local $12) - ) - ) - (set_local $15 - (f64.convert_s/i32 + (return + (if (result f32) (get_local $3) + (f32.neg + (get_local $0) + ) + (get_local $0) ) ) + ) + (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return - (f64.add - (f64.add - (f64.sub - (f64.add - (f64.mul - (get_local $9) - (f64.add - (get_local $8) - (get_local $14) - ) - ) - (f64.add - (f64.mul - (get_local $15) - (f64.const 1.9082149292705877e-10) - ) - (get_local $4) - ) - ) - (get_local $8) - ) - (get_local $5) - ) - (f64.mul - (get_local $15) - (f64.const 0.6931471803691238) + (call $std/math/check + (call "$(lib)/math/NativeMathf.asinh" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) ) - (func "$(lib)/math/NativeMath.log" (; 54 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 f64) + (local $3 f64) + (local $4 f64) + (local $5 i32) (local $6 f64) (local $7 f64) (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 i32) + (local $9 i32) (nop) (set_local $1 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (set_local $2 (i32.wrap/i64 (i64.shr_u - (get_local $1) + (i64.reinterpret/f64 + (get_local $0) + ) (i64.const 32) ) ) ) - (set_local $3 - (i32.const 0) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) ) - (if + (set_local $1 (i32.and - (if (result i32) - (tee_local $4 - (i32.lt_u - (get_local $2) - (i32.const 1048576) - ) - ) - (get_local $4) - (i32.and - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (i32.const 1) - ) - ) - (i32.const 1) + (get_local $1) + (i32.const 2147483647) + ) + ) + (nop) + (if + (i32.ge_u + (get_local $1) + (i32.const 1141899264) ) (block (if - (i64.eq - (i64.shl - (get_local $1) - (i64.const 1) + (f64.ne + (tee_local $4 + (get_local $0) ) - (i64.const 0) + (get_local $4) ) (return - (f64.div - (f64.const -1) - (f64.mul - (get_local $0) - (get_local $0) - ) - ) + (get_local $0) ) ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.const 0) + (set_local $3 + (f64.add + (f64.const 1.5707963267948966) + (f64.promote/f32 + (f32.const 7.52316384526264e-37) ) ) ) - (set_local $3 - (i32.sub + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) + ) (get_local $3) - (i32.const 54) ) ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 18014398509481984) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1071382528) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.const 1044381696) ) - ) - (set_local $1 - (i64.reinterpret/f64 + (return (get_local $0) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) + (set_local $5 + (i32.const -1) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (get_local $0) + (block + (set_local $0 + (f64.abs + (get_local $0) + ) ) (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.eq - (get_local $2) - (i32.const 1072693248) + (i32.lt_u + (get_local $1) + (i32.const 1072889856) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1072037888) + ) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $0 + (f64.div + (f64.sub + (f64.mul + (f64.const 2) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (f64.const 2) + (get_local $0) + ) ) ) - (i64.eq - (i64.shl - (get_local $1) - (i64.const 32) + ) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1) + ) + (f64.add + (get_local $0) + (f64.const 1) + ) ) - (i64.const 0) ) - (get_local $4) ) - (i32.const 1) ) - (return - (f64.const 0) + (if + (i32.lt_u + (get_local $1) + (i32.const 1073971200) + ) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f64.div + (f64.sub + (get_local $0) + (f64.const 1.5) + ) + (f64.add + (f64.const 1) + (f64.mul + (f64.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f64.div + (f64.const -1) + (get_local $0) + ) + ) + ) ) ) ) ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) - ) - ) - ) (set_local $3 - (i32.add - (get_local $3) - (i32.sub - (i32.shr_s - (get_local $2) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - ) - (set_local $2 - (i32.add - (i32.and - (get_local $2) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $2) - ) - (i64.const 32) - ) - (i64.and - (get_local $1) - (i64.const 4294967295) - ) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) - ) - ) - (set_local $5 - (f64.sub + (f64.mul + (get_local $0) (get_local $0) - (f64.const 1) ) ) (set_local $6 (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $5) - ) - (get_local $5) + (get_local $3) + (get_local $3) ) ) (set_local $7 - (f64.div - (get_local $5) - (f64.add - (f64.const 2) - (get_local $5) - ) - ) - ) - (set_local $8 - (f64.mul - (get_local $7) - (get_local $7) - ) - ) - (set_local $9 - (f64.mul - (get_local $8) - (get_local $8) - ) - ) - (set_local $10 (f64.mul - (get_local $9) + (get_local $3) (f64.add - (f64.const 0.3999999999940942) + (f64.const 0.3333333333333293) (f64.mul - (get_local $9) + (get_local $6) (f64.add - (f64.const 0.22222198432149784) + (f64.const 0.14285714272503466) (f64.mul - (get_local $9) - (f64.const 0.15313837699209373) + (get_local $6) + (f64.add + (f64.const 0.09090887133436507) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.06661073137387531) + (f64.mul + (get_local $6) + (f64.add + (f64.const 0.049768779946159324) + (f64.mul + (get_local $6) + (f64.const 0.016285820115365782) + ) + ) + ) + ) + ) + ) ) ) ) ) ) ) - (set_local $11 + (set_local $8 (f64.mul - (get_local $8) + (get_local $6) (f64.add - (f64.const 0.6666666666666735) + (f64.const -0.19999999999876483) (f64.mul - (get_local $9) + (get_local $6) (f64.add - (f64.const 0.2857142874366239) + (f64.const -0.11111110405462356) (f64.mul - (get_local $9) + (get_local $6) (f64.add - (f64.const 0.1818357216161805) + (f64.const -0.0769187620504483) (f64.mul - (get_local $9) - (f64.const 0.14798198605116586) + (get_local $6) + (f64.add + (f64.const -0.058335701337905735) + (f64.mul + (get_local $6) + (f64.const -0.036531572744216916) + ) + ) ) ) ) @@ -4185,152 +3937,167 @@ ) ) ) - (set_local $12 - (f64.add - (get_local $11) - (get_local $10) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - ) - (set_local $13 - (get_local $3) - ) - (return - (f64.add - (f64.add - (f64.sub + (return + (f64.sub + (get_local $0) + (f64.mul + (get_local $0) (f64.add - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (get_local $12) - ) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) - ) - (f64.const 1.9082149292705877e-10) - ) + (get_local $7) + (get_local $8) ) - (get_local $6) - ) - (get_local $5) - ) - (f64.mul - (f64.convert_s/i32 - (get_local $13) - ) - (f64.const 0.6931471803691238) - ) - ) - ) - ) - (func "$(lib)/math/NativeMath.acosh" (; 55 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (nop) - (set_local $1 - (i64.and - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) ) - (i64.const 52) ) - (i64.const 2047) ) ) - (if - (i64.lt_u - (get_local $1) - (i64.add - (i64.const 1023) - (i64.const 1) - ) - ) - (return - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.sqrt - (f64.add - (f64.mul - (f64.sub - (get_local $0) - (f64.const 1) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) ) + ) + (br $case4|0) + ) + (block + (set_local $3 (f64.sub - (get_local $0) - (f64.const 1) + (f64.const 0.4636476090008061) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 2.2698777452961687e-17) + ) + (get_local $0) + ) ) ) - (f64.mul - (f64.const 2) + (br $break|0) + ) + ) + (block + (set_local $3 + (f64.sub + (f64.const 0.7853981633974483) (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 3.061616997868383e-17) + ) (get_local $0) - (f64.const 1) ) ) ) + (br $break|0) ) ) - ) - ) - ) - (if - (i64.lt_u - (get_local $1) - (i64.add - (i64.const 1023) - (i64.const 26) - ) - ) - (return - (call "$(lib)/math/NativeMath.log" - (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (get_local $0) - (f64.sqrt + (block + (set_local $3 + (f64.sub + (f64.const 0.982793723247329) + (f64.sub (f64.sub (f64.mul (get_local $0) - (get_local $0) + (f64.add + (get_local $7) + (get_local $8) + ) + ) + (f64.const 1.3903311031230998e-17) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f64.sub + (f64.const 1.5707963267948966) + (f64.sub + (f64.sub + (f64.mul + (get_local $0) + (f64.add + (get_local $7) + (get_local $8) ) - (f64.const 1) ) + (f64.const 6.123233995736766e-17) ) + (get_local $0) ) ) ) + (br $break|0) ) ) + (unreachable) ) (return - (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) + (if (result f64) + (get_local $2) + (f64.neg + (get_local $3) ) - (f64.const 0.6931471805599453) + (get_local $3) ) ) ) - (func $std/math/test_acosh (; 56 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.acosh" + (call "$(lib)/math/NativeMath.atan" (get_local $0) ) (get_local $1) @@ -4346,7 +4113,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.acosh" + (call "$(lib)/math/JSMath.atan" (get_local $0) ) (get_local $1) @@ -4360,583 +4127,567 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log1p" (; 57 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) - (local $2 f32) + (local $2 i32) (local $3 f32) - (local $4 i32) + (local $4 f32) (local $5 i32) (local $6 f32) (local $7 f32) (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) + (local $9 i32) (nop) (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) - (block - (set_local $2 - (f32.const 0) - ) - (set_local $3 - (f32.const 0) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) ) ) - (set_local $4 - (i32.const 1) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) ) + (nop) (if - (i32.and - (if (result i32) - (tee_local $5 - (i32.lt_u - (get_local $1) - (i32.const 1054086096) - ) - ) - (get_local $5) - (i32.and - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 1) - ) - ) - (i32.const 1) + (i32.ge_u + (get_local $1) + (i32.const 1283457024) ) (block (if - (i32.ge_u - (get_local $1) - (i32.const -1082130432) - ) - (block - (if - (f32.eq - (get_local $0) - (f32.const -1) - ) - (return - (f32.div - (get_local $0) - (f32.const 0) - ) - ) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.const 0) - ) - ) - ) - ) - (if - (i32.lt_u - (i32.shl - (get_local $1) - (i32.const 1) - ) - (i32.shl - (i32.const 864026624) - (i32.const 1) + (f32.ne + (tee_local $4 + (get_local $0) ) + (get_local $4) ) (return (get_local $0) ) ) - (if - (i32.le_u - (get_local $1) - (i32.const -1097468391) - ) - (block - (set_local $4 - (i32.const 0) - ) - (set_local $2 - (f32.const 0) - ) - (set_local $3 - (get_local $0) - ) + (set_local $3 + (f32.add + (f32.const 1.570796251296997) + (f32.const 7.52316384526264e-37) ) ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2139095040) - ) (return - (get_local $0) + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) + ) + (get_local $3) + ) ) ) ) + (nop) (if - (get_local $4) + (i32.lt_u + (get_local $1) + (i32.const 1054867456) + ) (block - (set_local $6 - (f32.add - (f32.const 1) - (get_local $0) + (if + (i32.lt_u + (get_local $1) + (i32.const 964689920) ) - ) - (set_local $5 - (i32.reinterpret/f32 - (get_local $6) + (return + (get_local $0) ) ) (set_local $5 - (i32.add - (get_local $5) - (i32.sub - (i32.const 1065353216) - (i32.const 1060439283) - ) - ) + (i32.const -1) ) - (set_local $4 - (i32.sub - (i32.shr_u - (get_local $5) - (i32.const 23) - ) - (i32.const 127) + ) + (block + (set_local $0 + (f32.abs + (get_local $0) ) ) (if - (i32.lt_s - (get_local $4) - (i32.const 25) + (i32.lt_u + (get_local $1) + (i32.const 1066926080) ) - (block - (set_local $2 - (if (result f32) - (i32.ge_s - (get_local $4) - (i32.const 2) - ) - (f32.sub - (f32.const 1) + (if + (i32.lt_u + (get_local $1) + (i32.const 1060110336) + ) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $0 + (f32.div (f32.sub - (get_local $6) + (f32.mul + (f32.const 2) + (get_local $0) + ) + (f32.const 1) + ) + (f32.add + (f32.const 2) (get_local $0) ) ) - (f32.sub - (get_local $0) + ) + ) + (block + (set_local $5 + (i32.const 1) + ) + (set_local $0 + (f32.div (f32.sub - (get_local $6) + (get_local $0) + (f32.const 1) + ) + (f32.add + (get_local $0) (f32.const 1) ) ) ) ) - (set_local $2 - (f32.div - (get_local $2) - (get_local $6) - ) - ) ) - (set_local $2 - (f32.const 0) - ) - ) - (set_local $5 - (i32.add - (i32.and - (get_local $5) - (i32.const 8388607) + (if + (i32.lt_u + (get_local $1) + (i32.const 1075576832) ) - (i32.const 1060439283) - ) - ) - (set_local $3 - (f32.sub - (f32.reinterpret/i32 - (get_local $5) + (block + (set_local $5 + (i32.const 2) + ) + (set_local $0 + (f32.div + (f32.sub + (get_local $0) + (f32.const 1.5) + ) + (f32.add + (f32.const 1) + (f32.mul + (f32.const 1.5) + (get_local $0) + ) + ) + ) + ) + ) + (block + (set_local $5 + (i32.const 3) + ) + (set_local $0 + (f32.div + (f32.const -1) + (get_local $0) + ) + ) ) - (f32.const 1) ) ) ) ) - (set_local $7 - (f32.div - (get_local $3) - (f32.add - (f32.const 2) - (get_local $3) - ) - ) - ) - (set_local $8 + (set_local $3 (f32.mul - (get_local $7) - (get_local $7) + (get_local $0) + (get_local $0) ) ) - (set_local $9 + (set_local $6 (f32.mul - (get_local $8) - (get_local $8) + (get_local $3) + (get_local $3) ) ) - (set_local $10 + (set_local $7 (f32.mul - (get_local $9) + (get_local $3) (f32.add - (f32.const 0.40000972151756287) + (f32.const 0.333333283662796) (f32.mul - (get_local $9) - (f32.const 0.24279078841209412) + (get_local $6) + (f32.add + (f32.const 0.14253635704517365) + (f32.mul + (get_local $6) + (f32.const 0.06168760731816292) + ) + ) ) ) ) ) - (set_local $11 + (set_local $8 (f32.mul - (get_local $8) + (get_local $6) (f32.add - (f32.const 0.6666666269302368) + (f32.const -0.19999158382415771) (f32.mul - (get_local $9) - (f32.const 0.2849878668785095) + (get_local $6) + (f32.const -0.106480173766613) ) ) ) ) - (set_local $12 - (f32.add - (get_local $11) - (get_local $10) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - ) - (set_local $13 - (f32.mul - (f32.mul - (f32.const 0.5) - (get_local $3) + (return + (f32.sub + (get_local $0) + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) ) - (get_local $3) - ) - ) - (set_local $14 - (f32.convert_s/i32 - (get_local $4) ) ) - (return - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $7) - (f32.add - (get_local $13) - (get_local $12) + (block $break|0 + (block $case4|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $9 + (get_local $5) + ) + (br_if $case0|0 + (i32.eq + (get_local $9) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $9) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $9) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $9) + (i32.const 3) + ) ) + (br $case4|0) ) - (f32.add - (f32.mul - (get_local $14) - (f32.const 9.05800061445916e-06) + (block + (set_local $3 + (f32.sub + (f32.const 0.46364760398864746) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 5.01215824399992e-09) + ) + (get_local $0) + ) + ) ) - (get_local $2) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.7853981256484985) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.774894707930798e-08) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 0.9827936887741089) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 3.447321716976148e-08) + ) + (get_local $0) + ) + ) + ) + (br $break|0) + ) + ) + (block + (set_local $3 + (f32.sub + (f32.const 1.570796251296997) + (f32.sub + (f32.sub + (f32.mul + (get_local $0) + (f32.add + (get_local $7) + (get_local $8) + ) + ) + (f32.const 7.549789415861596e-08) + ) + (get_local $0) ) ) - (get_local $13) ) + (br $break|0) + ) + ) + (unreachable) + ) + (return + (if (result f32) + (get_local $2) + (f32.neg (get_local $3) ) - (f32.mul - (get_local $14) - (f32.const 0.6931381225585938) + (get_local $3) + ) + ) + ) + (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) ) - (func "$(lib)/math/NativeMathf.log" (; 58 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (nop) + (func "$(lib)/math/NativeMath.atanh" (; 73 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + (local $4 f64) (set_local $1 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) (set_local $2 - (i32.const 0) - ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $1) - (i32.const 8388608) - ) - ) - (get_local $3) - (i32.and - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 1) - ) - ) - (i32.const 1) - ) - (block - (if - (i32.eq - (i32.shl - (get_local $1) - (i32.const 1) - ) - (i32.const 0) - ) - (return - (f32.div - (f32.const -1) - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.const 0) - ) - ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 25) - ) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 33554432) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - ) - (if - (i32.ge_u - (get_local $1) - (i32.const 2139095040) - ) - (return - (get_local $0) - ) - (if - (i32.eq - (get_local $1) - (i32.const 1065353216) - ) - (return - (f32.const 0) - ) + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) ) + (i64.const 2047) ) ) - (set_local $1 - (i32.add + (set_local $3 + (i64.shr_u (get_local $1) - (i32.sub - (i32.const 1065353216) - (i32.const 1060439283) - ) - ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.shr_s - (get_local $1) - (i32.const 23) - ) - (i32.const 127) - ) + (i64.const 63) ) ) (set_local $1 - (i32.add - (i32.and - (get_local $1) - (i32.const 8388607) - ) - (i32.const 1060439283) - ) - ) - (set_local $0 - (f32.reinterpret/i32 + (i64.and (get_local $1) + (i64.const 9223372036854775807) ) ) (set_local $4 - (f32.sub - (get_local $0) - (f32.const 1) + (f64.reinterpret/i64 + (get_local $1) ) ) - (set_local $5 - (f32.div - (get_local $4) - (f32.add - (f32.const 2) - (get_local $4) + (if + (i64.lt_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 1) ) ) - ) - (set_local $6 - (f32.mul - (get_local $5) - (get_local $5) - ) - ) - (set_local $7 - (f32.mul - (get_local $6) - (get_local $6) - ) - ) - (set_local $8 - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.40000972151756287) - (f32.mul - (get_local $7) - (f32.const 0.24279078841209412) + (if + (i64.ge_u + (get_local $2) + (i64.sub + (i64.const 1023) + (i64.const 32) ) ) - ) - ) - (set_local $9 - (f32.mul - (get_local $6) - (f32.add - (f32.const 0.6666666269302368) - (f32.mul - (get_local $7) - (f32.const 0.2849878668785095) + (set_local $4 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.add + (f64.mul + (f64.const 2) + (get_local $4) + ) + (f64.div + (f64.mul + (f64.mul + (f64.const 2) + (get_local $4) + ) + (get_local $4) + ) + (f64.sub + (f64.const 1) + (get_local $4) + ) + ) + ) + ) ) ) ) - ) - (set_local $10 - (f32.add - (get_local $9) - (get_local $8) + (set_local $4 + (f64.mul + (f64.const 0.5) + (call "$(lib)/math/NativeMath.log1p" + (f64.mul + (f64.const 2) + (f64.div + (get_local $4) + (f64.sub + (f64.const 1) + (get_local $4) + ) + ) + ) + ) + ) ) ) - (set_local $11 - (f32.mul - (f32.mul - (f32.const 0.5) + (return + (if (result f64) + (i64.ne + (get_local $3) + (i64.const 0) + ) + (f64.neg (get_local $4) ) (get_local $4) ) ) - (set_local $12 - (f32.convert_s/i32 - (get_local $2) - ) - ) + ) + (func $std/math/test_atanh (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) (return - (f32.add - (f32.add - (f32.sub - (f32.add - (f32.mul - (get_local $5) - (f32.add - (get_local $11) - (get_local $10) - ) + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.atanh" + (get_local $0) ) - (f32.mul - (get_local $12) - (f32.const 9.05800061445916e-06) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) ) - (get_local $11) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.atanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) (get_local $4) ) - (f32.mul - (get_local $12) - (f32.const 0.6931381225585938) - ) + (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.acosh" (; 59 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.atanh" (; 75 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (nop) + (local $3 f32) (set_local $1 (i32.reinterpret/f32 (get_local $0) ) ) (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 (i32.and (get_local $1) (i32.const 2147483647) ) ) + (set_local $3 + (f32.reinterpret/i32 + (get_local $1) + ) + ) (if (i32.lt_u - (get_local $2) - (i32.add + (get_local $1) + (i32.sub (i32.const 1065353216) (i32.shl (i32.const 1) @@ -4944,30 +4695,37 @@ ) ) ) - (return - (call "$(lib)/math/NativeMathf.log1p" - (f32.add - (f32.sub - (get_local $0) - (f32.const 1) + (if + (i32.ge_u + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 32) + (i32.const 23) ) - (f32.sqrt + ) + ) + (set_local $3 + (f32.mul + (f32.const 0.5) + (call "$(lib)/math/NativeMathf.log1p" (f32.add - (f32.mul - (f32.sub - (get_local $0) - (f32.const 1) - ) - (f32.sub - (get_local $0) - (f32.const 1) - ) - ) (f32.mul (f32.const 2) + (get_local $3) + ) + (f32.div + (f32.mul + (f32.mul + (f32.const 2) + (get_local $3) + ) + (get_local $3) + ) (f32.sub - (get_local $0) (f32.const 1) + (get_local $3) ) ) ) @@ -4975,37 +4733,17 @@ ) ) ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) - ) - ) - (return - (call "$(lib)/math/NativeMathf.log" - (f32.sub + (set_local $3 + (f32.mul + (f32.const 0.5) + (call "$(lib)/math/NativeMathf.log1p" (f32.mul (f32.const 2) - (get_local $0) - ) - (f32.div - (f32.const 1) - (f32.add - (get_local $0) - (f32.sqrt - (f32.sub - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) + (f32.div + (get_local $3) + (f32.sub + (f32.const 1) + (get_local $3) ) ) ) @@ -5014,18 +4752,19 @@ ) ) (return - (f32.add - (call "$(lib)/math/NativeMathf.log" - (get_local $0) + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) ) - (f32.const 0.6931471824645996) + (get_local $3) ) ) ) - (func $std/math/test_acoshf (; 60 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atanhf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.acosh" + (call "$(lib)/math/NativeMathf.atanh" (get_local $0) ) (get_local $1) @@ -5034,449 +4773,998 @@ ) ) ) - (func "$(lib)/math/NativeMath.asin" (; 61 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) - (local $2 i32) + (func "$(lib)/math/NativeMath.atan2" (; 77 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 f64) (local $3 i32) - (local $4 f64) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) + (local $4 i64) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f64) (nop) - (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) - ) - ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) (if - (i32.ge_u - (get_local $2) - (i32.const 1072693248) - ) - (block - (set_local $3 - (i32.wrap/i64 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $2) - (i32.const 1072693248) - ) - (get_local $3) - ) - (i32.const 0) - ) - (return - (f64.add - (f64.mul - (get_local $0) - (f64.const 1.5707963267948966) - ) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) + (i32.and + (if (result i32) + (tee_local $3 + (f64.ne + (tee_local $2 + (get_local $1) ) + (get_local $2) ) ) - ) - (return - (f64.div - (f64.const 0) - (f64.sub - (get_local $0) + (get_local $3) + (f64.ne + (tee_local $2 (get_local $0) ) + (get_local $2) ) ) + (i32.const 1) ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1071644672) - ) - (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 1045430272) - ) - ) - (i32.ge_u - (get_local $2) - (i32.const 1048576) - ) - (get_local $3) - ) - (i32.const 1) - ) - (return - (get_local $0) - ) - ) - (return - (f64.add - (get_local $0) - (f64.mul - (get_local $0) - (call "$(lib)/math/NativeMath.__R" - (f64.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) + (return + (f64.add + (get_local $1) + (get_local $0) ) ) ) (set_local $4 - (f64.mul - (f64.sub - (f64.const 1) - (f64.abs - (get_local $0) - ) - ) - (f64.const 0.5) + (i64.reinterpret/f64 + (get_local $1) ) ) (set_local $5 - (f64.sqrt - (get_local $4) + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 32) + ) ) ) (set_local $6 - (call "$(lib)/math/NativeMath.__R" + (i32.wrap/i64 (get_local $4) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 1072640819) + (set_local $4 + (i64.reinterpret/f64 + (get_local $0) ) - (set_local $0 - (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.mul - (f64.const 2) - (f64.add - (get_local $5) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $4) + (i64.const 32) + ) + ) + ) + (set_local $8 + (i32.wrap/i64 + (get_local $4) + ) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $5) + (i32.const 1072693248) + ) + (get_local $6) + ) + (i32.const 0) + ) + (return + (call "$(lib)/math/NativeMath.atan" + (get_local $0) + ) + ) + ) + (set_local $9 + (i32.or + (i32.and + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + (i32.const 1) + ) + (i32.and + (i32.shr_u + (get_local $5) + (i32.const 30) + ) + (i32.const 2) + ) + ) + ) + (set_local $5 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (set_local $7 + (i32.and + (get_local $7) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (i32.or + (get_local $7) + (get_local $8) + ) + (i32.const 0) + ) + (block $break|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $3 + (get_local $9) + ) + (br_if $case0|0 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|0) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.neg + (f64.const 3.141592653589793) + ) + ) + ) + ) + (if + (i32.eq + (i32.or + (get_local $5) + (get_local $6) + ) + (i32.const 0) + ) + (return + (if (result f64) + (i32.and + (get_local $9) + (i32.const 1) + ) + (f64.div + (f64.neg + (f64.const 3.141592653589793) + ) + (f64.const 2) + ) + (f64.div + (f64.const 3.141592653589793) + (f64.const 2) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2146435072) + ) + (if + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (set_local $3 + (get_local $9) + ) + (br_if $case0|1 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|1 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|1 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|1 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|1) + ) + (return + (f64.div + (f64.const 3.141592653589793) + (f64.const 4) + ) + ) + ) + (return + (f64.div + (f64.neg + (f64.const 3.141592653589793) + ) + (f64.const 4) + ) + ) + ) + (return + (f64.div (f64.mul - (get_local $5) - (get_local $6) + (f64.const 3) + (f64.const 3.141592653589793) ) + (f64.const 4) ) ) - (f64.const 6.123233995736766e-17) + ) + (return + (f64.div + (f64.mul + (f64.const -3) + (f64.const 3.141592653589793) + ) + (f64.const 4) + ) + ) + ) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (set_local $3 + (get_local $9) + ) + (br_if $case0|2 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|2 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|2 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|2 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|2) + ) + (return + (f64.const 0) + ) + ) + (return + (f64.const -0) + ) + ) + (return + (f64.const 3.141592653589793) + ) + ) + (return + (f64.neg + (f64.const 3.141592653589793) + ) ) ) ) - (block - (set_local $7 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (i32.add (get_local $5) + (i32.shl + (i32.const 64) + (i32.const 20) + ) ) - (i64.const -4294967296) + (get_local $7) ) ) + (get_local $3) + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) ) - (set_local $8 + (i32.const 1) + ) + (return + (if (result f64) + (i32.and + (get_local $9) + (i32.const 1) + ) (f64.div - (f64.sub - (get_local $4) - (f64.mul - (get_local $7) - (get_local $7) - ) + (f64.neg + (f64.const 3.141592653589793) ) - (f64.add - (get_local $5) - (get_local $7) + (f64.const 2) + ) + (f64.div + (f64.const 3.141592653589793) + (f64.const 2) + ) + ) + ) + ) + (if + (if (result i32) + (tee_local $3 + (i32.and + (get_local $9) + (i32.const 2) + ) + ) + (i32.lt_u + (i32.add + (get_local $7) + (i32.shl + (i32.const 64) + (i32.const 20) ) ) + (get_local $5) ) - (set_local $0 - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.const 1.5707963267948966) + (get_local $3) + ) + (set_local $10 + (f64.const 0) + ) + (set_local $10 + (call "$(lib)/math/NativeMath.atan" + (f64.abs + (f64.div + (get_local $0) + (get_local $1) ) - (f64.sub - (f64.sub - (f64.mul - (f64.mul - (f64.const 2) - (get_local $5) - ) - (get_local $6) + ) + ) + ) + ) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (set_local $3 + (get_local $9) + ) + (br_if $case0|3 + (i32.eq + (get_local $3) + (i32.const 0) ) - (f64.sub - (f64.const 6.123233995736766e-17) - (f64.mul - (f64.const 2) - (get_local $8) - ) + ) + (br_if $case1|3 + (i32.eq + (get_local $3) + (i32.const 1) ) ) - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.const 1.5707963267948966) + (br_if $case2|3 + (i32.eq + (get_local $3) + (i32.const 2) ) - (f64.mul - (f64.const 2) - (get_local $7) + ) + (br_if $case3|3 + (i32.eq + (get_local $3) + (i32.const 3) ) ) + (br $break|3) + ) + (return + (get_local $10) + ) + ) + (return + (f64.neg + (get_local $10) + ) + ) + ) + (return + (f64.sub + (f64.const 3.141592653589793) + (f64.sub + (get_local $10) + (f64.const 1.2246467991473532e-16) ) ) ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) ) (return - (f64.neg - (get_local $0) + (f64.sub + (f64.sub + (get_local $10) + (f64.const 1.2246467991473532e-16) + ) + (f64.const 3.141592653589793) ) ) ) + (unreachable) (return - (get_local $0) + (f64.const 0) ) ) - (func $std/math/test_asin (; 62 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) + (func $std/math/test_atan2 (; 78 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) (return (i32.and (if (result i32) - (tee_local $4 + (tee_local $5 (call $std/math/check - (call "$(lib)/math/NativeMath.asin" + (call "$(lib)/math/NativeMath.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) (if (result i32) - (tee_local $4 + (tee_local $5 (i32.eqz (i32.const 1) ) ) - (get_local $4) + (get_local $5) (call $std/math/check - (call "$(lib)/math/JSMath.asin" + (call "$(lib)/math/JSMath.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) - (get_local $4) + (get_local $5) ) (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMathf.asin" (; 63 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) + (func "$(lib)/math/NativeMathf.atan2" (; 79 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 f32) (local $3 i32) - (local $4 f32) - (local $5 f64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) + (if + (i32.and + (if (result i32) + (tee_local $3 + (f32.ne + (tee_local $2 + (get_local $1) + ) + (get_local $2) + ) + ) + (get_local $3) + (f32.ne + (tee_local $2 + (get_local $0) + ) + (get_local $2) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $1) + (get_local $0) + ) ) ) - (set_local $2 - (i32.and + (set_local $4 + (i32.reinterpret/f32 (get_local $1) - (i32.const 2147483647) + ) + ) + (set_local $5 + (i32.reinterpret/f32 + (get_local $0) ) ) (if - (i32.ge_u - (get_local $2) + (i32.eq + (get_local $4) (i32.const 1065353216) ) - (block - (if - (i32.eq - (get_local $2) - (i32.const 1065353216) - ) - (return - (f32.add - (f32.mul - (get_local $0) - (f32.const 1.5707963705062866) - ) - (f32.const 7.52316384526264e-37) - ) + (return + (call "$(lib)/math/NativeMathf.atan" + (get_local $0) + ) + ) + ) + (set_local $6 + (i32.or + (i32.and + (i32.shr_u + (get_local $5) + (i32.const 31) ) + (i32.const 1) ) - (return - (f32.div - (f32.const 0) - (f32.sub - (get_local $0) - (get_local $0) - ) + (i32.and + (i32.shr_u + (get_local $4) + (i32.const 30) ) + (i32.const 2) ) ) ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1056964608) + (set_local $4 + (i32.and + (get_local $4) + (i32.const 2147483647) ) - (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $2) - (i32.const 964689920) - ) - ) - (i32.ge_u - (get_local $2) - (i32.const 8388608) + ) + (set_local $5 + (i32.and + (get_local $5) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 0) + ) + (block $break|0 + (block $case3|0 + (block $case2|0 + (block $case1|0 + (block $case0|0 + (set_local $3 + (get_local $6) + ) + (br_if $case0|0 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|0 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|0 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|0 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|0) ) - (get_local $3) ) - (i32.const 1) + (return + (get_local $0) + ) ) (return - (get_local $0) + (f32.const 3.1415927410125732) ) ) (return - (f32.add - (get_local $0) - (f32.mul - (get_local $0) - (call "$(lib)/math/NativeMathf.__R" + (f32.neg + (f32.const 3.1415927410125732) + ) + ) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 0) + ) + (return + (if (result f32) + (i32.and + (get_local $6) + (i32.const 1) + ) + (f32.div + (f32.neg + (f32.const 3.1415927410125732) + ) + (f32.const 2) + ) + (f32.div + (f32.const 3.1415927410125732) + (f32.const 2) + ) + ) + ) + ) + (if + (i32.eq + (get_local $4) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + (block $break|1 + (block $case3|1 + (block $case2|1 + (block $case1|1 + (block $case0|1 + (set_local $3 + (get_local $6) + ) + (br_if $case0|1 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|1 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|1 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|1 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|1) + ) + (return + (f32.div + (f32.const 3.1415927410125732) + (f32.const 4) + ) + ) + ) + (return + (f32.div + (f32.neg + (f32.const 3.1415927410125732) + ) + (f32.const 4) + ) + ) + ) + (return + (f32.div (f32.mul - (get_local $0) - (get_local $0) + (f32.const 3) + (f32.const 3.1415927410125732) + ) + (f32.const 4) + ) + ) + ) + (return + (f32.div + (f32.mul + (f32.const -3) + (f32.const 3.1415927410125732) + ) + (f32.const 4) + ) + ) + ) + (block $break|2 + (block $case3|2 + (block $case2|2 + (block $case1|2 + (block $case0|2 + (set_local $3 + (get_local $6) + ) + (br_if $case0|2 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|2 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|2 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|2 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|2) + ) + (return + (f32.const 0) ) ) + (return + (f32.const 0) + ) + ) + (return + (f32.const 3.1415927410125732) + ) + ) + (return + (f32.neg + (f32.const 3.1415927410125732) ) ) ) ) ) - (set_local $4 - (f32.mul - (f32.sub - (f32.const 1) - (f32.abs - (get_local $0) + (if + (i32.and + (if (result i32) + (tee_local $3 + (i32.lt_u + (i32.add + (get_local $4) + (i32.shl + (i32.const 26) + (i32.const 23) + ) + ) + (get_local $5) + ) + ) + (get_local $3) + (i32.eq + (get_local $5) + (i32.const 2139095040) ) ) - (f32.const 0.5) + (i32.const 1) ) - ) - (set_local $5 - (f64.sqrt - (f64.promote/f32 - (get_local $4) + (return + (if (result f32) + (i32.and + (get_local $6) + (i32.const 1) + ) + (f32.div + (f32.neg + (f32.const 3.1415927410125732) + ) + (f32.const 2) + ) + (f32.div + (f32.const 3.1415927410125732) + (f32.const 2) + ) ) ) ) - (set_local $0 - (f32.demote/f64 - (f64.sub - (f64.promote/f32 - (f32.const 1.5707963705062866) + (nop) + (if + (if (result i32) + (tee_local $3 + (i32.and + (get_local $6) + (i32.const 2) ) - (f64.mul - (f64.promote/f32 - (f32.const 2) + ) + (i32.lt_u + (i32.add + (get_local $5) + (i32.shl + (i32.const 26) + (i32.const 23) ) - (f64.add - (get_local $5) - (f64.mul - (get_local $5) - (f64.promote/f32 - (call "$(lib)/math/NativeMathf.__R" - (get_local $4) - ) - ) - ) + ) + (get_local $4) + ) + (get_local $3) + ) + (set_local $7 + (f32.const 0) + ) + (set_local $7 + (call "$(lib)/math/NativeMathf.atan" + (f32.abs + (f32.div + (get_local $0) + (get_local $1) ) ) ) ) ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (block $break|3 + (block $case3|3 + (block $case2|3 + (block $case1|3 + (block $case0|3 + (set_local $3 + (get_local $6) + ) + (br_if $case0|3 + (i32.eq + (get_local $3) + (i32.const 0) + ) + ) + (br_if $case1|3 + (i32.eq + (get_local $3) + (i32.const 1) + ) + ) + (br_if $case2|3 + (i32.eq + (get_local $3) + (i32.const 2) + ) + ) + (br_if $case3|3 + (i32.eq + (get_local $3) + (i32.const 3) + ) + ) + (br $break|3) + ) + (return + (get_local $7) + ) + ) + (return + (f32.neg + (get_local $7) + ) + ) + ) + (return + (f32.sub + (f32.const 3.1415927410125732) + (f32.sub + (get_local $7) + (f32.const -8.742277657347586e-08) + ) + ) + ) ) (return - (f32.neg - (get_local $0) + (f32.sub + (f32.sub + (get_local $7) + (f32.const -8.742277657347586e-08) + ) + (f32.const 3.1415927410125732) ) ) ) + (unreachable) (return - (get_local $0) + (f32.const 0) ) ) - (func $std/math/test_asinf (; 64 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_atan2f (; 80 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.asin" + (call "$(lib)/math/NativeMathf.atan2" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) ) - (func "$(lib)/math/NativeMath.asinh" (; 65 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.cbrt" (; 81 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) - (local $2 i64) - (local $3 i64) + (local $2 i32) + (local $3 f64) + (local $4 f64) + (local $5 f64) + (local $6 f64) (nop) (set_local $1 (i64.reinterpret/f64 @@ -5484,137 +5772,219 @@ ) ) (set_local $2 - (i64.and - (i64.shr_u - (get_local $1) - (i64.const 52) + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) ) - (i64.const 2047) - ) - ) - (set_local $3 - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - ) - (set_local $1 - (i64.and - (get_local $1) - (i64.const 9223372036854775807) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) + (i32.const 2147483647) ) ) (if - (i64.ge_u + (i32.ge_u (get_local $2) - (i64.add - (i64.const 1023) - (i64.const 26) - ) + (i32.const 2146435072) ) - (set_local $0 + (return (f64.add - (call "$(lib)/math/NativeMath.log" - (get_local $0) - ) - (f64.const 0.6931471805599453) + (get_local $0) + (get_local $0) ) ) - (if - (i64.ge_u - (get_local $2) - (i64.add - (i64.const 1023) - (i64.const 1) + ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + (block + (set_local $1 + (i64.reinterpret/f64 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) ) ) - (set_local $0 - (call "$(lib)/math/NativeMath.log" - (f64.add - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.div - (f64.const 1) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) - ) - ) - (get_local $0) - ) + (set_local $2 + (i32.and + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) ) ) + (i32.const 2147483647) ) ) (if - (i64.ge_u + (i32.eq (get_local $2) - (i64.sub - (i64.const 1023) - (i64.const 26) - ) + (i32.const 0) ) - (set_local $0 - (call "$(lib)/math/NativeMath.log1p" - (f64.add - (get_local $0) - (f64.div - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.add - (f64.sqrt - (f64.add - (f64.mul - (get_local $0) - (get_local $0) - ) - (f64.const 1) - ) - ) - (f64.const 1) - ) - ) - ) + (return + (get_local $0) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) ) + (i32.const 696219795) + ) + ) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) ) + (i32.const 715094163) ) ) ) - (return - (if (result f64) - (i64.ne + (set_local $1 + (i64.and + (get_local $1) + (i64.shl + (i64.const 1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.or + (get_local $1) + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (get_local $3) (get_local $3) - (i64.const 0) ) - (f64.neg + (f64.div + (get_local $3) (get_local $0) ) - (get_local $0) ) ) - ) - (func $std/math/test_asinh (; 66 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.asinh" + (set_local $3 + (f64.mul + (get_local $3) + (f64.add + (f64.add + (f64.const 1.87595182427177) + (f64.mul + (get_local $4) + (f64.add + (f64.const -1.8849797954337717) + (f64.mul + (get_local $4) + (f64.const 1.6214297201053545) + ) + ) + ) + ) + (f64.mul + (f64.mul + (f64.mul + (get_local $4) + (get_local $4) + ) + (get_local $4) + ) + (f64.add + (f64.const -0.758397934778766) + (f64.mul + (get_local $4) + (f64.const 0.14599619288661245) + ) + ) + ) + ) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (i64.and + (i64.add + (i64.reinterpret/f64 + (get_local $3) + ) + (i64.const 2147483648) + ) + (i64.const -1073741824) + ) + ) + ) + (set_local $5 + (f64.mul + (get_local $3) + (get_local $3) + ) + ) + (set_local $4 + (f64.div + (get_local $0) + (get_local $5) + ) + ) + (set_local $6 + (f64.add + (get_local $3) + (get_local $3) + ) + ) + (set_local $4 + (f64.div + (f64.sub + (get_local $4) + (get_local $3) + ) + (f64.add + (get_local $6) + (get_local $4) + ) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (f64.mul + (get_local $3) + (get_local $4) + ) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/math/test_cbrt (; 82 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cbrt" (get_local $0) ) (get_local $1) @@ -5630,7 +6000,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.asinh" + (call "$(lib)/math/JSMath.cbrt" (get_local $0) ) (get_local $1) @@ -5644,10 +6014,11 @@ ) ) ) - (func "$(lib)/math/NativeMathf.asinh" (; 67 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.cbrt" (; 83 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (local $3 i32) + (local $3 f64) + (local $4 f64) (nop) (set_local $1 (i32.reinterpret/f32 @@ -5660,128 +6031,231 @@ (i32.const 2147483647) ) ) - (set_local $3 - (i32.shr_u - (get_local $1) - (i32.const 31) + (if + (i32.ge_u + (get_local $2) + (i32.const 2139095040) ) - ) - (set_local $1 - (get_local $2) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) + (return + (f32.add + (get_local $0) + (get_local $0) + ) ) ) (if - (i32.ge_u + (i32.lt_u (get_local $2) - (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) - ) + (i32.const 8388608) ) - (set_local $0 - (f32.add - (call "$(lib)/math/NativeMathf.log" + (block + (if + (i32.eq + (get_local $2) + (i32.const 0) + ) + (return (get_local $0) ) - (f32.const 0.6931471824645996) ) - ) - (if - (i32.ge_u - (get_local $2) + (set_local $1 + (i32.reinterpret/f32 + (f32.mul + (get_local $0) + (f32.const 16777216) + ) + ) + ) + (set_local $2 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $2 (i32.add - (i32.const 1065353216) - (i32.shl - (i32.const 1) - (i32.const 23) + (i32.div_u + (get_local $2) + (i32.const 3) ) + (i32.const 642849266) ) ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log" - (f32.add - (f32.mul - (f32.const 2) + ) + (set_local $2 + (i32.add + (i32.div_u + (get_local $2) + (i32.const 3) + ) + (i32.const 709958130) + ) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const -2147483648) + ) + ) + (set_local $1 + (i32.or + (get_local $1) + (get_local $2) + ) + ) + (set_local $3 + (f64.promote/f32 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (get_local $3) + (get_local $3) + ) + (get_local $3) + ) + ) + (set_local $3 + (f64.div + (f64.mul + (get_local $3) + (f64.add + (f64.add + (f64.promote/f32 (get_local $0) ) - (f32.div - (f32.const 1) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (get_local $0) - ) + (f64.promote/f32 + (get_local $0) ) ) + (get_local $4) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.sub - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) ) + (get_local $4) ) - (set_local $0 - (call "$(lib)/math/NativeMathf.log1p" - (f32.add + (get_local $4) + ) + ) + ) + (set_local $4 + (f64.mul + (f64.mul + (get_local $3) + (get_local $3) + ) + (get_local $3) + ) + ) + (set_local $3 + (f64.div + (f64.mul + (get_local $3) + (f64.add + (f64.add + (f64.promote/f32 (get_local $0) - (f32.div - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.add - (f32.sqrt - (f32.add - (f32.mul - (get_local $0) - (get_local $0) - ) - (f32.const 1) - ) - ) - (f32.const 1) - ) - ) ) + (f64.promote/f32 + (get_local $0) + ) + ) + (get_local $4) + ) + ) + (f64.add + (f64.add + (f64.promote/f32 + (get_local $0) ) + (get_local $4) ) + (get_local $4) ) ) ) (return - (if (result f32) + (f32.demote/f64 (get_local $3) - (f32.neg + ) + ) + ) + (func $std/math/test_cbrtf (; 84 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.cbrt" (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.ceil" (; 85 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.ceil + (get_local $0) + ) + ) + ) + (func $std/math/test_ceil (; 86 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.ceil" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.ceil" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.ceil" (; 87 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.ceil (get_local $0) ) ) ) - (func $std/math/test_asinhf (; 68 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_ceilf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.asinh" + (call "$(lib)/math/NativeMathf.ceil" (get_local $0) ) (get_local $1) @@ -5790,227 +6264,242 @@ ) ) ) - (func "$(lib)/math/NativeMath.atan" (; 69 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i32) + (func "$(lib)/math/NativeMath.expm1" (; 89 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) (local $2 i32) - (local $3 f64) - (local $4 f64) - (local $5 i32) + (local $3 i32) + (local $4 i32) + (local $5 f64) (local $6 f64) (local $7 f64) (local $8 f64) - (local $9 i32) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 i32) (nop) (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 32) ) - (i64.const 32) + (i64.const 2147483647) ) ) ) - (set_local $2 - (i32.shr_u - (get_local $1) - (i32.const 31) + (block + (set_local $3 + (i32.const 0) ) - ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) ) ) - (nop) (if (i32.ge_u - (get_local $1) - (i32.const 1141899264) + (get_local $2) + (i32.const 1078159482) ) (block (if (f64.ne - (tee_local $4 + (tee_local $5 (get_local $0) ) - (get_local $4) + (get_local $5) ) (return (get_local $0) ) ) - (set_local $3 - (f64.add - (f64.const 1.5707963267948966) - (f64.promote/f32 - (f32.const 7.52316384526264e-37) - ) + (if + (get_local $4) + (return + (f64.const -1) ) ) - (return - (if (result f64) - (get_local $2) - (f64.neg - (get_local $3) + (if + (f64.gt + (get_local $0) + (f64.const 709.782712893384) + ) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) ) - (get_local $3) ) ) ) ) - (nop) + (set_local $6 + (f64.const 0) + ) (if - (i32.lt_u - (get_local $1) - (i32.const 1071382528) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.const 1044381696) - ) - (return - (get_local $0) - ) - ) - (set_local $5 - (i32.const -1) - ) + (i32.gt_u + (get_local $2) + (i32.const 1071001154) ) (block - (set_local $0 - (f64.abs - (get_local $0) - ) - ) + (nop) (if (i32.lt_u - (get_local $1) - (i32.const 1072889856) + (get_local $2) + (i32.const 1072734898) ) (if - (i32.lt_u - (get_local $1) - (i32.const 1072037888) + (i32.eqz + (get_local $4) ) (block (set_local $5 - (i32.const 0) - ) - (set_local $0 - (f64.div - (f64.sub - (f64.mul - (f64.const 2) - (get_local $0) - ) - (f64.const 1) - ) - (f64.add - (f64.const 2) - (get_local $0) - ) + (f64.sub + (get_local $0) + (f64.const 0.6931471803691238) ) ) + (set_local $8 + (f64.const 1.9082149292705877e-10) + ) + (set_local $3 + (i32.const 1) + ) ) (block (set_local $5 - (i32.const 1) + (f64.add + (get_local $0) + (f64.const 0.6931471803691238) + ) ) - (set_local $0 - (f64.div - (f64.sub - (get_local $0) - (f64.const 1) - ) - (f64.add - (get_local $0) - (f64.const 1) - ) + (set_local $8 + (f64.neg + (f64.const 1.9082149292705877e-10) ) ) + (set_local $3 + (i32.const -1) + ) ) ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1073971200) - ) - (block - (set_local $5 - (i32.const 2) - ) - (set_local $0 - (f64.div - (f64.sub + (block + (set_local $3 + (i32.trunc_s/f64 + (f64.add + (f64.mul + (f64.const 1.4426950408889634) (get_local $0) - (f64.const 1.5) ) - (f64.add - (f64.const 1) - (f64.mul - (f64.const 1.5) - (get_local $0) - ) + (if (result f64) + (get_local $4) + (f64.const -0.5) + (f64.const 0.5) ) ) ) ) - (block - (set_local $5 - (i32.const 3) + (set_local $7 + (f64.convert_s/i32 + (get_local $3) ) - (set_local $0 - (f64.div - (f64.const -1) - (get_local $0) + ) + (set_local $5 + (f64.sub + (get_local $0) + (f64.mul + (get_local $7) + (f64.const 0.6931471803691238) ) ) ) + (set_local $8 + (f64.mul + (get_local $7) + (f64.const 1.9082149292705877e-10) + ) + ) + ) + ) + (set_local $0 + (f64.sub + (get_local $5) + (get_local $8) + ) + ) + (set_local $6 + (f64.sub + (f64.sub + (get_local $5) + (get_local $0) + ) + (get_local $8) ) ) ) + (if + (i32.lt_u + (get_local $2) + (i32.const 1016070144) + ) + (return + (get_local $0) + ) + ) ) - (set_local $3 + (set_local $9 (f64.mul - (get_local $0) + (f64.const 0.5) (get_local $0) ) ) - (set_local $6 + (set_local $10 (f64.mul - (get_local $3) - (get_local $3) + (get_local $0) + (get_local $9) ) ) - (set_local $7 - (f64.mul - (get_local $3) - (f64.add - (f64.const 0.3333333333333293) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.14285714272503466) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.09090887133436507) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.06661073137387531) - (f64.mul - (get_local $6) - (f64.add - (f64.const 0.049768779946159324) - (f64.mul - (get_local $6) - (f64.const 0.016285820115365782) - ) + (set_local $11 + (f64.add + (f64.const 1) + (f64.mul + (get_local $10) + (f64.add + (f64.const -0.03333333333333313) + (f64.mul + (get_local $10) + (f64.add + (f64.const 1.5873015872548146e-03) + (f64.mul + (get_local $10) + (f64.add + (f64.const -7.93650757867488e-05) + (f64.mul + (get_local $10) + (f64.add + (f64.const 4.008217827329362e-06) + (f64.mul + (get_local $10) + (f64.const -2.0109921818362437e-07) ) ) ) @@ -6022,1132 +6511,738 @@ ) ) ) - (set_local $8 + (set_local $7 + (f64.sub + (f64.const 3) + (f64.mul + (get_local $11) + (get_local $9) + ) + ) + ) + (set_local $12 (f64.mul - (get_local $6) - (f64.add - (f64.const -0.19999999999876483) - (f64.mul - (get_local $6) - (f64.add - (f64.const -0.11111110405462356) - (f64.mul - (get_local $6) - (f64.add - (f64.const -0.0769187620504483) - (f64.mul - (get_local $6) - (f64.add - (f64.const -0.058335701337905735) - (f64.mul - (get_local $6) - (f64.const -0.036531572744216916) - ) - ) - ) - ) - ) + (get_local $10) + (f64.div + (f64.sub + (get_local $11) + (get_local $7) + ) + (f64.sub + (f64.const 6) + (f64.mul + (get_local $0) + (get_local $7) ) ) ) ) ) (if - (i32.lt_s - (get_local $5) + (i32.eq + (get_local $3) (i32.const 0) ) (return (f64.sub (get_local $0) - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) + (f64.sub + (f64.mul + (get_local $0) + (get_local $12) ) + (get_local $10) ) ) ) ) - (block $break|0 - (block $case4|0 - (block $case3|0 - (block $case2|0 - (block $case1|0 - (block $case0|0 - (set_local $9 - (get_local $5) - ) - (br_if $case0|0 - (i32.eq - (get_local $9) - (i32.const 0) - ) - ) - (br_if $case1|0 - (i32.eq - (get_local $9) - (i32.const 1) - ) - ) - (br_if $case2|0 - (i32.eq - (get_local $9) - (i32.const 2) - ) - ) - (br_if $case3|0 - (i32.eq - (get_local $9) - (i32.const 3) - ) - ) - (br $case4|0) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.4636476090008061) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 2.2698777452961687e-17) - ) - (get_local $0) - ) - ) - ) - (br $break|0) - ) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.7853981633974483) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 3.061616997868383e-17) - ) - (get_local $0) - ) - ) - ) - (br $break|0) - ) - ) - (block - (set_local $3 - (f64.sub - (f64.const 0.982793723247329) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 1.3903311031230998e-17) - ) - (get_local $0) - ) - ) - ) - (br $break|0) + (set_local $12 + (f64.sub + (f64.mul + (get_local $0) + (f64.sub + (get_local $12) + (get_local $6) ) ) - (block - (set_local $3 + (get_local $6) + ) + ) + (set_local $12 + (f64.sub + (get_local $12) + (get_local $10) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const -1) + ) + (return + (f64.sub + (f64.mul + (f64.const 0.5) (f64.sub - (f64.const 1.5707963267948966) - (f64.sub - (f64.sub - (f64.mul - (get_local $0) - (f64.add - (get_local $7) - (get_local $8) - ) - ) - (f64.const 6.123233995736766e-17) - ) - (get_local $0) - ) + (get_local $0) + (get_local $12) ) ) - (br $break|0) + (f64.const 0.5) ) ) - (unreachable) ) - (return - (if (result f64) - (get_local $2) - (f64.neg - (get_local $3) - ) + (if + (i32.eq (get_local $3) + (i32.const 1) ) - ) - ) - (func $std/math/test_atan (; 70 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.atan" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (block + (if + (f64.lt + (get_local $0) + (f64.const -0.25) ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) + (return + (f64.mul + (f64.const -2) + (f64.sub + (get_local $12) + (f64.add + (get_local $0) + (f64.const 0.5) + ) ) ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.atan" + ) + ) + (return + (f64.add + (f64.const 1) + (f64.mul + (f64.const 2) + (f64.sub (get_local $0) + (get_local $12) ) - (get_local $1) - (get_local $2) - (get_local $3) ) ) - (get_local $4) ) - (i32.const 1) ) ) - ) - (func "$(lib)/math/NativeMathf.atan" (; 71 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (local $4 f32) - (local $5 i32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 i32) - (nop) (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.shr_u - (get_local $1) - (i32.const 31) + (i64.shl + (i64.add + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) + ) + ) + (i64.const 52) ) ) - (set_local $1 - (i32.and + (set_local $13 + (f64.reinterpret/i64 (get_local $1) - (i32.const 2147483647) ) ) (nop) (if - (i32.ge_u - (get_local $1) - (i32.const 1283457024) + (i32.and + (if (result i32) + (tee_local $15 + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + ) + (get_local $15) + (i32.gt_s + (get_local $3) + (i32.const 56) + ) + ) + (i32.const 1) ) (block - (if - (f32.ne - (tee_local $4 + (set_local $14 + (f64.add + (f64.sub (get_local $0) + (get_local $12) ) - (get_local $4) - ) - (return - (get_local $0) + (f64.const 1) ) ) - (set_local $3 - (f32.add - (f32.const 1.570796251296997) - (f32.const 7.52316384526264e-37) + (if + (i32.eq + (get_local $3) + (i32.const 1024) ) - ) - (return - (if (result f32) - (get_local $2) - (f32.neg - (get_local $3) + (set_local $14 + (f64.mul + (f64.mul + (get_local $14) + (f64.const 2) + ) + (f64.const 8988465674311579538646525e283) ) - (get_local $3) ) - ) - ) - ) - (nop) - (if - (i32.lt_u - (get_local $1) - (i32.const 1054867456) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.const 964689920) - ) - (return - (get_local $0) - ) - ) - (set_local $5 - (i32.const -1) - ) - ) - (block - (set_local $0 - (f32.abs - (get_local $0) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1066926080) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1060110336) - ) - (block - (set_local $5 - (i32.const 0) - ) - (set_local $0 - (f32.div - (f32.sub - (f32.mul - (f32.const 2) - (get_local $0) - ) - (f32.const 1) - ) - (f32.add - (f32.const 2) - (get_local $0) - ) - ) - ) - ) - (block - (set_local $5 - (i32.const 1) - ) - (set_local $0 - (f32.div - (f32.sub - (get_local $0) - (f32.const 1) - ) - (f32.add - (get_local $0) - (f32.const 1) - ) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1075576832) - ) - (block - (set_local $5 - (i32.const 2) - ) - (set_local $0 - (f32.div - (f32.sub - (get_local $0) - (f32.const 1.5) - ) - (f32.add - (f32.const 1) - (f32.mul - (f32.const 1.5) - (get_local $0) - ) - ) - ) - ) - ) - (block - (set_local $5 - (i32.const 3) - ) - (set_local $0 - (f32.div - (f32.const -1) - (get_local $0) - ) - ) + (set_local $14 + (f64.mul + (get_local $14) + (get_local $13) ) ) ) - ) - ) - (set_local $3 - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - (set_local $6 - (f32.mul - (get_local $3) - (get_local $3) - ) - ) - (set_local $7 - (f32.mul - (get_local $3) - (f32.add - (f32.const 0.333333283662796) - (f32.mul - (get_local $6) - (f32.add - (f32.const 0.14253635704517365) - (f32.mul - (get_local $6) - (f32.const 0.06168760731816292) - ) - ) + (return + (f64.sub + (get_local $14) + (f64.const 1) ) ) ) ) - (set_local $8 - (f32.mul - (get_local $6) - (f32.add - (f32.const -0.19999158382415771) - (f32.mul - (get_local $6) - (f32.const -0.106480173766613) + (set_local $1 + (i64.shl + (i64.sub + (i64.const 1023) + (i64.extend_u/i32 + (get_local $3) ) ) + (i64.const 52) ) ) (if (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (return - (f32.sub - (get_local $0) - (f32.mul - (get_local $0) - (f32.add - (get_local $7) - (get_local $8) - ) - ) - ) + (get_local $3) + (i32.const 20) ) - ) - (block $break|0 - (block $case4|0 - (block $case3|0 - (block $case2|0 - (block $case1|0 - (block $case0|0 - (set_local $9 - (get_local $5) - ) - (br_if $case0|0 - (i32.eq - (get_local $9) - (i32.const 0) - ) - ) - (br_if $case1|0 - (i32.eq - (get_local $9) - (i32.const 1) - ) - ) - (br_if $case2|0 - (i32.eq - (get_local $9) - (i32.const 2) - ) - ) - (br_if $case3|0 - (i32.eq - (get_local $9) - (i32.const 3) - ) - ) - (br $case4|0) - ) - (block - (set_local $3 - (f32.sub - (f32.const 0.46364760398864746) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $7) - (get_local $8) - ) - ) - (f32.const 5.01215824399992e-09) - ) - (get_local $0) - ) - ) - ) - (br $break|0) - ) - ) - (block - (set_local $3 - (f32.sub - (f32.const 0.7853981256484985) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $7) - (get_local $8) - ) - ) - (f32.const 3.774894707930798e-08) - ) - (get_local $0) - ) - ) - ) - (br $break|0) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (get_local $12) ) - ) - (block - (set_local $3 - (f32.sub - (f32.const 0.9827936887741089) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $7) - (get_local $8) - ) - ) - (f32.const 3.447321716976148e-08) - ) - (get_local $0) - ) + (f64.sub + (f64.const 1) + (f64.reinterpret/i64 + (get_local $1) ) ) - (br $break|0) ) + (get_local $13) ) - (block - (set_local $3 - (f32.sub - (f32.const 1.570796251296997) - (f32.sub - (f32.sub - (f32.mul - (get_local $0) - (f32.add - (get_local $7) - (get_local $8) - ) - ) - (f32.const 7.549789415861596e-08) + ) + (set_local $14 + (f64.mul + (f64.add + (f64.sub + (get_local $0) + (f64.add + (get_local $12) + (f64.reinterpret/i64 + (get_local $1) ) - (get_local $0) ) ) + (f64.const 1) ) - (br $break|0) - ) - ) - (unreachable) - ) - (return - (if (result f32) - (get_local $2) - (f32.neg - (get_local $3) + (get_local $13) ) - (get_local $3) ) ) - ) - (func $std/math/test_atanf (; 72 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.atan" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (get_local $14) ) ) - (func "$(lib)/math/NativeMath.cbrt" (; 73 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMath.exp" (; 90 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i32) (local $2 i32) (local $3 f64) (local $4 f64) (local $5 f64) - (local $6 f64) + (local $6 i32) + (local $7 f64) + (local $8 f64) + (local $9 f64) (nop) (set_local $1 - (i64.reinterpret/f64 - (get_local $0) + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $0) + ) + (i64.const 32) + ) ) ) (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 (i32.and - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) + (get_local $1) (i32.const 2147483647) ) ) (if (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (f64.add - (get_local $0) - (get_local $0) - ) - ) - ) - (if - (i32.lt_u - (get_local $2) - (i32.const 1048576) + (get_local $1) + (i32.const 1082532651) ) (block - (set_local $1 - (i64.reinterpret/f64 - (f64.mul + (if + (f64.ne + (tee_local $3 (get_local $0) - (f64.const 18014398509481984) ) + (get_local $3) ) - ) - (set_local $2 - (i32.and - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) - (i32.const 2147483647) + (return + (get_local $0) ) ) (if - (i32.eq - (get_local $2) - (i32.const 0) - ) - (return + (f64.gt (get_local $0) + (f64.const 709.782712893384) ) - ) - (set_local $2 - (i32.add - (i32.div_u - (get_local $2) - (i32.const 3) + (block + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 8988465674311579538646525e283) + ) + ) + (return + (get_local $0) ) - (i32.const 696219795) ) ) - ) - (set_local $2 - (i32.add - (i32.div_u - (get_local $2) - (i32.const 3) + (if + (f64.lt + (get_local $0) + (f64.const -745.1332191019411) + ) + (return + (f64.const 0) ) - (i32.const 715094163) ) ) ) - (set_local $1 - (i64.and - (get_local $1) - (i64.shl - (i64.const 1) - (i64.const 63) - ) - ) + (set_local $5 + (f64.const 0) ) - (set_local $1 - (i64.or - (get_local $1) - (i64.shl - (i64.extend_u/i32 - (get_local $2) - ) - (i64.const 32) - ) - ) + (set_local $6 + (i32.const 0) ) - (set_local $3 - (f64.reinterpret/i64 + (if + (i32.gt_u (get_local $1) + (i32.const 1071001154) ) - ) - (set_local $4 - (f64.mul - (f64.mul - (get_local $3) - (get_local $3) - ) - (f64.div - (get_local $3) - (get_local $0) - ) - ) - ) - (set_local $3 - (f64.mul - (get_local $3) - (f64.add - (f64.add - (f64.const 1.87595182427177) - (f64.mul - (get_local $4) + (block + (if + (i32.ge_u + (get_local $1) + (i32.const 1072734898) + ) + (set_local $6 + (i32.trunc_s/f64 (f64.add - (f64.const -1.8849797954337717) (f64.mul - (get_local $4) - (f64.const 1.6214297201053545) + (f64.const 1.4426950408889634) + (get_local $0) + ) + (f64.copysign + (f64.const 0.5) + (get_local $0) ) ) ) ) - (f64.mul - (f64.mul - (f64.mul - (get_local $4) - (get_local $4) + (set_local $6 + (i32.sub + (i32.sub + (i32.const 1) + (get_local $2) ) - (get_local $4) + (get_local $2) ) - (f64.add - (f64.const -0.758397934778766) - (f64.mul - (get_local $4) - (f64.const 0.14599619288661245) + ) + ) + (set_local $4 + (f64.sub + (get_local $0) + (f64.mul + (f64.convert_s/i32 + (get_local $6) ) + (f64.const 0.6931471803691238) ) ) ) - ) - ) - (set_local $3 - (f64.reinterpret/i64 - (i64.and - (i64.add - (i64.reinterpret/f64 - (get_local $3) + (set_local $5 + (f64.mul + (f64.convert_s/i32 + (get_local $6) ) - (i64.const 2147483648) + (f64.const 1.9082149292705877e-10) + ) + ) + (set_local $0 + (f64.sub + (get_local $4) + (get_local $5) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1043333120) + ) + (set_local $4 + (get_local $0) + ) + (return + (f64.add + (f64.const 1) + (get_local $0) ) - (i64.const -1073741824) ) ) ) - (set_local $5 + (set_local $7 (f64.mul - (get_local $3) - (get_local $3) + (get_local $0) + (get_local $0) ) ) - (set_local $4 - (f64.div + (set_local $8 + (f64.sub (get_local $0) - (get_local $5) + (f64.mul + (get_local $7) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $7) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $7) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $7) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $7) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) ) ) - (set_local $6 + (set_local $9 (f64.add - (get_local $3) - (get_local $3) - ) - ) - (set_local $4 - (f64.div - (f64.sub - (get_local $4) - (get_local $3) - ) + (f64.const 1) (f64.add - (get_local $6) + (f64.sub + (f64.div + (f64.mul + (get_local $0) + (get_local $8) + ) + (f64.sub + (f64.const 2) + (get_local $8) + ) + ) + (get_local $5) + ) (get_local $4) ) ) ) - (set_local $3 - (f64.add - (get_local $3) - (f64.mul - (get_local $3) - (get_local $4) - ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (return + (get_local $9) ) ) (return - (get_local $3) + (call "$(lib)/math/NativeMath.scalbn" + (get_local $9) + (get_local $6) + ) ) ) - (func $std/math/test_cbrt (; 74 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.cbrt" - (get_local $0) + (func "$(lib)/math/NativeMath.__expo2" (; 91 ;) (type $FF) (param $0 f64) (result f64) + (local $1 f64) + (nop) + (set_local $1 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.shl + (i32.add + (i32.const 1023) + (i32.div_u + (i32.const 2043) + (i32.const 2) + ) ) - (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 20) ) ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.cbrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) + (i64.const 32) + ) + ) + ) + (return + (f64.mul + (f64.mul + (call "$(lib)/math/NativeMath.exp" + (f64.sub + (get_local $0) + (f64.const 1416.0996898839683) ) ) - (get_local $4) + (get_local $1) ) - (i32.const 1) + (get_local $1) ) ) ) - (func "$(lib)/math/NativeMathf.cbrt" (; 75 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMath.cosh" (; 92 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) (local $2 i32) (local $3 f64) - (local $4 f64) - (nop) (set_local $1 - (i32.reinterpret/f32 + (i64.reinterpret/f64 (get_local $0) ) ) - (set_local $2 - (i32.and + (set_local $1 + (i64.and (get_local $1) - (i32.const 2147483647) + (i64.const 9223372036854775807) ) ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2139095040) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) ) - (return - (f32.add - (get_local $0) - (get_local $0) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) ) ) ) + (nop) (if (i32.lt_u (get_local $2) - (i32.const 8388608) + (i32.const 1072049730) ) (block (if - (i32.eq + (i32.lt_u (get_local $2) - (i32.const 0) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) ) (return - (get_local $0) - ) - ) - (set_local $1 - (i32.reinterpret/f32 - (f32.mul - (get_local $0) - (f32.const 16777216) - ) + (f64.const 1) ) ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) + (set_local $3 + (call "$(lib)/math/NativeMath.expm1" + (get_local $0) ) ) - (set_local $2 - (i32.add - (i32.div_u - (get_local $2) - (i32.const 3) + (return + (f64.add + (f64.const 1) + (f64.div + (f64.mul + (get_local $3) + (get_local $3) + ) + (f64.mul + (f64.const 2) + (f64.add + (f64.const 1) + (get_local $3) + ) + ) ) - (i32.const 642849266) - ) - ) - ) - (set_local $2 - (i32.add - (i32.div_u - (get_local $2) - (i32.const 3) ) - (i32.const 709958130) ) ) ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const -2147483648) - ) - ) - (set_local $1 - (i32.or - (get_local $1) + (if + (i32.lt_u (get_local $2) + (i32.const 1082535490) ) - ) - (set_local $3 - (f64.promote/f32 - (f32.reinterpret/i32 - (get_local $1) - ) - ) - ) - (set_local $4 - (f64.mul - (f64.mul - (get_local $3) - (get_local $3) + (block + (set_local $3 + (call "$(lib)/math/NativeMath.exp" + (get_local $0) + ) ) - (get_local $3) - ) - ) - (set_local $3 - (f64.div - (f64.mul - (get_local $3) - (f64.add + (return + (f64.mul + (f64.const 0.5) (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) + (get_local $3) + (f64.div + (f64.const 1) + (get_local $3) ) ) - (get_local $4) - ) - ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (get_local $4) ) - (get_local $4) ) ) ) - (set_local $4 - (f64.mul - (f64.mul - (get_local $3) - (get_local $3) - ) - (get_local $3) + (set_local $3 + (call "$(lib)/math/NativeMath.__expo2" + (get_local $0) ) ) - (set_local $3 - (f64.div - (f64.mul - (get_local $3) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 + (return + (get_local $3) + ) + ) + (func $std/math/test_cosh (; 93 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.cosh" (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (get_local $4) ) - ) - (f64.add - (f64.add - (f64.promote/f32 - (get_local $0) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) ) (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) (get_local $4) ) - ) - ) - (return - (f32.demote/f64 - (get_local $3) - ) - ) - ) - (func $std/math/test_cbrtf (; 76 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.cbrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) + (i32.const 1) ) ) ) - (func "$(lib)/math/NativeMath.expm1" (; 77 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.expm1" (; 94 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 f64) - (local $14 f64) + (local $4 f32) + (local $5 f32) + (local $6 i32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) (local $15 i32) (nop) (set_local $1 - (i64.reinterpret/f64 + (i32.reinterpret/f32 (get_local $0) ) ) (set_local $2 - (i32.wrap/i64 - (i64.and - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - (i64.const 2147483647) - ) + (i32.and + (get_local $1) + (i32.const 2147483647) ) ) - (block - (set_local $3 - (i32.const 0) - ) - (set_local $4 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - ) + (set_local $3 + (i32.shr_u + (get_local $1) + (i32.const 31) ) ) (if (i32.ge_u (get_local $2) - (i32.const 1078159482) + (i32.const 1100331076) ) (block (if - (f64.ne - (tee_local $5 - (get_local $0) - ) - (get_local $5) + (i32.gt_u + (get_local $2) + (i32.const 2139095040) ) (return (get_local $0) ) ) (if - (get_local $4) + (get_local $3) (return - (f64.const -1) + (f32.const -1) ) ) (if - (f64.gt + (f32.gt (get_local $0) - (f64.const 709.782712893384) + (f32.const 88.7216796875) ) (block (set_local $0 - (f64.mul + (f32.mul (get_local $0) - (f64.const 8988465674311579538646525e283) + (f32.const 1701411834604692317316873e14) ) ) (return @@ -7157,104 +7252,104 @@ ) ) ) - (set_local $6 - (f64.const 0) + (set_local $4 + (f32.const 0) ) (if (i32.gt_u (get_local $2) - (i32.const 1071001154) + (i32.const 1051816472) ) (block (nop) (if (i32.lt_u (get_local $2) - (i32.const 1072734898) + (i32.const 1065686418) ) (if (i32.eqz - (get_local $4) + (get_local $3) ) (block - (set_local $5 - (f64.sub + (set_local $7 + (f32.sub (get_local $0) - (f64.const 0.6931471803691238) + (f32.const 0.6931381225585938) ) ) (set_local $8 - (f64.const 1.9082149292705877e-10) + (f32.const 9.05800061445916e-06) ) - (set_local $3 + (set_local $6 (i32.const 1) ) ) (block - (set_local $5 - (f64.add + (set_local $7 + (f32.add (get_local $0) - (f64.const 0.6931471803691238) + (f32.const 0.6931381225585938) ) ) (set_local $8 - (f64.neg - (f64.const 1.9082149292705877e-10) + (f32.neg + (f32.const 9.05800061445916e-06) ) ) - (set_local $3 + (set_local $6 (i32.const -1) ) ) ) (block - (set_local $3 - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) + (set_local $6 + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) (get_local $0) ) - (if (result f64) - (get_local $4) - (f64.const -0.5) - (f64.const 0.5) + (if (result f32) + (get_local $3) + (f32.const -0.5) + (f32.const 0.5) ) ) ) ) - (set_local $7 - (f64.convert_s/i32 - (get_local $3) + (set_local $5 + (f32.convert_s/i32 + (get_local $6) ) ) - (set_local $5 - (f64.sub + (set_local $7 + (f32.sub (get_local $0) - (f64.mul - (get_local $7) - (f64.const 0.6931471803691238) + (f32.mul + (get_local $5) + (f32.const 0.6931381225585938) ) ) ) (set_local $8 - (f64.mul - (get_local $7) - (f64.const 1.9082149292705877e-10) + (f32.mul + (get_local $5) + (f32.const 9.05800061445916e-06) ) ) ) ) (set_local $0 - (f64.sub - (get_local $5) + (f32.sub + (get_local $7) (get_local $8) ) ) - (set_local $6 - (f64.sub - (f64.sub - (get_local $5) + (set_local $4 + (f32.sub + (f32.sub + (get_local $7) (get_local $0) ) (get_local $8) @@ -7264,80 +7359,65 @@ (if (i32.lt_u (get_local $2) - (i32.const 1016070144) + (i32.const 855638016) ) (return (get_local $0) ) + (set_local $6 + (i32.const 0) + ) ) ) (set_local $9 - (f64.mul - (f64.const 0.5) + (f32.mul + (f32.const 0.5) (get_local $0) ) ) (set_local $10 - (f64.mul + (f32.mul (get_local $0) (get_local $9) ) ) (set_local $11 - (f64.add - (f64.const 1) - (f64.mul + (f32.add + (f32.const 1) + (f32.mul (get_local $10) - (f64.add - (f64.const -0.03333333333333313) - (f64.mul + (f32.add + (f32.const -0.03333321213722229) + (f32.mul (get_local $10) - (f64.add - (f64.const 1.5873015872548146e-03) - (f64.mul - (get_local $10) - (f64.add - (f64.const -7.93650757867488e-05) - (f64.mul - (get_local $10) - (f64.add - (f64.const 4.008217827329362e-06) - (f64.mul - (get_local $10) - (f64.const -2.0109921818362437e-07) - ) - ) - ) - ) - ) - ) + (f32.const 1.5807170420885086e-03) ) ) ) ) ) - (set_local $7 - (f64.sub - (f64.const 3) - (f64.mul + (set_local $5 + (f32.sub + (f32.const 3) + (f32.mul (get_local $11) (get_local $9) ) ) ) (set_local $12 - (f64.mul + (f32.mul (get_local $10) - (f64.div - (f64.sub + (f32.div + (f32.sub (get_local $11) - (get_local $7) + (get_local $5) ) - (f64.sub - (f64.const 6) - (f64.mul + (f32.sub + (f32.const 6) + (f32.mul (get_local $0) - (get_local $7) + (get_local $5) ) ) ) @@ -7345,14 +7425,14 @@ ) (if (i32.eq - (get_local $3) + (get_local $6) (i32.const 0) ) (return - (f64.sub + (f32.sub (get_local $0) - (f64.sub - (f64.mul + (f32.sub + (f32.mul (get_local $0) (get_local $12) ) @@ -7362,71 +7442,71 @@ ) ) (set_local $12 - (f64.sub - (f64.mul + (f32.sub + (f32.mul (get_local $0) - (f64.sub + (f32.sub (get_local $12) - (get_local $6) + (get_local $4) ) ) - (get_local $6) + (get_local $4) ) ) (set_local $12 - (f64.sub + (f32.sub (get_local $12) (get_local $10) ) ) (if (i32.eq - (get_local $3) + (get_local $6) (i32.const -1) ) (return - (f64.sub - (f64.mul - (f64.const 0.5) - (f64.sub + (f32.sub + (f32.mul + (f32.const 0.5) + (f32.sub (get_local $0) (get_local $12) ) ) - (f64.const 0.5) + (f32.const 0.5) ) ) ) (if (i32.eq - (get_local $3) + (get_local $6) (i32.const 1) ) (block (if - (f64.lt + (f32.lt (get_local $0) - (f64.const -0.25) + (f32.const -0.25) ) (return - (f64.mul - (f64.const -2) - (f64.sub + (f32.mul + (f32.const -2) + (f32.sub (get_local $12) - (f64.add + (f32.add (get_local $0) - (f64.const 0.5) + (f32.const 0.5) ) ) ) ) ) (return - (f64.add - (f64.const 1) - (f64.mul - (f64.const 2) - (f64.sub + (f32.add + (f32.const 1) + (f32.mul + (f32.const 2) + (f32.sub (get_local $0) (get_local $12) ) @@ -7436,18 +7516,16 @@ ) ) (set_local $1 - (i64.shl - (i64.add - (i64.const 1023) - (i64.extend_u/i32 - (get_local $3) - ) + (i32.shl + (i32.add + (i32.const 127) + (get_local $6) ) - (i64.const 52) + (i32.const 23) ) ) (set_local $13 - (f64.reinterpret/i64 + (f32.reinterpret/i32 (get_local $1) ) ) @@ -7457,13 +7535,13 @@ (if (result i32) (tee_local $15 (i32.lt_s - (get_local $3) + (get_local $6) (i32.const 0) ) ) (get_local $15) (i32.gt_s - (get_local $3) + (get_local $6) (i32.const 56) ) ) @@ -7471,69 +7549,67 @@ ) (block (set_local $14 - (f64.add - (f64.sub + (f32.add + (f32.sub (get_local $0) (get_local $12) ) - (f64.const 1) + (f32.const 1) ) ) (if (i32.eq - (get_local $3) - (i32.const 1024) + (get_local $6) + (i32.const 128) ) (set_local $14 - (f64.mul - (f64.mul + (f32.mul + (f32.mul (get_local $14) - (f64.const 2) + (f32.const 2) ) - (f64.const 8988465674311579538646525e283) + (f32.const 1701411834604692317316873e14) ) ) (set_local $14 - (f64.mul + (f32.mul (get_local $14) (get_local $13) ) ) ) (return - (f64.sub + (f32.sub (get_local $14) - (f64.const 1) + (f32.const 1) ) ) ) ) (set_local $1 - (i64.shl - (i64.sub - (i64.const 1023) - (i64.extend_u/i32 - (get_local $3) - ) + (i32.shl + (i32.sub + (i32.const 127) + (get_local $6) ) - (i64.const 52) + (i32.const 23) ) ) (if (i32.lt_s - (get_local $3) - (i32.const 20) + (get_local $6) + (i32.const 23) ) (set_local $14 - (f64.mul - (f64.add - (f64.sub + (f32.mul + (f32.add + (f32.sub (get_local $0) (get_local $12) ) - (f64.sub - (f64.const 1) - (f64.reinterpret/i64 + (f32.sub + (f32.const 1) + (f32.reinterpret/i32 (get_local $1) ) ) @@ -7542,18 +7618,18 @@ ) ) (set_local $14 - (f64.mul - (f64.add - (f64.sub + (f32.mul + (f32.add + (f32.sub (get_local $0) - (f64.add + (f32.add (get_local $12) - (f64.reinterpret/i64 + (f32.reinterpret/i32 (get_local $1) ) ) ) - (f64.const 1) + (f32.const 1) ) (get_local $13) ) @@ -7563,25 +7639,20 @@ (get_local $14) ) ) - (func "$(lib)/math/NativeMath.exp" (; 78 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMathf.exp" (; 95 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) - (local $3 f64) - (local $4 f64) - (local $5 f64) + (local $3 i32) + (local $4 f32) + (local $5 f32) (local $6 i32) - (local $7 f64) - (local $8 f64) - (local $9 f64) + (local $7 f32) + (local $8 f32) + (local $9 f32) (nop) (set_local $1 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $0) - ) - (i64.const 32) - ) + (i32.reinterpret/f32 + (get_local $0) ) ) (set_local $2 @@ -7599,30 +7670,30 @@ (if (i32.ge_u (get_local $1) - (i32.const 1082532651) + (i32.const 1118743632) ) (block (if - (f64.ne - (tee_local $3 - (get_local $0) + (i32.and + (if (result i32) + (tee_local $3 + (i32.ge_u + (get_local $1) + (i32.const 1118925336) + ) + ) + (i32.eqz + (get_local $2) + ) + (get_local $3) ) - (get_local $3) - ) - (return - (get_local $0) - ) - ) - (if - (f64.gt - (get_local $0) - (f64.const 709.782712893384) + (i32.const 1) ) (block (set_local $0 - (f64.mul + (f32.mul (get_local $0) - (f64.const 8988465674311579538646525e283) + (f32.const 1701411834604692317316873e14) ) ) (return @@ -7631,42 +7702,42 @@ ) ) (if - (f64.lt - (get_local $0) - (f64.const -745.1332191019411) + (if (result i32) + (get_local $2) + (i32.ge_u + (get_local $1) + (i32.const 1120924085) + ) + (get_local $2) ) (return - (f64.const 0) + (f32.const 0) ) ) ) ) - (set_local $5 - (f64.const 0) - ) - (set_local $6 - (i32.const 0) - ) + (nop) + (nop) (if (i32.gt_u (get_local $1) - (i32.const 1071001154) + (i32.const 1051816472) ) (block (if - (i32.ge_u + (i32.gt_u (get_local $1) - (i32.const 1072734898) + (i32.const 1065686418) ) (set_local $6 - (i32.trunc_s/f64 - (f64.add - (f64.mul - (f64.const 1.4426950408889634) + (i32.trunc_s/f32 + (f32.add + (f32.mul + (f32.const 1.4426950216293335) (get_local $0) ) - (f64.copysign - (f64.const 0.5) + (f32.copysign + (f32.const 0.5) (get_local $0) ) ) @@ -7683,26 +7754,26 @@ ) ) (set_local $4 - (f64.sub + (f32.sub (get_local $0) - (f64.mul - (f64.convert_s/i32 + (f32.mul + (f32.convert_s/i32 (get_local $6) ) - (f64.const 0.6931471803691238) + (f32.const 0.693145751953125) ) ) ) (set_local $5 - (f64.mul - (f64.convert_s/i32 + (f32.mul + (f32.convert_s/i32 (get_local $6) ) - (f64.const 1.9082149292705877e-10) + (f32.const 1.428606765330187e-06) ) ) (set_local $0 - (f64.sub + (f32.sub (get_local $4) (get_local $5) ) @@ -7711,70 +7782,60 @@ (if (i32.gt_u (get_local $1) - (i32.const 1043333120) + (i32.const 956301312) ) - (set_local $4 - (get_local $0) + (block + (set_local $6 + (i32.const 0) + ) + (set_local $4 + (get_local $0) + ) + (set_local $5 + (f32.const 0) + ) ) (return - (f64.add - (f64.const 1) + (f32.add + (f32.const 1) (get_local $0) ) ) ) ) (set_local $7 - (f64.mul + (f32.mul (get_local $0) (get_local $0) ) ) (set_local $8 - (f64.sub + (f32.sub (get_local $0) - (f64.mul + (f32.mul (get_local $7) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul + (f32.add + (f32.const 0.16666625440120697) + (f32.mul (get_local $7) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $7) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $7) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $7) - (f64.const 4.1381367970572385e-08) - ) - ) - ) - ) - ) - ) + (f32.const -2.7667332906275988e-03) ) ) ) ) ) (set_local $9 - (f64.add - (f64.const 1) - (f64.add - (f64.sub - (f64.div - (f64.mul + (f32.add + (f32.const 1) + (f32.add + (f32.sub + (f32.div + (f32.mul (get_local $0) (get_local $8) ) - (f64.sub - (f64.const 2) + (f32.sub + (f32.const 2) (get_local $8) ) ) @@ -7794,41 +7855,36 @@ ) ) (return - (call "$(lib)/math/NativeMath.scalbn" + (call "$(lib)/math/NativeMathf.scalbn" (get_local $9) (get_local $6) ) ) ) - (func "$(lib)/math/NativeMath.__expo2" (; 79 ;) (type $FF) (param $0 f64) (result f64) - (local $1 f64) + (func "$(lib)/math/NativeMathf.__expo2" (; 96 ;) (type $ff) (param $0 f32) (result f32) + (local $1 f32) (nop) (set_local $1 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.shl - (i32.add - (i32.const 1023) - (i32.div_u - (i32.const 2043) - (i32.const 2) - ) - ) - (i32.const 20) + (f32.reinterpret/i32 + (i32.shl + (i32.add + (i32.const 127) + (i32.div_u + (i32.const 235) + (i32.const 2) ) ) - (i64.const 32) + (i32.const 23) ) ) ) (return - (f64.mul - (f64.mul - (call "$(lib)/math/NativeMath.exp" - (f64.sub + (f32.mul + (f32.mul + (call "$(lib)/math/NativeMathf.exp" + (f32.sub (get_local $0) - (f64.const 1416.0996898839683) + (f32.const 162.88958740234375) ) ) (get_local $1) @@ -7837,74 +7893,64 @@ ) ) ) - (func "$(lib)/math/NativeMath.cosh" (; 80 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i32) - (local $3 f64) + (func "$(lib)/math/NativeMathf.cosh" (; 97 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) (set_local $1 - (i64.reinterpret/f64 + (i32.reinterpret/f32 (get_local $0) ) ) (set_local $1 - (i64.and + (i32.and (get_local $1) - (i64.const 9223372036854775807) + (i32.const 2147483647) ) ) (set_local $0 - (f64.reinterpret/i64 + (f32.reinterpret/i32 (get_local $1) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) - ) - (nop) (if (i32.lt_u - (get_local $2) - (i32.const 1072049730) + (get_local $1) + (i32.const 1060205079) ) (block (if (i32.lt_u - (get_local $2) + (get_local $1) (i32.sub - (i32.const 1072693248) + (i32.const 1065353216) (i32.shl - (i32.const 26) - (i32.const 20) + (i32.const 12) + (i32.const 23) ) ) ) (return - (f64.const 1) + (f32.const 1) ) ) - (set_local $3 - (call "$(lib)/math/NativeMath.expm1" + (set_local $2 + (call "$(lib)/math/NativeMathf.expm1" (get_local $0) ) ) (return - (f64.add - (f64.const 1) - (f64.div - (f64.mul - (get_local $3) - (get_local $3) + (f32.add + (f32.const 1) + (f32.div + (f32.mul + (get_local $2) + (get_local $2) ) - (f64.mul - (f64.const 2) - (f64.add - (f64.const 1) - (get_local $3) + (f32.mul + (f32.const 2) + (f32.add + (f32.const 1) + (get_local $2) ) ) ) @@ -7914,46 +7960,55 @@ ) (if (i32.lt_u - (get_local $2) - (i32.const 1082535490) + (get_local $1) + (i32.const 1118925335) ) (block - (set_local $3 - (call "$(lib)/math/NativeMath.exp" + (set_local $2 + (call "$(lib)/math/NativeMathf.exp" (get_local $0) ) ) (return - (f64.mul - (f64.const 0.5) - (f64.add - (get_local $3) - (f64.div - (f64.const 1) - (get_local $3) + (f32.mul + (f32.const 0.5) + (f32.add + (get_local $2) + (f32.div + (f32.const 1) + (get_local $2) ) ) ) ) ) ) - (set_local $3 - (call "$(lib)/math/NativeMath.__expo2" + (return + (call "$(lib)/math/NativeMathf.__expo2" (get_local $0) ) ) + ) + (func $std/math/test_coshf (; 98 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return - (get_local $3) + (call $std/math/check + (call "$(lib)/math/NativeMathf.cosh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) ) ) - (func $std/math/test_cosh (; 81 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_exp (; 99 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.cosh" + (call "$(lib)/math/NativeMath.exp" (get_local $0) ) (get_local $1) @@ -7969,7 +8024,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.cosh" + (call "$(lib)/math/JSMath.exp" (get_local $0) ) (get_local $1) @@ -7983,837 +8038,692 @@ ) ) ) - (func "$(lib)/math/NativeMathf.expm1" (; 82 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 i32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) - (local $15 i32) - (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (set_local $3 - (i32.shr_u + (func $std/math/test_expf (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.exp" + (get_local $0) + ) (get_local $1) - (i32.const 31) - ) - ) - (if - (i32.ge_u (get_local $2) - (i32.const 1100331076) + (get_local $3) ) - (block - (if - (i32.gt_u - (get_local $2) - (i32.const 2139095040) - ) - (return - (get_local $0) - ) - ) - (if - (get_local $3) - (return - (f32.const -1) - ) - ) - (if - (f32.gt - (get_local $0) - (f32.const 88.7216796875) - ) - (block - (set_local $0 - (f32.mul + ) + ) + (func $std/math/test_expm1 (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.expm1" (get_local $0) - (f32.const 1701411834604692317316873e14) ) + (get_local $1) + (get_local $2) + (get_local $3) ) - (return - (get_local $0) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.expm1" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) + (i32.const 1) ) ) - (set_local $4 - (f32.const 0) - ) - (if - (i32.gt_u + ) + (func $std/math/test_expm1f (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.expm1" + (get_local $0) + ) + (get_local $1) (get_local $2) - (i32.const 1051816472) + (get_local $3) ) - (block - (nop) - (if - (i32.lt_u - (get_local $2) - (i32.const 1065686418) - ) - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $7 - (f32.sub - (get_local $0) - (f32.const 0.6931381225585938) - ) - ) - (set_local $8 - (f32.const 9.05800061445916e-06) - ) - (set_local $6 - (i32.const 1) - ) - ) - (block - (set_local $7 - (f32.add - (get_local $0) - (f32.const 0.6931381225585938) - ) - ) - (set_local $8 - (f32.neg - (f32.const 9.05800061445916e-06) - ) - ) - (set_local $6 - (i32.const -1) + ) + ) + (func "$(lib)/math/NativeMath.floor" (; 103 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.floor + (get_local $0) + ) + ) + ) + (func $std/math/test_floor (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.floor" + (get_local $0) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (block - (set_local $6 - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) - ) - (if (result f32) - (get_local $3) - (f32.const -0.5) - (f32.const 0.5) - ) - ) - ) - ) - (set_local $5 - (f32.convert_s/i32 - (get_local $6) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) ) ) - (set_local $7 - (f32.sub + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.floor" (get_local $0) - (f32.mul - (get_local $5) - (f32.const 0.6931381225585938) - ) - ) - ) - (set_local $8 - (f32.mul - (get_local $5) - (f32.const 9.05800061445916e-06) ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) + (get_local $4) ) - (set_local $0 - (f32.sub - (get_local $7) - (get_local $8) - ) - ) - (set_local $4 - (f32.sub - (f32.sub - (get_local $7) - (get_local $0) - ) - (get_local $8) - ) - ) + (i32.const 1) ) - (if - (i32.lt_u - (get_local $2) - (i32.const 855638016) - ) - (return + ) + ) + (func "$(lib)/math/NativeMathf.floor" (; 105 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.floor + (get_local $0) + ) + ) + ) + (func $std/math/test_floorf (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.floor" (get_local $0) ) - (set_local $6 - (i32.const 0) - ) + (get_local $1) + (get_local $2) + (get_local $3) ) ) - (set_local $9 - (f32.mul - (f32.const 0.5) + ) + (func "$(lib)/math/NativeMath.hypot" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i64) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (local $9 f64) + (local $10 f64) + (local $11 f64) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (nop) + (set_local $2 + (i64.reinterpret/f64 (get_local $0) ) ) - (set_local $10 - (f32.mul - (get_local $0) - (get_local $9) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) ) ) - (set_local $11 - (f32.add - (f32.const 1) - (f32.mul - (get_local $10) - (f32.add - (f32.const -0.03333321213722229) - (f32.mul - (get_local $10) - (f32.const 1.5807170420885086e-03) - ) - ) + (set_local $2 + (i64.and + (get_local $2) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (i64.and + (get_local $3) + (i64.const 9223372036854775807) + ) + ) + (if + (i64.lt_u + (get_local $2) + (get_local $3) + ) + (block + (set_local $4 + (get_local $2) + ) + (set_local $2 + (get_local $3) + ) + (set_local $3 + (get_local $4) ) ) ) (set_local $5 - (f32.sub - (f32.const 3) - (f32.mul - (get_local $11) - (get_local $9) + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 52) ) ) ) - (set_local $12 - (f32.mul - (get_local $10) - (f32.div - (f32.sub - (get_local $11) - (get_local $5) - ) - (f32.sub - (f32.const 6) - (f32.mul - (get_local $0) - (get_local $5) - ) - ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 52) ) ) ) + (set_local $1 + (f64.reinterpret/i64 + (get_local $3) + ) + ) (if (i32.eq (get_local $6) - (i32.const 0) + (i32.const 2047) ) (return - (f32.sub - (get_local $0) - (f32.sub - (f32.mul - (get_local $0) - (get_local $12) - ) - (get_local $10) - ) - ) + (get_local $1) ) ) - (set_local $12 - (f32.sub - (f32.mul - (get_local $0) - (f32.sub - (get_local $12) - (get_local $4) + (set_local $0 + (f64.reinterpret/i64 + (get_local $2) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $7 + (i32.eq + (get_local $5) + (i32.const 2047) + ) + ) + (get_local $7) + (i64.eq + (get_local $3) + (i64.const 0) ) ) - (get_local $4) + (i32.const 1) ) - ) - (set_local $12 - (f32.sub - (get_local $12) - (get_local $10) + (return + (get_local $0) ) ) (if - (i32.eq - (get_local $6) - (i32.const -1) + (i32.gt_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 64) ) (return - (f32.sub - (f32.mul - (f32.const 0.5) - (f32.sub - (get_local $0) - (get_local $12) - ) - ) - (f32.const 0.5) + (f64.add + (get_local $0) + (get_local $1) ) ) ) + (set_local $8 + (f64.const 1) + ) (if - (i32.eq - (get_local $6) - (i32.const 1) + (i32.gt_s + (get_local $5) + (i32.add + (i32.const 1023) + (i32.const 510) + ) ) (block - (if - (f32.lt + (set_local $8 + (f64.const 5260135901548373507240989e186) + ) + (set_local $0 + (f64.mul (get_local $0) - (f32.const -0.25) + (f64.const 1.90109156629516e-211) ) - (return - (f32.mul - (f32.const -2) - (f32.sub - (get_local $12) - (f32.add - (get_local $0) - (f32.const 0.5) - ) - ) - ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 1.90109156629516e-211) ) ) - (return - (f32.add - (f32.const 1) - (f32.mul - (f32.const 2) - (f32.sub - (get_local $0) - (get_local $12) - ) + ) + (if + (i32.lt_s + (get_local $6) + (i32.sub + (i32.const 1023) + (i32.const 450) + ) + ) + (block + (set_local $8 + (f64.const 1.90109156629516e-211) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 5260135901548373507240989e186) + ) + ) + (set_local $1 + (f64.mul + (get_local $1) + (f64.const 5260135901548373507240989e186) ) ) ) ) ) - (set_local $1 - (i32.shl - (i32.add - (i32.const 127) - (get_local $6) + (set_local $9 + (f64.mul + (get_local $0) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $0) + (get_local $9) ) - (i32.const 23) + (get_local $9) ) ) - (set_local $13 - (f32.reinterpret/i32 - (get_local $1) + (set_local $11 + (f64.sub + (get_local $0) + (get_local $10) ) ) - (nop) - (if - (i32.and - (if (result i32) - (tee_local $15 - (i32.lt_s - (get_local $6) - (i32.const 0) + (set_local $12 + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + (set_local $13 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) ) + (get_local $12) ) - (get_local $15) - (i32.gt_s - (get_local $6) - (i32.const 56) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) + ) + (get_local $11) ) ) - (i32.const 1) + (f64.mul + (get_local $11) + (get_local $11) + ) ) - (block - (set_local $14 - (f32.add - (f32.sub - (get_local $0) - (get_local $12) - ) - (f32.const 1) - ) + ) + (set_local $9 + (f64.mul + (get_local $1) + (f64.const 134217729) + ) + ) + (set_local $10 + (f64.add + (f64.sub + (get_local $1) + (get_local $9) ) - (if - (i32.eq - (get_local $6) - (i32.const 128) - ) - (set_local $14 - (f32.mul - (f32.mul - (get_local $14) - (f32.const 2) - ) - (f32.const 1701411834604692317316873e14) + (get_local $9) + ) + ) + (set_local $11 + (f64.sub + (get_local $1) + (get_local $10) + ) + ) + (set_local $14 + (f64.mul + (get_local $1) + (get_local $1) + ) + ) + (set_local $15 + (f64.add + (f64.add + (f64.sub + (f64.mul + (get_local $10) + (get_local $10) ) + (get_local $14) ) - (set_local $14 - (f32.mul - (get_local $14) - (get_local $13) + (f64.mul + (f64.mul + (f64.const 2) + (get_local $10) ) + (get_local $11) ) ) - (return - (f32.sub - (get_local $14) - (f32.const 1) - ) + (f64.mul + (get_local $11) + (get_local $11) ) ) ) - (set_local $1 - (i32.shl - (i32.sub - (i32.const 127) - (get_local $6) + (return + (f64.mul + (get_local $8) + (f64.sqrt + (f64.add + (f64.add + (f64.add + (get_local $15) + (get_local $13) + ) + (get_local $14) + ) + (get_local $12) + ) ) - (i32.const 23) ) ) - (if - (i32.lt_s - (get_local $6) - (i32.const 23) - ) - (set_local $14 - (f32.mul - (f32.add - (f32.sub - (get_local $0) - (get_local $12) - ) - (f32.sub - (f32.const 1) - (f32.reinterpret/i32 + ) + (func $std/math/test_hypot (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.hypot" + (get_local $0) (get_local $1) ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (get_local $13) - ) - ) - (set_local $14 - (f32.mul - (f32.add - (f32.sub - (get_local $0) - (f32.add - (get_local $12) - (f32.reinterpret/i32 - (get_local $1) - ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) ) ) - (f32.const 1) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.hypot" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) ) - (get_local $13) + (get_local $5) ) + (i32.const 1) ) ) - (return - (get_local $14) - ) ) - (func "$(lib)/math/NativeMathf.exp" (; 83 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) + (func "$(lib)/math/NativeMathf.hypot" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) (local $2 i32) (local $3 i32) - (local $4 f32) + (local $4 i32) (local $5 f32) - (local $6 i32) - (local $7 f32) - (local $8 f32) - (local $9 f32) (nop) - (set_local $1 + (set_local $2 (i32.reinterpret/f32 (get_local $0) ) ) - (set_local $2 - (i32.shr_u + (set_local $3 + (i32.reinterpret/f32 (get_local $1) - (i32.const 31) ) ) - (set_local $1 + (set_local $2 (i32.and - (get_local $1) + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $3 + (i32.and + (get_local $3) (i32.const 2147483647) ) ) (if - (i32.ge_u - (get_local $1) - (i32.const 1118743632) + (i32.lt_u + (get_local $2) + (get_local $3) ) (block - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.ge_u - (get_local $1) - (i32.const 1118925336) - ) - ) - (i32.eqz - (get_local $2) - ) - (get_local $3) - ) - (i32.const 1) - ) - (block - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 1701411834604692317316873e14) - ) - ) - (return - (get_local $0) - ) - ) + (set_local $4 + (get_local $2) ) - (if - (if (result i32) - (get_local $2) - (i32.ge_u - (get_local $1) - (i32.const 1120924085) - ) - (get_local $2) - ) - (return - (f32.const 0) - ) + (set_local $2 + (get_local $3) + ) + (set_local $3 + (get_local $4) ) ) ) - (nop) - (nop) + (set_local $0 + (f32.reinterpret/i32 + (get_local $2) + ) + ) + (set_local $1 + (f32.reinterpret/i32 + (get_local $3) + ) + ) (if - (i32.gt_u + (i32.eq + (get_local $3) + (i32.shl + (i32.const 255) + (i32.const 23) + ) + ) + (return (get_local $1) - (i32.const 1051816472) ) - (block - (if - (i32.gt_u - (get_local $1) - (i32.const 1065686418) - ) - (set_local $6 - (i32.trunc_s/f32 - (f32.add - (f32.mul - (f32.const 1.4426950216293335) - (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.and + (if (result i32) + (tee_local $4 + (i32.ge_u + (get_local $2) + (i32.shl + (i32.const 255) + (i32.const 23) + ) + ) ) - (f32.copysign - (f32.const 0.5) - (get_local $0) + (get_local $4) + (i32.eq + (get_local $3) + (i32.const 0) ) ) + (i32.const 1) ) ) - (set_local $6 + (get_local $4) + (i32.ge_u (i32.sub - (i32.sub - (i32.const 1) - (get_local $2) - ) (get_local $2) + (get_local $3) + ) + (i32.shl + (i32.const 25) + (i32.const 23) ) ) ) - (set_local $4 - (f32.sub - (get_local $0) - (f32.mul - (f32.convert_s/i32 - (get_local $6) - ) - (f32.const 0.693145751953125) - ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $5 + (f32.const 1) + ) + (if + (i32.ge_u + (get_local $2) + (i32.shl + (i32.add + (i32.const 127) + (i32.const 60) ) + (i32.const 23) ) + ) + (block (set_local $5 + (f32.const 1237940039285380274899124e3) + ) + (set_local $0 (f32.mul - (f32.convert_s/i32 - (get_local $6) - ) - (f32.const 1.428606765330187e-06) + (get_local $0) + (f32.const 8.077935669463161e-28) ) ) - (set_local $0 - (f32.sub - (get_local $4) - (get_local $5) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 8.077935669463161e-28) ) ) ) (if - (i32.gt_u - (get_local $1) - (i32.const 956301312) + (i32.lt_u + (get_local $3) + (i32.shl + (i32.sub + (i32.const 127) + (i32.const 60) + ) + (i32.const 23) + ) ) (block - (set_local $6 - (i32.const 0) - ) - (set_local $4 - (get_local $0) - ) (set_local $5 - (f32.const 0) + (f32.const 8.077935669463161e-28) ) - ) - (return - (f32.add - (f32.const 1) - (get_local $0) + (set_local $0 + (f32.mul + (get_local $0) + (f32.const 1237940039285380274899124e3) + ) + ) + (set_local $1 + (f32.mul + (get_local $1) + (f32.const 1237940039285380274899124e3) + ) ) ) ) ) - (set_local $7 + (return (f32.mul - (get_local $0) - (get_local $0) - ) - ) - (set_local $8 - (f32.sub - (get_local $0) - (f32.mul - (get_local $7) - (f32.add - (f32.const 0.16666625440120697) - (f32.mul - (get_local $7) - (f32.const -2.7667332906275988e-03) + (get_local $5) + (f32.sqrt + (f32.demote/f64 + (f64.add + (f64.mul + (f64.promote/f32 + (get_local $0) + ) + (f64.promote/f32 + (get_local $0) + ) + ) + (f64.mul + (f64.promote/f32 + (get_local $1) + ) + (f64.promote/f32 + (get_local $1) + ) + ) ) ) ) ) ) - (set_local $9 - (f32.add - (f32.const 1) - (f32.add - (f32.sub - (f32.div - (f32.mul - (get_local $0) - (get_local $8) - ) - (f32.sub - (f32.const 2) - (get_local $8) - ) - ) - (get_local $5) - ) - (get_local $4) - ) - ) - ) - (if - (i32.eq - (get_local $6) - (i32.const 0) - ) - (return - (get_local $9) - ) - ) - (return - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $9) - (get_local $6) - ) - ) - ) - (func "$(lib)/math/NativeMathf.__expo2" (; 84 ;) (type $ff) (param $0 f32) (result f32) - (local $1 f32) - (nop) - (set_local $1 - (f32.reinterpret/i32 - (i32.shl - (i32.add - (i32.const 127) - (i32.div_u - (i32.const 235) - (i32.const 2) - ) - ) - (i32.const 23) - ) - ) - ) - (return - (f32.mul - (f32.mul - (call "$(lib)/math/NativeMathf.exp" - (f32.sub - (get_local $0) - (f32.const 162.88958740234375) - ) - ) - (get_local $1) - ) - (get_local $1) - ) - ) - ) - (func "$(lib)/math/NativeMathf.cosh" (; 85 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 f32) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) - ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1060205079) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.sub - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) - ) - ) - (return - (f32.const 1) - ) - ) - (set_local $2 - (call "$(lib)/math/NativeMathf.expm1" - (get_local $0) - ) - ) - (return - (f32.add - (f32.const 1) - (f32.div - (f32.mul - (get_local $2) - (get_local $2) - ) - (f32.mul - (f32.const 2) - (f32.add - (f32.const 1) - (get_local $2) - ) - ) - ) - ) - ) - ) - ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1118925335) - ) - (block - (set_local $2 - (call "$(lib)/math/NativeMathf.exp" - (get_local $0) - ) - ) - (return - (f32.mul - (f32.const 0.5) - (f32.add - (get_local $2) - (f32.div - (f32.const 1) - (get_local $2) - ) - ) - ) - ) - ) - ) - (return - (call "$(lib)/math/NativeMathf.__expo2" - (get_local $0) - ) - ) ) - (func $std/math/test_coshf (; 86 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_hypotf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.cosh" + (call "$(lib)/math/NativeMathf.hypot" (get_local $0) + (get_local $1) ) - (get_local $1) (get_local $2) (get_local $3) + (get_local $4) ) ) ) - (func $std/math/test_exp (; 87 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log (; 111 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.exp" + (call "$(lib)/math/NativeMath.log" (get_local $0) ) (get_local $1) @@ -8829,7 +8739,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.exp" + (call "$(lib)/math/JSMath.log" (get_local $0) ) (get_local $1) @@ -8843,10 +8753,10 @@ ) ) ) - (func $std/math/test_expf (; 88 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_logf (; 112 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check - (call "$(lib)/math/NativeMathf.exp" + (call "$(lib)/math/NativeMathf.log" (get_local $0) ) (get_local $1) @@ -8855,62 +8765,14 @@ ) ) ) - (func $std/math/test_expm1 (; 89 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func "$(lib)/math/NativeMath.log10" (; 113 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.expm1" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.expm1" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - (func $std/math/test_expm1f (; 90 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.expm1" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - ) - (func "$(lib)/math/NativeMath.hypot" (; 91 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) - (local $2 i64) - (local $3 i64) - (local $4 i64) - (local $5 i32) - (local $6 i32) - (local $7 i32) + (local $5 f64) + (local $6 f64) + (local $7 f64) (local $8 f64) (local $9 f64) (local $10 f64) @@ -8919,553 +8781,387 @@ (local $13 f64) (local $14 f64) (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) (nop) - (set_local $2 + (set_local $1 (i64.reinterpret/f64 (get_local $0) ) ) - (set_local $3 - (i64.reinterpret/f64 - (get_local $1) - ) - ) (set_local $2 - (i64.and - (get_local $2) - (i64.const 9223372036854775807) + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) ) ) (set_local $3 - (i64.and - (get_local $3) - (i64.const 9223372036854775807) - ) + (i32.const 0) ) (if - (i64.lt_u - (get_local $2) - (get_local $3) + (i32.and + (if (result i32) + (tee_local $4 + (i32.lt_u + (get_local $2) + (i32.const 1048576) + ) + ) + (get_local $4) + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 1) + ) + ) + (i32.const 1) ) (block - (set_local $4 - (get_local $2) + (if + (i64.eq + (i64.shl + (get_local $1) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (f64.div + (f64.const -1) + (f64.mul + (get_local $0) + (get_local $0) + ) + ) + ) ) - (set_local $2 - (get_local $3) + (if + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) + ) + (f64.const 0) + ) + ) ) (set_local $3 - (get_local $4) + (i32.sub + (get_local $3) + (i32.const 54) + ) + ) + (set_local $0 + (f64.mul + (get_local $0) + (f64.const 18014398509481984) + ) + ) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) ) ) - ) - (set_local $5 - (i32.wrap/i64 - (i64.shr_u + (if + (i32.ge_u (get_local $2) - (i64.const 52) + (i32.const 2146435072) + ) + (return + (get_local $0) + ) + (if + (i32.and + (if (result i32) + (tee_local $4 + (i32.eq + (get_local $2) + (i32.const 1072693248) + ) + ) + (i64.eq + (i64.shl + (get_local $1) + (i64.const 32) + ) + (i64.const 0) + ) + (get_local $4) + ) + (i32.const 1) + ) + (return + (f64.const 0) + ) ) ) ) - (set_local $6 - (i32.wrap/i64 - (i64.shr_u - (get_local $3) - (i64.const 52) + (set_local $2 + (i32.add + (get_local $2) + (i32.sub + (i32.const 1072693248) + (i32.const 1072079006) ) ) ) - (set_local $1 - (f64.reinterpret/i64 + (set_local $3 + (i32.add (get_local $3) + (i32.sub + (i32.shr_u + (get_local $2) + (i32.const 20) + ) + (i32.const 1023) + ) ) ) - (if - (i32.eq - (get_local $6) - (i32.const 2047) + (set_local $2 + (i32.add + (i32.and + (get_local $2) + (i32.const 1048575) + ) + (i32.const 1072079006) ) - (return - (get_local $1) + ) + (set_local $1 + (i64.or + (i64.shl + (i64.extend_u/i32 + (get_local $2) + ) + (i64.const 32) + ) + (i64.and + (get_local $1) + (i64.const 4294967295) + ) ) ) (set_local $0 (f64.reinterpret/i64 - (get_local $2) + (get_local $1) ) ) - (if - (i32.and - (if (result i32) - (tee_local $7 - (i32.eq - (get_local $5) - (i32.const 2047) - ) - ) - (get_local $7) - (i64.eq - (get_local $3) - (i64.const 0) - ) - ) - (i32.const 1) - ) - (return + (set_local $5 + (f64.sub (get_local $0) + (f64.const 1) ) ) - (if - (i32.gt_s - (i32.sub + (set_local $6 + (f64.mul + (f64.mul + (f64.const 0.5) (get_local $5) - (get_local $6) ) - (i32.const 64) + (get_local $5) ) - (return + ) + (set_local $7 + (f64.div + (get_local $5) (f64.add - (get_local $0) - (get_local $1) + (f64.const 2) + (get_local $5) ) ) ) (set_local $8 - (f64.const 1) + (f64.mul + (get_local $7) + (get_local $7) + ) ) - (if - (i32.gt_s - (get_local $5) - (i32.add - (i32.const 1023) - (i32.const 510) - ) + (set_local $9 + (f64.mul + (get_local $8) + (get_local $8) ) - (block - (set_local $8 - (f64.const 5260135901548373507240989e186) - ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 1.90109156629516e-211) - ) - ) - (set_local $1 + ) + (set_local $10 + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.3999999999940942) (f64.mul - (get_local $1) - (f64.const 1.90109156629516e-211) + (get_local $9) + (f64.add + (f64.const 0.22222198432149784) + (f64.mul + (get_local $9) + (f64.const 0.15313837699209373) + ) + ) ) ) ) - (if - (i32.lt_s - (get_local $6) - (i32.sub - (i32.const 1023) - (i32.const 450) - ) - ) - (block - (set_local $8 - (f64.const 1.90109156629516e-211) - ) - (set_local $0 - (f64.mul - (get_local $0) - (f64.const 5260135901548373507240989e186) - ) - ) - (set_local $1 - (f64.mul - (get_local $1) - (f64.const 5260135901548373507240989e186) - ) - ) - ) - ) - ) - (set_local $9 - (f64.mul - (get_local $0) - (f64.const 134217729) - ) - ) - (set_local $10 - (f64.add - (f64.sub - (get_local $0) - (get_local $9) - ) - (get_local $9) - ) ) (set_local $11 - (f64.sub - (get_local $0) - (get_local $10) - ) - ) - (set_local $12 (f64.mul - (get_local $0) - (get_local $0) - ) - ) - (set_local $13 - (f64.add + (get_local $8) (f64.add - (f64.sub - (f64.mul - (get_local $10) - (get_local $10) - ) - (get_local $12) - ) + (f64.const 0.6666666666666735) (f64.mul - (f64.mul - (f64.const 2) - (get_local $10) + (get_local $9) + (f64.add + (f64.const 0.2857142874366239) + (f64.mul + (get_local $9) + (f64.add + (f64.const 0.1818357216161805) + (f64.mul + (get_local $9) + (f64.const 0.14798198605116586) + ) + ) + ) ) - (get_local $11) ) ) - (f64.mul - (get_local $11) - (get_local $11) - ) - ) - ) - (set_local $9 - (f64.mul - (get_local $1) - (f64.const 134217729) ) ) - (set_local $10 + (set_local $12 (f64.add - (f64.sub - (get_local $1) - (get_local $9) - ) - (get_local $9) + (get_local $11) + (get_local $10) ) ) - (set_local $11 + (set_local $13 (f64.sub - (get_local $1) - (get_local $10) + (get_local $5) + (get_local $6) ) ) - (set_local $14 - (f64.mul + (set_local $1 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $1 + (i64.and (get_local $1) + (i64.const -4294967296) + ) + ) + (set_local $13 + (f64.reinterpret/i64 (get_local $1) ) ) - (set_local $15 + (set_local $14 (f64.add - (f64.add + (f64.sub (f64.sub - (f64.mul - (get_local $10) - (get_local $10) - ) - (get_local $14) - ) - (f64.mul - (f64.mul - (f64.const 2) - (get_local $10) - ) - (get_local $11) + (get_local $5) + (get_local $13) ) + (get_local $6) ) (f64.mul - (get_local $11) - (get_local $11) - ) - ) - ) - (return - (f64.mul - (get_local $8) - (f64.sqrt + (get_local $7) (f64.add - (f64.add - (f64.add - (get_local $15) - (get_local $13) - ) - (get_local $14) - ) + (get_local $6) (get_local $12) ) ) ) ) - ) - (func $std/math/test_hypot (; 92 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) - (return - (i32.and - (if (result i32) - (tee_local $5 - (call $std/math/check - (call "$(lib)/math/NativeMath.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (if (result i32) - (tee_local $5 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $5) - (call $std/math/check - (call "$(lib)/math/JSMath.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) - ) - (get_local $5) - ) - (i32.const 1) - ) - ) - ) - (func "$(lib)/math/NativeMathf.hypot" (; 93 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 f32) - (nop) - (set_local $2 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $2 - (i32.and - (get_local $2) - (i32.const 2147483647) - ) - ) - (set_local $3 - (i32.and - (get_local $3) - (i32.const 2147483647) - ) - ) - (if - (i32.lt_u - (get_local $2) - (get_local $3) - ) - (block - (set_local $4 - (get_local $2) - ) - (set_local $2 - (get_local $3) - ) - (set_local $3 - (get_local $4) - ) - ) - ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $2) + (set_local $15 + (f64.mul + (get_local $13) + (f64.const 0.4342944818781689) ) ) - (set_local $1 - (f32.reinterpret/i32 + (set_local $16 + (f64.convert_s/i32 (get_local $3) ) ) - (if - (i32.eq - (get_local $3) - (i32.shl - (i32.const 255) - (i32.const 23) - ) - ) - (return - (get_local $1) + (set_local $17 + (f64.mul + (get_local $16) + (f64.const 0.30102999566361177) ) ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.and - (if (result i32) - (tee_local $4 - (i32.ge_u - (get_local $2) - (i32.shl - (i32.const 255) - (i32.const 23) - ) - ) - ) - (get_local $4) - (i32.eq - (get_local $3) - (i32.const 0) - ) - ) - (i32.const 1) - ) + (set_local $18 + (f64.add + (f64.add + (f64.mul + (get_local $16) + (f64.const 3.694239077158931e-13) ) - (get_local $4) - (i32.ge_u - (i32.sub - (get_local $2) - (get_local $3) - ) - (i32.shl - (i32.const 25) - (i32.const 23) + (f64.mul + (f64.add + (get_local $14) + (get_local $13) ) + (f64.const 2.5082946711645275e-11) ) ) - (i32.const 1) - ) - (return - (f32.add - (get_local $0) - (get_local $1) + (f64.mul + (get_local $14) + (f64.const 0.4342944818781689) ) ) ) - (set_local $5 - (f32.const 1) - ) - (if - (i32.ge_u - (get_local $2) - (i32.shl - (i32.add - (i32.const 127) - (i32.const 60) - ) - (i32.const 23) - ) - ) - (block - (set_local $5 - (f32.const 1237940039285380274899124e3) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 8.077935669463161e-28) - ) - ) - (set_local $1 - (f32.mul - (get_local $1) - (f32.const 8.077935669463161e-28) - ) - ) - ) - (if - (i32.lt_u - (get_local $3) - (i32.shl - (i32.sub - (i32.const 127) - (i32.const 60) - ) - (i32.const 23) - ) - ) - (block - (set_local $5 - (f32.const 8.077935669463161e-28) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 1237940039285380274899124e3) - ) - ) - (set_local $1 - (f32.mul - (get_local $1) - (f32.const 1237940039285380274899124e3) - ) - ) - ) + (set_local $9 + (f64.add + (get_local $17) + (get_local $15) ) ) - (return - (f32.mul - (get_local $5) - (f32.sqrt - (f32.demote/f64 - (f64.add - (f64.mul - (f64.promote/f32 - (get_local $0) - ) - (f64.promote/f32 - (get_local $0) - ) - ) - (f64.mul - (f64.promote/f32 - (get_local $1) - ) - (f64.promote/f32 - (get_local $1) - ) - ) - ) + (set_local $18 + (f64.add + (get_local $18) + (f64.add + (f64.sub + (get_local $17) + (get_local $9) ) + (get_local $15) ) ) ) - ) - (func $std/math/test_hypotf (; 94 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (set_local $15 + (get_local $9) + ) (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.hypot" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) + (f64.add + (get_local $18) + (get_local $15) ) ) ) - (func $std/math/test_log (; 95 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log10 (; 114 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and (if (result i32) (tee_local $4 (call $std/math/check - (call "$(lib)/math/NativeMath.log" + (call "$(lib)/math/NativeMath.log10" (get_local $0) ) (get_local $1) @@ -9481,7 +9177,7 @@ ) (get_local $4) (call $std/math/check - (call "$(lib)/math/JSMath.log" + (call "$(lib)/math/JSMath.log10" (get_local $0) ) (get_local $1) @@ -9495,67 +9191,43 @@ ) ) ) - (func $std/math/test_logf (; 96 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.log" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - ) - (func "$(lib)/math/NativeMath.log10" (; 97 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) + (func "$(lib)/math/NativeMathf.log10" (; 115 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) (local $2 i32) (local $3 i32) - (local $4 i32) - (local $5 f64) - (local $6 f64) - (local $7 f64) - (local $8 f64) - (local $9 f64) - (local $10 f64) - (local $11 f64) - (local $12 f64) - (local $13 f64) - (local $14 f64) - (local $15 f64) - (local $16 f64) - (local $17 f64) - (local $18 f64) + (local $4 f32) + (local $5 f32) + (local $6 f32) + (local $7 f32) + (local $8 f32) + (local $9 f32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) (nop) (set_local $1 - (i64.reinterpret/f64 + (i32.reinterpret/f32 (get_local $0) ) ) (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) - ) - (set_local $3 (i32.const 0) ) (if (i32.and (if (result i32) - (tee_local $4 + (tee_local $3 (i32.lt_u - (get_local $2) - (i32.const 1048576) + (get_local $1) + (i32.const 8388608) ) ) - (get_local $4) + (get_local $3) (i32.and (i32.shr_u - (get_local $2) + (get_local $1) (i32.const 31) ) (i32.const 1) @@ -9565,17 +9237,17 @@ ) (block (if - (i64.eq - (i64.shl + (i32.eq + (i32.shl (get_local $1) - (i64.const 1) + (i32.const 1) ) - (i64.const 0) + (i32.const 0) ) (return - (f64.div - (f64.const -1) - (f64.mul + (f32.div + (f32.const -1) + (f32.mul (get_local $0) (get_local $0) ) @@ -9584,447 +9256,33 @@ ) (if (i32.shr_u - (get_local $2) + (get_local $1) (i32.const 31) ) (return - (f64.div - (f64.sub + (f32.div + (f32.sub (get_local $0) (get_local $0) ) - (f64.const 0) + (f32.const 0) ) ) ) - (set_local $3 + (set_local $2 (i32.sub - (get_local $3) - (i32.const 54) + (get_local $2) + (i32.const 25) ) ) (set_local $0 - (f64.mul + (f32.mul (get_local $0) - (f64.const 18014398509481984) + (f32.const 33554432) ) ) (set_local $1 - (i64.reinterpret/f64 - (get_local $0) - ) - ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) - ) - ) - ) - ) - (if - (i32.ge_u - (get_local $2) - (i32.const 2146435072) - ) - (return - (get_local $0) - ) - (if - (i32.and - (if (result i32) - (tee_local $4 - (i32.eq - (get_local $2) - (i32.const 1072693248) - ) - ) - (i64.eq - (i64.shl - (get_local $1) - (i64.const 32) - ) - (i64.const 0) - ) - (get_local $4) - ) - (i32.const 1) - ) - (return - (f64.const 0) - ) - ) - ) - ) - (set_local $2 - (i32.add - (get_local $2) - (i32.sub - (i32.const 1072693248) - (i32.const 1072079006) - ) - ) - ) - (set_local $3 - (i32.add - (get_local $3) - (i32.sub - (i32.shr_u - (get_local $2) - (i32.const 20) - ) - (i32.const 1023) - ) - ) - ) - (set_local $2 - (i32.add - (i32.and - (get_local $2) - (i32.const 1048575) - ) - (i32.const 1072079006) - ) - ) - (set_local $1 - (i64.or - (i64.shl - (i64.extend_u/i32 - (get_local $2) - ) - (i64.const 32) - ) - (i64.and - (get_local $1) - (i64.const 4294967295) - ) - ) - ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) - ) - ) - (set_local $5 - (f64.sub - (get_local $0) - (f64.const 1) - ) - ) - (set_local $6 - (f64.mul - (f64.mul - (f64.const 0.5) - (get_local $5) - ) - (get_local $5) - ) - ) - (set_local $7 - (f64.div - (get_local $5) - (f64.add - (f64.const 2) - (get_local $5) - ) - ) - ) - (set_local $8 - (f64.mul - (get_local $7) - (get_local $7) - ) - ) - (set_local $9 - (f64.mul - (get_local $8) - (get_local $8) - ) - ) - (set_local $10 - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.3999999999940942) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.22222198432149784) - (f64.mul - (get_local $9) - (f64.const 0.15313837699209373) - ) - ) - ) - ) - ) - ) - (set_local $11 - (f64.mul - (get_local $8) - (f64.add - (f64.const 0.6666666666666735) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.2857142874366239) - (f64.mul - (get_local $9) - (f64.add - (f64.const 0.1818357216161805) - (f64.mul - (get_local $9) - (f64.const 0.14798198605116586) - ) - ) - ) - ) - ) - ) - ) - ) - (set_local $12 - (f64.add - (get_local $11) - (get_local $10) - ) - ) - (set_local $13 - (f64.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $1 - (i64.reinterpret/f64 - (get_local $13) - ) - ) - (set_local $1 - (i64.and - (get_local $1) - (i64.const -4294967296) - ) - ) - (set_local $13 - (f64.reinterpret/i64 - (get_local $1) - ) - ) - (set_local $14 - (f64.add - (f64.sub - (f64.sub - (get_local $5) - (get_local $13) - ) - (get_local $6) - ) - (f64.mul - (get_local $7) - (f64.add - (get_local $6) - (get_local $12) - ) - ) - ) - ) - (set_local $15 - (f64.mul - (get_local $13) - (f64.const 0.4342944818781689) - ) - ) - (set_local $16 - (f64.convert_s/i32 - (get_local $3) - ) - ) - (set_local $17 - (f64.mul - (get_local $16) - (f64.const 0.30102999566361177) - ) - ) - (set_local $18 - (f64.add - (f64.add - (f64.mul - (get_local $16) - (f64.const 3.694239077158931e-13) - ) - (f64.mul - (f64.add - (get_local $14) - (get_local $13) - ) - (f64.const 2.5082946711645275e-11) - ) - ) - (f64.mul - (get_local $14) - (f64.const 0.4342944818781689) - ) - ) - ) - (set_local $9 - (f64.add - (get_local $17) - (get_local $15) - ) - ) - (set_local $18 - (f64.add - (get_local $18) - (f64.add - (f64.sub - (get_local $17) - (get_local $9) - ) - (get_local $15) - ) - ) - ) - (set_local $15 - (get_local $9) - ) - (return - (f64.add - (get_local $18) - (get_local $15) - ) - ) - ) - (func $std/math/test_log10 (; 98 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.log10" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.log10" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) - ) - (i32.const 1) - ) - ) - ) - (func "$(lib)/math/NativeMathf.log10" (; 99 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 i32) - (local $4 f32) - (local $5 f32) - (local $6 f32) - (local $7 f32) - (local $8 f32) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) - (nop) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $2 - (i32.const 0) - ) - (if - (i32.and - (if (result i32) - (tee_local $3 - (i32.lt_u - (get_local $1) - (i32.const 8388608) - ) - ) - (get_local $3) - (i32.and - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 1) - ) - ) - (i32.const 1) - ) - (block - (if - (i32.eq - (i32.shl - (get_local $1) - (i32.const 1) - ) - (i32.const 0) - ) - (return - (f32.div - (f32.const -1) - (f32.mul - (get_local $0) - (get_local $0) - ) - ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.const 0) - ) - ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 25) - ) - ) - (set_local $0 - (f32.mul - (get_local $0) - (f32.const 33554432) - ) - ) - (set_local $1 - (i32.reinterpret/f32 + (i32.reinterpret/f32 (get_local $0) ) ) @@ -10228,7 +9486,7 @@ ) ) ) - (func $std/math/test_log10f (; 100 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log10f (; 116 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log10" @@ -10240,7 +9498,7 @@ ) ) ) - (func $std/math/test_log1p (; 101 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log1p (; 117 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -10277,7 +9535,7 @@ ) ) ) - (func $std/math/test_log1pf (; 102 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log1pf (; 118 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log1p" @@ -10289,7 +9547,7 @@ ) ) ) - (func "$(lib)/math/NativeMath.log2" (; 103 ;) (type $FF) (param $0 f64) (result f64) + (func "$(lib)/math/NativeMath.log2" (; 119 ;) (type $FF) (param $0 f64) (result f64) (local $1 i64) (local $2 i32) (local $3 i32) @@ -10665,7 +9923,7 @@ ) ) ) - (func $std/math/test_log2 (; 104 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (func $std/math/test_log2 (; 120 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (local $4 i32) (return (i32.and @@ -10702,7 +9960,7 @@ ) ) ) - (func "$(lib)/math/NativeMathf.log2" (; 105 ;) (type $ff) (param $0 f32) (result f32) + (func "$(lib)/math/NativeMathf.log2" (; 121 ;) (type $ff) (param $0 f32) (result f32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -10989,7 +10247,7 @@ ) ) ) - (func $std/math/test_log2f (; 106 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (func $std/math/test_log2f (; 122 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (return (call $std/math/check (call "$(lib)/math/NativeMathf.log2" @@ -11001,1185 +10259,1148 @@ ) ) ) - (func "$(lib)/math/NativeMath.pow" (; 107 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (func "$(lib)/math/NativeMath.max" (; 123 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (f64.max + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/math/test_max (; 124 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.max" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.max" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.max" (; 125 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (return + (f32.max + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/math/test_maxf (; 126 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.max" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMath.min" (; 127 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (return + (f64.min + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/math/test_min (; 128 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.min" (; 129 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (return + (f32.min + (get_local $0) + (get_local $1) + ) + ) + ) + (func $std/math/test_minf (; 130 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.min" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMath.mod" (; 131 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) (local $2 i64) - (local $3 i32) + (local $3 i64) (local $4 i32) (local $5 i32) (local $6 i32) - (local $7 i32) + (local $7 f64) (local $8 i32) - (local $9 i32) - (local $10 i32) - (local $11 i32) - (local $12 f64) - (local $13 f64) - (local $14 f64) - (local $15 f64) - (local $16 f64) - (local $17 f64) - (local $18 f64) - (local $19 f64) - (local $20 f64) - (local $21 f64) - (local $22 f64) - (local $23 f64) - (local $24 i32) - (local $25 i32) - (local $26 f64) - (local $27 f64) - (local $28 f64) - (local $29 f64) - (local $30 f64) - (local $31 f64) - (local $32 f64) - (local $33 f64) - (local $34 f64) - (local $35 f64) - (local $36 f64) - (local $37 f64) - (local $38 i32) - (nop) + (local $9 i64) (set_local $2 (i64.reinterpret/f64 (get_local $0) ) ) (set_local $3 - (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 32) - ) + (i64.reinterpret/f64 + (get_local $1) ) ) (set_local $4 (i32.wrap/i64 - (get_local $2) - ) - ) - (set_local $2 - (i64.reinterpret/f64 - (get_local $1) + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) + ) ) ) (set_local $5 (i32.wrap/i64 - (i64.shr_u - (get_local $2) - (i64.const 32) + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) ) ) ) (set_local $6 (i32.wrap/i64 - (get_local $2) - ) - ) - (set_local $7 - (i32.and - (get_local $3) - (i32.const 2147483647) - ) - ) - (set_local $8 - (i32.and - (get_local $5) - (i32.const 2147483647) - ) - ) - (if - (i32.eq - (i32.or - (get_local $8) - (get_local $6) + (i64.shr_u + (get_local $2) + (i64.const 63) ) - (i32.const 0) - ) - (return - (f64.const 1) ) ) (if (i32.and (if (result i32) - (tee_local $9 + (tee_local $8 (i32.and (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i32.gt_s - (get_local $7) - (i32.const 2146435072) - ) - ) - (get_local $9) - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $7) - (i32.const 2146435072) - ) - ) - (i32.ne - (get_local $4) - (i32.const 0) - ) - (get_local $9) - ) + (tee_local $8 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) ) - (i32.const 1) + (i64.const 0) ) ) - (get_local $9) - (i32.gt_s - (get_local $8) - (i32.const 2146435072) + (get_local $8) + (f64.ne + (tee_local $7 + (get_local $1) + ) + (get_local $7) ) ) (i32.const 1) ) ) - (get_local $9) - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $8) - (i32.const 2146435072) - ) - ) - (i32.ne - (get_local $6) - (i32.const 0) - ) - (get_local $9) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 2047) ) ) (i32.const 1) ) (return - (f64.add - (get_local $0) - (get_local $1) + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) ) ) ) - (set_local $10 - (i32.const 0) - ) (if - (i32.lt_s - (get_local $3) - (i32.const 0) - ) - (if - (i32.ge_s - (get_local $8) - (i32.const 1128267776) + (i64.le_u + (i64.shl + (get_local $2) + (i64.const 1) ) - (set_local $10 - (i32.const 2) + (i64.shl + (get_local $3) + (i64.const 1) ) + ) + (block (if - (i32.ge_s - (get_local $8) - (i32.const 1072693248) + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.shl + (get_local $3) + (i64.const 1) + ) ) - (block - (set_local $11 - (i32.sub - (i32.shr_s - (get_local $8) - (i32.const 20) - ) - (i32.const 1023) - ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (return + (get_local $0) + ) + ) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $9 + (i64.shl + (get_local $2) + (i64.const 12) ) + ) + (loop $continue|0 (if - (i32.gt_s - (get_local $11) - (i32.const 20) + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) ) (block - (set_local $9 - (i32.shr_u - (get_local $6) - (i32.sub - (i32.const 52) - (get_local $11) - ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) - (if - (i32.eq - (i32.shl - (get_local $9) - (i32.sub - (i32.const 52) - (get_local $11) - ) - ) - (get_local $6) - ) - (set_local $10 - (i32.sub - (i32.const 2) - (i32.and - (get_local $9) - (i32.const 1) - ) - ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) ) ) + (br $continue|0) ) - (if - (i32.eq - (get_local $6) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub (i32.const 0) + (get_local $4) ) - (block - (set_local $9 - (i32.shr_s - (get_local $8) - (i32.sub - (i32.const 20) - (get_local $11) - ) - ) - ) - (if - (i32.eq - (i32.shl - (get_local $9) - (i32.sub - (i32.const 20) - (get_local $11) - ) - ) - (get_local $8) - ) - (set_local $10 - (i32.sub - (i32.const 2) - (i32.and - (get_local $9) - (i32.const 1) - ) - ) - ) - ) - ) + (i32.const 1) ) ) ) ) ) + (block + (set_local $2 + (i64.and + (get_local $2) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) ) (if - (i32.eq - (get_local $6) - (i32.const 0) + (i32.eqz + (get_local $5) ) (block - (if - (i32.eq - (get_local $8) - (i32.const 2146435072) - ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $7) - (i32.const 1072693248) - ) - (get_local $4) - ) - (i32.const 0) - ) - (return - (f64.const nan:0x8000000000000) + (block $break|1 + (set_local $9 + (i64.shl + (get_local $3) + (i64.const 12) ) + ) + (loop $continue|1 (if - (i32.ge_s - (get_local $7) - (i32.const 1072693248) - ) - (return - (if (result f64) - (i32.ge_s - (get_local $5) - (i32.const 0) - ) - (get_local $1) - (f64.const 0) + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) ) ) - (return - (if (result f64) - (i32.ge_s + (block + (set_local $5 + (i32.sub (get_local $5) - (i32.const 0) + (i32.const 1) ) - (f64.const 0) - (f64.neg - (get_local $1) + ) + (set_local $9 + (i64.shl + (get_local $9) + (i64.const 1) ) ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) ) ) ) ) + ) + (block + (set_local $3 + (i64.and + (get_local $3) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $3 + (i64.or + (get_local $3) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 (if - (i32.eq - (get_local $8) - (i32.const 1072693248) + (i32.gt_s + (get_local $4) + (get_local $5) ) (block - (if - (i32.ge_s - (get_local $5) - (i32.const 0) + (block + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) ) - (return - (get_local $0) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block + (if + (i64.eqz + (get_local $9) + ) + (return + (f64.mul + (f64.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) + ) + ) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) + ) ) ) - (return - (f64.div - (f64.const 1) - (get_local $0) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) ) + (br $continue|2) ) ) + ) + ) + (set_local $9 + (i64.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i64.eqz + (i64.shr_u + (get_local $9) + (i64.const 63) + ) + ) + (block (if - (i32.eq - (get_local $5) - (i32.const 1073741824) + (i64.eqz + (get_local $9) ) (return (f64.mul - (get_local $0) + (f64.const 0) (get_local $0) ) ) ) + (set_local $2 + (get_local $9) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 (if - (i32.eq - (get_local $5) - (i32.const 1071644672) + (i64.eqz + (i64.shr_u + (get_local $2) + (i64.const 52) + ) ) - (if - (i32.ge_s - (get_local $3) - (i32.const 0) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) ) - (return - (f64.sqrt - (get_local $0) + (set_local $2 + (i64.shl + (get_local $2) + (i64.const 1) ) ) + (br $continue|3) ) ) ) ) - (set_local $12 - (f64.abs - (get_local $0) - ) - ) (if - (i32.eq + (i32.gt_s (get_local $4) (i32.const 0) ) - (if - (i32.and - (if (result i32) - (tee_local $9 - (i32.and - (if (result i32) - (tee_local $9 - (i32.eq - (get_local $7) - (i32.const 2146435072) - ) - ) - (get_local $9) - (i32.eq - (get_local $7) - (i32.const 0) - ) - ) - (i32.const 1) + (block + (set_local $2 + (i64.sub + (get_local $2) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $4) ) + (i64.const 52) ) - (get_local $9) - (i32.eq - (get_local $7) - (i32.const 1072693248) + ) + ) + ) + (set_local $2 + (i64.shr_u + (get_local $2) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) ) - (i32.const 1) ) - (block - (set_local $13 - (get_local $12) + ) + ) + (set_local $2 + (i64.or + (get_local $2) + (i64.shl + (i64.extend_u/i32 + (get_local $6) ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (set_local $13 - (f64.div - (f64.const 1) - (get_local $13) + (i64.const 63) + ) + ) + ) + (return + (f64.reinterpret/i64 + (get_local $2) + ) + ) + ) + (func $std/math/test_mod (; 132 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.mod" + (get_local $0) + (get_local $1) ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (if - (i32.lt_s - (get_local $3) - (i32.const 0) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $7) - (i32.const 1072693248) - ) - (get_local $10) - ) - (i32.const 0) + (get_local $5) + (call $std/math/check + (call $std/math/JSOp.mod + (get_local $0) + (get_local $1) ) - (set_local $13 - (f64.div - (f64.sub - (get_local $13) - (get_local $13) - ) - (f64.sub - (get_local $13) - (get_local $13) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.mod" (; 133 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 f32) + (local $8 i32) + (local $9 i32) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.and + (get_local $2) + (i32.const -2147483648) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $8 + (i32.and + (if (result i32) + (tee_local $8 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) ) ) - ) - (if - (i32.eq - (get_local $10) - (i32.const 1) - ) - (set_local $13 - (f64.neg - (get_local $13) + (get_local $8) + (f32.ne + (tee_local $7 + (get_local $1) ) + (get_local $7) ) ) + (i32.const 1) ) ) - (return - (get_local $13) + (get_local $8) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) ) ) ) - ) - (set_local $14 - (f64.const 1) ) (if - (i32.lt_s - (get_local $3) - (i32.const 0) + (i32.le_u + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) ) (block (if (i32.eq - (get_local $10) - (i32.const 0) + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.shl + (get_local $3) + (i32.const 1) + ) ) (return - (f64.div - (f64.sub - (get_local $0) - (get_local $0) - ) - (f64.sub - (get_local $0) - (get_local $0) - ) + (f32.mul + (f32.const 0) + (get_local $0) ) ) ) - (if - (i32.eq - (get_local $10) - (i32.const 1) - ) - (set_local $14 - (f64.const -1) - ) + (return + (get_local $0) ) ) ) (nop) - (nop) (if - (i32.gt_s - (get_local $8) - (i32.const 1105199104) + (i32.eqz + (get_local $4) ) (block - (if - (i32.gt_s - (get_local $8) - (i32.const 1139802112) + (block $break|0 + (set_local $9 + (i32.shl + (get_local $2) + (i32.const 9) + ) ) - (block + (loop $continue|0 (if - (i32.le_s - (get_local $7) - (i32.const 1072693247) + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) ) - (return - (if (result f64) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.const 1.e+300) - (f64.const 1.e+300) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) ) - (f64.mul - (f64.const 1e-300) - (f64.const 1e-300) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) ) ) + (br $continue|0) ) ) - (if - (i32.ge_s - (get_local $7) - (i32.const 1072693248) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) ) - (return - (if (result f64) - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.const 1.e+300) - (f64.const 1.e+300) - ) - (f64.mul - (f64.const 1e-300) - (f64.const 1e-300) - ) - ) - ) - ) - ) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 1072693247) - ) - (return - (if (result f64) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - ) - ) - ) - (if - (i32.gt_s - (get_local $7) - (i32.const 1072693248) - ) - (return - (if (result f64) - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) - ) - ) - ) - (set_local $20 - (f64.sub - (get_local $12) - (f64.const 1) - ) - ) - (set_local $23 - (f64.mul - (f64.mul - (get_local $20) - (get_local $20) - ) - (f64.sub - (f64.const 0.5) - (f64.mul - (get_local $20) - (f64.sub - (f64.const 0.3333333333333333) - (f64.mul - (get_local $20) - (f64.const 0.25) - ) - ) - ) - ) - ) - ) - (set_local $21 - (f64.mul - (f64.const 1.4426950216293335) - (get_local $20) - ) - ) - (set_local $22 - (f64.sub - (f64.mul - (get_local $20) - (f64.const 1.9259629911266175e-08) - ) - (f64.mul - (get_local $23) - (f64.const 1.4426950408889634) + (i32.const 1) ) ) ) - (set_local $15 - (f64.add - (get_local $21) - (get_local $22) - ) - ) - (set_local $15 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $15) - ) - (i64.const -4294967296) + ) + (block + (set_local $2 + (i32.and + (get_local $2) + (i32.shr_u + (i32.const -1) + (i32.const 9) ) ) ) - (set_local $16 - (f64.sub - (get_local $22) - (f64.sub - (get_local $15) - (get_local $21) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) ) ) ) ) + ) + (if + (i32.eqz + (get_local $5) + ) (block - (nop) - (set_local $25 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 1048576) - ) - (block - (set_local $12 - (f64.mul - (get_local $12) - (f64.const 9007199254740992) - ) + (block $break|1 + (set_local $9 + (i32.shl + (get_local $3) + (i32.const 9) ) - (set_local $25 - (i32.sub - (get_local $25) - (i32.const 53) + ) + (loop $continue|1 + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) ) - ) - (set_local $7 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 - (get_local $12) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) ) - (i64.const 32) ) + (br $continue|1) ) ) ) ) - (set_local $25 - (i32.add - (get_local $25) - (i32.sub - (i32.shr_s - (get_local $7) - (i32.const 20) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) ) - (i32.const 1023) + (i32.const 1) ) ) ) - (set_local $24 + ) + (block + (set_local $3 (i32.and - (get_local $7) - (i32.const 1048575) + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) ) ) - (set_local $7 + (set_local $3 (i32.or - (get_local $24) - (i32.const 1072693248) + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) ) ) + ) + ) + (block $break|2 + (nop) + (loop $continue|2 (if - (i32.le_s - (get_local $24) - (i32.const 235662) - ) - (set_local $11 - (i32.const 0) + (i32.gt_s + (get_local $4) + (get_local $5) ) - (if - (i32.lt_s - (get_local $24) - (i32.const 767610) - ) - (set_local $11 - (i32.const 1) - ) + (block (block - (set_local $11 - (i32.const 0) - ) - (set_local $25 - (i32.add - (get_local $25) - (i32.const 1) - ) - ) - (set_local $7 + (set_local $9 (i32.sub - (get_local $7) - (i32.const 1048576) + (get_local $2) + (get_local $3) ) ) - ) - ) - ) - (set_local $12 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $12) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) + ) + ) + (block + (if + (i32.eqz + (get_local $9) + ) + (return + (f32.mul + (f32.const 0) + (get_local $0) + ) + ) + ) + (set_local $2 + (get_local $9) + ) ) - (i64.const 4294967295) ) - (i64.shl - (i64.extend_u/i32 - (get_local $7) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) ) - (i64.const 32) ) ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|2) ) ) - (set_local $32 - (select - (f64.const 1.5) - (f64.const 1) - (get_local $11) - ) + ) + ) + (set_local $9 + (i32.sub + (get_local $2) + (get_local $3) + ) + ) + (if + (i32.eqz + (i32.shr_u + (get_local $9) + (i32.const 31) ) - (set_local $21 - (f64.sub - (get_local $12) - (get_local $32) + ) + (block + (if + (i32.eqz + (get_local $9) ) - ) - (set_local $22 - (f64.div - (f64.const 1) - (f64.add - (get_local $12) - (get_local $32) + (return + (f32.mul + (f32.const 0) + (get_local $0) ) ) ) - (set_local $26 - (f64.mul - (get_local $21) - (get_local $22) - ) - ) - (set_local $28 - (get_local $26) + (set_local $2 + (get_local $9) ) - (set_local $28 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $28) - ) - (i64.const -4294967296) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.eqz + (i32.shr_u + (get_local $2) + (i32.const 23) ) ) - ) - (set_local $30 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.add - (i32.add - (i32.or - (i32.shr_s - (get_local $7) - (i32.const 1) - ) - (i32.const 536870912) - ) - (i32.const 524288) - ) - (i32.shl - (get_local $11) - (i32.const 18) - ) - ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) ) - (i64.const 32) ) + (br $continue|3) ) ) - (set_local $31 - (f64.sub - (get_local $12) - (f64.sub - (get_local $30) - (get_local $32) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $2 + (i32.sub + (get_local $2) + (i32.shl + (i32.const 1) + (i32.const 23) ) ) ) - (set_local $29 - (f64.mul - (get_local $22) - (f64.sub - (f64.sub - (get_local $21) - (f64.mul - (get_local $28) - (get_local $30) - ) - ) - (f64.mul - (get_local $28) - (get_local $31) - ) + (set_local $2 + (i32.or + (get_local $2) + (i32.shl + (get_local $4) + (i32.const 23) ) ) ) - (set_local $27 - (f64.mul - (get_local $26) - (get_local $26) - ) - ) - (set_local $19 - (f64.mul - (f64.mul - (get_local $27) - (get_local $27) - ) - (f64.add - (f64.const 0.5999999999999946) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.4285714285785502) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.33333332981837743) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.272728123808534) - (f64.mul - (get_local $27) - (f64.add - (f64.const 0.23066074577556175) - (f64.mul - (get_local $27) - (f64.const 0.20697501780033842) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - ) - (set_local $19 - (f64.add - (get_local $19) - (f64.mul - (get_local $29) - (f64.add - (get_local $28) - (get_local $26) - ) - ) - ) - ) - (set_local $27 - (f64.mul - (get_local $28) - (get_local $28) - ) - ) - (set_local $30 - (f64.add - (f64.add - (f64.const 3) - (get_local $27) - ) - (get_local $19) - ) - ) - (set_local $30 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $30) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $31 - (f64.sub - (get_local $19) - (f64.sub - (f64.sub - (get_local $30) - (f64.const 3) - ) - (get_local $27) - ) - ) - ) - (set_local $21 - (f64.mul - (get_local $28) - (get_local $30) - ) - ) - (set_local $22 - (f64.add - (f64.mul - (get_local $29) - (get_local $30) - ) - (f64.mul - (get_local $31) - (get_local $26) - ) - ) - ) - (set_local $17 - (f64.add - (get_local $21) - (get_local $22) - ) - ) - (set_local $17 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $17) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $18 - (f64.sub - (get_local $22) - (f64.sub - (get_local $17) - (get_local $21) - ) - ) - ) - (set_local $33 - (f64.mul - (f64.const 0.9617967009544373) - (get_local $17) - ) - ) - (set_local $34 - (select - (f64.const 1.350039202129749e-08) - (f64.const 0) - (get_local $11) - ) - ) - (set_local $35 - (f64.add - (f64.add - (f64.mul - (f64.const -7.028461650952758e-09) - (get_local $17) - ) - (f64.mul - (get_local $18) - (f64.const 0.9617966939259756) - ) - ) - (get_local $34) - ) - ) - (set_local $20 - (f64.convert_s/i32 - (get_local $25) - ) - ) - (set_local $36 - (select - (f64.const 0.5849624872207642) - (f64.const 0) - (get_local $11) - ) - ) - (set_local $15 - (f64.add - (f64.add - (f64.add - (get_local $33) - (get_local $35) - ) - (get_local $36) - ) - (get_local $20) - ) - ) - (set_local $15 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $15) - ) - (i64.const -4294967296) - ) - ) - ) - (set_local $16 - (f64.sub - (get_local $35) - (f64.sub - (f64.sub - (f64.sub - (get_local $15) - (get_local $20) - ) - (get_local $36) - ) - (get_local $33) - ) + ) + (set_local $2 + (i32.shr_u + (get_local $2) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) ) ) ) ) - (set_local $37 - (get_local $1) + (set_local $2 + (i32.or + (get_local $2) + (get_local $6) + ) ) - (set_local $37 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $37) - ) - (i64.const -4294967296) - ) + (return + (f32.reinterpret/i32 + (get_local $2) ) ) - (set_local $18 - (f64.add - (f64.mul - (f64.sub - (get_local $1) - (get_local $37) - ) - (get_local $15) - ) - (f64.mul + ) + (func $std/math/test_modf (; 134 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.mod" + (get_local $0) (get_local $1) - (get_local $16) ) + (get_local $2) + (get_local $3) + (get_local $4) ) ) - (set_local $17 - (f64.mul - (get_local $37) - (get_local $15) + ) + (func "$(lib)/math/NativeMath.pow" (; 135 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 f64) + (local $13 f64) + (local $14 f64) + (local $15 f64) + (local $16 f64) + (local $17 f64) + (local $18 f64) + (local $19 f64) + (local $20 f64) + (local $21 f64) + (local $22 f64) + (local $23 f64) + (local $24 i32) + (local $25 i32) + (local $26 f64) + (local $27 f64) + (local $28 f64) + (local $29 f64) + (local $30 f64) + (local $31 f64) + (local $32 f64) + (local $33 f64) + (local $34 f64) + (local $35 f64) + (local $36 f64) + (local $37 f64) + (local $38 i32) + (nop) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) ) ) - (set_local $13 - (f64.add - (get_local $18) - (get_local $17) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $4 + (i32.wrap/i64 + (get_local $2) ) ) (set_local $2 (i64.reinterpret/f64 - (get_local $13) + (get_local $1) ) ) - (set_local $24 + (set_local $5 (i32.wrap/i64 (i64.shr_u (get_local $2) @@ -12187,1183 +11408,886 @@ ) ) ) - (set_local $38 + (set_local $6 (i32.wrap/i64 (get_local $2) ) ) - (if - (i32.ge_s - (get_local $24) - (i32.const 1083179008) + (set_local $7 + (i32.and + (get_local $3) + (i32.const 2147483647) ) - (block - (if - (i32.ne - (i32.or - (i32.sub - (get_local $24) - (i32.const 1083179008) - ) - (get_local $38) - ) - (i32.const 0) - ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - ) - ) - (if - (f64.gt - (f64.add - (get_local $18) - (f64.const 8.008566259537294e-17) - ) - (f64.sub - (get_local $13) - (get_local $17) - ) - ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1.e+300) - ) - (f64.const 1.e+300) - ) - ) - ) + ) + (set_local $8 + (i32.and + (get_local $5) + (i32.const 2147483647) ) - (if - (i32.ge_s - (i32.and - (get_local $24) - (i32.const 2147483647) - ) - (i32.const 1083231232) + ) + (if + (i32.eq + (i32.or + (get_local $8) + (get_local $6) ) - (block - (if - (i32.ne - (i32.or - (i32.sub - (get_local $24) - (i32.const -1064252416) + (i32.const 0) + ) + (return + (f64.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.gt_s + (get_local $7) + (i32.const 2146435072) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) + ) + ) + (i32.ne + (get_local $4) + (i32.const 0) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) ) - (get_local $38) - ) - (i32.const 0) - ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) + (get_local $9) + (i32.gt_s + (get_local $8) + (i32.const 2146435072) ) - (f64.const 1e-300) ) + (i32.const 1) ) ) - (if - (f64.le - (get_local $18) - (f64.sub - (get_local $13) - (get_local $17) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $8) + (i32.const 2146435072) ) ) - (return - (f64.mul - (f64.mul - (get_local $14) - (f64.const 1e-300) - ) - (f64.const 1e-300) - ) + (i32.ne + (get_local $6) + (i32.const 0) ) + (get_local $9) ) ) + (i32.const 1) ) - ) - (set_local $38 - (i32.and - (get_local $24) - (i32.const 2147483647) - ) - ) - (set_local $11 - (i32.sub - (i32.shr_s - (get_local $38) - (i32.const 20) + (return + (f64.add + (get_local $0) + (get_local $1) ) - (i32.const 1023) ) ) - (set_local $25 + (set_local $10 (i32.const 0) ) (if - (i32.gt_s - (get_local $38) - (i32.const 1071644672) + (i32.lt_s + (get_local $3) + (i32.const 0) ) - (block - (set_local $25 - (i32.add - (get_local $24) - (i32.shr_s - (i32.const 1048576) - (i32.add - (get_local $11) - (i32.const 1) - ) - ) - ) - ) - (set_local $11 - (i32.sub - (i32.shr_s - (i32.and - (get_local $25) - (i32.const 2147483647) - ) - (i32.const 20) - ) - (i32.const 1023) - ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1128267776) ) - (set_local $20 - (f64.const 0) + (set_local $10 + (i32.const 2) ) - (set_local $20 - (f64.reinterpret/i64 - (i64.shl - (i64.extend_u/i32 - (i32.and - (get_local $25) - (i32.xor - (i32.shr_s - (i32.const 1048575) - (get_local $11) - ) - (i32.const -1) - ) - ) - ) - (i64.const 32) - ) + (if + (i32.ge_s + (get_local $8) + (i32.const 1072693248) ) - ) - (set_local $25 - (i32.shr_s - (i32.or - (i32.and - (get_local $25) - (i32.const 1048575) + (block + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $8) + (i32.const 20) + ) + (i32.const 1023) ) - (i32.const 1048576) ) - (i32.sub - (i32.const 20) - (get_local $11) + (if + (i32.gt_s + (get_local $11) + (i32.const 20) + ) + (block + (set_local $9 + (i32.shr_u + (get_local $6) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 52) + (get_local $11) + ) + ) + (get_local $6) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block + (set_local $9 + (i32.shr_s + (get_local $8) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $9) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + (get_local $8) + ) + (set_local $10 + (i32.sub + (i32.const 2) + (i32.and + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + ) + ) ) ) ) + ) + ) + (if + (i32.eq + (get_local $6) + (i32.const 0) + ) + (block (if - (i32.lt_s - (get_local $24) - (i32.const 0) + (i32.eq + (get_local $8) + (i32.const 2146435072) ) - (set_local $25 - (i32.sub + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $4) + ) (i32.const 0) - (get_local $25) + ) + (return + (f64.const nan:0x8000000000000) + ) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (get_local $1) + (f64.const 0) + ) + ) + (return + (if (result f64) + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (f64.const 0) + (f64.neg + (get_local $1) + ) + ) + ) ) ) ) - (set_local $17 - (f64.sub - (get_local $17) - (get_local $20) + (if + (i32.eq + (get_local $8) + (i32.const 1072693248) ) - ) - ) - ) - (set_local $20 - (f64.add - (get_local $18) - (get_local $17) - ) - ) - (set_local $20 - (f64.reinterpret/i64 - (i64.and - (i64.reinterpret/f64 - (get_local $20) + (block + (if + (i32.ge_s + (get_local $5) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (return + (f64.div + (f64.const 1) + (get_local $0) + ) + ) ) - (i64.const -4294967296) ) - ) - ) - (set_local $21 - (f64.mul - (get_local $20) - (f64.const 0.6931471824645996) - ) - ) - (set_local $22 - (f64.add - (f64.mul - (f64.sub - (get_local $18) - (f64.sub - (get_local $20) - (get_local $17) + (if + (i32.eq + (get_local $5) + (i32.const 1073741824) + ) + (return + (f64.mul + (get_local $0) + (get_local $0) ) ) - (f64.const 0.6931471805599453) ) - (f64.mul - (get_local $20) - (f64.const -1.904654299957768e-09) + (if + (i32.eq + (get_local $5) + (i32.const 1071644672) + ) + (if + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) ) ) ) - (set_local $13 - (f64.add - (get_local $21) - (get_local $22) - ) - ) - (set_local $23 - (f64.sub - (get_local $22) - (f64.sub - (get_local $13) - (get_local $21) - ) + (set_local $12 + (f64.abs + (get_local $0) ) ) - (set_local $20 - (f64.mul - (get_local $13) - (get_local $13) + (if + (i32.eq + (get_local $4) + (i32.const 0) ) - ) - (set_local $15 - (f64.sub - (get_local $13) - (f64.mul - (get_local $20) - (f64.add - (f64.const 0.16666666666666602) - (f64.mul - (get_local $20) - (f64.add - (f64.const -2.7777777777015593e-03) - (f64.mul - (get_local $20) - (f64.add - (f64.const 6.613756321437934e-05) - (f64.mul - (get_local $20) - (f64.add - (f64.const -1.6533902205465252e-06) - (f64.mul - (get_local $20) - (f64.const 4.1381367970572385e-08) - ) - ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $7) + (i32.const 2146435072) ) ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 0) + ) ) + (i32.const 1) ) ) + (get_local $9) + (i32.eq + (get_local $7) + (i32.const 1072693248) + ) ) + (i32.const 1) ) - ) - ) - (set_local $19 - (f64.sub - (f64.div - (f64.mul - (get_local $13) - (get_local $15) + (block + (set_local $13 + (get_local $12) ) - (f64.sub - (get_local $15) - (f64.const 2) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.const 1) + (get_local $13) + ) + ) ) - ) - (f64.add - (get_local $23) - (f64.mul - (get_local $13) - (get_local $23) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $7) + (i32.const 1072693248) + ) + (get_local $10) + ) + (i32.const 0) + ) + (set_local $13 + (f64.div + (f64.sub + (get_local $13) + (get_local $13) + ) + (f64.sub + (get_local $13) + (get_local $13) + ) + ) + ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $13 + (f64.neg + (get_local $13) + ) + ) + ) + ) ) - ) - ) - ) - (set_local $13 - (f64.sub - (f64.const 1) - (f64.sub - (get_local $19) - (get_local $13) - ) - ) - ) - (set_local $24 - (i32.wrap/i64 - (i64.shr_u - (i64.reinterpret/f64 + (return (get_local $13) ) - (i64.const 32) ) ) ) - (set_local $24 - (i32.add - (get_local $24) - (i32.shl - (get_local $25) - (i32.const 20) - ) - ) + (set_local $14 + (f64.const 1) ) (if - (i32.le_s - (i32.shr_s - (get_local $24) - (i32.const 20) - ) + (i32.lt_s + (get_local $3) (i32.const 0) ) - (set_local $13 - (call "$(lib)/math/NativeMath.scalbn" - (get_local $13) - (get_local $25) - ) - ) - (set_local $13 - (f64.reinterpret/i64 - (i64.or - (i64.and - (i64.reinterpret/f64 - (get_local $13) + (block + (if + (i32.eq + (get_local $10) + (i32.const 0) + ) + (return + (f64.div + (f64.sub + (get_local $0) + (get_local $0) ) - (i64.const 4294967295) - ) - (i64.shl - (i64.extend_u/i32 - (get_local $24) + (f64.sub + (get_local $0) + (get_local $0) ) - (i64.const 32) ) ) ) + (if + (i32.eq + (get_local $10) + (i32.const 1) + ) + (set_local $14 + (f64.const -1) + ) + ) ) ) - (return - (f64.mul - (get_local $14) - (get_local $13) + (nop) + (nop) + (if + (i32.gt_s + (get_local $8) + (i32.const 1105199104) ) - ) - ) - (func $std/math/test_pow (; 108 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) - (local $5 i32) - (return - (i32.and - (if (result i32) - (tee_local $5 - (call $std/math/check - (call "$(lib)/math/NativeMath.pow" - (get_local $0) - (get_local $1) - ) - (get_local $2) - (get_local $3) - (get_local $4) - ) + (block + (if + (i32.gt_s + (get_local $8) + (i32.const 1139802112) ) - (if (result i32) - (tee_local $5 - (i32.eqz - (i32.const 1) + (block + (if + (i32.le_s + (get_local $7) + (i32.const 1072693247) ) - ) - (get_local $5) - (call $std/math/check - (call "$(lib)/math/JSMath.pow" - (get_local $0) - (get_local $1) + (return + (if (result f64) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) ) - (get_local $2) - (get_local $3) - (get_local $4) ) - ) - (get_local $5) - ) - (i32.const 1) - ) - ) - ) - (func "$(lib)/math/NativeMathf.pow" (; 109 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i32) - (local $8 i32) - (local $9 i32) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f32) - (local $14 f32) - (local $15 f32) - (local $16 f32) - (local $17 f32) - (local $18 f32) - (local $19 f32) - (local $20 f32) - (local $21 f32) - (local $22 f32) - (local $23 i32) - (local $24 i32) - (local $25 f32) - (local $26 f32) - (local $27 f32) - (local $28 f32) - (local $29 f32) - (local $30 f32) - (local $31 f32) - (local $32 f32) - (local $33 f32) - (local $34 f32) - (local $35 f32) - (local $36 i32) - (nop) - (set_local $2 - (i32.reinterpret/f32 - (get_local $0) - ) - ) - (set_local $3 - (i32.reinterpret/f32 - (get_local $1) - ) - ) - (set_local $4 - (i32.and - (get_local $2) - (i32.const 2147483647) - ) - ) - (set_local $5 - (i32.and - (get_local $3) - (i32.const 2147483647) - ) - ) - (if - (i32.eq - (get_local $5) - (i32.const 0) - ) - (return - (f32.const 1) - ) - ) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.gt_s - (get_local $4) - (i32.const 2139095040) + (if + (i32.ge_s + (get_local $7) + (i32.const 1072693248) + ) + (return + (if (result f64) + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (f64.mul + (f64.const 1.e+300) + (f64.const 1.e+300) + ) + (f64.mul + (f64.const 1e-300) + (f64.const 1e-300) + ) + ) + ) ) ) - (get_local $6) - (i32.gt_s - (get_local $5) - (i32.const 2139095040) - ) - ) - (i32.const 1) - ) - (return - (f32.add - (get_local $0) - (get_local $1) - ) - ) - ) - (set_local $7 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $2) - (i32.const 0) - ) - (if - (i32.ge_s - (get_local $5) - (i32.const 1266679808) - ) - (set_local $7 - (i32.const 2) ) (if - (i32.ge_s - (get_local $5) - (i32.const 1065353216) + (i32.lt_s + (get_local $7) + (i32.const 1072693247) ) - (block - (set_local $9 - (i32.sub - (i32.shr_s - (get_local $5) - (i32.const 23) - ) - (i32.const 127) - ) - ) - (set_local $8 - (i32.shr_s + (return + (if (result f64) + (i32.lt_s (get_local $5) - (i32.sub - (i32.const 23) - (get_local $9) - ) + (i32.const 0) ) - ) - (if - (i32.eq - (i32.shl - (get_local $8) - (i32.sub - (i32.const 23) - (get_local $9) - ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) ) - (get_local $5) + (f64.const 1.e+300) ) - (set_local $7 - (i32.sub - (i32.const 2) - (i32.and - (get_local $8) - (i32.const 1) - ) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) ) + (f64.const 1e-300) ) ) ) ) - ) - ) - (if - (i32.eq - (get_local $5) - (i32.const 2139095040) - ) - (if - (i32.eq - (get_local $4) - (i32.const 1065353216) - ) - (return - (f32.const nan:0x400000) - ) (if (i32.gt_s - (get_local $4) - (i32.const 1065353216) + (get_local $7) + (i32.const 1072693248) ) (return - (if (result f32) - (i32.ge_s - (get_local $3) + (if (result f64) + (i32.gt_s + (get_local $5) (i32.const 0) ) - (get_local $1) - (f32.const 0) - ) - ) - (return - (if (result f32) - (i32.ge_s - (get_local $3) - (i32.const 0) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) ) - (f32.const 0) - (f32.neg - (get_local $1) + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) ) ) ) ) - ) - ) - (if - (i32.eq - (get_local $5) - (i32.const 1065353216) - ) - (return - (if (result f32) - (i32.ge_s - (get_local $3) - (i32.const 0) + (set_local $20 + (f64.sub + (get_local $12) + (f64.const 1) ) - (get_local $0) - (f32.div - (f32.const 1) - (get_local $0) + ) + (set_local $23 + (f64.mul + (f64.mul + (get_local $20) + (get_local $20) + ) + (f64.sub + (f64.const 0.5) + (f64.mul + (get_local $20) + (f64.sub + (f64.const 0.3333333333333333) + (f64.mul + (get_local $20) + (f64.const 0.25) + ) + ) + ) + ) ) ) - ) - ) - (if - (i32.eq - (get_local $3) - (i32.const 1073741824) - ) - (return - (f32.mul - (get_local $0) - (get_local $0) + (set_local $21 + (f64.mul + (f64.const 1.4426950216293335) + (get_local $20) + ) ) - ) - ) - (if - (i32.eq - (get_local $3) - (i32.const 1056964608) - ) - (if - (i32.ge_s - (get_local $2) - (i32.const 0) + (set_local $22 + (f64.sub + (f64.mul + (get_local $20) + (f64.const 1.9259629911266175e-08) + ) + (f64.mul + (get_local $23) + (f64.const 1.4426950408889634) + ) + ) ) - (return - (f32.sqrt - (get_local $0) + (set_local $15 + (f64.add + (get_local $21) + (get_local $22) ) ) - ) - ) - (set_local $10 - (f32.abs - (get_local $0) - ) - ) - (nop) - (if - (i32.and - (if (result i32) - (tee_local $6 - (i32.and - (if (result i32) - (tee_local $6 - (i32.eq - (get_local $4) - (i32.const 2139095040) - ) - ) - (get_local $6) - (i32.eq - (get_local $4) - (i32.const 0) - ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) ) - (i32.const 1) + (i64.const -4294967296) ) ) - (get_local $6) - (i32.eq - (get_local $4) - (i32.const 1065353216) + ) + (set_local $16 + (f64.sub + (get_local $22) + (f64.sub + (get_local $15) + (get_local $21) + ) ) ) - (i32.const 1) ) (block - (set_local $11 - (get_local $10) - ) - (if - (i32.lt_s - (get_local $3) - (i32.const 0) - ) - (set_local $11 - (f32.div - (f32.const 1) - (get_local $11) - ) - ) + (nop) + (set_local $25 + (i32.const 0) ) (if (i32.lt_s - (get_local $2) - (i32.const 0) + (get_local $7) + (i32.const 1048576) ) - (if - (i32.eq - (i32.or - (i32.sub - (get_local $4) - (i32.const 1065353216) - ) - (get_local $7) + (block + (set_local $12 + (f64.mul + (get_local $12) + (f64.const 9007199254740992) ) - (i32.const 0) ) - (set_local $11 - (f32.div - (f32.sub - (get_local $11) - (get_local $11) - ) - (f32.sub - (get_local $11) - (get_local $11) - ) + (set_local $25 + (i32.sub + (get_local $25) + (i32.const 53) ) ) - (if - (i32.eq - (get_local $7) - (i32.const 1) - ) - (set_local $11 - (f32.neg - (get_local $11) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $12) + ) + (i64.const 32) ) ) ) ) ) - (return - (get_local $11) - ) - ) - ) - (set_local $12 - (f32.const 1) - ) - (if - (i32.lt_s - (get_local $2) - (i32.const 0) - ) - (block - (if - (i32.eq - (get_local $7) - (i32.const 0) - ) - (return - (f32.div - (f32.sub - (get_local $0) - (get_local $0) - ) - (f32.sub - (get_local $0) - (get_local $0) + (set_local $25 + (i32.add + (get_local $25) + (i32.sub + (i32.shr_s + (get_local $7) + (i32.const 20) ) + (i32.const 1023) ) ) ) - (if - (i32.eq + (set_local $24 + (i32.and (get_local $7) - (i32.const 1) + (i32.const 1048575) ) - (set_local $12 - (f32.const -1) + ) + (set_local $7 + (i32.or + (get_local $24) + (i32.const 1072693248) ) ) - ) - ) - (nop) - (nop) - (if - (i32.gt_s - (get_local $5) - (i32.const 1291845632) - ) - (block (if - (i32.lt_s - (get_local $4) - (i32.const 1065353208) + (i32.le_s + (get_local $24) + (i32.const 235662) ) - (return - (if (result f32) - (i32.lt_s - (get_local $3) + (set_local $11 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 767610) + ) + (set_local $11 + (i32.const 1) + ) + (block + (set_local $11 (i32.const 0) ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) + (set_local $25 + (i32.add + (get_local $25) + (i32.const 1) ) - (f32.const 1000000015047466219876688e6) ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) + (set_local $7 + (i32.sub + (get_local $7) + (i32.const 1048576) ) - (f32.const 1.0000000031710769e-30) ) ) ) ) - (if - (i32.gt_s - (get_local $4) - (i32.const 1065353223) - ) - (return - (if (result f32) - (i32.gt_s - (get_local $3) - (i32.const 0) - ) - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - (f32.mul - (f32.mul + (set_local $12 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 (get_local $12) - (f32.const 1.0000000031710769e-30) ) - (f32.const 1.0000000031710769e-30) + (i64.const 4294967295) ) - ) - ) - ) - (set_local $17 - (f32.sub - (get_local $10) - (f32.const 1) - ) - ) - (set_local $20 - (f32.mul - (f32.mul - (get_local $17) - (get_local $17) - ) - (f32.sub - (f32.const 0.5) - (f32.mul - (get_local $17) - (f32.sub - (f32.const 0.3333333432674408) - (f32.mul - (get_local $17) - (f32.const 0.25) - ) + (i64.shl + (i64.extend_u/i32 + (get_local $7) ) + (i64.const 32) ) ) ) ) - (set_local $18 - (f32.mul - (f32.const 1.44268798828125) - (get_local $17) - ) - ) - (set_local $19 - (f32.sub - (f32.mul - (get_local $17) - (f32.const 7.052607543300837e-06) - ) - (f32.mul - (get_local $20) - (f32.const 1.4426950216293335) - ) - ) - ) - (set_local $13 - (f32.add - (get_local $18) - (get_local $19) + (set_local $32 + (select + (f64.const 1.5) + (f64.const 1) + (get_local $11) ) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $13) + (set_local $21 + (f64.sub + (get_local $12) + (get_local $32) ) ) - (set_local $13 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + (set_local $22 + (f64.div + (f64.const 1) + (f64.add + (get_local $12) + (get_local $32) ) ) ) - (set_local $14 - (f32.sub - (get_local $19) - (f32.sub - (get_local $13) - (get_local $18) - ) + (set_local $26 + (f64.mul + (get_local $21) + (get_local $22) ) ) - ) - (block - (nop) - (set_local $23 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $4) - (i32.const 8388608) - ) - (block - (set_local $10 - (f32.mul - (get_local $10) - (f32.const 16777216) - ) - ) - (set_local $23 - (i32.sub - (get_local $23) - (i32.const 24) - ) - ) - (set_local $4 - (i32.reinterpret/f32 - (get_local $10) - ) - ) - ) + (set_local $28 + (get_local $26) ) - (set_local $23 - (i32.add - (get_local $23) - (i32.sub - (i32.shr_s - (get_local $4) - (i32.const 23) + (set_local $28 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $28) ) - (i32.const 127) + (i64.const -4294967296) ) ) ) - (set_local $8 - (i32.and - (get_local $4) - (i32.const 8388607) - ) - ) - (set_local $4 - (i32.or - (get_local $8) - (i32.const 1065353216) - ) - ) - (if - (i32.le_s - (get_local $8) - (i32.const 1885297) - ) - (set_local $9 - (i32.const 0) - ) - (if - (i32.lt_s - (get_local $8) - (i32.const 6140887) - ) - (set_local $9 - (i32.const 1) - ) - (block - (set_local $9 - (i32.const 0) - ) - (set_local $23 + (set_local $30 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 (i32.add - (get_local $23) - (i32.const 1) - ) - ) - (set_local $4 - (i32.sub - (get_local $4) - (i32.const 8388608) + (i32.add + (i32.or + (i32.shr_s + (get_local $7) + (i32.const 1) + ) + (i32.const 536870912) + ) + (i32.const 524288) + ) + (i32.shl + (get_local $11) + (i32.const 18) + ) ) ) + (i64.const 32) ) ) ) - (set_local $10 - (f32.reinterpret/i32 - (get_local $4) - ) - ) - (set_local $30 - (select - (f32.const 1.5) - (f32.const 1) - (get_local $9) - ) - ) - (set_local $18 - (f32.sub - (get_local $10) - (get_local $30) - ) - ) - (set_local $19 - (f32.div - (f32.const 1) - (f32.add - (get_local $10) + (set_local $31 + (f64.sub + (get_local $12) + (f64.sub (get_local $30) - ) - ) - ) - (set_local $16 - (f32.mul - (get_local $18) - (get_local $19) - ) - ) - (set_local $26 - (get_local $16) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $26) - ) - ) - (set_local $26 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) - ) - ) - (set_local $24 - (i32.or - (i32.and - (i32.shr_s - (get_local $4) - (i32.const 1) - ) - (i32.const -4096) - ) - (i32.const 536870912) - ) - ) - (set_local $28 - (f32.reinterpret/i32 - (i32.add - (i32.add - (get_local $24) - (i32.const 4194304) - ) - (i32.shl - (get_local $9) - (i32.const 21) - ) + (get_local $32) ) ) ) (set_local $29 - (f32.sub - (get_local $10) - (f32.sub - (get_local $28) - (get_local $30) - ) - ) - ) - (set_local $27 - (f32.mul - (get_local $19) - (f32.sub - (f32.sub - (get_local $18) - (f32.mul - (get_local $26) + (f64.mul + (get_local $22) + (f64.sub + (f64.sub + (get_local $21) + (f64.mul (get_local $28) + (get_local $30) ) ) - (f32.mul - (get_local $26) - (get_local $29) + (f64.mul + (get_local $28) + (get_local $31) ) ) ) ) - (set_local $25 - (f32.mul - (get_local $16) - (get_local $16) + (set_local $27 + (f64.mul + (get_local $26) + (get_local $26) ) ) - (set_local $15 - (f32.mul - (f32.mul - (get_local $25) - (get_local $25) + (set_local $19 + (f64.mul + (f64.mul + (get_local $27) + (get_local $27) ) - (f32.add - (f32.const 0.6000000238418579) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.4285714328289032) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.3333333432674408) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.2727281153202057) - (f32.mul - (get_local $25) - (f32.add - (f32.const 0.23066075146198273) - (f32.mul - (get_local $25) - (f32.const 0.20697501301765442) + (f64.add + (f64.const 0.5999999999999946) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.4285714285785502) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.33333332981837743) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.272728123808534) + (f64.mul + (get_local $27) + (f64.add + (f64.const 0.23066074577556175) + (f64.mul + (get_local $27) + (f64.const 0.20697501780033842) ) ) ) @@ -13376,1458 +12300,18294 @@ ) ) ) - (set_local $15 - (f32.add - (get_local $15) - (f32.mul - (get_local $27) - (f32.add + (set_local $19 + (f64.add + (get_local $19) + (f64.mul + (get_local $29) + (f64.add + (get_local $28) (get_local $26) - (get_local $16) ) ) ) ) - (set_local $25 - (f32.mul - (get_local $26) - (get_local $26) + (set_local $27 + (f64.mul + (get_local $28) + (get_local $28) ) ) - (set_local $28 - (f32.add - (f32.add - (f32.const 3) - (get_local $25) + (set_local $30 + (f64.add + (f64.add + (f64.const 3) + (get_local $27) ) - (get_local $15) - ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $28) + (get_local $19) ) ) - (set_local $28 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + (set_local $30 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $30) + ) + (i64.const -4294967296) ) ) ) - (set_local $29 - (f32.sub - (get_local $15) - (f32.sub - (f32.sub - (get_local $28) - (f32.const 3) + (set_local $31 + (f64.sub + (get_local $19) + (f64.sub + (f64.sub + (get_local $30) + (f64.const 3) ) - (get_local $25) + (get_local $27) ) ) ) - (set_local $18 - (f32.mul - (get_local $26) + (set_local $21 + (f64.mul (get_local $28) + (get_local $30) ) ) - (set_local $19 - (f32.add - (f32.mul - (get_local $27) - (get_local $28) - ) - (f32.mul + (set_local $22 + (f64.add + (f64.mul (get_local $29) - (get_local $16) + (get_local $30) + ) + (f64.mul + (get_local $31) + (get_local $26) ) ) ) - (set_local $21 - (f32.add - (get_local $18) - (get_local $19) + (set_local $17 + (f64.add + (get_local $21) + (get_local $22) ) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $21) + (set_local $17 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $17) + ) + (i64.const -4294967296) + ) ) ) - (set_local $21 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) - ) - ) - ) - (set_local $22 - (f32.sub - (get_local $19) - (f32.sub + (set_local $18 + (f64.sub + (get_local $22) + (f64.sub + (get_local $17) (get_local $21) - (get_local $18) ) ) ) - (set_local $31 - (f32.mul - (f32.const 0.9619140625) - (get_local $21) + (set_local $33 + (f64.mul + (f64.const 0.9617967009544373) + (get_local $17) ) ) - (set_local $32 + (set_local $34 (select - (f32.const 1.5632208487659227e-06) - (f32.const 0) - (get_local $9) + (f64.const 1.350039202129749e-08) + (f64.const 0) + (get_local $11) ) ) - (set_local $33 - (f32.add - (f32.add - (f32.mul - (f32.const -1.1736857413779944e-04) - (get_local $21) + (set_local $35 + (f64.add + (f64.add + (f64.mul + (f64.const -7.028461650952758e-09) + (get_local $17) ) - (f32.mul - (get_local $22) - (f32.const 0.9617967009544373) + (f64.mul + (get_local $18) + (f64.const 0.9617966939259756) ) ) - (get_local $32) + (get_local $34) ) ) - (set_local $17 - (f32.convert_s/i32 - (get_local $23) + (set_local $20 + (f64.convert_s/i32 + (get_local $25) ) ) - (set_local $34 + (set_local $36 (select - (f32.const 0.5849609375) - (f32.const 0) - (get_local $9) + (f64.const 0.5849624872207642) + (f64.const 0) + (get_local $11) ) ) - (set_local $13 - (f32.add - (f32.add - (f32.add - (get_local $31) + (set_local $15 + (f64.add + (f64.add + (f64.add (get_local $33) + (get_local $35) ) - (get_local $34) + (get_local $36) + ) + (get_local $20) + ) + ) + (set_local $15 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $15) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $16 + (f64.sub + (get_local $35) + (f64.sub + (f64.sub + (f64.sub + (get_local $15) + (get_local $20) + ) + (get_local $36) + ) + (get_local $33) + ) + ) + ) + ) + ) + (set_local $37 + (get_local $1) + ) + (set_local $37 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $37) + ) + (i64.const -4294967296) + ) + ) + ) + (set_local $18 + (f64.add + (f64.mul + (f64.sub + (get_local $1) + (get_local $37) + ) + (get_local $15) + ) + (f64.mul + (get_local $1) + (get_local $16) + ) + ) + ) + (set_local $17 + (f64.mul + (get_local $37) + (get_local $15) + ) + ) + (set_local $13 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $2 + (i64.reinterpret/f64 + (get_local $13) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 32) + ) + ) + ) + (set_local $38 + (i32.wrap/i64 + (get_local $2) + ) + ) + (if + (i32.ge_s + (get_local $24) + (i32.const 1083179008) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const 1083179008) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + (if + (f64.gt + (f64.add + (get_local $18) + (f64.const 8.008566259537294e-17) + ) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1.e+300) + ) + (f64.const 1.e+300) + ) + ) + ) + ) + (if + (i32.ge_s + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + (i32.const 1083231232) + ) + (block + (if + (i32.ne + (i32.or + (i32.sub + (get_local $24) + (i32.const -1064252416) + ) + (get_local $38) + ) + (i32.const 0) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + (if + (f64.le + (get_local $18) + (f64.sub + (get_local $13) + (get_local $17) + ) + ) + (return + (f64.mul + (f64.mul + (get_local $14) + (f64.const 1e-300) + ) + (f64.const 1e-300) + ) + ) + ) + ) + ) + ) + (set_local $38 + (i32.and + (get_local $24) + (i32.const 2147483647) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (get_local $38) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $25 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $38) + (i32.const 1071644672) + ) + (block + (set_local $25 + (i32.add + (get_local $24) + (i32.shr_s + (i32.const 1048576) + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + ) + ) + (set_local $11 + (i32.sub + (i32.shr_s + (i32.and + (get_local $25) + (i32.const 2147483647) + ) + (i32.const 20) + ) + (i32.const 1023) + ) + ) + (set_local $20 + (f64.const 0) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.shl + (i64.extend_u/i32 + (i32.and + (get_local $25) + (i32.xor + (i32.shr_s + (i32.const 1048575) + (get_local $11) + ) + (i32.const -1) + ) + ) + ) + (i64.const 32) + ) + ) + ) + (set_local $25 + (i32.shr_s + (i32.or + (i32.and + (get_local $25) + (i32.const 1048575) + ) + (i32.const 1048576) + ) + (i32.sub + (i32.const 20) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $24) + (i32.const 0) + ) + (set_local $25 + (i32.sub + (i32.const 0) + (get_local $25) ) + ) + ) + (set_local $17 + (f64.sub (get_local $17) + (get_local $20) ) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $13) + ) + ) + (set_local $20 + (f64.add + (get_local $18) + (get_local $17) + ) + ) + (set_local $20 + (f64.reinterpret/i64 + (i64.and + (i64.reinterpret/f64 + (get_local $20) ) + (i64.const -4294967296) ) - (set_local $13 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + ) + ) + (set_local $21 + (f64.mul + (get_local $20) + (f64.const 0.6931471824645996) + ) + ) + (set_local $22 + (f64.add + (f64.mul + (f64.sub + (get_local $18) + (f64.sub + (get_local $20) + (get_local $17) ) ) + (f64.const 0.6931471805599453) ) - (set_local $14 - (f32.sub - (get_local $33) - (f32.sub - (f32.sub - (f32.sub - (get_local $13) - (get_local $17) + (f64.mul + (get_local $20) + (f64.const -1.904654299957768e-09) + ) + ) + ) + (set_local $13 + (f64.add + (get_local $21) + (get_local $22) + ) + ) + (set_local $23 + (f64.sub + (get_local $22) + (f64.sub + (get_local $13) + (get_local $21) + ) + ) + ) + (set_local $20 + (f64.mul + (get_local $13) + (get_local $13) + ) + ) + (set_local $15 + (f64.sub + (get_local $13) + (f64.mul + (get_local $20) + (f64.add + (f64.const 0.16666666666666602) + (f64.mul + (get_local $20) + (f64.add + (f64.const -2.7777777777015593e-03) + (f64.mul + (get_local $20) + (f64.add + (f64.const 6.613756321437934e-05) + (f64.mul + (get_local $20) + (f64.add + (f64.const -1.6533902205465252e-06) + (f64.mul + (get_local $20) + (f64.const 4.1381367970572385e-08) + ) + ) + ) + ) ) - (get_local $34) ) - (get_local $31) ) ) ) ) ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $1) + (set_local $19 + (f64.sub + (f64.div + (f64.mul + (get_local $13) + (get_local $15) + ) + (f64.sub + (get_local $15) + (f64.const 2) + ) + ) + (f64.add + (get_local $23) + (f64.mul + (get_local $13) + (get_local $23) + ) + ) + ) + ) + (set_local $13 + (f64.sub + (f64.const 1) + (f64.sub + (get_local $19) + (get_local $13) + ) + ) + ) + (set_local $24 + (i32.wrap/i64 + (i64.shr_u + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 32) + ) + ) + ) + (set_local $24 + (i32.add + (get_local $24) + (i32.shl + (get_local $25) + (i32.const 20) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $24) + (i32.const 20) + ) + (i32.const 0) + ) + (set_local $13 + (call "$(lib)/math/NativeMath.scalbn" + (get_local $13) + (get_local $25) + ) + ) + (set_local $13 + (f64.reinterpret/i64 + (i64.or + (i64.and + (i64.reinterpret/f64 + (get_local $13) + ) + (i64.const 4294967295) + ) + (i64.shl + (i64.extend_u/i32 + (get_local $24) + ) + (i64.const 32) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $14) + (get_local $13) + ) + ) + ) + (func $std/math/test_pow (; 136 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (local $5 i32) + (return + (i32.and + (if (result i32) + (tee_local $5 + (call $std/math/check + (call "$(lib)/math/NativeMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (if (result i32) + (tee_local $5 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $5) + (call $std/math/check + (call "$(lib)/math/JSMath.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.pow" (; 137 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 f32) + (local $12 f32) + (local $13 f32) + (local $14 f32) + (local $15 f32) + (local $16 f32) + (local $17 f32) + (local $18 f32) + (local $19 f32) + (local $20 f32) + (local $21 f32) + (local $22 f32) + (local $23 i32) + (local $24 i32) + (local $25 f32) + (local $26 f32) + (local $27 f32) + (local $28 f32) + (local $29 f32) + (local $30 f32) + (local $31 f32) + (local $32 f32) + (local $33 f32) + (local $34 f32) + (local $35 f32) + (local $36 i32) + (nop) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (get_local $2) + (i32.const 2147483647) + ) + ) + (set_local $5 + (i32.and + (get_local $3) + (i32.const 2147483647) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 0) + ) + (return + (f32.const 1) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.gt_s + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.gt_s + (get_local $5) + (i32.const 2139095040) + ) + ) + (i32.const 1) + ) + (return + (f32.add + (get_local $0) + (get_local $1) + ) + ) + ) + (set_local $7 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1266679808) + ) + (set_local $7 + (i32.const 2) + ) + (if + (i32.ge_s + (get_local $5) + (i32.const 1065353216) + ) + (block + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $5) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $8 + (i32.shr_s + (get_local $5) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $8) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + (get_local $5) + ) + (set_local $7 + (i32.sub + (i32.const 2) + (i32.and + (get_local $8) + (i32.const 1) + ) + ) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 2139095040) + ) + (if + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + (return + (f32.const nan:0x400000) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $1) + (f32.const 0) + ) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (f32.const 0) + (f32.neg + (get_local $1) + ) + ) + ) + ) + ) + ) + (if + (i32.eq + (get_local $5) + (i32.const 1065353216) + ) + (return + (if (result f32) + (i32.ge_s + (get_local $3) + (i32.const 0) + ) + (get_local $0) + (f32.div + (f32.const 1) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1073741824) + ) + (return + (f32.mul + (get_local $0) + (get_local $0) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 1056964608) + ) + (if + (i32.ge_s + (get_local $2) + (i32.const 0) + ) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + ) + (set_local $10 + (f32.abs + (get_local $0) + ) + ) + (nop) + (if + (i32.and + (if (result i32) + (tee_local $6 + (i32.and + (if (result i32) + (tee_local $6 + (i32.eq + (get_local $4) + (i32.const 2139095040) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 0) + ) + ) + (i32.const 1) + ) + ) + (get_local $6) + (i32.eq + (get_local $4) + (i32.const 1065353216) + ) + ) + (i32.const 1) + ) + (block + (set_local $11 + (get_local $10) + ) + (if + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.const 1) + (get_local $11) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (if + (i32.eq + (i32.or + (i32.sub + (get_local $4) + (i32.const 1065353216) + ) + (get_local $7) + ) + (i32.const 0) + ) + (set_local $11 + (f32.div + (f32.sub + (get_local $11) + (get_local $11) + ) + (f32.sub + (get_local $11) + (get_local $11) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $11 + (f32.neg + (get_local $11) + ) + ) + ) + ) + ) + (return + (get_local $11) + ) + ) + ) + (set_local $12 + (f32.const 1) + ) + (if + (i32.lt_s + (get_local $2) + (i32.const 0) + ) + (block + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (return + (f32.div + (f32.sub + (get_local $0) + (get_local $0) + ) + (f32.sub + (get_local $0) + (get_local $0) + ) + ) + ) + ) + (if + (i32.eq + (get_local $7) + (i32.const 1) + ) + (set_local $12 + (f32.const -1) + ) + ) + ) + ) + (nop) + (nop) + (if + (i32.gt_s + (get_local $5) + (i32.const 1291845632) + ) + (block + (if + (i32.lt_s + (get_local $4) + (i32.const 1065353208) + ) + (return + (if (result f32) + (i32.lt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 1065353223) + ) + (return + (if (result f32) + (i32.gt_s + (get_local $3) + (i32.const 0) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + (set_local $17 + (f32.sub + (get_local $10) + (f32.const 1) + ) + ) + (set_local $20 + (f32.mul + (f32.mul + (get_local $17) + (get_local $17) + ) + (f32.sub + (f32.const 0.5) + (f32.mul + (get_local $17) + (f32.sub + (f32.const 0.3333333432674408) + (f32.mul + (get_local $17) + (f32.const 0.25) + ) + ) + ) + ) + ) + ) + (set_local $18 + (f32.mul + (f32.const 1.44268798828125) + (get_local $17) + ) + ) + (set_local $19 + (f32.sub + (f32.mul + (get_local $17) + (f32.const 7.052607543300837e-06) + ) + (f32.mul + (get_local $20) + (f32.const 1.4426950216293335) + ) + ) + ) + (set_local $13 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $19) + (f32.sub + (get_local $13) + (get_local $18) + ) + ) + ) + ) + (block + (nop) + (set_local $23 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $4) + (i32.const 8388608) + ) + (block + (set_local $10 + (f32.mul + (get_local $10) + (f32.const 16777216) + ) + ) + (set_local $23 + (i32.sub + (get_local $23) + (i32.const 24) + ) + ) + (set_local $4 + (i32.reinterpret/f32 + (get_local $10) + ) + ) + ) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.sub + (i32.shr_s + (get_local $4) + (i32.const 23) + ) + (i32.const 127) + ) + ) + ) + (set_local $8 + (i32.and + (get_local $4) + (i32.const 8388607) + ) + ) + (set_local $4 + (i32.or + (get_local $8) + (i32.const 1065353216) + ) + ) + (if + (i32.le_s + (get_local $8) + (i32.const 1885297) + ) + (set_local $9 + (i32.const 0) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 6140887) + ) + (set_local $9 + (i32.const 1) + ) + (block + (set_local $9 + (i32.const 0) + ) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 8388608) + ) + ) + ) + ) + ) + (set_local $10 + (f32.reinterpret/i32 + (get_local $4) + ) + ) + (set_local $30 + (select + (f32.const 1.5) + (f32.const 1) + (get_local $9) + ) + ) + (set_local $18 + (f32.sub + (get_local $10) + (get_local $30) + ) + ) + (set_local $19 + (f32.div + (f32.const 1) + (f32.add + (get_local $10) + (get_local $30) + ) + ) + ) + (set_local $16 + (f32.mul + (get_local $18) + (get_local $19) + ) + ) + (set_local $26 + (get_local $16) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $26) + ) + ) + (set_local $26 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $24 + (i32.or + (i32.and + (i32.shr_s + (get_local $4) + (i32.const 1) + ) + (i32.const -4096) + ) + (i32.const 536870912) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.add + (i32.add + (get_local $24) + (i32.const 4194304) + ) + (i32.shl + (get_local $9) + (i32.const 21) + ) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $10) + (f32.sub + (get_local $28) + (get_local $30) + ) + ) + ) + (set_local $27 + (f32.mul + (get_local $19) + (f32.sub + (f32.sub + (get_local $18) + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (f32.mul + (get_local $26) + (get_local $29) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $16) + (get_local $16) + ) + ) + (set_local $15 + (f32.mul + (f32.mul + (get_local $25) + (get_local $25) + ) + (f32.add + (f32.const 0.6000000238418579) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.4285714328289032) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.3333333432674408) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.2727281153202057) + (f32.mul + (get_local $25) + (f32.add + (f32.const 0.23066075146198273) + (f32.mul + (get_local $25) + (f32.const 0.20697501301765442) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.add + (get_local $15) + (f32.mul + (get_local $27) + (f32.add + (get_local $26) + (get_local $16) + ) + ) + ) + ) + (set_local $25 + (f32.mul + (get_local $26) + (get_local $26) + ) + ) + (set_local $28 + (f32.add + (f32.add + (f32.const 3) + (get_local $25) + ) + (get_local $15) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $28) + ) + ) + (set_local $28 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $29 + (f32.sub + (get_local $15) + (f32.sub + (f32.sub + (get_local $28) + (f32.const 3) + ) + (get_local $25) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $26) + (get_local $28) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (get_local $27) + (get_local $28) + ) + (f32.mul + (get_local $29) + (get_local $16) + ) + ) + ) + (set_local $21 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $21) + ) + ) + (set_local $21 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.sub + (get_local $19) + (f32.sub + (get_local $21) + (get_local $18) + ) + ) + ) + (set_local $31 + (f32.mul + (f32.const 0.9619140625) + (get_local $21) + ) + ) + (set_local $32 + (select + (f32.const 1.5632208487659227e-06) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $33 + (f32.add + (f32.add + (f32.mul + (f32.const -1.1736857413779944e-04) + (get_local $21) + ) + (f32.mul + (get_local $22) + (f32.const 0.9617967009544373) + ) + ) + (get_local $32) + ) + ) + (set_local $17 + (f32.convert_s/i32 + (get_local $23) + ) + ) + (set_local $34 + (select + (f32.const 0.5849609375) + (f32.const 0) + (get_local $9) + ) + ) + (set_local $13 + (f32.add + (f32.add + (f32.add + (get_local $31) + (get_local $33) + ) + (get_local $34) + ) + (get_local $17) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $13) + ) + ) + (set_local $13 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $14 + (f32.sub + (get_local $33) + (f32.sub + (f32.sub + (f32.sub + (get_local $13) + (get_local $17) + ) + (get_local $34) + ) + (get_local $31) + ) + ) + ) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $35 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -4096) + ) + ) + ) + (set_local $22 + (f32.add + (f32.mul + (f32.sub + (get_local $1) + (get_local $35) + ) + (get_local $13) + ) + (f32.mul + (get_local $1) + (get_local $14) + ) + ) + ) + (set_local $21 + (f32.mul + (get_local $35) + (get_local $13) + ) + ) + (set_local $11 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $8) + (i32.const 1124073472) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const 1124073472) + ) + (if + (f32.gt + (f32.add + (get_local $22) + (f32.const 4.299566569443414e-08) + ) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1000000015047466219876688e6) + ) + (f32.const 1000000015047466219876688e6) + ) + ) + ) + (if + (i32.gt_s + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + (i32.const 1125515264) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + (if + (i32.eq + (get_local $8) + (i32.const -1021968384) + ) + (if + (f32.le + (get_local $22) + (f32.sub + (get_local $11) + (get_local $21) + ) + ) + (return + (f32.mul + (f32.mul + (get_local $12) + (f32.const 1.0000000031710769e-30) + ) + (f32.const 1.0000000031710769e-30) + ) + ) + ) + ) + ) + ) + ) + (set_local $36 + (i32.and + (get_local $8) + (i32.const 2147483647) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (get_local $36) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $23 + (i32.const 0) + ) + (if + (i32.gt_s + (get_local $36) + (i32.const 1056964608) + ) + (block + (set_local $23 + (i32.add + (get_local $8) + (i32.shr_s + (i32.const 8388608) + (i32.add + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + (set_local $9 + (i32.sub + (i32.shr_s + (i32.and + (get_local $23) + (i32.const 2147483647) + ) + (i32.const 23) + ) + (i32.const 127) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $23) + (i32.xor + (i32.shr_s + (i32.const 8388607) + (get_local $9) + ) + (i32.const -1) + ) + ) + ) + ) + (set_local $23 + (i32.shr_s + (i32.or + (i32.and + (get_local $23) + (i32.const 8388607) + ) + (i32.const 8388608) + ) + (i32.sub + (i32.const 23) + (get_local $9) + ) + ) + ) + (if + (i32.lt_s + (get_local $8) + (i32.const 0) + ) + (set_local $23 + (i32.sub + (i32.const 0) + (get_local $23) + ) + ) + ) + (set_local $21 + (f32.sub + (get_local $21) + (get_local $17) + ) + ) + ) + ) + (set_local $17 + (f32.add + (get_local $22) + (get_local $21) + ) + ) + (set_local $24 + (i32.reinterpret/f32 + (get_local $17) + ) + ) + (set_local $17 + (f32.reinterpret/i32 + (i32.and + (get_local $24) + (i32.const -32768) + ) + ) + ) + (set_local $18 + (f32.mul + (get_local $17) + (f32.const 0.693145751953125) + ) + ) + (set_local $19 + (f32.add + (f32.mul + (f32.sub + (get_local $22) + (f32.sub + (get_local $17) + (get_local $21) + ) + ) + (f32.const 0.6931471824645996) + ) + (f32.mul + (get_local $17) + (f32.const 1.4286065379565116e-06) + ) + ) + ) + (set_local $11 + (f32.add + (get_local $18) + (get_local $19) + ) + ) + (set_local $20 + (f32.sub + (get_local $19) + (f32.sub + (get_local $11) + (get_local $18) + ) + ) + ) + (set_local $17 + (f32.mul + (get_local $11) + (get_local $11) + ) + ) + (set_local $13 + (f32.sub + (get_local $11) + (f32.mul + (get_local $17) + (f32.add + (f32.const 0.1666666716337204) + (f32.mul + (get_local $17) + (f32.add + (f32.const -2.7777778450399637e-03) + (f32.mul + (get_local $17) + (f32.add + (f32.const 6.61375597701408e-05) + (f32.mul + (get_local $17) + (f32.add + (f32.const -1.6533901998627698e-06) + (f32.mul + (get_local $17) + (f32.const 4.138136944220605e-08) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + (set_local $15 + (f32.sub + (f32.div + (f32.mul + (get_local $11) + (get_local $13) + ) + (f32.sub + (get_local $13) + (f32.const 2) + ) + ) + (f32.add + (get_local $20) + (f32.mul + (get_local $11) + (get_local $20) + ) + ) + ) + ) + (set_local $11 + (f32.sub + (f32.const 1) + (f32.sub + (get_local $15) + (get_local $11) + ) + ) + ) + (set_local $8 + (i32.reinterpret/f32 + (get_local $11) + ) + ) + (set_local $8 + (i32.add + (get_local $8) + (i32.shl + (get_local $23) + (i32.const 23) + ) + ) + ) + (if + (i32.le_s + (i32.shr_s + (get_local $8) + (i32.const 23) + ) + (i32.const 0) + ) + (set_local $11 + (call "$(lib)/math/NativeMathf.scalbn" + (get_local $11) + (get_local $23) + ) + ) + (set_local $11 + (f32.reinterpret/i32 + (get_local $8) + ) + ) + ) + (return + (f32.mul + (get_local $12) + (get_local $11) + ) + ) + ) + (func $std/math/test_powf (; 138 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.pow" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/murmurHash3" (; 139 ;) (type $II) (param $0 i64) (result i64) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (set_local $0 + (i64.mul + (get_local $0) + (i64.const -49064778989728563) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (set_local $0 + (i64.mul + (get_local $0) + (i64.const -4265267296055464877) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 33) + ) + ) + ) + (return + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMath.seedRandom" (; 140 ;) (type $Iv) (param $0 i64) + (if + (i64.eqz + (get_local $0) + ) + (block + (call $abort + (i32.const 0) + (i32.const 32) + (i32.const 1030) + (i32.const 4) + ) + (unreachable) + ) + ) + (set_global "$(lib)/math/random_seeded" + (i32.const 1) + ) + (set_global "$(lib)/math/random_state0" + (call "$(lib)/math/murmurHash3" + (get_local $0) + ) + ) + (set_global "$(lib)/math/random_state1" + (call "$(lib)/math/murmurHash3" + (get_global "$(lib)/math/random_state0") + ) + ) + ) + (func "$(lib)/math/NativeMath.random" (; 141 ;) (type $F) (result f64) + (local $0 i64) + (local $1 i64) + (local $2 i64) + (if + (i32.eqz + (get_global "$(lib)/math/random_seeded") + ) + (unreachable) + ) + (set_local $0 + (get_global "$(lib)/math/random_state0") + ) + (set_local $1 + (get_global "$(lib)/math/random_state1") + ) + (set_global "$(lib)/math/random_state0" + (get_local $1) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shl + (get_local $0) + (i64.const 23) + ) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $0) + (i64.const 17) + ) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (get_local $1) + ) + ) + (set_local $0 + (i64.xor + (get_local $0) + (i64.shr_u + (get_local $1) + (i64.const 26) + ) + ) + ) + (set_global "$(lib)/math/random_state1" + (get_local $0) + ) + (set_local $2 + (i64.or + (i64.and + (i64.add + (get_local $1) + (get_local $0) + ) + (i64.const 4503599627370495) + ) + (i64.const 4607182418800017408) + ) + ) + (return + (f64.sub + (f64.reinterpret/i64 + (get_local $2) + ) + (f64.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.seedRandom" (; 142 ;) (type $Iv) (param $0 i64) + (call "$(lib)/math/NativeMath.seedRandom" + (get_local $0) + ) + ) + (func "$(lib)/math/NativeMathf.random" (; 143 ;) (type $f) (result f32) + (return + (f32.demote/f64 + (call "$(lib)/math/NativeMath.random") + ) + ) + ) + (func "$(lib)/math/NativeMath.round" (; 144 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 f64) + (nop) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $1) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (nop) + (if + (i32.ge_s + (get_local $2) + (i32.add + (i32.const 1023) + (i32.const 52) + ) + ) + (return + (get_local $0) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $0 + (f64.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.sub + (i32.const 1023) + (i32.const 1) + ) + ) + (return + (f64.mul + (f64.const 0) + (f64.reinterpret/i64 + (get_local $1) + ) + ) + ) + ) + (set_local $3 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) + (get_local $0) + ) + ) + (if + (f64.gt + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 + (f64.sub + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (if + (f64.le + (get_local $3) + (f64.const -0.5) + ) + (set_local $3 + (f64.add + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (get_local $0) + ) + ) + ) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $3 + (f64.neg + (get_local $3) + ) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/math/test_round (; 145 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMath.round" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMathf.round" (; 146 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (nop) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.and + (i32.shr_u + (get_local $1) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (nop) + (if + (i32.ge_s + (get_local $2) + (i32.add + (i32.const 127) + (i32.const 23) + ) + ) + (return + (get_local $0) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (set_local $0 + (f32.neg + (get_local $0) + ) + ) + ) + (if + (i32.lt_s + (get_local $2) + (i32.sub + (i32.const 127) + (i32.const 1) + ) + ) + (return + (f32.mul + (f32.const 0) + (f32.reinterpret/i32 + (get_local $1) + ) + ) + ) + ) + (set_local $3 + (f32.sub + (f32.sub + (f32.add + (get_local $0) + (f32.const 8388608) + ) + (f32.const 8388608) + ) + (get_local $0) + ) + ) + (if + (f32.gt + (get_local $3) + (f32.const 0.5) + ) + (set_local $3 + (f32.sub + (f32.add + (get_local $3) + (get_local $0) + ) + (f32.const 1) + ) + ) + (if + (f32.le + (get_local $3) + (f32.const -0.5) + ) + (set_local $3 + (f32.add + (f32.add + (get_local $3) + (get_local $0) + ) + (f32.const 1) + ) + ) + (set_local $3 + (f32.add + (get_local $3) + (get_local $0) + ) + ) + ) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (set_local $3 + (f32.neg + (get_local $3) + ) + ) + ) + (return + (get_local $3) + ) + ) + (func $std/math/test_roundf (; 147 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.round" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.sign" (; 148 ;) (type $FF) (param $0 f64) (result f64) + (return + (if (result f64) + (f64.gt + (get_local $0) + (f64.const 0) + ) + (f64.const 1) + (if (result f64) + (f64.lt + (get_local $0) + (f64.const 0) + ) + (f64.const -1) + (get_local $0) + ) + ) + ) + ) + (func $std/math/test_sign (; 149 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.sign" (; 150 ;) (type $ff) (param $0 f32) (result f32) + (return + (if (result f32) + (f32.gt + (get_local $0) + (f32.const 0) + ) + (f32.const 1) + (if (result f32) + (f32.lt + (get_local $0) + (f32.const 0) + ) + (f32.const -1) + (get_local $0) + ) + ) + ) + ) + (func $std/math/test_signf (; 151 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.sign" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.rem" (; 152 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) + (local $2 i64) + (local $3 i64) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 f64) + (local $9 i32) + (local $10 i64) + (local $11 i64) + (local $12 i32) + (set_local $2 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $3 + (i64.reinterpret/f64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $2) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $5 + (i32.wrap/i64 + (i64.and + (i64.shr_u + (get_local $3) + (i64.const 52) + ) + (i64.const 2047) + ) + ) + ) + (set_local $6 + (i32.wrap/i64 + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + ) + ) + (set_local $7 + (i32.wrap/i64 + (i64.shr_u + (get_local $3) + (i64.const 63) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.and + (if (result i32) + (tee_local $9 + (i64.eq + (i64.shl + (get_local $3) + (i64.const 1) + ) + (i64.const 0) + ) + ) + (get_local $9) + (f64.ne + (tee_local $8 + (get_local $1) + ) + (get_local $8) + ) + ) + (i32.const 1) + ) + ) + (get_local $9) + (i32.eq + (get_local $4) + (i32.const 2047) + ) + ) + (i32.const 1) + ) + (return + (f64.div + (f64.mul + (get_local $0) + (get_local $1) + ) + (f64.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i64.eq + (i64.shl + (get_local $2) + (i64.const 1) + ) + (i64.const 0) + ) + (return + (get_local $0) + ) + ) + (set_local $10 + (get_local $2) + ) + (nop) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $11 + (i64.shl + (get_local $10) + (i64.const 12) + ) + ) + (loop $continue|0 + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (block + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $11 + (i64.shl + (get_local $11) + (i64.const 1) + ) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $10 + (i64.shl + (get_local $10) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $10 + (i64.and + (get_local $10) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $10 + (i64.or + (get_local $10) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $11 + (i64.shl + (get_local $3) + (i64.const 12) + ) + ) + (loop $continue|1 + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (block + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $11 + (i64.shl + (get_local $11) + (i64.const 1) + ) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i64.shl + (get_local $3) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (block + (set_local $3 + (i64.and + (get_local $3) + (i64.shr_u + (i64.const -1) + (i64.const 12) + ) + ) + ) + (set_local $3 + (i64.or + (get_local $3) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + ) + ) + (set_local $12 + (i32.const 0) + ) + (block $break|2 + (loop $continue|2 + (block + (if + (i32.lt_s + (get_local $4) + (get_local $5) + ) + (block + (if + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + (br $break|2) + ) + (return + (get_local $0) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $11 + (i64.sub + (get_local $10) + (get_local $3) + ) + ) + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $10 + (get_local $11) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $10 + (i64.shl + (get_local $10) + (i64.const 1) + ) + ) + (set_local $12 + (i32.shl + (get_local $12) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (set_local $11 + (i64.sub + (get_local $10) + (get_local $3) + ) + ) + (if + (i64.eq + (i64.shr_u + (get_local $11) + (i64.const 63) + ) + (i64.const 0) + ) + (block + (set_local $10 + (get_local $11) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (if + (i64.eq + (get_local $10) + (i64.const 0) + ) + (set_local $4 + (i32.const -60) + ) + (block $break|4 + (nop) + (loop $continue|4 + (if + (i64.eq + (i64.shr_u + (get_local $10) + (i64.const 52) + ) + (i64.const 0) + ) + (block + (block + ) + (block + (set_local $10 + (i64.shl + (get_local $10) + (i64.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + ) + (br $continue|4) + ) + ) + ) + ) + ) + (br $break|2) + ) + (br_if $continue|2 + (i32.const 0) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $10 + (i64.sub + (get_local $10) + (i64.shl + (i64.const 1) + (i64.const 52) + ) + ) + ) + (set_local $10 + (i64.or + (get_local $10) + (i64.shl + (i64.extend_u/i32 + (get_local $4) + ) + (i64.const 52) + ) + ) + ) + ) + (set_local $10 + (i64.shr_u + (get_local $10) + (i64.extend_u/i32 + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $10) + ) + ) + (if + (get_local $7) + (set_local $1 + (f64.neg + (get_local $1) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $9 + (i32.eq + (get_local $4) + (get_local $5) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + ) + (if (result i32) + (tee_local $9 + (f64.gt + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $9) + (if (result i32) + (tee_local $9 + (f64.eq + (f64.mul + (f64.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (i32.rem_u + (get_local $12) + (i32.const 2) + ) + (i32.const 1) + ) + (get_local $9) + ) + ) + (get_local $9) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f64.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $12 + (i32.and + (get_local $12) + (i32.const 2147483647) + ) + ) + (return + (if (result f64) + (get_local $6) + (f64.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/math/test_rem (; 153 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMath.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMathf.rem" (; 154 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 f32) + (local $11 i32) + (local $12 i32) + (set_local $2 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $3 + (i32.reinterpret/f32 + (get_local $1) + ) + ) + (set_local $4 + (i32.and + (i32.shr_u + (get_local $2) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $5 + (i32.and + (i32.shr_u + (get_local $3) + (i32.const 23) + ) + (i32.const 255) + ) + ) + (set_local $6 + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + ) + (set_local $7 + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + ) + (nop) + (set_local $9 + (get_local $2) + ) + (if + (i32.and + (if (result i32) + (tee_local $11 + (i32.and + (if (result i32) + (tee_local $11 + (i32.eq + (i32.shl + (get_local $3) + (i32.const 1) + ) + (i32.const 0) + ) + ) + (get_local $11) + (f32.ne + (tee_local $10 + (get_local $1) + ) + (get_local $10) + ) + ) + (i32.const 1) + ) + ) + (get_local $11) + (i32.eq + (get_local $4) + (i32.const 255) + ) + ) + (i32.const 1) + ) + (return + (f32.div + (f32.mul + (get_local $0) + (get_local $1) + ) + (f32.mul + (get_local $0) + (get_local $1) + ) + ) + ) + ) + (if + (i32.eq + (i32.shl + (get_local $2) + (i32.const 1) + ) + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + (if + (i32.eqz + (get_local $4) + ) + (block + (block $break|0 + (set_local $8 + (i32.shl + (get_local $9) + (i32.const 9) + ) + ) + (loop $continue|0 + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (block + ) + (block + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $9 + (i32.and + (get_local $9) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $9 + (i32.or + (get_local $9) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (if + (i32.eqz + (get_local $5) + ) + (block + (block $break|1 + (set_local $8 + (i32.shl + (get_local $3) + (i32.const 9) + ) + ) + (loop $continue|1 + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (block + ) + (block + (set_local $5 + (i32.sub + (get_local $5) + (i32.const 1) + ) + ) + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + ) + (br $continue|1) + ) + ) + ) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.add + (i32.sub + (i32.const 0) + (get_local $5) + ) + (i32.const 1) + ) + ) + ) + ) + (block + (set_local $3 + (i32.and + (get_local $3) + (i32.shr_u + (i32.const -1) + (i32.const 9) + ) + ) + ) + (set_local $3 + (i32.or + (get_local $3) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + ) + ) + (set_local $12 + (i32.const 0) + ) + (block $break|2 + (loop $continue|2 + (block + (if + (i32.lt_s + (get_local $4) + (get_local $5) + ) + (block + (if + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + (br $break|2) + ) + (return + (get_local $0) + ) + ) + ) + (block $break|3 + (nop) + (loop $continue|3 + (if + (i32.gt_s + (get_local $4) + (get_local $5) + ) + (block + (block + (set_local $8 + (i32.sub + (get_local $9) + (get_local $3) + ) + ) + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (set_local $9 + (get_local $8) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (set_local $12 + (i32.shl + (get_local $12) + (i32.const 1) + ) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + (br $continue|3) + ) + ) + ) + ) + (set_local $8 + (i32.sub + (get_local $9) + (get_local $3) + ) + ) + (if + (i32.eq + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 0) + ) + (block + (set_local $9 + (get_local $8) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (if + (i32.eq + (get_local $9) + (i32.const 0) + ) + (set_local $4 + (i32.const -30) + ) + (block $break|4 + (nop) + (loop $continue|4 + (if + (i32.eq + (i32.shr_u + (get_local $9) + (i32.const 23) + ) + (i32.const 0) + ) + (block + (block + ) + (block + (set_local $9 + (i32.shl + (get_local $9) + (i32.const 1) + ) + ) + (set_local $4 + (i32.sub + (get_local $4) + (i32.const 1) + ) + ) + ) + (br $continue|4) + ) + ) + ) + ) + ) + (br $break|2) + ) + (br_if $continue|2 + (i32.const 0) + ) + ) + ) + (if + (i32.gt_s + (get_local $4) + (i32.const 0) + ) + (block + (set_local $9 + (i32.sub + (get_local $9) + (i32.shl + (i32.const 1) + (i32.const 23) + ) + ) + ) + (set_local $9 + (i32.or + (get_local $9) + (i32.shl + (get_local $4) + (i32.const 23) + ) + ) + ) + ) + (set_local $9 + (i32.shr_u + (get_local $9) + (i32.add + (i32.sub + (i32.const 0) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $9) + ) + ) + (if + (get_local $7) + (set_local $1 + (f32.neg + (get_local $1) + ) + ) + ) + (if + (i32.and + (if (result i32) + (tee_local $11 + (i32.eq + (get_local $4) + (get_local $5) + ) + ) + (get_local $11) + (if (result i32) + (tee_local $11 + (i32.eq + (i32.add + (get_local $4) + (i32.const 1) + ) + (get_local $5) + ) + ) + (if (result i32) + (tee_local $11 + (f32.gt + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (get_local $11) + (if (result i32) + (tee_local $11 + (f32.eq + (f32.mul + (f32.const 2) + (get_local $0) + ) + (get_local $1) + ) + ) + (i32.and + (i32.rem_s + (get_local $12) + (i32.const 2) + ) + (i32.const 1) + ) + (get_local $11) + ) + ) + (get_local $11) + ) + ) + (i32.const 1) + ) + (block + (set_local $0 + (f32.sub + (get_local $0) + (get_local $1) + ) + ) + (set_local $12 + (i32.add + (get_local $12) + (i32.const 1) + ) + ) + ) + ) + (set_local $12 + (i32.and + (get_local $12) + (i32.const 2147483647) + ) + ) + (return + (if (result f32) + (get_local $6) + (f32.neg + (get_local $0) + ) + (get_local $0) + ) + ) + ) + (func $std/math/test_remf (; 155 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.rem" + (get_local $0) + (get_local $1) + ) + (get_local $2) + (get_local $3) + (get_local $4) + ) + ) + ) + (func "$(lib)/math/NativeMath.sinh" (; 156 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 f64) + (local $3 f64) + (local $4 i32) + (local $5 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (f64.const 0.5) + ) + (if + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) + ) + (set_local $2 + (f64.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $3 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $4 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $4) + (i32.const 1082535490) + ) + (block + (set_local $5 + (call "$(lib)/math/NativeMath.expm1" + (get_local $3) + ) + ) + (if + (i32.lt_u + (get_local $4) + (i32.const 1072693248) + ) + (block + (if + (i32.lt_u + (get_local $4) + (i32.sub + (i32.const 1072693248) + (i32.shl + (i32.const 26) + (i32.const 20) + ) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.sub + (f64.mul + (f64.const 2) + (get_local $5) + ) + (f64.div + (f64.mul + (get_local $5) + (get_local $5) + ) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f64.mul + (get_local $2) + (f64.add + (get_local $5) + (f64.div + (get_local $5) + (f64.add + (get_local $5) + (f64.const 1) + ) + ) + ) + ) + ) + ) + ) + (set_local $5 + (f64.mul + (f64.mul + (f64.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMath.__expo2" + (get_local $3) + ) + ) + ) + (return + (get_local $5) + ) + ) + (func $std/math/test_sinh (; 157 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.sinh" (; 158 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 f32) + (local $3 f32) + (local $4 f32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (f32.const 0.5) + ) + (if + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (set_local $2 + (f32.neg + (get_local $2) + ) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $3 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (nop) + (if + (i32.lt_u + (get_local $1) + (i32.const 1118925335) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMathf.expm1" + (get_local $3) + ) + ) + (if + (i32.lt_u + (get_local $1) + (i32.const 1065353216) + ) + (block + (if + (i32.lt_u + (get_local $1) + (i32.sub + (i32.const 1065353216) + (i32.shl + (i32.const 12) + (i32.const 23) + ) + ) + ) + (return + (get_local $0) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.sub + (f32.mul + (f32.const 2) + (get_local $4) + ) + (f32.div + (f32.mul + (get_local $4) + (get_local $4) + ) + (f32.add + (get_local $4) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (return + (f32.mul + (get_local $2) + (f32.add + (get_local $4) + (f32.div + (get_local $4) + (f32.add + (get_local $4) + (f32.const 1) + ) + ) + ) + ) + ) + ) + ) + (set_local $4 + (f32.mul + (f32.mul + (f32.const 2) + (get_local $2) + ) + (call "$(lib)/math/NativeMathf.__expo2" + (get_local $3) + ) + ) + ) + (return + (get_local $4) + ) + ) + (func $std/math/test_sinhf (; 159 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.sinh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.sqrt" (; 160 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.sqrt + (get_local $0) + ) + ) + ) + (func $std/math/test_sqrt (; 161 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.sqrt" (; 162 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.sqrt + (get_local $0) + ) + ) + ) + (func $std/math/test_sqrtf (; 163 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.sqrt" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.tanh" (; 164 ;) (type $FF) (param $0 f64) (result f64) + (local $1 i64) + (local $2 i32) + (local $3 i32) + (local $4 f64) + (set_local $1 + (i64.reinterpret/f64 + (get_local $0) + ) + ) + (set_local $2 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + ) + ) + (set_local $1 + (i64.and + (get_local $1) + (i64.const 9223372036854775807) + ) + ) + (set_local $0 + (f64.reinterpret/i64 + (get_local $1) + ) + ) + (set_local $3 + (i32.wrap/i64 + (i64.shr_u + (get_local $1) + (i64.const 32) + ) + ) + ) + (nop) + (if + (i32.gt_u + (get_local $3) + (i32.const 1071748074) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1077149696) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 0) + (get_local $0) + ) + ) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.sub + (f64.const 1) + (f64.div + (f64.const 2) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $3) + (i32.const 1070618798) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const 2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (get_local $4) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $3) + (i32.const 1048576) + ) + (block + (set_local $4 + (call "$(lib)/math/NativeMath.expm1" + (f64.mul + (f64.const -2) + (get_local $0) + ) + ) + ) + (set_local $4 + (f64.div + (f64.neg + (get_local $4) + ) + (f64.add + (get_local $4) + (f64.const 2) + ) + ) + ) + ) + (set_local $4 + (get_local $0) + ) + ) + ) + ) + (return + (if (result f64) + (get_local $2) + (f64.neg + (get_local $4) + ) + (get_local $4) + ) + ) + ) + (func $std/math/test_tanh (; 165 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.tanh" (; 166 ;) (type $ff) (param $0 f32) (result f32) + (local $1 i32) + (local $2 i32) + (local $3 f32) + (set_local $1 + (i32.reinterpret/f32 + (get_local $0) + ) + ) + (set_local $2 + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + ) + (set_local $1 + (i32.and + (get_local $1) + (i32.const 2147483647) + ) + ) + (set_local $0 + (f32.reinterpret/i32 + (get_local $1) + ) + ) + (nop) + (if + (i32.gt_u + (get_local $1) + (i32.const 1057791828) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1092616192) + ) + (set_local $3 + (f32.add + (f32.const 1) + (f32.div + (f32.const 0) + (get_local $0) + ) + ) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.sub + (f32.const 1) + (f32.div + (f32.const 2) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + ) + ) + (if + (i32.gt_u + (get_local $1) + (i32.const 1048757624) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const 2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.div + (get_local $3) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + (if + (i32.ge_u + (get_local $1) + (i32.const 8388608) + ) + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.expm1" + (f32.mul + (f32.const -2) + (get_local $0) + ) + ) + ) + (set_local $3 + (f32.div + (f32.neg + (get_local $3) + ) + (f32.add + (get_local $3) + (f32.const 2) + ) + ) + ) + ) + (set_local $3 + (get_local $0) + ) + ) + ) + ) + (return + (if (result f32) + (get_local $2) + (f32.neg + (get_local $3) + ) + (get_local $3) + ) + ) + ) + (func $std/math/test_tanhf (; 167 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.tanh" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func "$(lib)/math/NativeMath.trunc" (; 168 ;) (type $FF) (param $0 f64) (result f64) + (return + (f64.trunc + (get_local $0) + ) + ) + ) + (func $std/math/test_trunc (; 169 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) + (local $4 i32) + (return + (i32.and + (if (result i32) + (tee_local $4 + (call $std/math/check + (call "$(lib)/math/NativeMath.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (if (result i32) + (tee_local $4 + (i32.eqz + (i32.const 1) + ) + ) + (get_local $4) + (call $std/math/check + (call "$(lib)/math/JSMath.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + (get_local $4) + ) + (i32.const 1) + ) + ) + ) + (func "$(lib)/math/NativeMathf.trunc" (; 170 ;) (type $ff) (param $0 f32) (result f32) + (return + (f32.trunc + (get_local $0) + ) + ) + ) + (func $std/math/test_truncf (; 171 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) + (return + (call $std/math/check + (call "$(lib)/math/NativeMathf.trunc" + (get_local $0) + ) + (get_local $1) + (get_local $2) + (get_local $3) + ) + ) + ) + (func $start (; 172 ;) (type $v) + (local $0 i32) + (local $1 f64) + (local $2 i32) + (local $3 f32) + (if + (i32.eqz + (f64.eq + (f64.const 2.718281828459045) + (f64.const 2.718281828459045) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (f32.eq + (f32.const 2.7182817459106445) + (f32.const 2.7182817459106445) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.718281828459045) + (get_global "$(lib)/math/JSMath.E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.6931471805599453) + (get_global "$(lib)/math/JSMath.LN2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 120) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 2.302585092994046) + (get_global "$(lib)/math/JSMath.LN10") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 121) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4426950408889634) + (get_global "$(lib)/math/JSMath.LOG2E") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 3.141592653589793) + (get_global "$(lib)/math/JSMath.PI") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 0.7071067811865476) + (get_global "$(lib)/math/JSMath.SQRT1_2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f64.const 1.4142135623730951) + (get_global "$(lib)/math/JSMath.SQRT2") + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 2.7182817459106445) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.E") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 127) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 0.6931471824645996) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LN2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 128) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 2.3025851249694824) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LN10") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 129) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 1.4426950216293335) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.LOG2E") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 130) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 3.1415927410125732) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.PI") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 131) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 0.7071067690849304) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.SQRT1_2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 132) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/check + (f32.const 1.4142135381698608) + (f32.demote/f64 + (get_global "$(lib)/math/JSMath.SQRT2") + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 133) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.06684839057968) + (i32.const -2) + (f64.const -2.01671209764492) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 4.345239849338305) + (i32.const -1) + (f64.const 2.1726199246691524) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 145) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -8.38143342755525) + (i32.const 0) + (f64.const -8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 146) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -6.531673581913484) + (i32.const 1) + (f64.const -13.063347163826968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 9.267056966972586) + (i32.const 2) + (f64.const 37.06822786789034) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.6619858980995045) + (i32.const 3) + (f64.const 5.295887184796036) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.4066039223853553) + (i32.const 4) + (f64.const -6.505662758165685) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5617597462207241) + (i32.const 5) + (f64.const 17.97631187906317) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7741522965913037) + (i32.const 6) + (f64.const 49.545746981843436) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 152) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0.6787637026394024) + (i32.const 7) + (f64.const -86.88175393784351) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 153) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const 2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 156) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0) + (i32.const -2147483647) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 157) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const -0) + (i32.const 2147483647) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 158) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 159) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 0) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 160) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 161) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 162) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 1) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const nan:0x8000000000000) + (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const 2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const inf) + (i32.const -2147483647) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.neg + (f64.const inf) + ) + (i32.const 2147483647) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 169) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 8988465674311579538646525e283) + (i32.const -2097) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 170) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 5e-324) + (i32.const 2097) + (f64.const 8988465674311579538646525e283) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 171) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 1.000244140625) + (i32.const -1074) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 172) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.7499999999999999) + (i32.const -1073) + (f64.const 5e-324) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 173) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbn + (f64.const 0.5000000000000012) + (i32.const -1024) + (f64.const 2.781342323134007e-309) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 174) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.066848754882812) + (i32.const -2) + (f32.const -2.016712188720703) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 4.345239639282227) + (i32.const -1) + (f32.const 2.1726198196411133) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -8.381433486938477) + (i32.const 0) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -6.531673431396484) + (i32.const 1) + (f32.const -13.063346862792969) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 186) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 9.267057418823242) + (i32.const 2) + (f32.const 37.06822967529297) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 187) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.6619858741760254) + (i32.const 3) + (f32.const 5.295886993408203) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 188) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.40660393238067627) + (i32.const 4) + (f32.const -6.50566291809082) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 189) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5617597699165344) + (i32.const 5) + (f32.const 17.9763126373291) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 190) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7741522789001465) + (i32.const 6) + (f32.const 49.545745849609375) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 191) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0.6787636876106262) + (i32.const 7) + (f32.const -86.88175201416016) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 192) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const 2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0) + (i32.const -2147483647) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const -0) + (i32.const 2147483647) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 0) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 1) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 204) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const nan:0x400000) + (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 205) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const 2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const inf) + (i32.const -2147483647) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.neg + (f32.const inf) + ) + (i32.const 2147483647) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1701411834604692317316873e14) + (i32.const -276) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.401298464324817e-45) + (i32.const 276) + (f32.const 1701411834604692317316873e14) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 1.000244140625) + (i32.const -149) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.7499999403953552) + (i32.const -148) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_scalbnf + (f32.const 0.5000006556510925) + (i32.const -128) + (f32.const 1.4693693398263237e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.06684839057968) + (f64.const 8.06684839057968) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 225) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 4.345239849338305) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 226) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -8.38143342755525) + (f64.const 8.38143342755525) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 227) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -6.531673581913484) + (f64.const 6.531673581913484) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 228) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 9.267056966972586) + (f64.const 9.267056966972586) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 229) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.6619858980995045) + (f64.const 0.6619858980995045) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 230) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.4066039223853553) + (f64.const 0.4066039223853553) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.5617597462207241) + (f64.const 0.5617597462207241) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0.7741522965913037) + (f64.const 0.7741522965913037) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0.6787637026394024) + (f64.const 0.6787637026394024) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const -1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 241) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 242) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_abs + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 243) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.066848754882812) + (f32.const 8.066848754882812) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 252) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 4.345239639282227) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 253) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -8.381433486938477) + (f32.const 8.381433486938477) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 254) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -6.531673431396484) + (f32.const 6.531673431396484) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 255) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 9.267057418823242) + (f32.const 9.267057418823242) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 256) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.6619858741760254) + (f32.const 0.6619858741760254) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 257) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.40660393238067627) + (f32.const 0.40660393238067627) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 258) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.5617597699165344) + (f32.const 0.5617597699165344) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 259) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0.7741522789001465) + (f32.const 0.7741522789001465) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 260) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0.6787636876106262) + (f32.const 0.6787636876106262) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 261) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 264) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 265) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 266) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const -1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 267) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 268) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 269) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_absf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 270) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 282) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 283) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 284) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 285) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 286) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.6619858980995045) + (f64.const 0.8473310828433507) + (f64.const -0.41553276777267456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 287) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.4066039223853553) + (f64.const 1.989530071088669) + (f64.const 0.4973946213722229) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 288) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.5617597462207241) + (f64.const 0.9742849645674904) + (f64.const -0.4428897500038147) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 289) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.7741522965913037) + (f64.const 0.6854215158636222) + (f64.const -0.12589527666568756) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 290) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.6787637026394024) + (f64.const 2.316874138205964) + (f64.const -0.17284949123859406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 291) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 294) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 295) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 296) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 297) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 298) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 299) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 300) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 301) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const -0.5309227209592985) + (f64.const 2.1304853799705463) + (f64.const 0.1391008496284485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 302) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acos + (f64.const 0.4939556746399746) + (f64.const 1.0541629875851946) + (f64.const 0.22054767608642578) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 303) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 312) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 313) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 314) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 315) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 316) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.6619858741760254) + (f32.const 0.8473311066627502) + (f32.const -0.13588131964206696) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 317) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.40660393238067627) + (f32.const 1.989530086517334) + (f32.const 0.03764917701482773) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 318) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.5617597699165344) + (f32.const 0.9742849469184875) + (f32.const 0.18443739414215088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 319) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.7741522789001465) + (f32.const 0.6854215264320374) + (f32.const -0.29158344864845276) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 320) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.6787636876106262) + (f32.const 2.3168740272521973) + (f32.const -0.3795364499092102) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 321) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 324) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 325) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 326) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 327) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 328) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 329) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 331) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const 0.49965065717697144) + (f32.const 1.0476008653640747) + (f32.const -0.21161814033985138) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 332) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5051405429840088) + (f32.const 2.1003410816192627) + (f32.const -0.20852705836296082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 333) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosf + (f32.const -0.5189794898033142) + (f32.const 2.116452932357788) + (f32.const -0.14600826799869537) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 334) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 346) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 4.345239849338305) + (f64.const 2.1487163980597503) + (f64.const -0.291634738445282) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 347) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 348) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 349) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 9.267056966972586) + (f64.const 2.91668914109908) + (f64.const -0.24191908538341522) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 350) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.6619858980995045) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 351) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 352) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.5617597462207241) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 353) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.7741522965913037) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 354) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 355) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 358) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 359) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 360) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0.9999923706054688) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 361) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 362) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 363) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 364) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1060831199926429) + (f64.const 0.4566373404384803) + (f64.const -0.29381608963012695) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 380) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1089809557628658) + (f64.const 0.4627246859959428) + (f64.const -0.3990095555782318) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 382) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acosh + (f64.const 1.1169429159875521) + (f64.const 0.47902433134075284) + (f64.const -0.321674108505249) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 383) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 392) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 4.345239639282227) + (f32.const 2.148716449737549) + (f32.const 0.4251045286655426) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 393) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 394) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 395) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 9.267057418823242) + (f32.const 2.916689157485962) + (f32.const -0.1369788944721222) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 396) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.6619858741760254) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 397) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 398) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.5617597699165344) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 399) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.7741522789001465) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 400) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 401) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 404) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 405) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 406) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0.9999923706054688) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 407) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 408) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 409) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 410) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_acoshf + (f32.const -1125899906842624) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 411) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 423) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 424) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 425) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 426) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 427) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.6619858980995045) + (f64.const 0.7234652439515459) + (f64.const -0.13599912822246552) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 428) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.4066039223853553) + (f64.const -0.41873374429377225) + (f64.const -0.09264230728149414) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 429) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5617597462207241) + (f64.const 0.5965113622274062) + (f64.const -0.10864213854074478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 430) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.7741522965913037) + (f64.const 0.8853748109312743) + (f64.const -0.4256366193294525) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 431) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0.6787637026394024) + (f64.const -0.7460778114110673) + (f64.const 0.13986606895923615) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 432) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 435) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 436) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 437) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 438) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 439) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const -1.0000000000000002) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 440) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 441) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 442) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 443) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asin + (f64.const 0.5073043929119148) + (f64.const 0.5320538997772349) + (f64.const -0.16157317161560059) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 444) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 453) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 454) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 455) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 456) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 457) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.6619858741760254) + (f32.const 0.7234652042388916) + (f32.const -0.1307632476091385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 458) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.40660393238067627) + (f32.const -0.41873374581336975) + (f32.const 0.3161141574382782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 459) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5617597699165344) + (f32.const 0.5965113639831543) + (f32.const -0.4510819613933563) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 460) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.7741522789001465) + (f32.const 0.8853747844696045) + (f32.const 0.02493886835873127) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 461) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0.6787636876106262) + (f32.const -0.7460777759552002) + (f32.const 0.2515012323856354) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 462) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 465) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 466) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 467) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 468) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 469) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const -1.0000001192092896) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 470) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 471) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 472) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 473) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinf + (f32.const 0.5004770159721375) + (f32.const 0.5241496562957764) + (f32.const -0.29427099227905273) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 474) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.06684839057968) + (f64.const -2.784729878387861) + (f64.const -0.4762189984321594) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 486) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 4.345239849338305) + (f64.const 2.175213389013164) + (f64.const -0.02728751301765442) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 487) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -8.38143342755525) + (f64.const -2.822706083697696) + (f64.const 0.20985257625579834) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 488) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -6.531673581913484) + (f64.const -2.575619446591922) + (f64.const 0.3113134205341339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 489) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 9.267056966972586) + (f64.const 2.9225114951048674) + (f64.const 0.4991756081581116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 490) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.6619858980995045) + (f64.const 0.6212462762707166) + (f64.const -0.4697347581386566) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 491) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.4066039223853553) + (f64.const -0.39615990393192035) + (f64.const -0.40814438462257385) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 492) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.5617597462207241) + (f64.const 0.5357588870255474) + (f64.const 0.3520713150501251) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 493) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0.7741522965913037) + (f64.const 0.7123571263197349) + (f64.const 0.13371451199054718) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 494) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0.6787637026394024) + (f64.const -0.635182348903198) + (f64.const 0.04749670997262001) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 495) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 498) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 499) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 500) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 501) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 502) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.066848754882812) + (f32.const -2.7847299575805664) + (f32.const -0.14418013393878937) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 531) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 4.345239639282227) + (f32.const 2.17521333694458) + (f32.const -0.020796965807676315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 532) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -8.381433486938477) + (f32.const -2.8227059841156006) + (f32.const 0.44718533754348755) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 533) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -6.531673431396484) + (f32.const -2.5756194591522217) + (f32.const -0.14822272956371307) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 534) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 9.267057418823242) + (f32.const 2.922511577606201) + (f32.const 0.14270681142807007) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 535) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.6619858741760254) + (f32.const 0.6212462782859802) + (f32.const 0.3684912919998169) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 536) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.40660393238067627) + (f32.const -0.39615991711616516) + (f32.const -0.13170306384563446) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 537) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.5617597699165344) + (f32.const 0.535758912563324) + (f32.const 0.08184859901666641) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 538) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0.7741522789001465) + (f32.const 0.7123571038246155) + (f32.const -0.14270737767219543) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 539) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0.6787636876106262) + (f32.const -0.6351823210716248) + (f32.const 0.2583143711090088) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 540) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 543) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 544) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 545) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 546) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_asinhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 547) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.06684839057968) + (f64.const -1.4474613762633468) + (f64.const 0.14857111871242523) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 559) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 4.345239849338305) + (f64.const 1.344597927114538) + (f64.const -0.08170335739850998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 560) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -8.38143342755525) + (f64.const -1.4520463463295539) + (f64.const -0.07505480200052261) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 561) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -6.531673581913484) + (f64.const -1.4188758658752532) + (f64.const -0.057633496820926666) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 562) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 9.267056966972586) + (f64.const 1.463303145448706) + (f64.const 0.1606956422328949) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 563) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6619858980995045) + (f64.const 0.5847550670238325) + (f64.const 0.4582556486129761) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 564) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.4066039223853553) + (f64.const -0.3861864177552131) + (f64.const -0.2574281692504883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 565) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.5617597462207241) + (f64.const 0.5118269531628881) + (f64.const -0.11444277316331863) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 566) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.7741522965913037) + (f64.const 0.6587802431653822) + (f64.const -0.11286488175392151) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 567) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0.6787637026394024) + (f64.const -0.5963307826973472) + (f64.const -0.2182842344045639) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 568) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 571) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 572) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 1) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 573) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const -1) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 574) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const inf) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 575) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.neg + (f64.const inf) + ) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 576) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 577) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan + (f64.const 0.6929821535674624) + (f64.const 0.6060004555152562) + (f64.const -0.17075790464878082) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 578) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.066848754882812) + (f32.const -1.4474613666534424) + (f32.const 0.12686480581760406) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 587) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 4.345239639282227) + (f32.const 1.3445979356765747) + (f32.const 0.16045434772968292) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 588) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -8.381433486938477) + (f32.const -1.4520463943481445) + (f32.const -0.39581751823425293) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 589) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -6.531673431396484) + (f32.const -1.418875813484192) + (f32.const 0.410570353269577) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 590) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 9.267057418823242) + (f32.const 1.4633032083511353) + (f32.const 0.48403501510620117) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 591) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.6619858741760254) + (f32.const 0.5847550630569458) + (f32.const 0.2125193476676941) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 592) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.40660393238067627) + (f32.const -0.386186420917511) + (f32.const 0.18169628083705902) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 593) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.5617597699165344) + (f32.const 0.5118269920349121) + (f32.const 0.3499770760536194) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 594) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0.7741522789001465) + (f32.const 0.6587802171707153) + (f32.const -0.2505330741405487) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 595) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0.6787636876106262) + (f32.const -0.5963307619094849) + (f32.const 0.17614826560020447) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 596) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 599) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 600) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const 1) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 601) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const -1) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 602) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const inf) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 603) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.neg + (f32.const inf) + ) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 604) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 605) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 617) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 4.345239849338305) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 618) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 619) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 620) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 9.267056966972586) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 621) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.6619858980995045) + (f64.const 0.7963404371347943) + (f64.const 0.21338365972042084) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 622) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0.4066039223853553) + (f64.const -0.43153570730602897) + (f64.const -0.4325666129589081) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 623) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.5617597462207241) + (f64.const 0.6354006111644578) + (f64.const -0.06527865678071976) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 624) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0.7741522965913037) + (f64.const 1.0306085575277995) + (f64.const 0.14632052183151245) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 625) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0.6787637026394024) + (f64.const -0.8268179645205255) + (f64.const 0.1397128701210022) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 626) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 629) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 630) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 631) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 632) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 633) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1) + (f64.const inf) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 634) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 635) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1.0000152587890625) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 636) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -1.0000152587890625) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 637) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 1.3552527156068805e-20) + (f64.const 1.3552527156068805e-20) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 638) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 9.332636185032189e-302) + (f64.const 9.332636185032189e-302) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 639) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 5.562684646268003e-309) + (f64.const 5.562684646268003e-309) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 640) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const -5.562684646268003e-309) + (f64.const -5.562684646268003e-309) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 641) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanh + (f64.const 8988465674311579538646525e283) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 642) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 651) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 4.345239639282227) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 652) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 653) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 654) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 9.267057418823242) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 655) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.6619858741760254) + (f32.const 0.7963404059410095) + (f32.const 0.19112196564674377) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 656) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0.40660393238067627) + (f32.const -0.4315357208251953) + (f32.const -0.05180925130844116) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 657) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.5617597699165344) + (f32.const 0.635400652885437) + (f32.const 0.11911056190729141) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 658) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0.7741522789001465) + (f32.const 1.0306085348129272) + (f32.const 0.1798270344734192) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 659) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0.6787636876106262) + (f32.const -0.8268179297447205) + (f32.const 0.11588983237743378) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 660) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 663) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 664) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 665) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 666) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 667) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 668) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 669) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1.0000152587890625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 670) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -1.0000152587890625) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 671) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1.3552527156068805e-20) + (f32.const 1.3552527156068805e-20) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 672) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 7.888609052210118e-31) + (f32.const 7.888609052210118e-31) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 673) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 2.938735877055719e-39) + (f32.const 2.938735877055719e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 674) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const -2.938735877055719e-39) + (f32.const -2.938735877055719e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 675) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atanhf + (f32.const 1701411834604692317316873e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 676) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -1.0585895402489023) + (f64.const 0.09766263514757156) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 688) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.6868734126013067) + (f64.const 0.35833948850631714) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 689) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -1.889300091849528) + (f64.const -0.46235957741737366) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 690) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -0.9605469021111489) + (f64.const -0.21524477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 691) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 1.0919123946142109) + (f64.const 0.3894443213939667) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 692) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -1.468508500616424) + (f64.const -0.448591411113739) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 693) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.5641600512601268) + (f64.const 0.3784842789173126) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 694) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.10281658910678508) + (f64.const -0.13993260264396667) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 695) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.29697974004493516) + (f64.const 0.44753071665763855) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 696) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -1.5131612053303916) + (f64.const 0.39708876609802246) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 697) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 700) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const -0) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 701) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const -1) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 702) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 703) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 704) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 705) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const 0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 706) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const -0) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 707) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const -1) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 708) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 709) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 710) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 711) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const 0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 712) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const -0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 713) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 714) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const -0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 715) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 716) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 717) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -3.141592653589793) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 718) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 3.141592653589793) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 719) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.const 0) + (f64.const 1.5707963267948966) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 720) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const -1.5707963267948966) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 721) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.const inf) + (f64.const 0.7853981633974483) + (f64.const -0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 722) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const 2.356194490192345) + (f64.const -0.20682445168495178) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 723) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const -0.7853981633974483) + (f64.const 0.27576595544815063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 724) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const -2.356194490192345) + (f64.const 0.20682445168495178) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 725) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.1125369292536007e-308) + (f64.const 1) + (f64.const 1.1125369292536007e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 726) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1) + (f64.const 8988465674311579538646525e283) + (f64.const 1.1125369292536007e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 727) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.5) + (f64.const 8988465674311579538646525e283) + (f64.const 1.668805393880401e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 728) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2 + (f64.const 1.5) + (f64.const -8988465674311579538646525e283) + (f64.const 3.141592653589793) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 729) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -1.0585895776748657) + (f32.const -0.22352588176727295) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 738) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 2.686873435974121) + (f32.const 0.09464472532272339) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 739) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -1.8893001079559326) + (f32.const -0.21941901743412018) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 740) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -0.9605468511581421) + (f32.const 0.46015575528144836) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 741) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 1.0919123888015747) + (f32.const -0.05708503723144531) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 742) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -1.4685084819793701) + (f32.const 0.19611206650733948) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 743) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 1.5641601085662842) + (f32.const 0.48143187165260315) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 744) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.10281659662723541) + (f32.const -0.4216274917125702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 745) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.29697975516319275) + (f32.const 0.2322007566690445) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 746) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -1.5131611824035645) + (f32.const 0.16620726883411407) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 747) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 750) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const -0) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 751) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const -1) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 752) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 753) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 754) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 755) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const 0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 756) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const -0) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 757) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const -1) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 758) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 759) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 760) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 761) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const 0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 762) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const -0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 763) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 764) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const -0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 765) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 766) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 767) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const -3.1415927410125732) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 768) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 3.1415927410125732) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 769) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.const 0) + (f32.const 1.5707963705062866) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 770) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const -1.5707963705062866) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 771) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.const inf) + (f32.const 0.7853981852531433) + (f32.const 0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 772) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const 2.356194496154785) + (f32.const 0.02500828728079796) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 773) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const -0.7853981852531433) + (f32.const -0.3666777014732361) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 774) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const -2.356194496154785) + (f32.const -0.02500828728079796) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 775) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 5.877471754111438e-39) + (f32.const 1) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 776) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_atan2f + (f32.const 1) + (f32.const 1701411834604692317316873e14) + (f32.const 5.877471754111438e-39) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 777) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.06684839057968) + (f64.const -2.0055552545020245) + (f64.const 0.46667951345443726) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 789) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 4.345239849338305) + (f64.const 1.6318162410515635) + (f64.const -0.08160271495580673) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 790) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -8.38143342755525) + (f64.const -2.031293910673361) + (f64.const -0.048101816326379776) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 791) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -6.531673581913484) + (f64.const -1.8692820012204925) + (f64.const 0.08624018728733063) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 792) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.267056966972586) + (f64.const 2.100457720859702) + (f64.const -0.2722989022731781) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 793) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.6619858980995045) + (f64.const 0.8715311470455973) + (f64.const 0.4414918124675751) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 794) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.4066039223853553) + (f64.const -0.740839030300223) + (f64.const 0.016453813761472702) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 795) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.5617597462207241) + (f64.const 0.8251195400559286) + (f64.const 0.30680638551712036) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 796) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0.7741522965913037) + (f64.const 0.9182102478959914) + (f64.const 0.06543998420238495) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 797) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0.6787637026394024) + (f64.const -0.8788326906580094) + (f64.const -0.2016713172197342) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 798) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 801) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 802) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 803) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 804) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 805) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 9.313225746154785e-10) + (f64.const 0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 806) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -9.313225746154785e-10) + (f64.const -0.0009765625) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 807) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 808) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 809) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrt + (f64.const 8) + (f64.const 2) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 810) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.066848754882812) + (f32.const -2.0055553913116455) + (f32.const -0.44719240069389343) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 819) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 4.345239639282227) + (f32.const 1.6318162679672241) + (f32.const 0.44636252522468567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 820) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -8.381433486938477) + (f32.const -2.0312938690185547) + (f32.const 0.19483426213264465) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 821) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -6.531673431396484) + (f32.const -1.8692820072174072) + (f32.const -0.17075514793395996) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 822) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.267057418823242) + (f32.const 2.1004576683044434) + (f32.const -0.36362043023109436) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 823) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.6619858741760254) + (f32.const 0.8715311288833618) + (f32.const -0.12857209146022797) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 824) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.40660393238067627) + (f32.const -0.7408390641212463) + (f32.const -0.4655757546424866) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 825) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.5617597699165344) + (f32.const 0.8251195549964905) + (f32.const 0.05601907894015312) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 826) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0.7741522789001465) + (f32.const 0.9182102680206299) + (f32.const 0.45498204231262207) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 827) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0.6787636876106262) + (f32.const -0.8788326978683472) + (f32.const -0.22978967428207397) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 828) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 831) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 832) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 833) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 834) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 835) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 9.313225746154785e-10) + (f32.const 0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 836) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -9.313225746154785e-10) + (f32.const -0.0009765625) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 837) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 838) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 839) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cbrtf + (f32.const 8) + (f32.const 2) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 840) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -8.06684839057968) + (f64.const -8) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 852) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 4.345239849338305) + (f64.const 5) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 853) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -8.38143342755525) + (f64.const -8) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 854) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -6.531673581913484) + (f64.const -6) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 855) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 9.267056966972586) + (f64.const 10) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 856) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.6619858980995045) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 857) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.4066039223853553) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 858) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5617597462207241) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 859) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.7741522965913037) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 860) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.6787637026394024) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 861) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 864) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 865) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 866) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 867) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 868) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 869) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 870) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 871) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 872) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 873) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 874) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 875) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 876) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 877) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 878) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 879) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 880) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 881) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 882) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 883) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 884) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 885) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 886) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 887) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 888) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 889) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 890) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 891) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 892) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 893) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 894) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 895) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 896) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 897) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 898) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 899) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 900) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 901) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.5) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 902) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 1.0000152587890625) + (f64.const 2) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 903) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 904) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 905) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 906) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const 7.888609052210118e-31) + (f64.const 1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 907) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceil + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 908) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -8.066848754882812) + (f32.const -8) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 917) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 4.345239639282227) + (f32.const 5) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 918) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -8.381433486938477) + (f32.const -8) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 919) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -6.531673431396484) + (f32.const -6) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 920) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 9.267057418823242) + (f32.const 10) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 921) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.6619858741760254) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 922) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.40660393238067627) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 923) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5617597699165344) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 924) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.7741522789001465) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 925) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.6787636876106262) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 926) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 929) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 930) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 931) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 932) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 933) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 934) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 935) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 936) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 937) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 938) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 939) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 940) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 941) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 942) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 943) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 944) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 945) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 946) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 947) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 948) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 949) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 950) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 951) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 952) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 953) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 954) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 955) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 956) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 957) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 958) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 959) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 960) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 961) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 962) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 963) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 964) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 965) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 966) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 967) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 1.0000152587890625) + (f32.const 2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 968) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 969) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 970) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -0.9999923706054688) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 971) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const 7.888609052210118e-31) + (f32.const 1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 972) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_ceilf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 973) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.06684839057968) + (f64.const 1593.5209938862329) + (f64.const -0.38098856806755066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1110) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 4.345239849338305) + (f64.const 38.56174928426729) + (f64.const -0.2712278366088867) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1111) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -8.38143342755525) + (f64.const 2182.630979595893) + (f64.const 0.0817827582359314) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1112) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -6.531673581913484) + (f64.const 343.273849250879) + (f64.const -0.429940402507782) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1113) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 9.267056966972586) + (f64.const 5291.779170005587) + (f64.const -0.1592995822429657) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1114) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.6619858980995045) + (f64.const 1.2272321957342842) + (f64.const 0.23280741274356842) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1115) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.4066039223853553) + (f64.const 1.083808541871197) + (f64.const -0.3960916996002197) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1116) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.5617597462207241) + (f64.const 1.1619803583175077) + (f64.const 0.37748390436172485) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1117) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0.7741522965913037) + (f64.const 1.3149236876276706) + (f64.const 0.43587008118629456) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1118) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0.6787637026394024) + (f64.const 1.2393413245934533) + (f64.const 0.10201606154441833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1119) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1122) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1123) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1124) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1125) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_cosh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1126) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.066848754882812) + (f32.const 1593.5216064453125) + (f32.const 0.26242581009864807) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1135) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 4.345239639282227) + (f32.const 38.56174087524414) + (f32.const -0.08168885856866837) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1136) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -8.381433486938477) + (f32.const 2182.631103515625) + (f32.const -0.02331414446234703) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1137) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -6.531673431396484) + (f32.const 343.2738037109375) + (f32.const 0.20081493258476257) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1138) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 9.267057418823242) + (f32.const 5291.78173828125) + (f32.const 0.36286723613739014) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1139) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.6619858741760254) + (f32.const 1.2272322177886963) + (f32.const 0.32777416706085205) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1140) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.40660393238067627) + (f32.const 1.0838085412979126) + (f32.const -0.039848703891038895) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1141) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.5617597699165344) + (f32.const 1.161980390548706) + (f32.const 0.15274477005004883) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1142) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0.7741522789001465) + (f32.const 1.314923644065857) + (f32.const -0.2387111485004425) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1143) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0.6787636876106262) + (f32.const 1.2393412590026855) + (f32.const -0.45791932940483093) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1144) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1147) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1148) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1149) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1150) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_coshf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1151) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.06684839057968) + (f64.const 3.137706068161745e-04) + (f64.const -0.2599197328090668) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1163) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 4.345239849338305) + (f64.const 77.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1164) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -8.38143342755525) + (f64.const 2.290813384916323e-04) + (f64.const -0.24974334239959717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1165) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -6.531673581913484) + (f64.const 1.4565661260931588e-03) + (f64.const -0.4816822409629822) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1166) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 9.267056966972586) + (f64.const 10583.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1167) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.6619858980995045) + (f64.const 1.9386384525571998) + (f64.const -0.4964246451854706) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1168) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.4066039223853553) + (f64.const 0.6659078892838025) + (f64.const -0.10608318448066711) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1169) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.5617597462207241) + (f64.const 1.7537559518626311) + (f64.const -0.39162111282348633) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1170) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0.7741522965913037) + (f64.const 2.1687528885129246) + (f64.const -0.2996125817298889) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1171) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0.6787637026394024) + (f64.const 0.5072437089402843) + (f64.const 0.47261738777160645) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1172) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1175) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1176) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1) + (f64.const 2.718281828459045) + (f64.const -0.3255307376384735) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1177) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1) + (f64.const 0.36787944117144233) + (f64.const 0.22389651834964752) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1178) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1179) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1180) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1181) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526365) + (f64.const 2.828429155876411) + (f64.const 0.18803080916404724) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1182) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const -1.0397214889526365) + (f64.const 0.35355313670217847) + (f64.const 0.2527272403240204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1183) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397210121154785) + (f64.const 2.8284278071766122) + (f64.const -0.4184139370918274) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1184) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_exp + (f64.const 1.0397214889526367) + (f64.const 2.8284291558764116) + (f64.const -0.22618377208709717) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1185) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.066848754882812) + (f32.const 3.1377049162983894e-04) + (f32.const -0.030193336308002472) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1194) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 4.345239639282227) + (f32.const 77.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1195) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -8.381433486938477) + (f32.const 2.2908132814336568e-04) + (f32.const 0.2237040400505066) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1196) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -6.531673431396484) + (f32.const 1.4565663877874613e-03) + (f32.const 0.36469703912734985) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1197) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 9.267057418823242) + (f32.const 10583.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1198) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.6619858741760254) + (f32.const 1.93863844871521) + (f32.const 0.3568260967731476) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1199) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.40660393238067627) + (f32.const 0.6659078598022461) + (f32.const -0.38294991850852966) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1200) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.5617597699165344) + (f32.const 1.753756046295166) + (f32.const 0.44355490803718567) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1201) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.7741522789001465) + (f32.const 2.168752908706665) + (f32.const 0.24562469124794006) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1202) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0.6787636876106262) + (f32.const 0.5072436928749084) + (f32.const -0.3974292278289795) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1203) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1206) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1207) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 1) + (f32.const 2.7182817459106445) + (f32.const -0.3462330996990204) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1208) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -1) + (f32.const 0.3678794503211975) + (f32.const 0.3070148527622223) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1209) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1210) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1211) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1212) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283172607422) + (f32.const 340279851902147610656242e15) + (f32.const -0.09067153930664062) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1213) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 88.72283935546875) + (f32.const inf) + (f32.const 0) + (i32.or + (i32.const 1) + (i32.const 16) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1214) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97207641601562) + (f32.const 1.401298464324817e-45) + (f32.const 0.49999967217445374) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1215) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const -103.97208404541016) + (f32.const 0) + (f32.const -0.49999651312828064) + (i32.or + (i32.const 1) + (i32.const 8) + ) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1216) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735614299774) + (f32.const 1.4142135381698608) + (f32.const 0.13922421634197235) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1217) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465735912322998) + (f32.const 1.4142135381698608) + (f32.const -0.21432916820049286) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1218) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expf + (f32.const 0.3465736210346222) + (f32.const 1.4142136573791504) + (f32.const 0.43211743235588074) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1219) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.06684839057968) + (f64.const -0.9996862293931839) + (f64.const -0.2760058343410492) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1231) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 4.345239849338305) + (f64.const 76.11053017112141) + (f64.const -0.02792675793170929) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1232) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -8.38143342755525) + (f64.const -0.9997709186615084) + (f64.const 0.10052496194839478) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1233) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -6.531673581913484) + (f64.const -0.9985434338739069) + (f64.const -0.27437829971313477) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1234) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 9.267056966972586) + (f64.const 10582.558245524993) + (f64.const 0.17696762084960938) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1235) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.6619858980995045) + (f64.const 0.9386384525571999) + (f64.const 0.007150684483349323) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1236) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.4066039223853553) + (f64.const -0.3340921107161975) + (f64.const -0.21216636896133423) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1237) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.5617597462207241) + (f64.const 0.7537559518626312) + (f64.const 0.21675777435302734) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1238) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0.7741522965913037) + (f64.const 1.1687528885129248) + (f64.const 0.4007748067378998) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1239) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0.6787637026394024) + (f64.const -0.4927562910597158) + (f64.const -0.05476519837975502) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1240) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) + ) ) - ) - (set_local $35 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -4096) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1243) + (i32.const 0) ) + (unreachable) ) ) - (set_local $22 - (f32.add - (f32.mul - (f32.sub - (get_local $1) - (get_local $35) - ) - (get_local $13) - ) - (f32.mul - (get_local $1) - (get_local $14) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) - ) - (set_local $21 - (f32.mul - (get_local $35) - (get_local $13) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1244) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $11 - (f32.add - (get_local $22) - (get_local $21) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 1) + (f64.const 1.7182818284590453) + (f64.const 0.348938524723053) + (i32.const 1) + ) ) - ) - (set_local $8 - (i32.reinterpret/f32 - (get_local $11) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1245) + (i32.const 0) + ) + (unreachable) ) ) (if - (i32.gt_s - (get_local $8) - (i32.const 1124073472) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) + (i32.eqz + (call $std/math/test_expm1 + (f64.const -1) + (f64.const -0.6321205588285577) + (f64.const 0.11194825917482376) + (i32.const 1) ) ) - (if - (i32.eq - (get_local $8) - (i32.const 1124073472) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1246) + (i32.const 0) ) - (if - (f32.gt - (f32.add - (get_local $22) - (f32.const 4.299566569443414e-08) - ) - (f32.sub - (get_local $11) - (get_local $21) - ) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1000000015047466219876688e6) - ) - (f32.const 1000000015047466219876688e6) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) - (if - (i32.gt_s - (i32.and - (get_local $8) - (i32.const 2147483647) - ) - (i32.const 1125515264) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) - ) - ) - (if - (i32.eq - (get_local $8) - (i32.const -1021968384) - ) - (if - (f32.le - (get_local $22) - (f32.sub - (get_local $11) - (get_local $21) - ) - ) - (return - (f32.mul - (f32.mul - (get_local $12) - (f32.const 1.0000000031710769e-30) - ) - (f32.const 1.0000000031710769e-30) - ) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1247) + (i32.const 0) ) + (unreachable) ) ) - (set_local $36 - (i32.and - (get_local $8) - (i32.const 2147483647) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) ) - ) - (set_local $9 - (i32.sub - (i32.shr_s - (get_local $36) - (i32.const 23) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1248) + (i32.const 0) ) - (i32.const 127) + (unreachable) ) ) - (set_local $23 - (i32.const 0) - ) (if - (i32.gt_s - (get_local $36) - (i32.const 1056964608) + (i32.eqz + (call $std/math/test_expm1 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) + ) ) (block - (set_local $23 - (i32.add - (get_local $8) - (i32.shr_s - (i32.const 8388608) - (i32.add - (get_local $9) - (i32.const 1) - ) - ) - ) - ) - (set_local $9 - (i32.sub - (i32.shr_s - (i32.and - (get_local $23) - (i32.const 2147483647) - ) - (i32.const 23) - ) - (i32.const 127) - ) + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1249) + (i32.const 0) ) - (set_local $17 - (f32.reinterpret/i32 - (i32.and - (get_local $23) - (i32.xor - (i32.shr_s - (i32.const 8388607) - (get_local $9) - ) - (i32.const -1) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const 2.225073858507201e-308) + (f64.const 2.225073858507201e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) ) ) - (set_local $23 - (i32.shr_s - (i32.or - (i32.and - (get_local $23) - (i32.const 8388607) - ) - (i32.const 8388608) - ) - (i32.sub - (i32.const 23) - (get_local $9) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1250) + (i32.const 0) ) - (if - (i32.lt_s - (get_local $8) - (i32.const 0) - ) - (set_local $23 - (i32.sub - (i32.const 0) - (get_local $23) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_expm1 + (f64.const -2.225073858507201e-308) + (f64.const -2.225073858507201e-308) + (f64.const 0) + (i32.or + (i32.const 1) + (i32.const 8) ) ) - (set_local $21 - (f32.sub - (get_local $21) - (get_local $17) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1251) + (i32.const 0) ) + (unreachable) ) ) - (set_local $17 - (f32.add - (get_local $22) - (get_local $21) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.066848754882812) + (f32.const -0.9996862411499023) + (f32.const -0.19532723724842072) + (i32.const 1) + ) ) - ) - (set_local $24 - (i32.reinterpret/f32 - (get_local $17) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1260) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $17 - (f32.reinterpret/i32 - (i32.and - (get_local $24) - (i32.const -32768) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 4.345239639282227) + (f32.const 76.11051177978516) + (f32.const -0.2875460684299469) + (i32.const 1) ) ) - ) - (set_local $18 - (f32.mul - (get_local $17) - (f32.const 0.693145751953125) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1261) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $19 - (f32.add - (f32.mul - (f32.sub - (get_local $22) - (f32.sub - (get_local $17) - (get_local $21) - ) - ) - (f32.const 0.6931471824645996) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -8.381433486938477) + (f32.const -0.9997709393501282) + (f32.const -0.34686920046806335) + (i32.const 1) ) - (f32.mul - (get_local $17) - (f32.const 1.4286065379565116e-06) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1262) + (i32.const 0) ) + (unreachable) ) ) - (set_local $11 - (f32.add - (get_local $18) - (get_local $19) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -6.531673431396484) + (f32.const -0.9985434412956238) + (f32.const -0.1281939446926117) + (i32.const 1) + ) ) - ) - (set_local $20 - (f32.sub - (get_local $19) - (f32.sub - (get_local $11) - (get_local $18) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1263) + (i32.const 0) ) + (unreachable) ) ) - (set_local $17 - (f32.mul - (get_local $11) - (get_local $11) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 9.267057418823242) + (f32.const 10582.5634765625) + (f32.const 0.45962104201316833) + (i32.const 1) + ) ) - ) - (set_local $13 - (f32.sub - (get_local $11) - (f32.mul - (get_local $17) - (f32.add - (f32.const 0.1666666716337204) - (f32.mul - (get_local $17) - (f32.add - (f32.const -2.7777778450399637e-03) - (f32.mul - (get_local $17) - (f32.add - (f32.const 6.61375597701408e-05) - (f32.mul - (get_local $17) - (f32.add - (f32.const -1.6533901998627698e-06) - (f32.mul - (get_local $17) - (f32.const 4.138136944220605e-08) - ) - ) - ) - ) - ) - ) - ) - ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1264) + (i32.const 0) ) + (unreachable) ) ) - (set_local $15 - (f32.sub - (f32.div - (f32.mul - (get_local $11) - (get_local $13) - ) - (f32.sub - (get_local $13) - (f32.const 2) - ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.6619858741760254) + (f32.const 0.9386383891105652) + (f32.const -0.28634780645370483) + (i32.const 1) ) - (f32.add - (get_local $20) - (f32.mul - (get_local $11) - (get_local $20) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1265) + (i32.const 0) ) + (unreachable) ) ) - (set_local $11 - (f32.sub - (f32.const 1) - (f32.sub - (get_local $15) - (get_local $11) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.40660393238067627) + (f32.const -0.3340921103954315) + (f32.const 0.23410017788410187) + (i32.const 1) ) ) - ) - (set_local $8 - (i32.reinterpret/f32 - (get_local $11) - ) - ) - (set_local $8 - (i32.add - (get_local $8) - (i32.shl - (get_local $23) - (i32.const 23) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1266) + (i32.const 0) ) + (unreachable) ) ) (if - (i32.le_s - (i32.shr_s - (get_local $8) - (i32.const 23) + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.5617597699165344) + (f32.const 0.7537559866905212) + (f32.const -0.11289017647504807) + (i32.const 1) ) - (i32.const 0) ) - (set_local $11 - (call "$(lib)/math/NativeMathf.scalbn" - (get_local $11) - (get_local $23) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1267) + (i32.const 0) ) + (unreachable) ) - (set_local $11 - (f32.reinterpret/i32 - (get_local $8) + ) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0.7741522789001465) + (f32.const 1.168752908706665) + (f32.const 0.4912493824958801) + (i32.const 1) ) ) - ) - (return - (f32.mul - (get_local $12) - (get_local $11) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1268) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func $std/math/test_powf (; 110 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.pow" - (get_local $0) - (get_local $1) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0.6787636876106262) + (f32.const -0.49275627732276917) + (f32.const 0.20514154434204102) + (i32.const 1) ) - (get_local $2) - (get_local $3) - (get_local $4) ) - ) - ) - (func "$(lib)/math/murmurHash3" (; 111 ;) (type $II) (param $0 i64) (result i64) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1269) + (i32.const 0) ) + (unreachable) ) ) - (set_local $0 - (i64.mul - (get_local $0) - (i64.const -49064778989728563) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) + ) ) - ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1272) + (i32.const 0) ) + (unreachable) ) ) - (set_local $0 - (i64.mul - (get_local $0) - (i64.const -4265267296055464877) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) + ) ) - ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 33) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1273) + (i32.const 0) ) + (unreachable) ) ) - (return - (get_local $0) - ) - ) - (func "$(lib)/math/NativeMath.seedRandom" (; 112 ;) (type $Iv) (param $0 i64) (if - (i64.eqz - (get_local $0) + (i32.eqz + (call $std/math/test_expm1f + (f32.const 1) + (f32.const 1.718281865119934) + (f32.const 0.3075338304042816) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) - (i32.const 32) - (i32.const 1030) (i32.const 4) + (i32.const 1274) + (i32.const 0) ) (unreachable) ) ) - (set_global "$(lib)/math/random_seeded" - (i32.const 1) - ) - (set_global "$(lib)/math/random_state0" - (call "$(lib)/math/murmurHash3" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const -1) + (f32.const -0.6321205496788025) + (f32.const 0.15350742638111115) + (i32.const 1) + ) ) - ) - (set_global "$(lib)/math/random_state1" - (call "$(lib)/math/murmurHash3" - (get_global "$(lib)/math/random_state0") + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1275) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMath.random" (; 113 ;) (type $F) (result f64) - (local $0 i64) - (local $1 i64) - (local $2 i64) (if (i32.eqz - (get_global "$(lib)/math/random_seeded") + (call $std/math/test_expm1f + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) + ) ) - (unreachable) - ) - (set_local $0 - (get_global "$(lib)/math/random_state0") - ) - (set_local $1 - (get_global "$(lib)/math/random_state1") - ) - (set_global "$(lib)/math/random_state0" - (get_local $1) - ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shl - (get_local $0) - (i64.const 23) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1276) + (i32.const 0) ) + (unreachable) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $0) - (i64.const 17) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) - ) - (set_local $0 - (i64.xor - (get_local $0) - (get_local $1) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1277) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $0 - (i64.xor - (get_local $0) - (i64.shr_u - (get_local $1) - (i64.const 26) + (if + (i32.eqz + (call $std/math/test_expm1f + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) - ) - (set_global "$(lib)/math/random_state1" - (get_local $0) - ) - (set_local $2 - (i64.or - (i64.and - (i64.add - (get_local $1) - (get_local $0) - ) - (i64.const 4503599627370495) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1278) + (i32.const 0) ) - (i64.const 4607182418800017408) + (unreachable) ) ) - (return - (f64.sub - (f64.reinterpret/i64 - (get_local $2) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -8.06684839057968) + (f64.const -9) + (f64.const 0) + (i32.const 1) ) - (f64.const 1) ) - ) - ) - (func "$(lib)/math/NativeMath.sinh" (; 114 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 f64) - (local $3 f64) - (local $4 i32) - (local $5 f64) - (set_local $1 - (i64.reinterpret/f64 - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1290) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $2 - (f64.const 0.5) - ) (if - (i64.ne - (i64.shr_u - (get_local $1) - (i64.const 63) + (i32.eqz + (call $std/math/test_floor + (f64.const 4.345239849338305) + (f64.const 4) + (f64.const 0) + (i32.const 1) ) - (i64.const 0) ) - (set_local $2 - (f64.neg - (get_local $2) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1291) + (i32.const 0) ) + (unreachable) ) ) - (set_local $1 - (i64.and - (get_local $1) - (i64.const 9223372036854775807) - ) - ) - (set_local $3 - (f64.reinterpret/i64 - (get_local $1) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -8.38143342755525) + (f64.const -9) + (f64.const 0) + (i32.const 1) + ) ) - ) - (set_local $4 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1292) + (i32.const 0) ) + (unreachable) ) ) - (nop) (if - (i32.lt_u - (get_local $4) - (i32.const 1082535490) + (i32.eqz + (call $std/math/test_floor + (f64.const -6.531673581913484) + (f64.const -7) + (f64.const 0) + (i32.const 1) + ) ) (block - (set_local $5 - (call "$(lib)/math/NativeMath.expm1" - (get_local $3) - ) - ) - (if - (i32.lt_u - (get_local $4) - (i32.const 1072693248) - ) - (block - (if - (i32.lt_u - (get_local $4) - (i32.sub - (i32.const 1072693248) - (i32.shl - (i32.const 26) - (i32.const 20) - ) - ) - ) - (return - (get_local $0) - ) - ) - (return - (f64.mul - (get_local $2) - (f64.sub - (f64.mul - (f64.const 2) - (get_local $5) - ) - (f64.div - (f64.mul - (get_local $5) - (get_local $5) - ) - (f64.add - (get_local $5) - (f64.const 1) - ) - ) - ) - ) - ) - ) - ) - (return - (f64.mul - (get_local $2) - (f64.add - (get_local $5) - (f64.div - (get_local $5) - (f64.add - (get_local $5) - (f64.const 1) - ) - ) - ) - ) + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1293) + (i32.const 0) ) + (unreachable) ) ) - (set_local $5 - (f64.mul - (f64.mul - (f64.const 2) - (get_local $2) - ) - (call "$(lib)/math/NativeMath.__expo2" - (get_local $3) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 9.267056966972586) + (f64.const 9) + (f64.const 0) + (i32.const 1) ) ) - ) - (return - (get_local $5) - ) - ) - (func $std/math/test_sinh (; 115 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.sinh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.sinh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1294) + (i32.const 0) ) - (i32.const 1) + (unreachable) ) ) - ) - (func "$(lib)/math/NativeMathf.sinh" (; 116 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 f32) - (local $3 f32) - (local $4 f32) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.6619858980995045) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1295) + (i32.const 0) + ) + (unreachable) ) - ) - (set_local $2 - (f32.const 0.5) ) (if - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.eqz + (call $std/math/test_floor + (f64.const -0.4066039223853553) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) ) - (set_local $2 - (f32.neg - (get_local $2) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1296) + (i32.const 0) ) + (unreachable) ) ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.5617597462207241) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) ) - ) - (set_local $3 - (f32.reinterpret/i32 - (get_local $1) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1297) + (i32.const 0) + ) + (unreachable) ) ) - (nop) (if - (i32.lt_u - (get_local $1) - (i32.const 1118925335) + (i32.eqz + (call $std/math/test_floor + (f64.const 0.7741522965913037) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) ) (block - (set_local $4 - (call "$(lib)/math/NativeMathf.expm1" - (get_local $3) - ) + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1298) + (i32.const 0) ) - (if - (i32.lt_u - (get_local $1) - (i32.const 1065353216) - ) - (block - (if - (i32.lt_u - (get_local $1) - (i32.sub - (i32.const 1065353216) - (i32.shl - (i32.const 12) - (i32.const 23) - ) - ) - ) - (return - (get_local $0) - ) - ) - (return - (f32.mul - (get_local $2) - (f32.sub - (f32.mul - (f32.const 2) - (get_local $4) - ) - (f32.div - (f32.mul - (get_local $4) - (get_local $4) - ) - (f32.add - (get_local $4) - (f32.const 1) - ) - ) - ) - ) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -0.6787637026394024) + (f64.const -1) + (f64.const 0) + (i32.const 1) ) - (return - (f32.mul - (get_local $2) - (f32.add - (get_local $4) - (f32.div - (get_local $4) - (f32.add - (get_local $4) - (f32.const 1) - ) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1299) + (i32.const 0) ) + (unreachable) ) ) - (set_local $4 - (f32.mul - (f32.mul - (f32.const 2) - (get_local $2) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) - (call "$(lib)/math/NativeMathf.__expo2" - (get_local $3) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1302) + (i32.const 0) ) + (unreachable) ) ) - (return - (get_local $4) - ) - ) - (func $std/math/test_sinhf (; 117 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.sinh" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - ) - (func "$(lib)/math/NativeMath.sqrt" (; 118 ;) (type $FF) (param $0 f64) (result f64) - (return - (f64.sqrt - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1303) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func $std/math/test_sqrt (; 119 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.sqrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.neg + (f64.const inf) ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.sqrt" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) + (f64.neg + (f64.const inf) ) - (get_local $4) + (f64.const 0) + (i32.const 0) ) - (i32.const 1) ) - ) - ) - (func "$(lib)/math/NativeMathf.sqrt" (; 120 ;) (type $ff) (param $0 f32) (result f32) - (return - (f32.sqrt - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1304) + (i32.const 0) + ) + (unreachable) ) ) - ) - (func $std/math/test_sqrtf (; 121 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.sqrt" - (get_local $0) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) - (get_local $1) - (get_local $2) - (get_local $3) ) - ) - ) - (func "$(lib)/math/NativeMath.tanh" (; 122 ;) (type $FF) (param $0 f64) (result f64) - (local $1 i64) - (local $2 i32) - (local $3 i32) - (local $4 f64) - (set_local $1 - (i64.reinterpret/f64 - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1305) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $2 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 63) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1306) + (i32.const 0) ) + (unreachable) ) ) - (set_local $1 - (i64.and - (get_local $1) - (i64.const 9223372036854775807) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1307) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $0 - (f64.reinterpret/i64 - (get_local $1) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1308) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $3 - (i32.wrap/i64 - (i64.shr_u - (get_local $1) - (i64.const 32) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1309) + (i32.const 0) ) + (unreachable) ) ) - (nop) (if - (i32.gt_u - (get_local $3) - (i32.const 1071748074) + (i32.eqz + (call $std/math/test_floor + (f64.const -0.5) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) ) - (if - (i32.gt_u - (get_local $3) - (i32.const 1077149696) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1310) + (i32.const 0) ) - (set_local $4 - (f64.sub - (f64.const 1) - (f64.div - (f64.const 0) - (get_local $0) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) + (i32.const 1) ) - (block - (set_local $4 - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const 2) - (get_local $0) - ) - ) - ) - (set_local $4 - (f64.sub - (f64.const 1) - (f64.div - (f64.const 2) - (f64.add - (get_local $4) - (f64.const 2) - ) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1311) + (i32.const 0) ) + (unreachable) ) - (if - (i32.gt_u - (get_local $3) - (i32.const 1070618798) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -1.0000152587890625) + (f64.const -2) + (f64.const 0) + (i32.const 1) ) - (block - (set_local $4 - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const 2) - (get_local $0) - ) - ) - ) - (set_local $4 - (f64.div - (get_local $4) - (f64.add - (get_local $4) - (f64.const 2) - ) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1312) + (i32.const 0) ) - (if - (i32.ge_u - (get_local $3) - (i32.const 1048576) - ) - (block - (set_local $4 - (call "$(lib)/math/NativeMath.expm1" - (f64.mul - (f64.const -2) - (get_local $0) - ) - ) - ) - (set_local $4 - (f64.div - (f64.neg - (get_local $4) - ) - (f64.add - (get_local $4) - (f64.const 2) - ) - ) - ) - ) - (set_local $4 - (get_local $0) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 0.9999923706054688) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) ) - ) - (return - (if (result f64) - (get_local $2) - (f64.neg - (get_local $4) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1313) + (i32.const 0) ) - (get_local $4) + (unreachable) ) ) - ) - (func $std/math/test_tanh (; 123 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) - (local $4 i32) - (return - (i32.and - (if (result i32) - (tee_local $4 - (call $std/math/check - (call "$(lib)/math/NativeMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (if (result i32) - (tee_local $4 - (i32.eqz - (i32.const 1) - ) - ) - (get_local $4) - (call $std/math/check - (call "$(lib)/math/JSMath.tanh" - (get_local $0) - ) - (get_local $1) - (get_local $2) - (get_local $3) - ) - ) - (get_local $4) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -0.9999923706054688) + (f64.const -1) + (f64.const 0) + (i32.const 1) ) - (i32.const 1) ) - ) - ) - (func "$(lib)/math/NativeMathf.tanh" (; 124 ;) (type $ff) (param $0 f32) (result f32) - (local $1 i32) - (local $2 i32) - (local $3 f32) - (set_local $1 - (i32.reinterpret/f32 - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1314) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $2 - (i32.shr_u - (get_local $1) - (i32.const 31) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const 7.888609052210118e-31) + (f64.const 0) + (f64.const 0) + (i32.const 1) + ) ) - ) - (set_local $1 - (i32.and - (get_local $1) - (i32.const 2147483647) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1315) + (i32.const 0) + ) + (unreachable) ) ) - (set_local $0 - (f32.reinterpret/i32 - (get_local $1) + (if + (i32.eqz + (call $std/math/test_floor + (f64.const -7.888609052210118e-31) + (f64.const -1) + (f64.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1316) + (i32.const 0) + ) + (unreachable) ) ) - (nop) (if - (i32.gt_u - (get_local $1) - (i32.const 1057791828) - ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1092616192) + (i32.eqz + (call $std/math/test_floorf + (f32.const -8.066848754882812) + (f32.const -9) + (f32.const 0) + (i32.const 1) ) - (set_local $3 - (f32.add - (f32.const 1) - (f32.div - (f32.const 0) - (get_local $0) - ) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1325) + (i32.const 0) ) - (block - (set_local $3 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - ) - (set_local $3 - (f32.sub - (f32.const 1) - (f32.div - (f32.const 2) - (f32.add - (get_local $3) - (f32.const 2) - ) - ) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const 4.345239639282227) + (f32.const 4) + (f32.const 0) + (i32.const 1) ) ) - (if - (i32.gt_u - (get_local $1) - (i32.const 1048757624) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1326) + (i32.const 0) ) - (block - (set_local $3 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const 2) - (get_local $0) - ) - ) - ) - (set_local $3 - (f32.div - (get_local $3) - (f32.add - (get_local $3) - (f32.const 2) - ) - ) - ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -8.381433486938477) + (f32.const -9) + (f32.const 0) + (i32.const 1) ) - (if - (i32.ge_u - (get_local $1) - (i32.const 8388608) - ) - (block - (set_local $3 - (call "$(lib)/math/NativeMathf.expm1" - (f32.mul - (f32.const -2) - (get_local $0) - ) - ) - ) - (set_local $3 - (f32.div - (f32.neg - (get_local $3) - ) - (f32.add - (get_local $3) - (f32.const 2) - ) - ) - ) - ) - (set_local $3 - (get_local $0) - ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1327) + (i32.const 0) ) + (unreachable) ) ) - (return - (if (result f32) - (get_local $2) - (f32.neg - (get_local $3) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -6.531673431396484) + (f32.const -7) + (f32.const 0) + (i32.const 1) ) - (get_local $3) ) - ) - ) - (func $std/math/test_tanhf (; 125 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) - (return - (call $std/math/check - (call "$(lib)/math/NativeMathf.tanh" - (get_local $0) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1328) + (i32.const 0) ) - (get_local $1) - (get_local $2) - (get_local $3) + (unreachable) ) ) - ) - (func $start (; 126 ;) (type $v) - (local $0 i32) - (local $1 f64) - (local $2 i32) (if (i32.eqz - (f64.eq - (f64.const 2.718281828459045) - (f64.const 2.718281828459045) + (call $std/math/test_floorf + (f32.const 9.267057418823242) + (f32.const 9) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 80) + (i32.const 1329) (i32.const 0) ) (unreachable) @@ -14835,18 +30595,18 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.718281828459045) - (get_global "$(lib)/math/JSMath.E") - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 0.6619858741760254) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 84) + (i32.const 1330) (i32.const 0) ) (unreachable) @@ -14854,18 +30614,37 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.6931471805599453) - (get_global "$(lib)/math/JSMath.LN2") - (f64.const 0) + (call $std/math/test_floorf + (f32.const -0.40660393238067627) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1331) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const 0.5617597699165344) + (f32.const 0) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 85) + (i32.const 1332) (i32.const 0) ) (unreachable) @@ -14873,18 +30652,37 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 2.302585092994046) - (get_global "$(lib)/math/JSMath.LN10") - (f64.const 0) + (call $std/math/test_floorf + (f32.const 0.7741522789001465) + (f32.const 0) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1333) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const -0.6787636876106262) + (f32.const -1) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 86) + (i32.const 1334) (i32.const 0) ) (unreachable) @@ -14892,10 +30690,10 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4426950408889634) - (get_global "$(lib)/math/JSMath.LOG2E") - (f64.const 0) + (call $std/math/test_floorf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -14903,7 +30701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 87) + (i32.const 1337) (i32.const 0) ) (unreachable) @@ -14911,10 +30709,10 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 3.141592653589793) - (get_global "$(lib)/math/JSMath.PI") - (f64.const 0) + (call $std/math/test_floorf + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -14922,7 +30720,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 88) + (i32.const 1338) (i32.const 0) ) (unreachable) @@ -14930,10 +30728,14 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 0.7071067811865476) - (get_global "$(lib)/math/JSMath.SQRT1_2") - (f64.const 0) + (call $std/math/test_floorf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) (i32.const 0) ) ) @@ -14941,7 +30743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 89) + (i32.const 1339) (i32.const 0) ) (unreachable) @@ -14949,10 +30751,10 @@ ) (if (i32.eqz - (call $std/math/check - (f64.const 1.4142135623730951) - (get_global "$(lib)/math/JSMath.SQRT2") - (f64.const 0) + (call $std/math/test_floorf + (f32.const 0) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -14960,7 +30762,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 90) + (i32.const 1340) (i32.const 0) ) (unreachable) @@ -14968,11 +30770,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.06684839057968) - (i32.const -2) - (f64.const -2.01671209764492) - (f64.const 0) + (call $std/math/test_floorf + (f32.const -0) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -14980,7 +30781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 99) + (i32.const 1341) (i32.const 0) ) (unreachable) @@ -14988,11 +30789,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 4.345239849338305) - (i32.const -1) - (f64.const 2.1726199246691524) - (f64.const 0) + (call $std/math/test_floorf + (f32.const 1) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -15000,7 +30800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 100) + (i32.const 1342) (i32.const 0) ) (unreachable) @@ -15008,11 +30808,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -8.38143342755525) - (i32.const 0) - (f64.const -8.38143342755525) - (f64.const 0) + (call $std/math/test_floorf + (f32.const -1) + (f32.const -1) + (f32.const 0) (i32.const 0) ) ) @@ -15020,7 +30819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 101) + (i32.const 1343) (i32.const 0) ) (unreachable) @@ -15028,19 +30827,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -6.531673581913484) + (call $std/math/test_floorf + (f32.const 0.5) + (f32.const 0) + (f32.const 0) (i32.const 1) - (f64.const -13.063347163826968) - (f64.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 102) + (i32.const 1344) (i32.const 0) ) (unreachable) @@ -15048,19 +30846,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 9.267056966972586) - (i32.const 2) - (f64.const 37.06822786789034) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -0.5) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 103) + (i32.const 1345) (i32.const 0) ) (unreachable) @@ -15068,19 +30865,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.6619858980995045) - (i32.const 3) - (f64.const 5.295887184796036) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 104) + (i32.const 1346) (i32.const 0) ) (unreachable) @@ -15088,19 +30884,37 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.4066039223853553) + (call $std/math/test_floorf + (f32.const -1.0000152587890625) + (f32.const -2) + (f32.const 0) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) (i32.const 4) - (f64.const -6.505662758165685) - (f64.const 0) + (i32.const 1347) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_floorf + (f32.const 0.9999923706054688) + (f32.const 0) + (f32.const 0) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 105) + (i32.const 1348) (i32.const 0) ) (unreachable) @@ -15108,19 +30922,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5617597462207241) - (i32.const 5) - (f64.const 17.97631187906317) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -0.9999923706054688) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 106) + (i32.const 1349) (i32.const 0) ) (unreachable) @@ -15128,19 +30941,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7741522965913037) - (i32.const 6) - (f64.const 49.545746981843436) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const 7.888609052210118e-31) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 107) + (i32.const 1350) (i32.const 0) ) (unreachable) @@ -15148,19 +30960,18 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0.6787637026394024) - (i32.const 7) - (f64.const -86.88175393784351) - (f64.const 0) - (i32.const 0) + (call $std/math/test_floorf + (f32.const -7.888609052210118e-31) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 108) + (i32.const 1351) (i32.const 0) ) (unreachable) @@ -15168,19 +30979,39 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const 2147483647) - (f64.const 0) - (f64.const 0) + (call $std/math/test_hypot + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const 9.25452742288464) + (f64.const -0.31188681721687317) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 1363) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_hypot + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 9.893305808328252) + (f64.const 0.4593673348426819) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 111) + (i32.const 1364) (i32.const 0) ) (unreachable) @@ -15188,19 +31019,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0) - (i32.const -2147483647) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const 8.825301797432132) + (f64.const -0.1701754331588745) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 112) + (i32.const 1365) (i32.const 0) ) (unreachable) @@ -15208,19 +31039,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const -0) - (i32.const 2147483647) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const 7.970265885519092) + (f64.const -0.3176782727241516) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 113) + (i32.const 1366) (i32.const 0) ) (unreachable) @@ -15228,19 +31059,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 10.441639651824575) + (f64.const -0.2693633437156677) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 114) + (i32.const 1367) (i32.const 0) ) (unreachable) @@ -15248,19 +31079,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 0) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const 6.483936052542593) + (f64.const 0.35618898272514343) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 115) + (i32.const 1368) (i32.const 0) ) (unreachable) @@ -15268,23 +31099,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.neg - (f64.const inf) - ) - (i32.const 0) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 7.859063309581766) + (f64.const 0.08044655621051788) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 116) + (i32.const 1369) (i32.const 0) ) (unreachable) @@ -15292,19 +31119,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const 7.717156764899584) + (f64.const 0.05178084969520569) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 117) + (i32.const 1370) (i32.const 0) ) (unreachable) @@ -15312,19 +31139,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) + (call $std/math/test_hypot + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 2.104006123874314) + (f64.const -0.0918039008975029) (i32.const 1) - (f64.const 2) - (f64.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 118) + (i32.const 1371) (i32.const 0) ) (unreachable) @@ -15332,19 +31159,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_hypot + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const 0.5596880129062913) + (f64.const 0.1383407711982727) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 119) + (i32.const 1372) (i32.const 0) ) (unreachable) @@ -15352,22 +31179,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1) - (i32.const 2147483647) - (f64.const inf) + (call $std/math/test_hypot + (f64.const 3) + (f64.const 4) + (f64.const 5) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 16) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 120) + (i32.const 1375) (i32.const 0) ) (unreachable) @@ -15375,10 +31199,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const nan:0x8000000000000) - (i32.const 1) - (f64.const nan:0x8000000000000) + (call $std/math/test_hypot + (f64.const -3) + (f64.const 4) + (f64.const 5) (f64.const 0) (i32.const 0) ) @@ -15387,7 +31211,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 121) + (i32.const 1376) (i32.const 0) ) (unreachable) @@ -15395,10 +31219,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const 2147483647) - (f64.const inf) + (call $std/math/test_hypot + (f64.const 4) + (f64.const 3) + (f64.const 5) (f64.const 0) (i32.const 0) ) @@ -15407,7 +31231,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 122) + (i32.const 1377) (i32.const 0) ) (unreachable) @@ -15415,10 +31239,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const inf) - (i32.const -2147483647) - (f64.const inf) + (call $std/math/test_hypot + (f64.const 4) + (f64.const -3) + (f64.const 5) (f64.const 0) (i32.const 0) ) @@ -15427,7 +31251,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 123) + (i32.const 1378) (i32.const 0) ) (unreachable) @@ -15435,14 +31259,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.neg - (f64.const inf) - ) - (i32.const 2147483647) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_hypot + (f64.const -3) + (f64.const -4) + (f64.const 5) (f64.const 0) (i32.const 0) ) @@ -15451,7 +31271,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 124) + (i32.const 1379) (i32.const 0) ) (unreachable) @@ -15459,10 +31279,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 8988465674311579538646525e283) - (i32.const -2097) - (f64.const 5e-324) + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const 0) + (f64.const 1797693134862315708145274e284) (f64.const 0) (i32.const 0) ) @@ -15471,7 +31291,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 125) + (i32.const 1380) (i32.const 0) ) (unreachable) @@ -15479,10 +31299,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 5e-324) - (i32.const 2097) - (f64.const 8988465674311579538646525e283) + (call $std/math/test_hypot + (f64.const 1797693134862315708145274e284) + (f64.const -0) + (f64.const 1797693134862315708145274e284) (f64.const 0) (i32.const 0) ) @@ -15491,7 +31311,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 126) + (i32.const 1381) (i32.const 0) ) (unreachable) @@ -15499,22 +31319,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 1.000244140625) - (i32.const -1074) + (call $std/math/test_hypot (f64.const 5e-324) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (f64.const 5e-324) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 127) + (i32.const 1382) (i32.const 0) ) (unreachable) @@ -15522,22 +31339,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.7499999999999999) - (i32.const -1073) + (call $std/math/test_hypot + (f64.const 5e-324) + (f64.const -0) (f64.const 5e-324) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 128) + (i32.const 1383) (i32.const 0) ) (unreachable) @@ -15545,22 +31359,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbn - (f64.const 0.5000000000000012) - (i32.const -1024) - (f64.const 2.781342323134007e-309) + (call $std/math/test_hypot + (f64.const inf) + (f64.const 1) + (f64.const inf) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 129) + (i32.const 1384) (i32.const 0) ) (unreachable) @@ -15568,11 +31379,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.066848754882812) - (i32.const -2) - (f32.const -2.016712188720703) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15580,7 +31391,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 138) + (i32.const 1385) (i32.const 0) ) (unreachable) @@ -15588,11 +31399,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 4.345239639282227) - (i32.const -1) - (f32.const 2.1726198196411133) - (f32.const 0) + (call $std/math/test_hypot + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15600,7 +31411,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 139) + (i32.const 1386) (i32.const 0) ) (unreachable) @@ -15608,11 +31419,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -8.381433486938477) - (i32.const 0) - (f32.const -8.381433486938477) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15620,7 +31431,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 140) + (i32.const 1387) (i32.const 0) ) (unreachable) @@ -15628,11 +31439,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -6.531673431396484) - (i32.const 1) - (f32.const -13.063346862792969) - (f32.const 0) + (call $std/math/test_hypot + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15640,7 +31453,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 141) + (i32.const 1388) (i32.const 0) ) (unreachable) @@ -15648,11 +31461,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 9.267057418823242) - (i32.const 2) - (f32.const 37.06822967529297) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15660,7 +31475,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 142) + (i32.const 1389) (i32.const 0) ) (unreachable) @@ -15668,11 +31483,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.6619858741760254) - (i32.const 3) - (f32.const 5.295886993408203) - (f32.const 0) + (call $std/math/test_hypot + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15680,7 +31497,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 143) + (i32.const 1390) (i32.const 0) ) (unreachable) @@ -15688,11 +31505,13 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.40660393238067627) - (i32.const 4) - (f32.const -6.50566291809082) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -15700,7 +31519,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 144) + (i32.const 1391) (i32.const 0) ) (unreachable) @@ -15708,11 +31527,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5617597699165344) - (i32.const 5) - (f32.const 17.9763126373291) - (f32.const 0) + (call $std/math/test_hypot + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -15720,7 +31539,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 145) + (i32.const 1392) (i32.const 0) ) (unreachable) @@ -15728,11 +31547,11 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7741522789001465) - (i32.const 6) - (f32.const 49.545745849609375) - (f32.const 0) + (call $std/math/test_hypot + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -15740,7 +31559,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 146) + (i32.const 1393) (i32.const 0) ) (unreachable) @@ -15748,19 +31567,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0.6787636876106262) - (i32.const 7) - (f32.const -86.88175201416016) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 9.254528045654297) + (f32.const 0.2735958993434906) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 147) + (i32.const 1402) (i32.const 0) ) (unreachable) @@ -15768,19 +31587,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const 2147483647) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 9.893305778503418) + (f32.const 0.4530770778656006) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 150) + (i32.const 1403) (i32.const 0) ) (unreachable) @@ -15788,19 +31607,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0) - (i32.const -2147483647) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const 8.825302124023438) + (f32.const 0.30755728483200073) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 151) + (i32.const 1404) (i32.const 0) ) (unreachable) @@ -15808,19 +31627,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const -0) - (i32.const 2147483647) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const 7.970265865325928) + (f32.const 0.06785223633050919) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 152) + (i32.const 1405) (i32.const 0) ) (unreachable) @@ -15828,19 +31647,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) - (i32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 10.44163990020752) + (f32.const -0.26776307821273804) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 153) + (i32.const 1406) (i32.const 0) ) (unreachable) @@ -15848,19 +31667,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 0) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 6.483936309814453) + (f32.const 0.48381292819976807) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 154) + (i32.const 1407) (i32.const 0) ) (unreachable) @@ -15868,23 +31687,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.neg - (f32.const inf) - ) - (i32.const 0) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 7.859063148498535) + (f32.const 0.07413065433502197) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 155) + (i32.const 1408) (i32.const 0) ) (unreachable) @@ -15892,19 +31707,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const 7.717156887054443) + (f32.const 0.4940592646598816) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 156) + (i32.const 1409) (i32.const 0) ) (unreachable) @@ -15912,19 +31727,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) + (call $std/math/test_hypotf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 2.104006052017212) + (f32.const -0.287089467048645) (i32.const 1) - (f32.const 2) - (f32.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 157) + (i32.const 1410) (i32.const 0) ) (unreachable) @@ -15932,19 +31747,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_hypotf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const 0.5596880316734314) + (f32.const 0.4191940724849701) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 158) + (i32.const 1411) (i32.const 0) ) (unreachable) @@ -15952,22 +31767,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1) - (i32.const 2147483647) - (f32.const inf) + (call $std/math/test_hypotf + (f32.const 3) + (f32.const 4) + (f32.const 5) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 16) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 159) + (i32.const 1414) (i32.const 0) ) (unreachable) @@ -15975,10 +31787,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const nan:0x400000) - (i32.const 1) - (f32.const nan:0x400000) + (call $std/math/test_hypotf + (f32.const -3) + (f32.const 4) + (f32.const 5) (f32.const 0) (i32.const 0) ) @@ -15987,7 +31799,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 160) + (i32.const 1415) (i32.const 0) ) (unreachable) @@ -15995,10 +31807,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const 2147483647) - (f32.const inf) + (call $std/math/test_hypotf + (f32.const 4) + (f32.const 3) + (f32.const 5) (f32.const 0) (i32.const 0) ) @@ -16007,7 +31819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 161) + (i32.const 1416) (i32.const 0) ) (unreachable) @@ -16015,10 +31827,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const inf) - (i32.const -2147483647) - (f32.const inf) + (call $std/math/test_hypotf + (f32.const 4) + (f32.const -3) + (f32.const 5) (f32.const 0) (i32.const 0) ) @@ -16027,7 +31839,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 162) + (i32.const 1417) (i32.const 0) ) (unreachable) @@ -16035,14 +31847,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.neg - (f32.const inf) - ) - (i32.const 2147483647) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_hypotf + (f32.const -3) + (f32.const -4) + (f32.const 5) (f32.const 0) (i32.const 0) ) @@ -16051,7 +31859,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 163) + (i32.const 1418) (i32.const 0) ) (unreachable) @@ -16059,10 +31867,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1701411834604692317316873e14) - (i32.const -276) - (f32.const 1.401298464324817e-45) + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const 0) + (f32.const 3402823466385288598117041e14) (f32.const 0) (i32.const 0) ) @@ -16071,7 +31879,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 164) + (i32.const 1419) (i32.const 0) ) (unreachable) @@ -16079,10 +31887,10 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.401298464324817e-45) - (i32.const 276) - (f32.const 1701411834604692317316873e14) + (call $std/math/test_hypotf + (f32.const 3402823466385288598117041e14) + (f32.const -0) + (f32.const 3402823466385288598117041e14) (f32.const 0) (i32.const 0) ) @@ -16091,7 +31899,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 165) + (i32.const 1420) (i32.const 0) ) (unreachable) @@ -16099,22 +31907,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 1.000244140625) - (i32.const -149) + (call $std/math/test_hypotf (f32.const 1.401298464324817e-45) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (f32.const 1.401298464324817e-45) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 166) + (i32.const 1421) (i32.const 0) ) (unreachable) @@ -16122,22 +31927,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.7499999403953552) - (i32.const -148) + (call $std/math/test_hypotf + (f32.const 1.401298464324817e-45) + (f32.const -0) (f32.const 1.401298464324817e-45) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 167) + (i32.const 1422) (i32.const 0) ) (unreachable) @@ -16145,22 +31947,19 @@ ) (if (i32.eqz - (call $std/math/test_scalbnf - (f32.const 0.5000006556510925) - (i32.const -128) - (f32.const 1.4693693398263237e-39) + (call $std/math/test_hypotf + (f32.const inf) + (f32.const 1) + (f32.const inf) (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 168) + (i32.const 1423) (i32.const 0) ) (unreachable) @@ -16168,11 +31967,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const -3.531185829902812) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16180,7 +31979,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 182) + (i32.const 1424) (i32.const 0) ) (unreachable) @@ -16188,11 +31987,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 4.345239849338305) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16200,7 +31999,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 183) + (i32.const 1425) (i32.const 0) ) (unreachable) @@ -16208,11 +32007,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16220,7 +32019,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 184) + (i32.const 1426) (i32.const 0) ) (unreachable) @@ -16228,11 +32027,13 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) - (f64.const 0) + (call $std/math/test_hypotf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16240,7 +32041,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 185) + (i32.const 1427) (i32.const 0) ) (unreachable) @@ -16248,11 +32049,13 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 4.45566488261279) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16260,7 +32063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 186) + (i32.const 1428) (i32.const 0) ) (unreachable) @@ -16268,11 +32071,13 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const -0.4913994250211714) - (f64.const 0) + (call $std/math/test_hypotf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16280,7 +32085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 187) + (i32.const 1429) (i32.const 0) ) (unreachable) @@ -16288,11 +32093,13 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 0.035711240532359426) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16300,7 +32107,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 188) + (i32.const 1430) (i32.const 0) ) (unreachable) @@ -16308,11 +32115,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const -0.792054511984896) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -16320,7 +32127,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 189) + (i32.const 1431) (i32.const 0) ) (unreachable) @@ -16328,11 +32135,11 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) - (f64.const 0) + (call $std/math/test_hypotf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -16340,7 +32147,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 190) + (i32.const 1432) (i32.const 0) ) (unreachable) @@ -16348,19 +32155,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) + (call $std/math/test_log + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 191) + (i32.const 1444) (i32.const 0) ) (unreachable) @@ -16368,19 +32174,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 4.345239849338305) + (f64.const 1.4690809584224322) + (f64.const -0.3412533402442932) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 194) + (i32.const 1445) (i32.const 0) ) (unreachable) @@ -16388,19 +32193,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const 1) - (f64.const -0) + (call $std/math/test_log + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 195) + (i32.const 1446) (i32.const 0) ) (unreachable) @@ -16408,19 +32212,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.5) - (f64.const 1) - (f64.const 0.5) + (call $std/math/test_log + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 196) + (i32.const 1447) (i32.const 0) ) (unreachable) @@ -16428,19 +32231,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 9.267056966972586) + (f64.const 2.2264658498795615) + (f64.const 0.3638114035129547) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 197) + (i32.const 1448) (i32.const 0) ) (unreachable) @@ -16448,19 +32250,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 0.6619858980995045) + (f64.const -0.4125110252365137) + (f64.const -0.29108747839927673) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 198) + (i32.const 1449) (i32.const 0) ) (unreachable) @@ -16468,19 +32269,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const 1) - (f64.const -0) + (call $std/math/test_log + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 199) + (i32.const 1450) (i32.const 0) ) (unreachable) @@ -16488,19 +32288,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.5) - (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 0.5617597462207241) + (f64.const -0.5766810183195862) + (f64.const -0.10983199626207352) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 200) + (i32.const 1451) (i32.const 0) ) (unreachable) @@ -16508,19 +32307,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.5) - (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log + (f64.const 0.7741522965913037) + (f64.const -0.2559866591263865) + (f64.const -0.057990044355392456) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 201) + (i32.const 1452) (i32.const 0) ) (unreachable) @@ -16528,19 +32326,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 2) - (f64.const 1) - (f64.const 0) + (call $std/math/test_log + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 202) + (i32.const 1453) (i32.const 0) ) (unreachable) @@ -16548,19 +32345,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -2) - (f64.const 1) - (f64.const -0) + (call $std/math/test_log (f64.const 0) - (i32.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 203) + (i32.const 1456) (i32.const 0) ) (unreachable) @@ -16568,19 +32366,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 1) - (f64.const nan:0x8000000000000) + (call $std/math/test_log + (f64.const -0) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (i32.const 2) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 204) + (i32.const 1457) (i32.const 0) ) (unreachable) @@ -16588,11 +32387,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.const 1) + (call $std/math/test_log + (f64.const -7.888609052210118e-31) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -16602,7 +32398,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 205) + (i32.const 1458) (i32.const 0) ) (unreachable) @@ -16610,10 +32406,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) + (call $std/math/test_log (f64.const 1) - (f64.const nan:0x8000000000000) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -16622,7 +32417,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 206) + (i32.const 1459) (i32.const 0) ) (unreachable) @@ -16630,19 +32425,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) + (call $std/math/test_log (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 207) + (i32.const 1460) (i32.const 0) ) (unreachable) @@ -16650,10 +32444,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const -1) - (f64.const -0) + (call $std/math/test_log + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -16662,7 +32455,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 208) + (i32.const 1461) (i32.const 0) ) (unreachable) @@ -16670,19 +32463,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0.5) - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_log + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 209) + (i32.const 1462) (i32.const 0) ) (unreachable) @@ -16690,10 +32484,9 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) + (call $std/math/test_log + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -16702,7 +32495,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 210) + (i32.const 1463) (i32.const 0) ) (unreachable) @@ -16710,19 +32503,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 211) + (i32.const 1472) (i32.const 0) ) (unreachable) @@ -16730,19 +32524,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 212) + (i32.const 1473) (i32.const 0) ) (unreachable) @@ -16750,19 +32545,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.5) - (f64.const -1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 213) + (i32.const 1474) (i32.const 0) ) (unreachable) @@ -16770,11 +32564,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -16782,7 +32575,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 214) + (i32.const 1475) (i32.const 0) ) (unreachable) @@ -16790,19 +32583,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 2) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 215) + (i32.const 1476) (i32.const 0) ) (unreachable) @@ -16810,11 +32602,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -2) - (f64.const -1) - (f64.const -0) - (f64.const 0) + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16822,7 +32613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 216) + (i32.const 1477) (i32.const 0) ) (unreachable) @@ -16830,11 +32621,12 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -16842,7 +32634,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 217) + (i32.const 1478) (i32.const 0) ) (unreachable) @@ -16850,21 +32642,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 218) + (i32.const 1479) (i32.const 0) ) (unreachable) @@ -16872,19 +32661,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 219) + (i32.const 1482) (i32.const 0) ) (unreachable) @@ -16892,19 +32682,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 220) + (i32.const 1483) (i32.const 0) ) (unreachable) @@ -16912,11 +32703,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -16924,7 +32714,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 221) + (i32.const 1484) (i32.const 0) ) (unreachable) @@ -16932,11 +32722,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const inf) - (f64.const 0) - (f64.const 0) + (call $std/math/test_logf + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -16944,7 +32733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 222) + (i32.const 1485) (i32.const 0) ) (unreachable) @@ -16952,21 +32741,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_logf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 223) + (i32.const 1486) (i32.const 0) ) (unreachable) @@ -16974,11 +32760,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -16986,7 +32771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 224) + (i32.const 1487) (i32.const 0) ) (unreachable) @@ -16994,11 +32779,12 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_logf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -17006,7 +32792,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 225) + (i32.const 1488) (i32.const 0) ) (unreachable) @@ -17014,19 +32800,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_logf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 226) + (i32.const 1489) (i32.const 0) ) (unreachable) @@ -17034,19 +32819,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const inf) - (f64.const -0) + (call $std/math/test_log10 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 227) + (i32.const 1501) (i32.const 0) ) (unreachable) @@ -17054,21 +32838,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.neg - (f64.const inf) - ) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10 + (f64.const 4.345239849338305) + (f64.const 0.6380137537120029) + (f64.const -0.2088824063539505) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 228) + (i32.const 1502) (i32.const 0) ) (unreachable) @@ -17076,19 +32857,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -0) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const -8.38143342755525) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 229) + (i32.const 1503) (i32.const 0) ) (unreachable) @@ -17096,9 +32876,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const 0) + (call $std/math/test_log10 + (f64.const -6.531673581913484) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -17108,7 +32887,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 230) + (i32.const 1504) (i32.const 0) ) (unreachable) @@ -17116,19 +32895,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 9.267056966972586) + (f64.const 0.9669418327487274) + (f64.const -0.06120431795716286) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 231) + (i32.const 1505) (i32.const 0) ) (unreachable) @@ -17136,19 +32914,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 0.6619858980995045) + (f64.const -0.17915126198447093) + (f64.const 0.39090874791145325) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 232) + (i32.const 1506) (i32.const 0) ) (unreachable) @@ -17156,11 +32933,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_log10 + (f64.const -0.4066039223853553) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -17170,7 +32944,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 233) + (i32.const 1507) (i32.const 0) ) (unreachable) @@ -17178,19 +32952,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10 + (f64.const 0.5617597462207241) + (f64.const -0.25044938407454437) + (f64.const -0.3046841621398926) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 234) + (i32.const 1508) (i32.const 0) ) (unreachable) @@ -17198,19 +32971,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10 + (f64.const 0.7741522965913037) + (f64.const -0.11117359349943837) + (f64.const -0.31503361463546753) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 235) + (i32.const 1509) (i32.const 0) ) (unreachable) @@ -17218,9 +32990,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -0) + (call $std/math/test_log10 + (f64.const -0.6787637026394024) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -17230,7 +33001,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 236) + (i32.const 1510) (i32.const 0) ) (unreachable) @@ -17238,21 +33009,20 @@ ) (if (i32.eqz - (call $std/math/test_mod + (call $std/math/test_log10 + (f64.const 0) (f64.neg (f64.const inf) ) - (f64.const -0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 237) + (i32.const 1513) (i32.const 0) ) (unreachable) @@ -17260,19 +33030,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 238) + (i32.const 1514) (i32.const 0) ) (unreachable) @@ -17280,9 +33051,8 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const 2) + (call $std/math/test_log10 + (f64.const -7.888609052210118e-31) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -17292,7 +33062,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 239) + (i32.const 1515) (i32.const 0) ) (unreachable) @@ -17300,19 +33070,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const -0.5) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const 1) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 240) + (i32.const 1516) (i32.const 0) ) (unreachable) @@ -17320,19 +33089,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const -1) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 241) + (i32.const 1517) (i32.const 0) ) (unreachable) @@ -17340,21 +33108,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.const 2) - (f64.const nan:0x8000000000000) + (call $std/math/test_log10 + (f64.const inf) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 242) + (i32.const 1518) (i32.const 0) ) (unreachable) @@ -17362,11 +33127,10 @@ ) (if (i32.eqz - (call $std/math/test_mod + (call $std/math/test_log10 (f64.neg (f64.const inf) ) - (f64.const -0.5) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -17376,7 +33140,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 243) + (i32.const 1519) (i32.const 0) ) (unreachable) @@ -17384,10 +33148,7 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) + (call $std/math/test_log10 (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const 0) @@ -17398,7 +33159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 244) + (i32.const 1520) (i32.const 0) ) (unreachable) @@ -17406,19 +33167,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 245) + (i32.const 1529) (i32.const 0) ) (unreachable) @@ -17426,19 +33186,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 4.345239639282227) + (f32.const 0.6380137205123901) + (f32.const -0.20476758480072021) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 246) + (i32.const 1530) (i32.const 0) ) (unreachable) @@ -17446,19 +33205,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 247) + (i32.const 1531) (i32.const 0) ) (unreachable) @@ -17466,19 +33224,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 248) + (i32.const 1532) (i32.const 0) ) (unreachable) @@ -17486,19 +33243,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.const inf) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 9.267057418823242) + (f32.const 0.9669418334960938) + (f32.const -0.34273025393486023) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 249) + (i32.const 1533) (i32.const 0) ) (unreachable) @@ -17506,19 +33262,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_log10f + (f32.const 0.6619858741760254) + (f32.const -0.1791512817144394) + (f32.const -0.27078554034233093) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 250) + (i32.const 1534) (i32.const 0) ) (unreachable) @@ -17526,13 +33281,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_log10f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -17540,7 +33292,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 251) + (i32.const 1535) (i32.const 0) ) (unreachable) @@ -17548,21 +33300,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1) - (f64.neg - (f64.const inf) - ) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 0.5617597699165344) + (f32.const -0.25044935941696167) + (f32.const 0.2126826047897339) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 252) + (i32.const 1536) (i32.const 0) ) (unreachable) @@ -17570,21 +33319,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1) - (f64.neg - (f64.const inf) - ) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const 0.7741522789001465) + (f32.const -0.1111735999584198) + (f32.const 0.46515095233917236) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 253) + (i32.const 1537) (i32.const 0) ) (unreachable) @@ -17592,13 +33338,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const inf) - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_log10f + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 2) ) ) @@ -17606,7 +33349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 254) + (i32.const 1538) (i32.const 0) ) (unreachable) @@ -17614,23 +33357,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.neg - (f64.const inf) - ) - (f64.neg - (f64.const inf) + (call $std/math/test_log10f + (f32.const 0) + (f32.neg + (f32.const inf) ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 255) + (i32.const 1541) (i32.const 0) ) (unreachable) @@ -17638,19 +33378,20 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.75) - (f64.const 0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 256) + (i32.const 1542) (i32.const 0) ) (unreachable) @@ -17658,19 +33399,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.75) - (f64.const 0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -7.888609052210118e-31) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 257) + (i32.const 1543) (i32.const 0) ) (unreachable) @@ -17678,11 +33418,10 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const 1.75) - (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) + (call $std/math/test_log10f + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -17690,7 +33429,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 258) + (i32.const 1544) (i32.const 0) ) (unreachable) @@ -17698,19 +33437,18 @@ ) (if (i32.eqz - (call $std/math/test_mod - (f64.const -1.75) - (f64.const -0.5) - (f64.const -0.25) - (f64.const 0) - (i32.const 0) + (call $std/math/test_log10f + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 259) + (i32.const 1545) (i32.const 0) ) (unreachable) @@ -17718,10 +33456,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const -3.531186103820801) + (call $std/math/test_log10f + (f32.const inf) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -17730,7 +33467,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 268) + (i32.const 1546) (i32.const 0) ) (unreachable) @@ -17738,19 +33475,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 4.345239639282227) + (call $std/math/test_log10f + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 269) + (i32.const 1547) (i32.const 0) ) (unreachable) @@ -17758,10 +33496,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) + (call $std/math/test_log10f + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -17770,7 +33507,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 270) + (i32.const 1548) (i32.const 0) ) (unreachable) @@ -17778,19 +33515,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 271) + (i32.const 1560) (i32.const 0) ) (unreachable) @@ -17798,19 +33534,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 4.455665111541748) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 4.345239849338305) + (f64.const 1.6762064170601734) + (f64.const 0.46188199520111084) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 272) + (i32.const 1561) (i32.const 0) ) (unreachable) @@ -17818,19 +33553,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const -0.49139970541000366) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 273) + (i32.const 1562) (i32.const 0) ) (unreachable) @@ -17838,19 +33572,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 0.0357111394405365) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 274) + (i32.const 1563) (i32.const 0) ) (unreachable) @@ -17858,39 +33591,37 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 9.267056966972586) + (f64.const 2.3289404168523826) + (f64.const -0.411114901304245) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 275) + (i32.const 1564) (i32.const 0) ) (unreachable) ) ) (if - (i32.eqz - (call $std/math/test_modf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) - (f32.const 0) - (i32.const 0) + (i32.eqz + (call $std/math/test_log1p + (f64.const 0.6619858980995045) + (f64.const 0.5080132114992477) + (f64.const -0.29306045174598694) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 276) + (i32.const 1565) (i32.const 0) ) (unreachable) @@ -17898,19 +33629,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -0.4066039223853553) + (f64.const -0.5218931811663979) + (f64.const -0.25825726985931396) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 277) + (i32.const 1566) (i32.const 0) ) (unreachable) @@ -17918,19 +33648,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 0.5617597462207241) + (f64.const 0.4458132279488102) + (f64.const -0.13274887204170227) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 280) + (i32.const 1567) (i32.const 0) ) (unreachable) @@ -17938,19 +33667,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 0.7741522965913037) + (f64.const 0.5733227294648414) + (f64.const 0.02716583013534546) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 281) + (i32.const 1568) (i32.const 0) ) (unreachable) @@ -17958,19 +33686,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -0.6787637026394024) + (f64.const -1.1355782978128564) + (f64.const 0.2713092863559723) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 282) + (i32.const 1569) (i32.const 0) ) (unreachable) @@ -17978,11 +33705,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) + (call $std/math/test_log1p + (f64.const 0) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -17990,7 +33716,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 283) + (i32.const 1572) (i32.const 0) ) (unreachable) @@ -17998,11 +33724,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (f32.const 0) + (call $std/math/test_log1p + (f64.const -0) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -18010,7 +33735,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 284) + (i32.const 1573) (i32.const 0) ) (unreachable) @@ -18018,19 +33743,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -7.888609052210118e-31) + (f64.const -7.888609052210118e-31) + (f64.const 1.7763568394002505e-15) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 285) + (i32.const 1574) (i32.const 0) ) (unreachable) @@ -18038,19 +33762,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.5) - (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const 1) + (f64.const 0.6931471805599453) + (f64.const -0.2088811695575714) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 286) + (i32.const 1575) (i32.const 0) ) (unreachable) @@ -18058,19 +33781,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.5) - (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 287) + (i32.const 1576) (i32.const 0) ) (unreachable) @@ -18078,11 +33802,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 2) - (f32.const 1) - (f32.const 0) - (f32.const 0) + (call $std/math/test_log1p + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -18090,7 +33813,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 288) + (i32.const 1577) (i32.const 0) ) (unreachable) @@ -18098,19 +33821,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -2) - (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1p + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 289) + (i32.const 1578) (i32.const 0) ) (unreachable) @@ -18118,19 +33842,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1p + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 290) + (i32.const 1579) (i32.const 0) ) (unreachable) @@ -18138,11 +33861,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const 1) + (call $std/math/test_log1pf + (f32.const -8.066848754882812) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -18152,7 +33872,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 291) + (i32.const 1588) (i32.const 0) ) (unreachable) @@ -18160,19 +33880,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 4.345239639282227) + (f32.const 1.676206350326538) + (f32.const -0.23014859855175018) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 292) + (i32.const 1589) (i32.const 0) ) (unreachable) @@ -18180,19 +33899,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const -1) - (f32.const 0) + (call $std/math/test_log1pf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 293) + (i32.const 1590) (i32.const 0) ) (unreachable) @@ -18200,19 +33918,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const -1) - (f32.const -0) + (call $std/math/test_log1pf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 294) + (i32.const 1591) (i32.const 0) ) (unreachable) @@ -18220,19 +33937,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 9.267057418823242) + (f32.const 2.3289403915405273) + (f32.const -0.29075589776039124) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 295) + (i32.const 1592) (i32.const 0) ) (unreachable) @@ -18240,19 +33956,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 0.6619858741760254) + (f32.const 0.5080131888389587) + (f32.const -0.1386766880750656) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 296) + (i32.const 1593) (i32.const 0) ) (unreachable) @@ -18260,19 +33975,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const -0.40660393238067627) + (f32.const -0.5218932032585144) + (f32.const -0.08804433047771454) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 297) + (i32.const 1594) (i32.const 0) ) (unreachable) @@ -18280,19 +33994,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 0.5617597699165344) + (f32.const 0.44581323862075806) + (f32.const -0.15101368725299835) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 298) + (i32.const 1595) (i32.const 0) ) (unreachable) @@ -18300,19 +34013,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.5) - (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const 0.7741522789001465) + (f32.const 0.5733227133750916) + (f32.const -0.10264533013105392) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 299) + (i32.const 1596) (i32.const 0) ) (unreachable) @@ -18320,19 +34032,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.5) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log1pf + (f32.const -0.6787636876106262) + (f32.const -1.1355782747268677) + (f32.const -0.19879481196403503) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 300) + (i32.const 1597) (i32.const 0) ) (unreachable) @@ -18340,9 +34051,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 2) - (f32.const -1) + (call $std/math/test_log1pf + (f32.const 0) (f32.const 0) (f32.const 0) (i32.const 0) @@ -18352,7 +34062,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 301) + (i32.const 1600) (i32.const 0) ) (unreachable) @@ -18360,9 +34070,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -2) - (f32.const -1) + (call $std/math/test_log1pf + (f32.const -0) (f32.const -0) (f32.const 0) (i32.const 0) @@ -18372,7 +34081,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 302) + (i32.const 1601) (i32.const 0) ) (unreachable) @@ -18380,19 +34089,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const -7.888609052210118e-31) + (f32.const -7.888609052210118e-31) + (f32.const 3.308722450212111e-24) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 303) + (i32.const 1602) (i32.const 0) ) (unreachable) @@ -18400,21 +34108,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log1pf + (f32.const 1) + (f32.const 0.6931471824645996) + (f32.const 0.031954795122146606) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 304) + (i32.const 1603) (i32.const 0) ) (unreachable) @@ -18422,19 +34127,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) + (call $std/math/test_log1pf (f32.const -1) - (f32.const nan:0x400000) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 305) + (i32.const 1604) (i32.const 0) ) (unreachable) @@ -18442,19 +34148,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const 0) - (f32.const nan:0x400000) + (call $std/math/test_log1pf + (f32.const inf) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 306) + (i32.const 1605) (i32.const 0) ) (unreachable) @@ -18462,9 +34167,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const -0) + (call $std/math/test_log1pf + (f32.neg + (f32.const inf) + ) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -18474,7 +34180,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 307) + (i32.const 1606) (i32.const 0) ) (unreachable) @@ -18482,10 +34188,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const inf) - (f32.const 0) + (call $std/math/test_log1pf + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -18494,7 +34199,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 308) + (i32.const 1607) (i32.const 0) ) (unreachable) @@ -18502,21 +34207,21 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.neg - (f32.const inf) + (call $std/math/test_log1pf + (f32.const -1.1754942106924411e-38) + (f32.const -1.1754942106924411e-38) + (f32.const 4.930380657631324e-32) + (i32.or + (i32.const 1) + (i32.const 8) ) - (f32.const 0) - (f32.const 0) - (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 309) + (i32.const 1608) (i32.const 0) ) (unreachable) @@ -18524,19 +34229,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 310) + (i32.const 1620) (i32.const 0) ) (unreachable) @@ -18544,19 +34248,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 4.345239849338305) + (f64.const 2.1194358133804485) + (f64.const -0.10164877772331238) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 311) + (i32.const 1621) (i32.const 0) ) (unreachable) @@ -18564,11 +34267,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -18576,7 +34278,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 312) + (i32.const 1622) (i32.const 0) ) (unreachable) @@ -18584,19 +34286,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const inf) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 313) + (i32.const 1623) (i32.const 0) ) (unreachable) @@ -18604,21 +34305,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.neg - (f32.const inf) - ) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const 9.267056966972586) + (f64.const 3.2121112403298744) + (f64.const -0.15739446878433228) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 314) + (i32.const 1624) (i32.const 0) ) (unreachable) @@ -18626,19 +34324,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -0) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const 0.6619858980995045) + (f64.const -0.5951276104207402) + (f64.const 0.3321485221385956) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 315) + (i32.const 1625) (i32.const 0) ) (unreachable) @@ -18646,11 +34343,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -18658,7 +34354,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 316) + (i32.const 1626) (i32.const 0) ) (unreachable) @@ -18666,19 +34362,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 0.5617597462207241) + (f64.const -0.8319748453044644) + (f64.const 0.057555437088012695) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 317) + (i32.const 1627) (i32.const 0) ) (unreachable) @@ -18686,19 +34381,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 0.7741522965913037) + (f64.const -0.36931068365537134) + (f64.const -0.19838279485702515) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 318) + (i32.const 1628) (i32.const 0) ) (unreachable) @@ -18706,13 +34400,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -18720,7 +34411,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 319) + (i32.const 1629) (i32.const 0) ) (unreachable) @@ -18728,19 +34419,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const 0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 320) + (i32.const 1632) (i32.const 0) ) (unreachable) @@ -18748,19 +34440,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 321) + (i32.const 1633) (i32.const 0) ) (unreachable) @@ -18768,11 +34461,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const -7.888609052210118e-31) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -18780,7 +34472,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 322) + (i32.const 1634) (i32.const 0) ) (unreachable) @@ -18788,21 +34480,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 323) + (i32.const 1635) (i32.const 0) ) (unreachable) @@ -18810,19 +34499,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const -0) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2 + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 324) + (i32.const 1636) (i32.const 0) ) (unreachable) @@ -18830,19 +34518,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const 2) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2 + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 325) + (i32.const 1637) (i32.const 0) ) (unreachable) @@ -18850,11 +34537,12 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 2) ) ) @@ -18862,7 +34550,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 326) + (i32.const 1638) (i32.const 0) ) (unreachable) @@ -18870,11 +34558,10 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_log2 + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -18882,7 +34569,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 327) + (i32.const 1639) (i32.const 0) ) (unreachable) @@ -18890,11 +34577,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const 2) + (call $std/math/test_log2f + (f32.const -8.066848754882812) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -18904,7 +34588,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 328) + (i32.const 1648) (i32.const 0) ) (unreachable) @@ -18912,21 +34596,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2f + (f32.const 4.345239639282227) + (f32.const 2.1194357872009277) + (f32.const 0.18271538615226746) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 329) + (i32.const 1649) (i32.const 0) ) (unreachable) @@ -18934,21 +34615,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_log2f + (f32.const -8.381433486938477) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 330) + (i32.const 1650) (i32.const 0) ) (unreachable) @@ -18956,19 +34634,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_log2f + (f32.const -6.531673431396484) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 331) + (i32.const 1651) (i32.const 0) ) (unreachable) @@ -18976,19 +34653,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 9.267057418823242) + (f32.const 3.212111234664917) + (f32.const -0.3188050389289856) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 332) + (i32.const 1652) (i32.const 0) ) (unreachable) @@ -18996,19 +34672,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 0.6619858741760254) + (f32.const -0.5951276421546936) + (f32.const 0.34231460094451904) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 333) + (i32.const 1653) (i32.const 0) ) (unreachable) @@ -19016,19 +34691,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) - (f32.const inf) - (f32.const 1) + (call $std/math/test_log2f + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 334) + (i32.const 1654) (i32.const 0) ) (unreachable) @@ -19036,19 +34710,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) - (f32.const inf) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_log2f + (f32.const 0.5617597699165344) + (f32.const -0.8319748044013977) + (f32.const -0.33473604917526245) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 335) + (i32.const 1655) (i32.const 0) ) (unreachable) @@ -19056,19 +34729,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_log2f + (f32.const 0.7741522789001465) + (f32.const -0.3693107068538666) + (f32.const 0.3278401792049408) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 336) + (i32.const 1656) (i32.const 0) ) (unreachable) @@ -19076,11 +34748,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.const inf) + (call $std/math/test_log2f + (f32.const -0.6787636876106262) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -19090,7 +34759,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 337) + (i32.const 1657) (i32.const 0) ) (unreachable) @@ -19098,21 +34767,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1) + (call $std/math/test_log2f + (f32.const 0) (f32.neg (f32.const inf) ) - (f32.const 1) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 338) + (i32.const 1660) (i32.const 0) ) (unreachable) @@ -19120,21 +34788,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1) + (call $std/math/test_log2f + (f32.const -0) (f32.neg (f32.const inf) ) - (f32.const -1) (f32.const 0) - (i32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 339) + (i32.const 1661) (i32.const 0) ) (unreachable) @@ -19142,11 +34809,8 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const inf) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_log2f + (f32.const -7.888609052210118e-31) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -19156,7 +34820,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 340) + (i32.const 1662) (i32.const 0) ) (unreachable) @@ -19164,23 +34828,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.neg - (f32.const inf) - ) - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_log2f + (f32.const 1) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 341) + (i32.const 1663) (i32.const 0) ) (unreachable) @@ -19188,19 +34847,18 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.75) - (f32.const 0.5) - (f32.const 0.25) + (call $std/math/test_log2f + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 342) + (i32.const 1664) (i32.const 0) ) (unreachable) @@ -19208,10 +34866,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.75) - (f32.const 0.5) - (f32.const -0.25) + (call $std/math/test_log2f + (f32.const inf) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -19220,7 +34877,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 343) + (i32.const 1665) (i32.const 0) ) (unreachable) @@ -19228,19 +34885,20 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const 1.75) - (f32.const -0.5) - (f32.const 0.25) + (call $std/math/test_log2f + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 344) + (i32.const 1666) (i32.const 0) ) (unreachable) @@ -19248,10 +34906,9 @@ ) (if (i32.eqz - (call $std/math/test_modf - (f32.const -1.75) - (f32.const -0.5) - (f32.const -0.25) + (call $std/math/test_log2f + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -19260,7 +34917,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 345) + (i32.const 1667) (i32.const 0) ) (unreachable) @@ -19268,10 +34925,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -8.06684839057968) (f64.const 4.535662560676869) - (f64.const 1.0044767307740567) + (f64.const 4.535662560676869) (f64.const 0) (i32.const 0) ) @@ -19280,7 +34937,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 354) + (i32.const 1679) (i32.const 0) ) (unreachable) @@ -19288,7 +34945,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 4.345239849338305) (f64.const -8.88799136300345) (f64.const 4.345239849338305) @@ -19300,7 +34957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 355) + (i32.const 1680) (i32.const 0) ) (unreachable) @@ -19308,10 +34965,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -8.38143342755525) (f64.const -2.763607337379588) - (f64.const -0.09061141541648476) + (f64.const -2.763607337379588) (f64.const 0) (i32.const 0) ) @@ -19320,7 +34977,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 356) + (i32.const 1681) (i32.const 0) ) (unreachable) @@ -19328,10 +34985,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -6.531673581913484) (f64.const 4.567535276842744) - (f64.const -1.9641383050707404) + (f64.const 4.567535276842744) (f64.const 0) (i32.const 0) ) @@ -19340,7 +34997,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 357) + (i32.const 1682) (i32.const 0) ) (unreachable) @@ -19348,10 +35005,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 9.267056966972586) (f64.const 4.811392084359796) - (f64.const -0.35572720174700656) + (f64.const 9.267056966972586) (f64.const 0) (i32.const 0) ) @@ -19360,7 +35017,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 358) + (i32.const 1683) (i32.const 0) ) (unreachable) @@ -19368,10 +35025,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -6.450045556060236) (f64.const 0.6620717923376739) - (f64.const 0.17067236731650248) + (f64.const 0.6620717923376739) (f64.const 0) (i32.const 0) ) @@ -19380,7 +35037,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 359) + (i32.const 1684) (i32.const 0) ) (unreachable) @@ -19388,10 +35045,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 7.858890253041697) (f64.const 0.05215452675006225) - (f64.const -0.016443286217702822) + (f64.const 7.858890253041697) (f64.const 0) (i32.const 0) ) @@ -19400,7 +35057,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 360) + (i32.const 1685) (i32.const 0) ) (unreachable) @@ -19408,10 +35065,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0.792054511984896) (f64.const 7.67640268511754) - (f64.const -0.792054511984896) + (f64.const 7.67640268511754) (f64.const 0) (i32.const 0) ) @@ -19420,7 +35077,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 361) + (i32.const 1686) (i32.const 0) ) (unreachable) @@ -19428,10 +35085,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0.615702673197924) (f64.const 2.0119025790324803) - (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) (f64.const 0) (i32.const 0) ) @@ -19440,7 +35097,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 362) + (i32.const 1687) (i32.const 0) ) (unreachable) @@ -19448,10 +35105,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0.5587586823609152) (f64.const 0.03223983060263804) - (f64.const -0.0106815621160685) + (f64.const 0.03223983060263804) (f64.const 0) (i32.const 0) ) @@ -19460,7 +35117,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 363) + (i32.const 1688) (i32.const 0) ) (unreachable) @@ -19468,10 +35125,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const 1) - (f64.const 0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -19480,7 +35137,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 366) + (i32.const 1691) (i32.const 0) ) (unreachable) @@ -19488,10 +35145,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const 1) - (f64.const -0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -19500,7 +35157,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 367) + (i32.const 1692) (i32.const 0) ) (unreachable) @@ -19508,30 +35165,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0.5) (f64.const 1) - (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 368) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -0.5) (f64.const 1) - (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -19540,7 +35177,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 369) + (i32.const 1693) (i32.const 0) ) (unreachable) @@ -19548,11 +35185,11 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const -0.5) (f64.const 1) (f64.const 1) (f64.const 0) - (f64.const 0) (i32.const 0) ) ) @@ -19560,7 +35197,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 370) + (i32.const 1694) (i32.const 0) ) (unreachable) @@ -19568,50 +35205,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1) + (call $std/math/test_max (f64.const 1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 371) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const 1.5) (f64.const 1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 372) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -1.5) (f64.const 1) - (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -19620,7 +35217,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 373) + (i32.const 1695) (i32.const 0) ) (unreachable) @@ -19628,30 +35225,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 2) + (call $std/math/test_max + (f64.const -1) (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 374) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -2) (f64.const 1) - (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -19660,7 +35237,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 375) + (i32.const 1696) (i32.const 0) ) (unreachable) @@ -19668,19 +35245,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const 1) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 376) + (i32.const 1697) (i32.const 0) ) (unreachable) @@ -19688,21 +35265,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const 1) - (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 377) + (i32.const 1698) (i32.const 0) ) (unreachable) @@ -19710,7 +35287,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const 1) (f64.const nan:0x8000000000000) @@ -19722,7 +35299,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 378) + (i32.const 1699) (i32.const 0) ) (unreachable) @@ -19730,7 +35307,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const -1) (f64.const 0) @@ -19742,7 +35319,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 379) + (i32.const 1700) (i32.const 0) ) (unreachable) @@ -19750,7 +35327,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const -1) (f64.const -0) @@ -19762,7 +35339,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 380) + (i32.const 1701) (i32.const 0) ) (unreachable) @@ -19770,90 +35347,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 0.5) - (f64.const -1) + (call $std/math/test_max (f64.const 0.5) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 381) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -0.5) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 382) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const 1) - (f64.const -1) - (f64.const 0) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 383) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const -1) - (f64.const -1) - (f64.const -0) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 384) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const 1.5) (f64.const -1) - (f64.const -0.5) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -19862,7 +35359,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 385) + (i32.const 1702) (i32.const 0) ) (unreachable) @@ -19870,10 +35367,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -1.5) + (call $std/math/test_max + (f64.const -0.5) (f64.const -1) - (f64.const 0.5) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -19882,7 +35379,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 386) + (i32.const 1703) (i32.const 0) ) (unreachable) @@ -19890,10 +35387,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const 2) + (call $std/math/test_max + (f64.const 1) (f64.const -1) - (f64.const 0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -19902,7 +35399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 387) + (i32.const 1704) (i32.const 0) ) (unreachable) @@ -19910,10 +35407,10 @@ ) (if (i32.eqz - (call $std/math/test_rem - (f64.const -2) + (call $std/math/test_max + (f64.const -1) + (f64.const -1) (f64.const -1) - (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -19922,7 +35419,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 388) + (i32.const 1705) (i32.const 0) ) (unreachable) @@ -19930,19 +35427,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -1) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 389) + (i32.const 1706) (i32.const 0) ) (unreachable) @@ -19950,21 +35447,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const -1) - (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 390) + (i32.const 1707) (i32.const 0) ) (unreachable) @@ -19972,7 +35469,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const -1) (f64.const nan:0x8000000000000) @@ -19984,7 +35481,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 391) + (i32.const 1708) (i32.const 0) ) (unreachable) @@ -19992,19 +35489,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 392) + (i32.const 1709) (i32.const 0) ) (unreachable) @@ -20012,19 +35509,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const -0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 393) + (i32.const 1710) (i32.const 0) ) (unreachable) @@ -20032,10 +35529,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const inf) - (f64.const 0) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -20044,7 +35541,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 394) + (i32.const 1711) (i32.const 0) ) (unreachable) @@ -20052,7 +35549,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.neg (f64.const inf) @@ -20066,7 +35563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 395) + (i32.const 1712) (i32.const 0) ) (unreachable) @@ -20074,7 +35571,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20086,7 +35583,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 396) + (i32.const 1713) (i32.const 0) ) (unreachable) @@ -20094,19 +35591,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 397) + (i32.const 1714) (i32.const 0) ) (unreachable) @@ -20114,19 +35611,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const -0) (f64.const -0) (f64.const -0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 398) + (i32.const 1715) (i32.const 0) ) (unreachable) @@ -20134,10 +35631,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const inf) - (f64.const -0) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -20146,7 +35643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 399) + (i32.const 1716) (i32.const 0) ) (unreachable) @@ -20154,7 +35651,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.neg (f64.const inf) @@ -20168,7 +35665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 400) + (i32.const 1717) (i32.const 0) ) (unreachable) @@ -20176,7 +35673,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -0) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20188,7 +35685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 401) + (i32.const 1718) (i32.const 0) ) (unreachable) @@ -20196,19 +35693,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const 0) - (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 402) + (i32.const 1719) (i32.const 0) ) (unreachable) @@ -20216,19 +35713,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 403) + (i32.const 1720) (i32.const 0) ) (unreachable) @@ -20236,19 +35733,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const 0) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 404) + (i32.const 1721) (i32.const 0) ) (unreachable) @@ -20256,21 +35753,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const 0) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 405) + (i32.const 1722) (i32.const 0) ) (unreachable) @@ -20278,7 +35775,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const 0) (f64.const nan:0x8000000000000) @@ -20290,7 +35787,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 406) + (i32.const 1723) (i32.const 0) ) (unreachable) @@ -20298,19 +35795,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const -0) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 407) + (i32.const 1724) (i32.const 0) ) (unreachable) @@ -20318,19 +35815,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 408) + (i32.const 1725) (i32.const 0) ) (unreachable) @@ -20338,21 +35835,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const -0) - (f64.const nan:0x8000000000000) + (f64.const -0) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 409) + (i32.const 1726) (i32.const 0) ) (unreachable) @@ -20360,7 +35857,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const -0) (f64.const nan:0x8000000000000) @@ -20372,7 +35869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 410) + (i32.const 1727) (i32.const 0) ) (unreachable) @@ -20380,19 +35877,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const 2) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 411) + (i32.const 1728) (i32.const 0) ) (unreachable) @@ -20400,19 +35897,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const -0.5) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 412) + (i32.const 1729) (i32.const 0) ) (unreachable) @@ -20420,7 +35917,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20432,7 +35929,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 413) + (i32.const 1730) (i32.const 0) ) (unreachable) @@ -20440,21 +35937,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const 2) - (f64.const nan:0x8000000000000) + (f64.const 2) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 414) + (i32.const 1731) (i32.const 0) ) (unreachable) @@ -20462,21 +35959,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const -0.5) - (f64.const nan:0x8000000000000) + (f64.const -0.5) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 415) + (i32.const 1732) (i32.const 0) ) (unreachable) @@ -20484,7 +35981,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) @@ -20498,7 +35995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 416) + (i32.const 1733) (i32.const 0) ) (unreachable) @@ -20506,7 +36003,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20518,7 +36015,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 417) + (i32.const 1734) (i32.const 0) ) (unreachable) @@ -20526,7 +36023,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20538,7 +36035,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 418) + (i32.const 1735) (i32.const 0) ) (unreachable) @@ -20546,7 +36043,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) @@ -20558,7 +36055,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 419) + (i32.const 1736) (i32.const 0) ) (unreachable) @@ -20566,10 +36063,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.const inf) - (f64.const 1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -20578,7 +36075,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 420) + (i32.const 1737) (i32.const 0) ) (unreachable) @@ -20586,10 +36083,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.const inf) - (f64.const -1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -20598,7 +36095,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 421) + (i32.const 1738) (i32.const 0) ) (unreachable) @@ -20606,19 +36103,19 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.const inf) (f64.const inf) (f64.const inf) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 422) + (i32.const 1739) (i32.const 0) ) (unreachable) @@ -20626,21 +36123,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.neg (f64.const inf) ) (f64.const inf) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 423) + (i32.const 1740) (i32.const 0) ) (unreachable) @@ -20648,7 +36145,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1) (f64.neg (f64.const inf) @@ -20662,7 +36159,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 424) + (i32.const 1741) (i32.const 0) ) (unreachable) @@ -20670,7 +36167,7 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1) (f64.neg (f64.const inf) @@ -20684,7 +36181,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 425) + (i32.const 1742) (i32.const 0) ) (unreachable) @@ -20692,21 +36189,21 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const inf) (f64.neg (f64.const inf) ) - (f64.const nan:0x8000000000000) + (f64.const inf) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 426) + (i32.const 1743) (i32.const 0) ) (unreachable) @@ -20714,23 +36211,25 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max + (f64.neg + (f64.const inf) + ) (f64.neg (f64.const inf) ) (f64.neg (f64.const inf) ) - (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 427) + (i32.const 1744) (i32.const 0) ) (unreachable) @@ -20738,10 +36237,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1.75) (f64.const 0.5) - (f64.const -0.25) + (f64.const 1.75) (f64.const 0) (i32.const 0) ) @@ -20750,7 +36249,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 428) + (i32.const 1745) (i32.const 0) ) (unreachable) @@ -20758,10 +36257,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1.75) (f64.const 0.5) - (f64.const 0.25) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -20770,7 +36269,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 429) + (i32.const 1746) (i32.const 0) ) (unreachable) @@ -20778,10 +36277,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const 1.75) (f64.const -0.5) - (f64.const -0.25) + (f64.const 1.75) (f64.const 0) (i32.const 0) ) @@ -20790,7 +36289,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 430) + (i32.const 1747) (i32.const 0) ) (unreachable) @@ -20798,30 +36297,10 @@ ) (if (i32.eqz - (call $std/math/test_rem + (call $std/math/test_max (f64.const -1.75) (f64.const -0.5) - (f64.const 0.25) - (f64.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 431) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_rem - (f64.const 8e-323) - (f64.const inf) - (f64.const 8e-323) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -20830,7 +36309,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 432) + (i32.const 1748) (i32.const 0) ) (unreachable) @@ -20838,10 +36317,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const 1.004476547241211) + (f32.const 4.535662651062012) (f32.const 0) (i32.const 0) ) @@ -20850,7 +36329,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 441) + (i32.const 1757) (i32.const 0) ) (unreachable) @@ -20858,7 +36337,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 4.345239639282227) (f32.const -8.887990951538086) (f32.const 4.345239639282227) @@ -20870,7 +36349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 442) + (i32.const 1758) (i32.const 0) ) (unreachable) @@ -20878,10 +36357,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) - (f32.const -0.09061169624328613) + (f32.const -2.7636072635650635) (f32.const 0) (i32.const 0) ) @@ -20890,7 +36369,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 443) + (i32.const 1759) (i32.const 0) ) (unreachable) @@ -20898,10 +36377,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -6.531673431396484) (f32.const 4.567535400390625) - (f32.const -1.9641380310058594) + (f32.const 4.567535400390625) (f32.const 0) (i32.const 0) ) @@ -20910,7 +36389,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 444) + (i32.const 1760) (i32.const 0) ) (unreachable) @@ -20918,10 +36397,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const -0.3557271957397461) + (f32.const 9.267057418823242) (f32.const 0) (i32.const 0) ) @@ -20930,7 +36409,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 445) + (i32.const 1761) (i32.const 0) ) (unreachable) @@ -20938,10 +36417,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const 0.17067205905914307) + (f32.const 0.6620717644691467) (f32.const 0) (i32.const 0) ) @@ -20950,7 +36429,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 446) + (i32.const 1762) (i32.const 0) ) (unreachable) @@ -20958,10 +36437,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const -0.016443386673927307) + (f32.const 7.858890056610107) (f32.const 0) (i32.const 0) ) @@ -20970,7 +36449,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 447) + (i32.const 1763) (i32.const 0) ) (unreachable) @@ -20978,10 +36457,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) - (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) (f32.const 0) (i32.const 0) ) @@ -20990,7 +36469,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 448) + (i32.const 1764) (i32.const 0) ) (unreachable) @@ -20998,10 +36477,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) - (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) (f32.const 0) (i32.const 0) ) @@ -21010,7 +36489,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 449) + (i32.const 1765) (i32.const 0) ) (unreachable) @@ -21018,10 +36497,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0.5587586760520935) (f32.const 0.03223983198404312) - (f32.const -0.010681532323360443) + (f32.const 0.03223983198404312) (f32.const 0) (i32.const 0) ) @@ -21030,7 +36509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 450) + (i32.const 1766) (i32.const 0) ) (unreachable) @@ -21038,10 +36517,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const 1) - (f32.const 0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -21050,7 +36529,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 453) + (i32.const 1769) (i32.const 0) ) (unreachable) @@ -21058,10 +36537,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const 1) - (f32.const -0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -21070,7 +36549,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 454) + (i32.const 1770) (i32.const 0) ) (unreachable) @@ -21078,30 +36557,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0.5) (f32.const 1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 455) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -0.5) (f32.const 1) - (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -21110,7 +36569,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 456) + (i32.const 1771) (i32.const 0) ) (unreachable) @@ -21118,11 +36577,11 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const -0.5) (f32.const 1) (f32.const 1) (f32.const 0) - (f32.const 0) (i32.const 0) ) ) @@ -21130,7 +36589,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 457) + (i32.const 1772) (i32.const 0) ) (unreachable) @@ -21138,50 +36597,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -1) + (call $std/math/test_maxf (f32.const 1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 458) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 1.5) (f32.const 1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 459) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -1.5) (f32.const 1) - (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -21190,7 +36609,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 460) + (i32.const 1773) (i32.const 0) ) (unreachable) @@ -21198,30 +36617,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const 2) + (call $std/math/test_maxf + (f32.const -1) (f32.const 1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 461) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -2) (f32.const 1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -21230,7 +36629,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 462) + (i32.const 1774) (i32.const 0) ) (unreachable) @@ -21238,19 +36637,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const 1) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 463) + (i32.const 1775) (i32.const 0) ) (unreachable) @@ -21258,21 +36657,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const 1) - (f32.const nan:0x400000) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 464) + (i32.const 1776) (i32.const 0) ) (unreachable) @@ -21280,7 +36679,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const 1) (f32.const nan:0x400000) @@ -21292,7 +36691,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 465) + (i32.const 1777) (i32.const 0) ) (unreachable) @@ -21300,7 +36699,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const -1) (f32.const 0) @@ -21312,7 +36711,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 466) + (i32.const 1778) (i32.const 0) ) (unreachable) @@ -21320,7 +36719,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const -1) (f32.const -0) @@ -21332,7 +36731,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 467) + (i32.const 1779) (i32.const 0) ) (unreachable) @@ -21340,7 +36739,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0.5) (f32.const -1) (f32.const 0.5) @@ -21352,7 +36751,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 468) + (i32.const 1780) (i32.const 0) ) (unreachable) @@ -21360,7 +36759,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0.5) (f32.const -1) (f32.const -0.5) @@ -21372,7 +36771,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 469) + (i32.const 1781) (i32.const 0) ) (unreachable) @@ -21380,50 +36779,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 470) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -1) - (f32.const -1) - (f32.const -0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 471) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 1.5) - (f32.const -1) - (f32.const -0.5) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -21432,7 +36791,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 472) + (i32.const 1782) (i32.const 0) ) (unreachable) @@ -21440,50 +36799,10 @@ ) (if (i32.eqz - (call $std/math/test_remf - (f32.const -1.5) + (call $std/math/test_maxf (f32.const -1) - (f32.const 0.5) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 473) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 2) (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 474) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const -2) (f32.const -1) - (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -21492,7 +36811,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 475) + (i32.const 1783) (i32.const 0) ) (unreachable) @@ -21500,19 +36819,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -1) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 476) + (i32.const 1784) (i32.const 0) ) (unreachable) @@ -21520,21 +36839,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const -1) - (f32.const nan:0x400000) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 477) + (i32.const 1785) (i32.const 0) ) (unreachable) @@ -21542,7 +36861,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const -1) (f32.const nan:0x400000) @@ -21554,7 +36873,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 478) + (i32.const 1786) (i32.const 0) ) (unreachable) @@ -21562,19 +36881,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 479) + (i32.const 1787) (i32.const 0) ) (unreachable) @@ -21582,19 +36901,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 480) + (i32.const 1788) (i32.const 0) ) (unreachable) @@ -21602,10 +36921,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const inf) - (f32.const 0) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -21614,7 +36933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 481) + (i32.const 1789) (i32.const 0) ) (unreachable) @@ -21622,7 +36941,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.neg (f32.const inf) @@ -21636,7 +36955,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 482) + (i32.const 1790) (i32.const 0) ) (unreachable) @@ -21644,7 +36963,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -21656,7 +36975,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 483) + (i32.const 1791) (i32.const 0) ) (unreachable) @@ -21664,19 +36983,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 484) + (i32.const 1792) (i32.const 0) ) (unreachable) @@ -21684,19 +37003,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const -0) (f32.const -0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 485) + (i32.const 1793) (i32.const 0) ) (unreachable) @@ -21704,10 +37023,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const inf) - (f32.const -0) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -21716,7 +37035,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 486) + (i32.const 1794) (i32.const 0) ) (unreachable) @@ -21724,7 +37043,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.neg (f32.const inf) @@ -21738,7 +37057,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 487) + (i32.const 1795) (i32.const 0) ) (unreachable) @@ -21746,7 +37065,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -0) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -21758,7 +37077,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 488) + (i32.const 1796) (i32.const 0) ) (unreachable) @@ -21766,19 +37085,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const 0) - (f32.const nan:0x400000) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 489) + (i32.const 1797) (i32.const 0) ) (unreachable) @@ -21786,19 +37105,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 490) + (i32.const 1798) (i32.const 0) ) (unreachable) @@ -21806,19 +37125,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const 0) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 491) + (i32.const 1799) (i32.const 0) ) (unreachable) @@ -21826,21 +37145,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const 0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 492) + (i32.const 1800) (i32.const 0) ) (unreachable) @@ -21848,7 +37167,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const 0) (f32.const nan:0x400000) @@ -21860,7 +37179,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 493) + (i32.const 1801) (i32.const 0) ) (unreachable) @@ -21868,19 +37187,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const -0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 494) + (i32.const 1802) (i32.const 0) ) (unreachable) @@ -21888,19 +37207,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -0) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 495) + (i32.const 1803) (i32.const 0) ) (unreachable) @@ -21908,21 +37227,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const -0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 496) + (i32.const 1804) (i32.const 0) ) (unreachable) @@ -21930,7 +37249,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const -0) (f32.const nan:0x400000) @@ -21942,7 +37261,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 497) + (i32.const 1805) (i32.const 0) ) (unreachable) @@ -21950,19 +37269,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const 2) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 498) + (i32.const 1806) (i32.const 0) ) (unreachable) @@ -21970,19 +37289,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const -0.5) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 499) + (i32.const 1807) (i32.const 0) ) (unreachable) @@ -21990,7 +37309,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -22002,7 +37321,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 500) + (i32.const 1808) (i32.const 0) ) (unreachable) @@ -22010,21 +37329,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const 2) - (f32.const nan:0x400000) + (f32.const 2) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 501) + (i32.const 1809) (i32.const 0) ) (unreachable) @@ -22032,21 +37351,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const -0.5) - (f32.const nan:0x400000) + (f32.const -0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 502) + (i32.const 1810) (i32.const 0) ) (unreachable) @@ -22054,7 +37373,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) @@ -22068,7 +37387,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 503) + (i32.const 1811) (i32.const 0) ) (unreachable) @@ -22076,7 +37395,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -22088,7 +37407,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 504) + (i32.const 1812) (i32.const 0) ) (unreachable) @@ -22096,7 +37415,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -22108,7 +37427,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 505) + (i32.const 1813) (i32.const 0) ) (unreachable) @@ -22116,7 +37435,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const nan:0x400000) (f32.const nan:0x400000) @@ -22128,7 +37447,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 506) + (i32.const 1814) (i32.const 0) ) (unreachable) @@ -22136,10 +37455,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.const inf) - (f32.const 1) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -22148,7 +37467,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 507) + (i32.const 1815) (i32.const 0) ) (unreachable) @@ -22156,10 +37475,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.const inf) - (f32.const -1) + (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -22168,7 +37487,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 508) + (i32.const 1816) (i32.const 0) ) (unreachable) @@ -22176,19 +37495,19 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.const inf) (f32.const inf) (f32.const inf) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 509) + (i32.const 1817) (i32.const 0) ) (unreachable) @@ -22196,21 +37515,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.neg (f32.const inf) ) (f32.const inf) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 510) + (i32.const 1818) (i32.const 0) ) (unreachable) @@ -22218,7 +37537,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1) (f32.neg (f32.const inf) @@ -22232,7 +37551,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 511) + (i32.const 1819) (i32.const 0) ) (unreachable) @@ -22240,7 +37559,7 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1) (f32.neg (f32.const inf) @@ -22254,7 +37573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 512) + (i32.const 1820) (i32.const 0) ) (unreachable) @@ -22262,21 +37581,21 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const inf) (f32.neg (f32.const inf) ) - (f32.const nan:0x400000) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 513) + (i32.const 1821) (i32.const 0) ) (unreachable) @@ -22284,23 +37603,25 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf + (f32.neg + (f32.const inf) + ) (f32.neg (f32.const inf) ) (f32.neg (f32.const inf) ) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 514) + (i32.const 1822) (i32.const 0) ) (unreachable) @@ -22308,10 +37629,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1.75) (f32.const 0.5) - (f32.const -0.25) + (f32.const 1.75) (f32.const 0) (i32.const 0) ) @@ -22320,7 +37641,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 515) + (i32.const 1823) (i32.const 0) ) (unreachable) @@ -22328,10 +37649,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1.75) (f32.const 0.5) - (f32.const 0.25) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -22340,7 +37661,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 516) + (i32.const 1824) (i32.const 0) ) (unreachable) @@ -22348,10 +37669,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const 1.75) (f32.const -0.5) - (f32.const -0.25) + (f32.const 1.75) (f32.const 0) (i32.const 0) ) @@ -22360,7 +37681,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 517) + (i32.const 1825) (i32.const 0) ) (unreachable) @@ -22368,30 +37689,10 @@ ) (if (i32.eqz - (call $std/math/test_remf + (call $std/math/test_maxf (f32.const -1.75) (f32.const -0.5) - (f32.const 0.25) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 518) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_remf - (f32.const 5.877471754111438e-39) - (f32.const inf) - (f32.const 5.877471754111438e-39) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -22400,7 +37701,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 519) + (i32.const 1826) (i32.const 0) ) (unreachable) @@ -22408,9 +37709,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) (f64.const -8.06684839057968) - (f64.const 8.06684839057968) (f64.const 0) (i32.const 0) ) @@ -22419,7 +37721,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 529) + (i32.const 1838) (i32.const 0) ) (unreachable) @@ -22427,9 +37729,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 4.345239849338305) + (call $std/math/test_min (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const -8.88799136300345) (f64.const 0) (i32.const 0) ) @@ -22438,7 +37741,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 530) + (i32.const 1839) (i32.const 0) ) (unreachable) @@ -22446,9 +37749,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) (f64.const -8.38143342755525) - (f64.const 8.38143342755525) (f64.const 0) (i32.const 0) ) @@ -22457,7 +37761,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 531) + (i32.const 1840) (i32.const 0) ) (unreachable) @@ -22465,9 +37769,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) (f64.const -6.531673581913484) - (f64.const 6.531673581913484) (f64.const 0) (i32.const 0) ) @@ -22476,7 +37781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 532) + (i32.const 1841) (i32.const 0) ) (unreachable) @@ -22484,9 +37789,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 9.267056966972586) + (call $std/math/test_min (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.811392084359796) (f64.const 0) (i32.const 0) ) @@ -22495,7 +37801,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 533) + (i32.const 1842) (i32.const 0) ) (unreachable) @@ -22503,9 +37809,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.6619858980995045) - (f64.const 0.6619858980995045) + (call $std/math/test_min + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -6.450045556060236) (f64.const 0) (i32.const 0) ) @@ -22514,7 +37821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 534) + (i32.const 1843) (i32.const 0) ) (unreachable) @@ -22522,9 +37829,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -0.4066039223853553) - (f64.const 0.4066039223853553) + (call $std/math/test_min + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.05215452675006225) (f64.const 0) (i32.const 0) ) @@ -22533,7 +37841,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 535) + (i32.const 1844) (i32.const 0) ) (unreachable) @@ -22541,9 +37849,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.5617597462207241) - (f64.const 0.5617597462207241) + (call $std/math/test_min + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) (f64.const 0) (i32.const 0) ) @@ -22552,7 +37861,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 536) + (i32.const 1845) (i32.const 0) ) (unreachable) @@ -22560,9 +37869,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 0.7741522965913037) - (f64.const 0.7741522965913037) + (call $std/math/test_min + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) (f64.const 0) (i32.const 0) ) @@ -22571,7 +37881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 537) + (i32.const 1846) (i32.const 0) ) (unreachable) @@ -22579,9 +37889,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -0.6787637026394024) - (f64.const 0.6787637026394024) + (call $std/math/test_min + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.5587586823609152) (f64.const 0) (i32.const 0) ) @@ -22590,7 +37901,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 538) + (i32.const 1847) (i32.const 0) ) (unreachable) @@ -22598,8 +37909,9 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min (f64.const 0) + (f64.const 1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -22609,7 +37921,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 541) + (i32.const 1850) (i32.const 0) ) (unreachable) @@ -22617,9 +37929,10 @@ ) (if (i32.eqz - (call $std/math/test_abs + (call $std/math/test_min + (f64.const -0) + (f64.const 1) (f64.const -0) - (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -22628,7 +37941,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 542) + (i32.const 1851) (i32.const 0) ) (unreachable) @@ -22636,9 +37949,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const 1) + (call $std/math/test_min + (f64.const 0.5) (f64.const 1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -22647,7 +37961,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 543) + (i32.const 1852) (i32.const 0) ) (unreachable) @@ -22655,9 +37969,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const -1) + (call $std/math/test_min + (f64.const -0.5) (f64.const 1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -22666,7 +37981,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 544) + (i32.const 1853) (i32.const 0) ) (unreachable) @@ -22674,9 +37989,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const inf) - (f64.const inf) + (call $std/math/test_min + (f64.const 1) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -22685,7 +38001,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 545) + (i32.const 1854) (i32.const 0) ) (unreachable) @@ -22693,11 +38009,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.neg - (f64.const inf) - ) - (f64.const inf) + (call $std/math/test_min + (f64.const -1) + (f64.const 1) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -22706,7 +38021,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 546) + (i32.const 1855) (i32.const 0) ) (unreachable) @@ -22714,9 +38029,10 @@ ) (if (i32.eqz - (call $std/math/test_abs - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const inf) + (f64.const 1) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -22725,159 +38041,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 547) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -8.066848754882812) - (f32.const 8.066848754882812) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 556) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 4.345239639282227) - (f32.const 4.345239639282227) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 557) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -8.381433486938477) - (f32.const 8.381433486938477) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 558) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -6.531673431396484) - (f32.const 6.531673431396484) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 559) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 9.267057418823242) - (f32.const 9.267057418823242) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 560) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 0.6619858741760254) - (f32.const 0.6619858741760254) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 561) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const -0.40660393238067627) - (f32.const 0.40660393238067627) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 562) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_absf - (f32.const 0.5617597699165344) - (f32.const 0.5617597699165344) - (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 563) + (i32.const 1856) (i32.const 0) ) (unreachable) @@ -22885,10 +38049,15 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 0.7741522789001465) - (f32.const 0.7741522789001465) - (f32.const 0) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 0) (i32.const 0) ) ) @@ -22896,7 +38065,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 564) + (i32.const 1857) (i32.const 0) ) (unreachable) @@ -22904,10 +38073,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -0.6787636876106262) - (f32.const 0.6787636876106262) - (f32.const 0) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -22915,7 +38085,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 565) + (i32.const 1858) (i32.const 0) ) (unreachable) @@ -22923,10 +38093,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const 0) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -22934,7 +38105,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 568) + (i32.const 1859) (i32.const 0) ) (unreachable) @@ -22942,10 +38113,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const -0) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -22953,7 +38125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 569) + (i32.const 1860) (i32.const 0) ) (unreachable) @@ -22961,10 +38133,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const 1) - (f32.const 1) - (f32.const 0) + (call $std/math/test_min + (f64.const 0.5) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -22972,7 +38145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 570) + (i32.const 1861) (i32.const 0) ) (unreachable) @@ -22980,10 +38153,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const -1) - (f32.const 1) - (f32.const 0) + (call $std/math/test_min + (f64.const -0.5) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -22991,7 +38165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 571) + (i32.const 1862) (i32.const 0) ) (unreachable) @@ -22999,10 +38173,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_min + (f64.const 1) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -23010,7 +38185,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 572) + (i32.const 1863) (i32.const 0) ) (unreachable) @@ -23018,12 +38193,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.neg - (f32.const inf) - ) - (f32.const inf) - (f32.const 0) + (call $std/math/test_min + (f64.const -1) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -23031,7 +38205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 573) + (i32.const 1864) (i32.const 0) ) (unreachable) @@ -23039,10 +38213,11 @@ ) (if (i32.eqz - (call $std/math/test_absf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_min + (f64.const inf) + (f64.const -1) + (f64.const -1) + (f64.const 0) (i32.const 0) ) ) @@ -23050,7 +38225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 574) + (i32.const 1865) (i32.const 0) ) (unreachable) @@ -23058,18 +38233,23 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 584) + (i32.const 1866) (i32.const 0) ) (unreachable) @@ -23077,18 +38257,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 4.345239849338305) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 585) + (i32.const 1867) (i32.const 0) ) (unreachable) @@ -23096,18 +38277,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 586) + (i32.const 1868) (i32.const 0) ) (unreachable) @@ -23115,18 +38297,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 587) + (i32.const 1869) (i32.const 0) ) (unreachable) @@ -23134,18 +38317,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 9.267056966972586) - (f64.const nan:0x8000000000000) + (call $std/math/test_min (f64.const 0) - (i32.const 2) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 588) + (i32.const 1870) (i32.const 0) ) (unreachable) @@ -23153,18 +38337,23 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.6619858980995045) - (f64.const 0.8473310828433507) - (f64.const -0.41553276777267456) - (i32.const 1) + (call $std/math/test_min + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 589) + (i32.const 1871) (i32.const 0) ) (unreachable) @@ -23172,18 +38361,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.4066039223853553) - (f64.const 1.989530071088669) - (f64.const 0.4973946213722229) - (i32.const 1) + (call $std/math/test_min + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 590) + (i32.const 1872) (i32.const 0) ) (unreachable) @@ -23191,18 +38381,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.5617597462207241) - (f64.const 0.9742849645674904) - (f64.const -0.4428897500038147) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const 0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 591) + (i32.const 1873) (i32.const 0) ) (unreachable) @@ -23210,18 +38401,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.7741522965913037) - (f64.const 0.6854215158636222) - (f64.const -0.12589527666568756) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 592) + (i32.const 1874) (i32.const 0) ) (unreachable) @@ -23229,18 +38421,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.6787637026394024) - (f64.const 2.316874138205964) - (f64.const -0.17284949123859406) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 593) + (i32.const 1875) (i32.const 0) ) (unreachable) @@ -23248,18 +38441,23 @@ ) (if (i32.eqz - (call $std/math/test_acos + (call $std/math/test_min + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 596) + (i32.const 1876) (i32.const 0) ) (unreachable) @@ -23267,18 +38465,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -1) - (f64.const 3.141592653589793) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_min + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 597) + (i32.const 1877) (i32.const 0) ) (unreachable) @@ -23286,10 +38485,11 @@ ) (if (i32.eqz - (call $std/math/test_acos + (call $std/math/test_min (f64.const 1) (f64.const 0) (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -23297,7 +38497,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 598) + (i32.const 1878) (i32.const 0) ) (unreachable) @@ -23305,18 +38505,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 1.0000000000000002) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1) (f64.const 0) - (i32.const 2) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 599) + (i32.const 1879) (i32.const 0) ) (unreachable) @@ -23324,18 +38525,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -1.0000000000000002) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const inf) (f64.const 0) - (i32.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 600) + (i32.const 1880) (i32.const 0) ) (unreachable) @@ -23343,18 +38545,23 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) (f64.const 0) - (i32.const 2) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 601) + (i32.const 1881) (i32.const 0) ) (unreachable) @@ -23362,20 +38569,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.neg - (f64.const inf) - ) + (call $std/math/test_min (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 602) + (i32.const 1882) (i32.const 0) ) (unreachable) @@ -23383,9 +38589,10 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1) + (f64.const -0) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -23394,7 +38601,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 603) + (i32.const 1883) (i32.const 0) ) (unreachable) @@ -23402,18 +38609,19 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const -0.5309227209592985) - (f64.const 2.1304853799705463) - (f64.const 0.1391008496284485) - (i32.const 1) + (call $std/math/test_min + (f64.const inf) + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 604) + (i32.const 1884) (i32.const 0) ) (unreachable) @@ -23421,18 +38629,23 @@ ) (if (i32.eqz - (call $std/math/test_acos - (f64.const 0.4939556746399746) - (f64.const 1.0541629875851946) - (f64.const 0.22054767608642578) - (i32.const 1) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 605) + (i32.const 1885) (i32.const 0) ) (unreachable) @@ -23440,18 +38653,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 614) + (i32.const 1886) (i32.const 0) ) (unreachable) @@ -23459,18 +38673,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 4.345239639282227) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const 2) + (f64.const 2) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 615) + (i32.const 1887) (i32.const 0) ) (unreachable) @@ -23478,18 +38693,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const -0.5) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 616) + (i32.const 1888) (i32.const 0) ) (unreachable) @@ -23497,18 +38713,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 617) + (i32.const 1889) (i32.const 0) ) (unreachable) @@ -23516,18 +38733,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 9.267057418823242) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const 2) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 618) + (i32.const 1890) (i32.const 0) ) (unreachable) @@ -23535,18 +38757,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.6619858741760254) - (f32.const 0.8473311066627502) - (f32.const -0.13588131964206696) - (i32.const 1) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 619) + (i32.const 1891) (i32.const 0) ) (unreachable) @@ -23554,18 +38781,21 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.40660393238067627) - (f32.const 1.989530086517334) - (f32.const 0.03764917701482773) - (i32.const 1) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 620) + (i32.const 1892) (i32.const 0) ) (unreachable) @@ -23573,18 +38803,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.5617597699165344) - (f32.const 0.9742849469184875) - (f32.const 0.18443739414215088) - (i32.const 1) + (call $std/math/test_min + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 621) + (i32.const 1893) (i32.const 0) ) (unreachable) @@ -23592,18 +38823,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.7741522789001465) - (f32.const 0.6854215264320374) - (f32.const -0.29158344864845276) - (i32.const 1) + (call $std/math/test_min + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 622) + (i32.const 1894) (i32.const 0) ) (unreachable) @@ -23611,18 +38843,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.6787636876106262) - (f32.const 2.3168740272521973) - (f32.const -0.3795364499092102) - (i32.const 1) + (call $std/math/test_min + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 623) + (i32.const 1895) (i32.const 0) ) (unreachable) @@ -23630,18 +38863,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_min + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 626) + (i32.const 1896) (i32.const 0) ) (unreachable) @@ -23649,18 +38883,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -1) - (f32.const 3.1415927410125732) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_min + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 627) + (i32.const 1897) (i32.const 0) ) (unreachable) @@ -23668,10 +38903,11 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 1) - (f32.const 0) - (f32.const 0) + (call $std/math/test_min + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -23679,7 +38915,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 628) + (i32.const 1898) (i32.const 0) ) (unreachable) @@ -23687,18 +38923,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 629) + (i32.const 1899) (i32.const 0) ) (unreachable) @@ -23706,18 +38947,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 630) + (i32.const 1900) (i32.const 0) ) (unreachable) @@ -23725,18 +38971,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_min + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 631) + (i32.const 1901) (i32.const 0) ) (unreachable) @@ -23744,20 +38995,23 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.neg - (f32.const inf) + (call $std/math/test_min + (f64.const inf) + (f64.neg + (f64.const inf) ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 632) + (i32.const 1902) (i32.const 0) ) (unreachable) @@ -23765,10 +39019,17 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_min + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) (i32.const 0) ) ) @@ -23776,7 +39037,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 633) + (i32.const 1903) (i32.const 0) ) (unreachable) @@ -23784,18 +39045,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const 0.49965065717697144) - (f32.const 1.0476008653640747) - (f32.const -0.21161814033985138) - (i32.const 1) + (call $std/math/test_min + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 634) + (i32.const 1904) (i32.const 0) ) (unreachable) @@ -23803,18 +39065,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.5051405429840088) - (f32.const 2.1003410816192627) - (f32.const -0.20852705836296082) - (i32.const 1) + (call $std/math/test_min + (f64.const -1.75) + (f64.const 0.5) + (f64.const -1.75) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 635) + (i32.const 1905) (i32.const 0) ) (unreachable) @@ -23822,18 +39085,19 @@ ) (if (i32.eqz - (call $std/math/test_acosf - (f32.const -0.5189794898033142) - (f32.const 2.116452932357788) - (f32.const -0.14600826799869537) - (i32.const 1) + (call $std/math/test_min + (f64.const 1.75) + (f64.const -0.5) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 636) + (i32.const 1906) (i32.const 0) ) (unreachable) @@ -23841,18 +39105,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (call $std/math/test_min + (f64.const -1.75) + (f64.const -0.5) + (f64.const -1.75) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 646) + (i32.const 1907) (i32.const 0) ) (unreachable) @@ -23860,37 +39125,39 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 4.345239849338305) - (f64.const 2.1487163980597503) - (f64.const -0.291634738445282) - (i32.const 1) + (call $std/math/test_minf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -8.066848754882812) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 647) + (i32.const 1916) (i32.const 0) ) (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_acosh - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + ) + ) + (if + (i32.eqz + (call $std/math/test_minf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const -8.887990951538086) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 648) + (i32.const 1917) (i32.const 0) ) (unreachable) @@ -23898,18 +39165,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -8.381433486938477) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 649) + (i32.const 1918) (i32.const 0) ) (unreachable) @@ -23917,18 +39185,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 9.267056966972586) - (f64.const 2.91668914109908) - (f64.const -0.24191908538341522) - (i32.const 1) + (call $std/math/test_minf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -6.531673431396484) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 650) + (i32.const 1919) (i32.const 0) ) (unreachable) @@ -23936,18 +39205,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.6619858980995045) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.811392307281494) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 651) + (i32.const 1920) (i32.const 0) ) (unreachable) @@ -23955,18 +39225,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -6.450045585632324) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 652) + (i32.const 1921) (i32.const 0) ) (unreachable) @@ -23974,18 +39245,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.5617597462207241) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.052154526114463806) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 653) + (i32.const 1922) (i32.const 0) ) (unreachable) @@ -23993,18 +39265,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.7741522965913037) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 654) + (i32.const 1923) (i32.const 0) ) (unreachable) @@ -24012,18 +39285,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 655) + (i32.const 1924) (i32.const 0) ) (unreachable) @@ -24031,10 +39305,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_minf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.5587586760520935) + (f32.const 0) (i32.const 0) ) ) @@ -24042,7 +39317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 658) + (i32.const 1925) (i32.const 0) ) (unreachable) @@ -24050,10 +39325,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_minf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -24061,7 +39337,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 659) + (i32.const 1928) (i32.const 0) ) (unreachable) @@ -24069,10 +39345,11 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_minf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -24080,7 +39357,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 660) + (i32.const 1929) (i32.const 0) ) (unreachable) @@ -24088,18 +39365,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0.9999923706054688) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 661) + (i32.const 1930) (i32.const 0) ) (unreachable) @@ -24107,18 +39385,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 662) + (i32.const 1931) (i32.const 0) ) (unreachable) @@ -24126,18 +39405,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const -0) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 663) + (i32.const 1932) (i32.const 0) ) (unreachable) @@ -24145,20 +39425,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -1) + (f32.const 1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 664) + (i32.const 1933) (i32.const 0) ) (unreachable) @@ -24166,18 +39445,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1060831199926429) - (f64.const 0.4566373404384803) - (f64.const -0.29381608963012695) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 680) + (i32.const 1934) (i32.const 0) ) (unreachable) @@ -24185,18 +39465,23 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1089809557628658) - (f64.const 0.4627246859959428) - (f64.const -0.3990095555782318) - (i32.const 1) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 682) + (i32.const 1935) (i32.const 0) ) (unreachable) @@ -24204,18 +39489,19 @@ ) (if (i32.eqz - (call $std/math/test_acosh - (f64.const 1.1169429159875521) - (f64.const 0.47902433134075284) - (f64.const -0.321674108505249) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 683) + (i32.const 1936) (i32.const 0) ) (unreachable) @@ -24223,18 +39509,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_minf (f32.const 0) - (i32.const 2) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 692) + (i32.const 1937) (i32.const 0) ) (unreachable) @@ -24242,18 +39529,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 4.345239639282227) - (f32.const 2.148716449737549) - (f32.const 0.4251045286655426) - (i32.const 1) + (call $std/math/test_minf + (f32.const -0) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 693) + (i32.const 1938) (i32.const 0) ) (unreachable) @@ -24261,18 +39549,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 0.5) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 694) + (i32.const 1939) (i32.const 0) ) (unreachable) @@ -24280,18 +39569,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0.5) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 695) + (i32.const 1940) (i32.const 0) ) (unreachable) @@ -24299,18 +39589,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 9.267057418823242) - (f32.const 2.916689157485962) - (f32.const -0.1369788944721222) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1) + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 696) + (i32.const 1941) (i32.const 0) ) (unreachable) @@ -24318,18 +39609,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.6619858741760254) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 697) + (i32.const 1942) (i32.const 0) ) (unreachable) @@ -24337,18 +39629,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const inf) + (f32.const -1) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 698) + (i32.const 1943) (i32.const 0) ) (unreachable) @@ -24356,18 +39649,23 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.5617597699165344) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 699) + (i32.const 1944) (i32.const 0) ) (unreachable) @@ -24375,18 +39673,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.7741522789001465) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const -1) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 700) + (i32.const 1945) (i32.const 0) ) (unreachable) @@ -24394,18 +39693,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_minf (f32.const 0) - (i32.const 2) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 701) + (i32.const 1946) (i32.const 0) ) (unreachable) @@ -24413,9 +39713,10 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 0) + (f32.const -0) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -24424,7 +39725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 704) + (i32.const 1947) (i32.const 0) ) (unreachable) @@ -24432,10 +39733,11 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const inf) + (call $std/math/test_minf + (f32.const 0) (f32.const inf) (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -24443,7 +39745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 705) + (i32.const 1948) (i32.const 0) ) (unreachable) @@ -24451,9 +39753,14 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 1) + (call $std/math/test_minf (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) (f32.const 0) (i32.const 0) ) @@ -24462,7 +39769,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 706) + (i32.const 1949) (i32.const 0) ) (unreachable) @@ -24470,18 +39777,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const 0.9999923706054688) + (call $std/math/test_minf + (f32.const 0) + (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 707) + (i32.const 1950) (i32.const 0) ) (unreachable) @@ -24489,18 +39797,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf + (call $std/math/test_minf + (f32.const -0) (f32.const 0) - (f32.const nan:0x400000) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 708) + (i32.const 1951) (i32.const 0) ) (unreachable) @@ -24508,18 +39817,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf + (call $std/math/test_minf + (f32.const -0) + (f32.const -0) (f32.const -0) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 709) + (i32.const 1952) (i32.const 0) ) (unreachable) @@ -24527,20 +39837,19 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0) + (f32.const inf) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 710) + (i32.const 1953) (i32.const 0) ) (unreachable) @@ -24548,18 +39857,23 @@ ) (if (i32.eqz - (call $std/math/test_acoshf - (f32.const -1125899906842624) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 711) + (i32.const 1954) (i32.const 0) ) (unreachable) @@ -24567,18 +39881,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 721) + (i32.const 1955) (i32.const 0) ) (unreachable) @@ -24586,18 +39901,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 4.345239849338305) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 722) + (i32.const 1956) (i32.const 0) ) (unreachable) @@ -24605,18 +39921,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const -1) + (f32.const 0) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 723) + (i32.const 1957) (i32.const 0) ) (unreachable) @@ -24624,18 +39941,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const inf) + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 724) + (i32.const 1958) (i32.const 0) ) (unreachable) @@ -24643,18 +39961,23 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 9.267056966972586) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 725) + (i32.const 1959) (i32.const 0) ) (unreachable) @@ -24662,18 +39985,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.6619858980995045) - (f64.const 0.7234652439515459) - (f64.const -0.13599912822246552) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 726) + (i32.const 1960) (i32.const 0) ) (unreachable) @@ -24681,18 +40005,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0.4066039223853553) - (f64.const -0.41873374429377225) - (f64.const -0.09264230728149414) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1) + (f32.const -0) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 727) + (i32.const 1961) (i32.const 0) ) (unreachable) @@ -24700,18 +40025,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.5617597462207241) - (f64.const 0.5965113622274062) - (f64.const -0.10864213854074478) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 728) + (i32.const 1962) (i32.const 0) ) (unreachable) @@ -24719,18 +40045,23 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.7741522965913037) - (f64.const 0.8853748109312743) - (f64.const -0.4256366193294525) - (i32.const 1) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 729) + (i32.const 1963) (i32.const 0) ) (unreachable) @@ -24738,18 +40069,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0.6787637026394024) - (f64.const -0.7460778114110673) - (f64.const 0.13986606895923615) - (i32.const 1) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 730) + (i32.const 1964) (i32.const 0) ) (unreachable) @@ -24757,18 +40089,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 1) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const 2) + (f32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 733) + (i32.const 1965) (i32.const 0) ) (unreachable) @@ -24776,18 +40109,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -1) - (f64.const -1.5707963267948966) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.const -0.5) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 734) + (i32.const 1966) (i32.const 0) ) (unreachable) @@ -24795,10 +40129,11 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0) - (f64.const 0) - (f64.const 0) + (call $std/math/test_minf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -24806,7 +40141,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 735) + (i32.const 1967) (i32.const 0) ) (unreachable) @@ -24814,10 +40149,15 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -0) - (f64.const -0) - (f64.const 0) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.neg + (f32.const inf) + ) + (f32.const 0) (i32.const 0) ) ) @@ -24825,7 +40165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 736) + (i32.const 1968) (i32.const 0) ) (unreachable) @@ -24833,18 +40173,23 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 1.0000000000000002) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 737) + (i32.const 1969) (i32.const 0) ) (unreachable) @@ -24852,18 +40197,21 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const -1.0000000000000002) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 738) + (i32.const 1970) (i32.const 0) ) (unreachable) @@ -24871,18 +40219,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 739) + (i32.const 1971) (i32.const 0) ) (unreachable) @@ -24890,20 +40239,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_minf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 740) + (i32.const 1972) (i32.const 0) ) (unreachable) @@ -24911,10 +40259,11 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_minf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -24922,7 +40271,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 741) + (i32.const 1973) (i32.const 0) ) (unreachable) @@ -24930,18 +40279,19 @@ ) (if (i32.eqz - (call $std/math/test_asin - (f64.const 0.5073043929119148) - (f64.const 0.5320538997772349) - (f64.const -0.16157317161560059) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1) + (f32.const inf) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 742) + (i32.const 1974) (i32.const 0) ) (unreachable) @@ -24949,18 +40299,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.const inf) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 751) + (i32.const 1975) (i32.const 0) ) (unreachable) @@ -24968,18 +40319,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 4.345239639282227) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const inf) + (f32.const inf) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 752) + (i32.const 1976) (i32.const 0) ) (unreachable) @@ -24987,18 +40339,23 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 753) + (i32.const 1977) (i32.const 0) ) (unreachable) @@ -25006,18 +40363,23 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 754) + (i32.const 1978) (i32.const 0) ) (unreachable) @@ -25025,18 +40387,23 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 9.267057418823242) - (f32.const nan:0x400000) + (call $std/math/test_minf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 755) + (i32.const 1979) (i32.const 0) ) (unreachable) @@ -25044,18 +40411,23 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.6619858741760254) - (f32.const 0.7234652042388916) - (f32.const -0.1307632476091385) - (i32.const 1) + (call $std/math/test_minf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 756) + (i32.const 1980) (i32.const 0) ) (unreachable) @@ -25063,18 +40435,25 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0.40660393238067627) - (f32.const -0.41873374581336975) - (f32.const 0.3161141574382782) - (i32.const 1) + (call $std/math/test_minf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 757) + (i32.const 1981) (i32.const 0) ) (unreachable) @@ -25082,18 +40461,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.5617597699165344) - (f32.const 0.5965113639831543) - (f32.const -0.4510819613933563) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 758) + (i32.const 1982) (i32.const 0) ) (unreachable) @@ -25101,18 +40481,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.7741522789001465) - (f32.const 0.8853747844696045) - (f32.const 0.02493886835873127) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -1.75) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 759) + (i32.const 1983) (i32.const 0) ) (unreachable) @@ -25120,18 +40501,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0.6787636876106262) - (f32.const -0.7460777759552002) - (f32.const 0.2515012323856354) - (i32.const 1) + (call $std/math/test_minf + (f32.const 1.75) + (f32.const -0.5) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 760) + (i32.const 1984) (i32.const 0) ) (unreachable) @@ -25139,18 +40521,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 1) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_minf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -1.75) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 763) + (i32.const 1985) (i32.const 0) ) (unreachable) @@ -25158,18 +40541,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -1) - (f32.const -1.5707963705062866) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const -3.531185829902812) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 764) + (i32.const 2001) (i32.const 0) ) (unreachable) @@ -25177,10 +40561,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0) - (f32.const 0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 4.345239849338305) + (f64.const 0) (i32.const 0) ) ) @@ -25188,7 +40573,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 765) + (i32.const 2002) (i32.const 0) ) (unreachable) @@ -25196,10 +40581,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const -0.09061141541648476) + (f64.const 0) (i32.const 0) ) ) @@ -25207,7 +40593,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 766) + (i32.const 2003) (i32.const 0) ) (unreachable) @@ -25215,18 +40601,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const -1.9641383050707404) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 767) + (i32.const 2004) (i32.const 0) ) (unreachable) @@ -25234,18 +40621,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const -1.0000001192092896) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 4.45566488261279) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 768) + (i32.const 2005) (i32.const 0) ) (unreachable) @@ -25253,18 +40641,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const -0.4913994250211714) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 769) + (i32.const 2006) (i32.const 0) ) (unreachable) @@ -25272,20 +40661,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_mod + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 0.035711240532359426) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 770) + (i32.const 2007) (i32.const 0) ) (unreachable) @@ -25293,10 +40681,11 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_mod + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const -0.792054511984896) + (f64.const 0) (i32.const 0) ) ) @@ -25304,7 +40693,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 771) + (i32.const 2008) (i32.const 0) ) (unreachable) @@ -25312,18 +40701,19 @@ ) (if (i32.eqz - (call $std/math/test_asinf - (f32.const 0.5004770159721375) - (f32.const 0.5241496562957764) - (f32.const -0.29427099227905273) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 772) + (i32.const 2009) (i32.const 0) ) (unreachable) @@ -25331,18 +40721,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -8.06684839057968) - (f64.const -2.784729878387861) - (f64.const -0.4762189984321594) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const -0.0106815621160685) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 782) + (i32.const 2010) (i32.const 0) ) (unreachable) @@ -25350,18 +40741,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 4.345239849338305) - (f64.const 2.175213389013164) - (f64.const -0.02728751301765442) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 783) + (i32.const 2013) (i32.const 0) ) (unreachable) @@ -25369,18 +40761,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -8.38143342755525) - (f64.const -2.822706083697696) - (f64.const 0.20985257625579834) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 784) + (i32.const 2014) (i32.const 0) ) (unreachable) @@ -25388,18 +40781,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -6.531673581913484) - (f64.const -2.575619446591922) - (f64.const 0.3113134205341339) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 785) + (i32.const 2015) (i32.const 0) ) (unreachable) @@ -25407,18 +40801,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 9.267056966972586) - (f64.const 2.9225114951048674) - (f64.const 0.4991756081581116) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 786) + (i32.const 2016) (i32.const 0) ) (unreachable) @@ -25426,18 +40821,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.6619858980995045) - (f64.const 0.6212462762707166) - (f64.const -0.4697347581386566) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 787) + (i32.const 2017) (i32.const 0) ) (unreachable) @@ -25445,18 +40841,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0.4066039223853553) - (f64.const -0.39615990393192035) - (f64.const -0.40814438462257385) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const 1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 788) + (i32.const 2018) (i32.const 0) ) (unreachable) @@ -25464,18 +40861,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.5617597462207241) - (f64.const 0.5357588870255474) - (f64.const 0.3520713150501251) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.5) + (f64.const 1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 789) + (i32.const 2019) (i32.const 0) ) (unreachable) @@ -25483,18 +40881,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0.7741522965913037) - (f64.const 0.7123571263197349) - (f64.const 0.13371451199054718) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.5) + (f64.const 1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 790) + (i32.const 2020) (i32.const 0) ) (unreachable) @@ -25502,18 +40901,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0.6787637026394024) - (f64.const -0.635182348903198) - (f64.const 0.04749670997262001) - (i32.const 1) + (call $std/math/test_mod + (f64.const 2) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 791) + (i32.const 2021) (i32.const 0) ) (unreachable) @@ -25521,9 +40921,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_mod + (f64.const -2) + (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -25532,7 +40933,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 794) + (i32.const 2022) (i32.const 0) ) (unreachable) @@ -25540,18 +40941,19 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const inf) + (call $std/math/test_mod (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 795) + (i32.const 2023) (i32.const 0) ) (unreachable) @@ -25559,22 +40961,21 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.neg - (f64.const inf) - ) + (call $std/math/test_mod (f64.neg (f64.const inf) ) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 796) + (i32.const 2024) (i32.const 0) ) (unreachable) @@ -25582,9 +40983,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const 0) - (f64.const 0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -25593,7 +40995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 797) + (i32.const 2025) (i32.const 0) ) (unreachable) @@ -25601,9 +41003,10 @@ ) (if (i32.eqz - (call $std/math/test_asinh - (f64.const -0) - (f64.const -0) + (call $std/math/test_mod + (f64.const 0) + (f64.const -1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -25612,7 +41015,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 798) + (i32.const 2026) (i32.const 0) ) (unreachable) @@ -25620,18 +41023,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -8.066848754882812) - (f32.const -2.7847299575805664) - (f32.const -0.14418013393878937) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 827) + (i32.const 2027) (i32.const 0) ) (unreachable) @@ -25639,18 +41043,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 4.345239639282227) - (f32.const 2.17521333694458) - (f32.const -0.020796965807676315) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 828) + (i32.const 2028) (i32.const 0) ) (unreachable) @@ -25658,18 +41063,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -8.381433486938477) - (f32.const -2.8227059841156006) - (f32.const 0.44718533754348755) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 829) + (i32.const 2029) (i32.const 0) ) (unreachable) @@ -25677,18 +41083,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -6.531673431396484) - (f32.const -2.5756194591522217) - (f32.const -0.14822272956371307) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 830) + (i32.const 2030) (i32.const 0) ) (unreachable) @@ -25696,18 +41103,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 9.267057418823242) - (f32.const 2.922511577606201) - (f32.const 0.14270681142807007) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 831) + (i32.const 2031) (i32.const 0) ) (unreachable) @@ -25715,18 +41123,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.6619858741760254) - (f32.const 0.6212462782859802) - (f32.const 0.3684912919998169) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.5) + (f64.const -1) + (f64.const 0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 832) + (i32.const 2032) (i32.const 0) ) (unreachable) @@ -25734,18 +41143,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0.40660393238067627) - (f32.const -0.39615991711616516) - (f32.const -0.13170306384563446) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.5) + (f64.const -1) + (f64.const -0.5) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 833) + (i32.const 2033) (i32.const 0) ) (unreachable) @@ -25753,18 +41163,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.5617597699165344) - (f32.const 0.535758912563324) - (f32.const 0.08184859901666641) - (i32.const 1) + (call $std/math/test_mod + (f64.const 2) + (f64.const -1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 834) + (i32.const 2034) (i32.const 0) ) (unreachable) @@ -25772,18 +41183,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0.7741522789001465) - (f32.const 0.7123571038246155) - (f32.const -0.14270737767219543) - (i32.const 1) + (call $std/math/test_mod + (f64.const -2) + (f64.const -1) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 835) + (i32.const 2035) (i32.const 0) ) (unreachable) @@ -25791,18 +41203,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0.6787636876106262) - (f32.const -0.6351823210716248) - (f32.const 0.2583143711090088) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 836) + (i32.const 2036) (i32.const 0) ) (unreachable) @@ -25810,18 +41223,21 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 839) + (i32.const 2037) (i32.const 0) ) (unreachable) @@ -25829,10 +41245,11 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -25840,7 +41257,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 840) + (i32.const 2038) (i32.const 0) ) (unreachable) @@ -25848,22 +41265,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.neg - (f32.const inf) - ) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 841) + (i32.const 2039) (i32.const 0) ) (unreachable) @@ -25871,18 +41285,19 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 842) + (i32.const 2040) (i32.const 0) ) (unreachable) @@ -25890,10 +41305,11 @@ ) (if (i32.eqz - (call $std/math/test_asinhf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -25901,7 +41317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 843) + (i32.const 2041) (i32.const 0) ) (unreachable) @@ -25909,18 +41325,21 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -8.06684839057968) - (f64.const -1.4474613762633468) - (f64.const 0.14857111871242523) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 853) + (i32.const 2042) (i32.const 0) ) (unreachable) @@ -25928,18 +41347,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 4.345239849338305) - (f64.const 1.344597927114538) - (f64.const -0.08170335739850998) - (i32.const 1) + (call $std/math/test_mod + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 854) + (i32.const 2043) (i32.const 0) ) (unreachable) @@ -25947,18 +41367,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -8.38143342755525) - (f64.const -1.4520463463295539) - (f64.const -0.07505480200052261) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 855) + (i32.const 2044) (i32.const 0) ) (unreachable) @@ -25966,18 +41387,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -6.531673581913484) - (f64.const -1.4188758658752532) - (f64.const -0.057633496820926666) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 856) + (i32.const 2045) (i32.const 0) ) (unreachable) @@ -25985,18 +41407,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 9.267056966972586) - (f64.const 1.463303145448706) - (f64.const 0.1606956422328949) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const inf) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 857) + (i32.const 2046) (i32.const 0) ) (unreachable) @@ -26004,18 +41427,21 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.6619858980995045) - (f64.const 0.5847550670238325) - (f64.const 0.4582556486129761) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 858) + (i32.const 2047) (i32.const 0) ) (unreachable) @@ -26023,18 +41449,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0.4066039223853553) - (f64.const -0.3861864177552131) - (f64.const -0.2574281692504883) - (i32.const 1) + (call $std/math/test_mod + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 859) + (i32.const 2048) (i32.const 0) ) (unreachable) @@ -26042,18 +41469,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.5617597462207241) - (f64.const 0.5118269531628881) - (f64.const -0.11444277316331863) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 860) + (i32.const 2049) (i32.const 0) ) (unreachable) @@ -26061,18 +41489,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.7741522965913037) - (f64.const 0.6587802431653822) - (f64.const -0.11286488175392151) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 861) + (i32.const 2050) (i32.const 0) ) (unreachable) @@ -26080,18 +41509,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0.6787637026394024) - (f64.const -0.5963307826973472) - (f64.const -0.2182842344045639) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 862) + (i32.const 2051) (i32.const 0) ) (unreachable) @@ -26099,18 +41529,21 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) (f64.const 0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 865) + (i32.const 2052) (i32.const 0) ) (unreachable) @@ -26118,9 +41551,10 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -0) - (f64.const -0) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -26129,7 +41563,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 866) + (i32.const 2053) (i32.const 0) ) (unreachable) @@ -26137,18 +41571,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 1) - (f64.const 0.7853981633974483) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 867) + (i32.const 2054) (i32.const 0) ) (unreachable) @@ -26156,18 +41591,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const -1) - (f64.const -0.7853981633974483) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 868) + (i32.const 2055) (i32.const 0) ) (unreachable) @@ -26175,18 +41611,21 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const inf) - (f64.const 1.5707963267948966) - (f64.const -0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 869) + (i32.const 2056) (i32.const 0) ) (unreachable) @@ -26194,20 +41633,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.neg - (f64.const inf) - ) - (f64.const -1.5707963267948966) - (f64.const 0.27576595544815063) - (i32.const 1) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 870) + (i32.const 2057) (i32.const 0) ) (unreachable) @@ -26215,18 +41653,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const nan:0x8000000000000) + (call $std/math/test_mod + (f64.const inf) + (f64.const 2) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 871) + (i32.const 2058) (i32.const 0) ) (unreachable) @@ -26234,18 +41673,19 @@ ) (if (i32.eqz - (call $std/math/test_atan - (f64.const 0.6929821535674624) - (f64.const 0.6060004555152562) - (f64.const -0.17075790464878082) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 872) + (i32.const 2059) (i32.const 0) ) (unreachable) @@ -26253,18 +41693,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -8.066848754882812) - (f32.const -1.4474613666534424) - (f32.const 0.12686480581760406) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 881) + (i32.const 2060) (i32.const 0) ) (unreachable) @@ -26272,18 +41713,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 4.345239639282227) - (f32.const 1.3445979356765747) - (f32.const 0.16045434772968292) - (i32.const 1) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const 2) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 882) + (i32.const 2061) (i32.const 0) ) (unreachable) @@ -26291,18 +41735,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -8.381433486938477) - (f32.const -1.4520463943481445) - (f32.const -0.39581751823425293) - (i32.const 1) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 883) + (i32.const 2062) (i32.const 0) ) (unreachable) @@ -26310,18 +41757,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -6.531673431396484) - (f32.const -1.418875813484192) - (f32.const 0.410570353269577) - (i32.const 1) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 884) + (i32.const 2063) (i32.const 0) ) (unreachable) @@ -26329,18 +41779,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 9.267057418823242) - (f32.const 1.4633032083511353) - (f32.const 0.48403501510620117) - (i32.const 1) + (call $std/math/test_mod + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 885) + (i32.const 2064) (i32.const 0) ) (unreachable) @@ -26348,18 +41799,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.6619858741760254) - (f32.const 0.5847550630569458) - (f32.const 0.2125193476676941) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 886) + (i32.const 2065) (i32.const 0) ) (unreachable) @@ -26367,18 +41819,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0.40660393238067627) - (f32.const -0.386186420917511) - (f32.const 0.18169628083705902) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 887) + (i32.const 2066) (i32.const 0) ) (unreachable) @@ -26386,18 +41839,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.5617597699165344) - (f32.const 0.5118269920349121) - (f32.const 0.3499770760536194) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1) + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 888) + (i32.const 2067) (i32.const 0) ) (unreachable) @@ -26405,18 +41859,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0.7741522789001465) - (f32.const 0.6587802171707153) - (f32.const -0.2505330741405487) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.const inf) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 889) + (i32.const 2068) (i32.const 0) ) (unreachable) @@ -26424,18 +41879,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0.6787636876106262) - (f32.const -0.5963307619094849) - (f32.const 0.17614826560020447) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 890) + (i32.const 2069) (i32.const 0) ) (unreachable) @@ -26443,18 +41899,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 893) + (i32.const 2070) (i32.const 0) ) (unreachable) @@ -26462,10 +41921,13 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_mod + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const 1) + (f64.const 0) (i32.const 0) ) ) @@ -26473,7 +41935,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 894) + (i32.const 2071) (i32.const 0) ) (unreachable) @@ -26481,18 +41943,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const 1) - (f32.const 0.7853981852531433) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 895) + (i32.const 2072) (i32.const 0) ) (unreachable) @@ -26500,18 +41965,21 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const -1) - (f32.const -0.7853981852531433) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 896) + (i32.const 2073) (i32.const 0) ) (unreachable) @@ -26519,18 +41987,23 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const inf) - (f32.const 1.5707963705062866) - (f32.const 0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 897) + (i32.const 2074) (i32.const 0) ) (unreachable) @@ -26538,20 +42011,19 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.neg - (f32.const inf) - ) - (f32.const -1.5707963705062866) - (f32.const -0.3666777014732361) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.75) + (f64.const 0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 898) + (i32.const 2075) (i32.const 0) ) (unreachable) @@ -26559,10 +42031,11 @@ ) (if (i32.eqz - (call $std/math/test_atanf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_mod + (f64.const -1.75) + (f64.const 0.5) + (f64.const -0.25) + (f64.const 0) (i32.const 0) ) ) @@ -26570,7 +42043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 899) + (i32.const 2076) (i32.const 0) ) (unreachable) @@ -26578,18 +42051,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -8.06684839057968) - (f64.const -2.0055552545020245) - (f64.const 0.46667951345443726) - (i32.const 1) + (call $std/math/test_mod + (f64.const 1.75) + (f64.const -0.5) + (f64.const 0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 909) + (i32.const 2077) (i32.const 0) ) (unreachable) @@ -26597,18 +42071,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 4.345239849338305) - (f64.const 1.6318162410515635) - (f64.const -0.08160271495580673) - (i32.const 1) + (call $std/math/test_mod + (f64.const -1.75) + (f64.const -0.5) + (f64.const -0.25) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 910) + (i32.const 2078) (i32.const 0) ) (unreachable) @@ -26616,18 +42091,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -8.38143342755525) - (f64.const -2.031293910673361) - (f64.const -0.048101816326379776) - (i32.const 1) + (call $std/math/test_modf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const -3.531186103820801) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 911) + (i32.const 2087) (i32.const 0) ) (unreachable) @@ -26635,18 +42111,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -6.531673581913484) - (f64.const -1.8692820012204925) - (f64.const 0.08624018728733063) - (i32.const 1) + (call $std/math/test_modf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 912) + (i32.const 2088) (i32.const 0) ) (unreachable) @@ -26654,18 +42131,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 9.267056966972586) - (f64.const 2.100457720859702) - (f64.const -0.2722989022731781) - (i32.const 1) + (call $std/math/test_modf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 913) + (i32.const 2089) (i32.const 0) ) (unreachable) @@ -26673,18 +42151,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.6619858980995045) - (f64.const 0.8715311470455973) - (f64.const 0.4414918124675751) - (i32.const 1) + (call $std/math/test_modf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 914) + (i32.const 2090) (i32.const 0) ) (unreachable) @@ -26692,18 +42171,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0.4066039223853553) - (f64.const -0.740839030300223) - (f64.const 0.016453813761472702) - (i32.const 1) + (call $std/math/test_modf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const 4.455665111541748) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 915) + (i32.const 2091) (i32.const 0) ) (unreachable) @@ -26711,18 +42191,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.5617597462207241) - (f64.const 0.8251195400559286) - (f64.const 0.30680638551712036) - (i32.const 1) + (call $std/math/test_modf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const -0.49139970541000366) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 916) + (i32.const 2092) (i32.const 0) ) (unreachable) @@ -26730,18 +42211,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0.7741522965913037) - (f64.const 0.9182102478959914) - (f64.const 0.06543998420238495) - (i32.const 1) + (call $std/math/test_modf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const 0.0357111394405365) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 917) + (i32.const 2093) (i32.const 0) ) (unreachable) @@ -26749,18 +42231,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0.6787637026394024) - (f64.const -0.8788326906580094) - (f64.const -0.2016713172197342) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 918) + (i32.const 2094) (i32.const 0) ) (unreachable) @@ -26768,10 +42251,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) (i32.const 0) ) ) @@ -26779,7 +42263,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 921) + (i32.const 2095) (i32.const 0) ) (unreachable) @@ -26787,10 +42271,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) (i32.const 0) ) ) @@ -26798,7 +42283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 922) + (i32.const 2096) (i32.const 0) ) (unreachable) @@ -26806,14 +42291,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.neg - (f64.const inf) - ) - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -26821,7 +42303,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 923) + (i32.const 2099) (i32.const 0) ) (unreachable) @@ -26829,10 +42311,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 0) - (f64.const 0) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -26840,7 +42323,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 924) + (i32.const 2100) (i32.const 0) ) (unreachable) @@ -26848,10 +42331,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -0) - (f64.const -0) - (f64.const 0) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -26859,7 +42343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 925) + (i32.const 2101) (i32.const 0) ) (unreachable) @@ -26867,10 +42351,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 9.313225746154785e-10) - (f64.const 0.0009765625) - (f64.const 0) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -26878,7 +42363,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 926) + (i32.const 2102) (i32.const 0) ) (unreachable) @@ -26886,10 +42371,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -9.313225746154785e-10) - (f64.const -0.0009765625) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -26897,7 +42383,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 927) + (i32.const 2103) (i32.const 0) ) (unreachable) @@ -26905,10 +42391,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 1) - (f64.const 1) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -26916,7 +42403,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 928) + (i32.const 2104) (i32.const 0) ) (unreachable) @@ -26924,10 +42411,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const -1) - (f64.const -1) - (f64.const 0) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -26935,7 +42423,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 929) + (i32.const 2105) (i32.const 0) ) (unreachable) @@ -26943,10 +42431,11 @@ ) (if (i32.eqz - (call $std/math/test_cbrt - (f64.const 8) - (f64.const 2) - (f64.const 0) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -26954,7 +42443,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 930) + (i32.const 2106) (i32.const 0) ) (unreachable) @@ -26962,18 +42451,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -8.066848754882812) - (f32.const -2.0055553913116455) - (f32.const -0.44719240069389343) - (i32.const 1) + (call $std/math/test_modf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 939) + (i32.const 2107) (i32.const 0) ) (unreachable) @@ -26981,18 +42471,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 4.345239639282227) - (f32.const 1.6318162679672241) - (f32.const 0.44636252522468567) - (i32.const 1) + (call $std/math/test_modf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 940) + (i32.const 2108) (i32.const 0) ) (unreachable) @@ -27000,18 +42491,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -8.381433486938477) - (f32.const -2.0312938690185547) - (f32.const 0.19483426213264465) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 941) + (i32.const 2109) (i32.const 0) ) (unreachable) @@ -27019,18 +42511,21 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -6.531673431396484) - (f32.const -1.8692820072174072) - (f32.const -0.17075514793395996) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 942) + (i32.const 2110) (i32.const 0) ) (unreachable) @@ -27038,18 +42533,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 9.267057418823242) - (f32.const 2.1004576683044434) - (f32.const -0.36362043023109436) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 943) + (i32.const 2111) (i32.const 0) ) (unreachable) @@ -27057,18 +42553,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.6619858741760254) - (f32.const 0.8715311288833618) - (f32.const -0.12857209146022797) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 944) + (i32.const 2112) (i32.const 0) ) (unreachable) @@ -27076,18 +42573,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0.40660393238067627) - (f32.const -0.7408390641212463) - (f32.const -0.4655757546424866) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 945) + (i32.const 2113) (i32.const 0) ) (unreachable) @@ -27095,18 +42593,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.5617597699165344) - (f32.const 0.8251195549964905) - (f32.const 0.05601907894015312) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 946) + (i32.const 2114) (i32.const 0) ) (unreachable) @@ -27114,18 +42613,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0.7741522789001465) - (f32.const 0.9182102680206299) - (f32.const 0.45498204231262207) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 947) + (i32.const 2115) (i32.const 0) ) (unreachable) @@ -27133,18 +42633,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0.6787636876106262) - (f32.const -0.8788326978683472) - (f32.const -0.22978967428207397) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 948) + (i32.const 2116) (i32.const 0) ) (unreachable) @@ -27152,9 +42653,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_modf + (f32.const -1) + (f32.const -1) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -27163,7 +42665,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 951) + (i32.const 2117) (i32.const 0) ) (unreachable) @@ -27171,9 +42673,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const inf) - (f32.const inf) + (call $std/math/test_modf + (f32.const 1.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) (i32.const 0) ) @@ -27182,7 +42685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 952) + (i32.const 2118) (i32.const 0) ) (unreachable) @@ -27190,13 +42693,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.neg - (f32.const inf) - ) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_modf + (f32.const -1.5) + (f32.const -1) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -27205,7 +42705,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 953) + (i32.const 2119) (i32.const 0) ) (unreachable) @@ -27213,8 +42713,9 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 0) + (call $std/math/test_modf + (f32.const 2) + (f32.const -1) (f32.const 0) (f32.const 0) (i32.const 0) @@ -27224,7 +42725,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 954) + (i32.const 2120) (i32.const 0) ) (unreachable) @@ -27232,8 +42733,9 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -0) + (call $std/math/test_modf + (f32.const -2) + (f32.const -1) (f32.const -0) (f32.const 0) (i32.const 0) @@ -27243,7 +42745,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 955) + (i32.const 2121) (i32.const 0) ) (unreachable) @@ -27251,18 +42753,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 9.313225746154785e-10) - (f32.const 0.0009765625) + (call $std/math/test_modf + (f32.const inf) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 956) + (i32.const 2122) (i32.const 0) ) (unreachable) @@ -27270,18 +42773,21 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -9.313225746154785e-10) - (f32.const -0.0009765625) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 957) + (i32.const 2123) (i32.const 0) ) (unreachable) @@ -27289,9 +42795,10 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 1) - (f32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -27300,7 +42807,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 958) + (i32.const 2124) (i32.const 0) ) (unreachable) @@ -27308,18 +42815,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const -1) - (f32.const -1) + (call $std/math/test_modf (f32.const 0) - (i32.const 0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 959) + (i32.const 2125) (i32.const 0) ) (unreachable) @@ -27327,18 +42835,19 @@ ) (if (i32.eqz - (call $std/math/test_cbrtf - (f32.const 8) - (f32.const 2) + (call $std/math/test_modf (f32.const 0) - (i32.const 0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 960) + (i32.const 2126) (i32.const 0) ) (unreachable) @@ -27346,18 +42855,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -8.06684839057968) - (f64.const 1593.5209938862329) - (f64.const -0.38098856806755066) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1072) + (i32.const 2127) (i32.const 0) ) (unreachable) @@ -27365,18 +42875,21 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 4.345239849338305) - (f64.const 38.56174928426729) - (f64.const -0.2712278366088867) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1073) + (i32.const 2128) (i32.const 0) ) (unreachable) @@ -27384,18 +42897,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -8.38143342755525) - (f64.const 2182.630979595893) - (f64.const 0.0817827582359314) - (i32.const 1) + (call $std/math/test_modf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1074) + (i32.const 2129) (i32.const 0) ) (unreachable) @@ -27403,18 +42917,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -6.531673581913484) - (f64.const 343.273849250879) - (f64.const -0.429940402507782) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1075) + (i32.const 2130) (i32.const 0) ) (unreachable) @@ -27422,18 +42937,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 9.267056966972586) - (f64.const 5291.779170005587) - (f64.const -0.1592995822429657) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1076) + (i32.const 2131) (i32.const 0) ) (unreachable) @@ -27441,18 +42957,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.6619858980995045) - (f64.const 1.2272321957342842) - (f64.const 0.23280741274356842) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const inf) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1077) + (i32.const 2132) (i32.const 0) ) (unreachable) @@ -27460,18 +42977,21 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0.4066039223853553) - (f64.const 1.083808541871197) - (f64.const -0.3960916996002197) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1078) + (i32.const 2133) (i32.const 0) ) (unreachable) @@ -27479,18 +42999,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.5617597462207241) - (f64.const 1.1619803583175077) - (f64.const 0.37748390436172485) - (i32.const 1) + (call $std/math/test_modf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1079) + (i32.const 2134) (i32.const 0) ) (unreachable) @@ -27498,18 +43019,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0.7741522965913037) - (f64.const 1.3149236876276706) - (f64.const 0.43587008118629456) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1080) + (i32.const 2135) (i32.const 0) ) (unreachable) @@ -27517,18 +43039,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0.6787637026394024) - (f64.const 1.2393413245934533) - (f64.const 0.10201606154441833) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1081) + (i32.const 2136) (i32.const 0) ) (unreachable) @@ -27536,18 +43059,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const 0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1084) + (i32.const 2137) (i32.const 0) ) (unreachable) @@ -27555,18 +43079,21 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const -0) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1085) + (i32.const 2138) (i32.const 0) ) (unreachable) @@ -27574,10 +43101,11 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -27585,7 +43113,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1086) + (i32.const 2139) (i32.const 0) ) (unreachable) @@ -27593,20 +43121,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.neg - (f64.const inf) - ) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const -1) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1087) + (i32.const 2140) (i32.const 0) ) (unreachable) @@ -27614,18 +43141,19 @@ ) (if (i32.eqz - (call $std/math/test_cosh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1088) + (i32.const 2141) (i32.const 0) ) (unreachable) @@ -27633,18 +43161,21 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -8.066848754882812) - (f32.const 1593.5216064453125) - (f32.const 0.26242581009864807) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1097) + (i32.const 2142) (i32.const 0) ) (unreachable) @@ -27652,18 +43183,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 4.345239639282227) - (f32.const 38.56174087524414) - (f32.const -0.08168885856866837) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1098) + (i32.const 2143) (i32.const 0) ) (unreachable) @@ -27671,18 +43203,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -8.381433486938477) - (f32.const 2182.631103515625) - (f32.const -0.02331414446234703) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1099) + (i32.const 2144) (i32.const 0) ) (unreachable) @@ -27690,18 +43223,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -6.531673431396484) - (f32.const 343.2738037109375) - (f32.const 0.20081493258476257) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1100) + (i32.const 2145) (i32.const 0) ) (unreachable) @@ -27709,18 +43243,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 9.267057418823242) - (f32.const 5291.78173828125) - (f32.const 0.36286723613739014) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1101) + (i32.const 2146) (i32.const 0) ) (unreachable) @@ -27728,18 +43263,21 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.6619858741760254) - (f32.const 1.2272322177886963) - (f32.const 0.32777416706085205) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1102) + (i32.const 2147) (i32.const 0) ) (unreachable) @@ -27747,18 +43285,21 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0.40660393238067627) - (f32.const 1.0838085412979126) - (f32.const -0.039848703891038895) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1103) + (i32.const 2148) (i32.const 0) ) (unreachable) @@ -27766,18 +43307,21 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.5617597699165344) - (f32.const 1.161980390548706) - (f32.const 0.15274477005004883) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1104) + (i32.const 2149) (i32.const 0) ) (unreachable) @@ -27785,18 +43329,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0.7741522789001465) - (f32.const 1.314923644065857) - (f32.const -0.2387111485004425) - (i32.const 1) + (call $std/math/test_modf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1105) + (i32.const 2150) (i32.const 0) ) (unreachable) @@ -27804,18 +43349,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0.6787636876106262) - (f32.const 1.2393412590026855) - (f32.const -0.45791932940483093) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1106) + (i32.const 2151) (i32.const 0) ) (unreachable) @@ -27823,9 +43369,10 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const 0) - (f32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -27834,7 +43381,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1109) + (i32.const 2152) (i32.const 0) ) (unreachable) @@ -27842,8 +43389,9 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const -0) + (call $std/math/test_modf + (f32.const 1) + (f32.const inf) (f32.const 1) (f32.const 0) (i32.const 0) @@ -27853,7 +43401,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1110) + (i32.const 2153) (i32.const 0) ) (unreachable) @@ -27861,9 +43409,10 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const inf) + (call $std/math/test_modf + (f32.const -1) (f32.const inf) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -27872,7 +43421,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1111) + (i32.const 2154) (i32.const 0) ) (unreachable) @@ -27880,20 +43429,19 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.neg - (f32.const inf) - ) + (call $std/math/test_modf (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1112) + (i32.const 2155) (i32.const 0) ) (unreachable) @@ -27901,18 +43449,21 @@ ) (if (i32.eqz - (call $std/math/test_coshf - (f32.const nan:0x400000) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.const inf) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1113) + (i32.const 2156) (i32.const 0) ) (unreachable) @@ -27920,18 +43471,21 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -8.06684839057968) - (f64.const 3.137706068161745e-04) - (f64.const -0.2599197328090668) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1) + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1123) + (i32.const 2157) (i32.const 0) ) (unreachable) @@ -27939,18 +43493,21 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 4.345239849338305) - (f64.const 77.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1124) + (i32.const 2158) (i32.const 0) ) (unreachable) @@ -27958,18 +43515,21 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -8.38143342755525) - (f64.const 2.290813384916323e-04) - (f64.const -0.24974334239959717) - (i32.const 1) + (call $std/math/test_modf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1125) + (i32.const 2159) (i32.const 0) ) (unreachable) @@ -27977,18 +43537,23 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -6.531673581913484) - (f64.const 1.4565661260931588e-03) - (f64.const -0.4816822409629822) - (i32.const 1) + (call $std/math/test_modf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1126) + (i32.const 2160) (i32.const 0) ) (unreachable) @@ -27996,18 +43561,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 9.267056966972586) - (f64.const 10583.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const 0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1127) + (i32.const 2161) (i32.const 0) ) (unreachable) @@ -28015,18 +43581,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.6619858980995045) - (f64.const 1.9386384525571998) - (f64.const -0.4964246451854706) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const 0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1128) + (i32.const 2162) (i32.const 0) ) (unreachable) @@ -28034,18 +43601,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0.4066039223853553) - (f64.const 0.6659078892838025) - (f64.const -0.10608318448066711) - (i32.const 1) + (call $std/math/test_modf + (f32.const 1.75) + (f32.const -0.5) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1129) + (i32.const 2163) (i32.const 0) ) (unreachable) @@ -28053,18 +43621,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.5617597462207241) - (f64.const 1.7537559518626311) - (f64.const -0.39162111282348633) - (i32.const 1) + (call $std/math/test_modf + (f32.const -1.75) + (f32.const -0.5) + (f32.const -0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1130) + (i32.const 2164) (i32.const 0) ) (unreachable) @@ -28072,18 +43641,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0.7741522965913037) - (f64.const 2.1687528885129246) - (f64.const -0.2996125817298889) - (i32.const 1) + (call $std/math/test_pow + (f64.const -8.06684839057968) + (f64.const 4.535662560676869) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1131) + (i32.const 2176) (i32.const 0) ) (unreachable) @@ -28091,10 +43661,11 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0.6787637026394024) - (f64.const 0.5072437089402843) - (f64.const 0.47261738777160645) + (call $std/math/test_pow + (f64.const 4.345239849338305) + (f64.const -8.88799136300345) + (f64.const 2.1347118825587285e-06) + (f64.const 0.3250160217285156) (i32.const 1) ) ) @@ -28102,7 +43673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1132) + (i32.const 2177) (i32.const 0) ) (unreachable) @@ -28110,18 +43681,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 0) - (f64.const 1) + (call $std/math/test_pow + (f64.const -8.38143342755525) + (f64.const -2.763607337379588) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1135) + (i32.const 2178) (i32.const 0) ) (unreachable) @@ -28129,18 +43701,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -0) - (f64.const 1) + (call $std/math/test_pow + (f64.const -6.531673581913484) + (f64.const 4.567535276842744) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1136) + (i32.const 2179) (i32.const 0) ) (unreachable) @@ -28148,10 +43721,11 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1) - (f64.const 2.718281828459045) - (f64.const -0.3255307376384735) + (call $std/math/test_pow + (f64.const 9.267056966972586) + (f64.const 4.811392084359796) + (f64.const 44909.29941512966) + (f64.const -0.26659080386161804) (i32.const 1) ) ) @@ -28159,7 +43733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1137) + (i32.const 2180) (i32.const 0) ) (unreachable) @@ -28167,18 +43741,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -1) - (f64.const 0.36787944117144233) - (f64.const 0.22389651834964752) - (i32.const 1) + (call $std/math/test_pow + (f64.const -6.450045556060236) + (f64.const 0.6620717923376739) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1138) + (i32.const 2181) (i32.const 0) ) (unreachable) @@ -28186,18 +43761,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const 7.858890253041697) + (f64.const 0.05215452675006225) + (f64.const 1.1135177413458652) + (f64.const -0.37168607115745544) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1139) + (i32.const 2182) (i32.const 0) ) (unreachable) @@ -28205,20 +43781,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_pow + (f64.const -0.792054511984896) + (f64.const 7.67640268511754) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1140) + (i32.const 2183) (i32.const 0) ) (unreachable) @@ -28226,18 +43801,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const 0.615702673197924) + (f64.const 2.0119025790324803) + (f64.const 0.37690773521380183) + (f64.const 0.32473301887512207) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1141) + (i32.const 2184) (i32.const 0) ) (unreachable) @@ -28245,18 +43821,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397214889526365) - (f64.const 2.828429155876411) - (f64.const 0.18803080916404724) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5587586823609152) + (f64.const 0.03223983060263804) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1142) + (i32.const 2185) (i32.const 0) ) (unreachable) @@ -28264,18 +43841,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const -1.0397214889526365) - (f64.const 0.35355313670217847) - (f64.const 0.2527272403240204) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1143) + (i32.const 2188) (i32.const 0) ) (unreachable) @@ -28283,18 +43861,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397210121154785) - (f64.const 2.8284278071766122) - (f64.const -0.4184139370918274) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1144) + (i32.const 2189) (i32.const 0) ) (unreachable) @@ -28302,18 +43881,19 @@ ) (if (i32.eqz - (call $std/math/test_exp - (f64.const 1.0397214889526367) - (f64.const 2.8284291558764116) - (f64.const -0.22618377208709717) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 3) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1145) + (i32.const 2190) (i32.const 0) ) (unreachable) @@ -28321,18 +43901,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -8.066848754882812) - (f32.const 3.1377049162983894e-04) - (f32.const -0.030193336308002472) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 2) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1154) + (i32.const 2191) (i32.const 0) ) (unreachable) @@ -28340,18 +43921,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 4.345239639282227) - (f32.const 77.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 1) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1155) + (i32.const 2192) (i32.const 0) ) (unreachable) @@ -28359,18 +43941,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -8.381433486938477) - (f32.const 2.2908132814336568e-04) - (f32.const 0.2237040400505066) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1156) + (i32.const 2193) (i32.const 0) ) (unreachable) @@ -28378,18 +43961,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -6.531673431396484) - (f32.const 1.4565663877874613e-03) - (f32.const 0.36469703912734985) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1157) + (i32.const 2194) (i32.const 0) ) (unreachable) @@ -28397,18 +43981,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 9.267057418823242) - (f32.const 10583.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1158) + (i32.const 2195) (i32.const 0) ) (unreachable) @@ -28416,18 +44001,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.6619858741760254) - (f32.const 1.93863844871521) - (f32.const 0.3568260967731476) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1159) + (i32.const 2196) (i32.const 0) ) (unreachable) @@ -28435,18 +44021,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0.40660393238067627) - (f32.const 0.6659078598022461) - (f32.const -0.38294991850852966) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -1) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1160) + (i32.const 2197) (i32.const 0) ) (unreachable) @@ -28454,18 +44041,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.5617597699165344) - (f32.const 1.753756046295166) - (f32.const 0.44355490803718567) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1161) + (i32.const 2198) (i32.const 0) ) (unreachable) @@ -28473,18 +44061,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.7741522789001465) - (f32.const 2.168752908706665) - (f32.const 0.24562469124794006) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -3) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1162) + (i32.const 2199) (i32.const 0) ) (unreachable) @@ -28492,18 +44081,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0.6787636876106262) - (f32.const 0.5072436928749084) - (f32.const -0.3974292278289795) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1163) + (i32.const 2200) (i32.const 0) ) (unreachable) @@ -28511,10 +44101,13 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0) - (f32.const 1) - (f32.const 0) + (call $std/math/test_pow + (f64.const 0) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -28522,7 +44115,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1166) + (i32.const 2201) (i32.const 0) ) (unreachable) @@ -28530,10 +44123,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -0) - (f32.const 1) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -28541,7 +44135,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1167) + (i32.const 2202) (i32.const 0) ) (unreachable) @@ -28549,18 +44143,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 1) - (f32.const 2.7182817459106445) - (f32.const -0.3462330996990204) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1168) + (i32.const 2203) (i32.const 0) ) (unreachable) @@ -28568,18 +44163,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -1) - (f32.const 0.3678794503211975) - (f32.const 0.3070148527622223) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const 3) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1169) + (i32.const 2204) (i32.const 0) ) (unreachable) @@ -28587,10 +44183,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 2) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -28598,7 +44195,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1170) + (i32.const 2205) (i32.const 0) ) (unreachable) @@ -28606,12 +44203,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 1) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -28619,7 +44215,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1171) + (i32.const 2206) (i32.const 0) ) (unreachable) @@ -28627,10 +44223,11 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0) + (f64.const 0.5) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -28638,7 +44235,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1172) + (i32.const 2207) (i32.const 0) ) (unreachable) @@ -28646,18 +44243,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 88.72283172607422) - (f32.const 340279851902147610656242e15) - (f32.const -0.09067153930664062) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1173) + (i32.const 2208) (i32.const 0) ) (unreachable) @@ -28665,21 +44263,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 88.72283935546875) - (f32.const inf) - (f32.const 0) - (i32.or - (i32.const 1) - (i32.const 16) - ) + (call $std/math/test_pow + (f64.const -0) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1174) + (i32.const 2209) (i32.const 0) ) (unreachable) @@ -28687,21 +44283,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -103.97207641601562) - (f32.const 1.401298464324817e-45) - (f32.const 0.49999967217445374) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (call $std/math/test_pow + (f64.const -0) + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1175) + (i32.const 2210) (i32.const 0) ) (unreachable) @@ -28709,21 +44303,21 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const -103.97208404541016) - (f32.const 0) - (f32.const -0.49999651312828064) - (i32.or - (i32.const 1) - (i32.const 8) + (call $std/math/test_pow + (f64.const -0) + (f64.const -1) + (f64.neg + (f64.const inf) ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1176) + (i32.const 2211) (i32.const 0) ) (unreachable) @@ -28731,18 +44325,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465735614299774) - (f32.const 1.4142135381698608) - (f32.const 0.13922421634197235) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -2) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1177) + (i32.const 2212) (i32.const 0) ) (unreachable) @@ -28750,18 +44345,21 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465735912322998) - (f32.const 1.4142135381698608) - (f32.const -0.21432916820049286) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -3) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1178) + (i32.const 2213) (i32.const 0) ) (unreachable) @@ -28769,18 +44367,19 @@ ) (if (i32.eqz - (call $std/math/test_expf - (f32.const 0.3465736210346222) - (f32.const 1.4142136573791504) - (f32.const 0.43211743235588074) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.const -4) + (f64.const inf) + (f64.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1179) + (i32.const 2214) (i32.const 0) ) (unreachable) @@ -28788,18 +44387,21 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -8.06684839057968) - (f64.const -0.9996862293931839) - (f64.const -0.2760058343410492) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1189) + (i32.const 2215) (i32.const 0) ) (unreachable) @@ -28807,18 +44409,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 4.345239849338305) - (f64.const 76.11053017112141) - (f64.const -0.02792675793170929) - (i32.const 1) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1190) + (i32.const 2216) (i32.const 0) ) (unreachable) @@ -28826,18 +44429,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -8.38143342755525) - (f64.const -0.9997709186615084) - (f64.const 0.10052496194839478) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1191) + (i32.const 2217) (i32.const 0) ) (unreachable) @@ -28845,18 +44449,21 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -6.531673581913484) - (f64.const -0.9985434338739069) - (f64.const -0.27437829971313477) - (i32.const 1) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1192) + (i32.const 2218) (i32.const 0) ) (unreachable) @@ -28864,18 +44471,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 9.267056966972586) - (f64.const 10582.558245524993) - (f64.const 0.17696762084960938) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1193) + (i32.const 2219) (i32.const 0) ) (unreachable) @@ -28883,18 +44491,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.6619858980995045) - (f64.const 0.9386384525571999) - (f64.const 0.007150684483349323) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1194) + (i32.const 2220) (i32.const 0) ) (unreachable) @@ -28902,18 +44511,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0.4066039223853553) - (f64.const -0.3340921107161975) - (f64.const -0.21216636896133423) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1195) + (i32.const 2221) (i32.const 0) ) (unreachable) @@ -28921,18 +44531,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.5617597462207241) - (f64.const 0.7537559518626312) - (f64.const 0.21675777435302734) - (i32.const 1) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1196) + (i32.const 2222) (i32.const 0) ) (unreachable) @@ -28940,18 +44551,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0.7741522965913037) - (f64.const 1.1687528885129248) - (f64.const 0.4007748067378998) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1197) + (i32.const 2223) (i32.const 0) ) (unreachable) @@ -28959,18 +44571,21 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0.6787637026394024) - (f64.const -0.4927562910597158) - (f64.const -0.05476519837975502) - (i32.const 1) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1198) + (i32.const 2224) (i32.const 0) ) (unreachable) @@ -28978,9 +44593,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 0) - (f64.const 0) + (call $std/math/test_pow + (f64.const 1) + (f64.const -0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -28989,7 +44605,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1201) + (i32.const 2225) (i32.const 0) ) (unreachable) @@ -28997,9 +44613,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -0) + (call $std/math/test_pow + (f64.const -1) (f64.const -0) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -29008,7 +44625,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1202) + (i32.const 2226) (i32.const 0) ) (unreachable) @@ -29016,18 +44633,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 + (call $std/math/test_pow + (f64.const -0.5) + (f64.const -0) (f64.const 1) - (f64.const 1.7182818284590453) - (f64.const 0.348938524723053) - (i32.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1203) + (i32.const 2227) (i32.const 0) ) (unreachable) @@ -29035,18 +44653,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 + (call $std/math/test_pow (f64.const -1) - (f64.const -0.6321205588285577) - (f64.const 0.11194825917482376) - (i32.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1204) + (i32.const 2228) (i32.const 0) ) (unreachable) @@ -29054,9 +44673,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const inf) + (call $std/math/test_pow + (f64.const -1) (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -29065,7 +44685,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1205) + (i32.const 2229) (i32.const 0) ) (unreachable) @@ -29073,11 +44693,12 @@ ) (if (i32.eqz - (call $std/math/test_expm1 + (call $std/math/test_pow + (f64.const -1) (f64.neg (f64.const inf) ) - (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -29086,7 +44707,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1206) + (i32.const 2230) (i32.const 0) ) (unreachable) @@ -29094,9 +44715,10 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -1) + (f64.const 2) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -29105,7 +44727,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1207) + (i32.const 2231) (i32.const 0) ) (unreachable) @@ -29113,21 +44735,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const 2.225073858507201e-308) - (f64.const 2.225073858507201e-308) + (call $std/math/test_pow + (f64.const -1) + (f64.const -1) + (f64.const -1) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1208) + (i32.const 2232) (i32.const 0) ) (unreachable) @@ -29135,21 +44755,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1 - (f64.const -2.225073858507201e-308) - (f64.const -2.225073858507201e-308) + (call $std/math/test_pow + (f64.const -1) + (f64.const -2) + (f64.const 1) (f64.const 0) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1209) + (i32.const 2233) (i32.const 0) ) (unreachable) @@ -29157,18 +44775,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -8.066848754882812) - (f32.const -0.9996862411499023) - (f32.const -0.19532723724842072) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const -3) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1218) + (i32.const 2234) (i32.const 0) ) (unreachable) @@ -29176,18 +44795,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 4.345239639282227) - (f32.const 76.11051177978516) - (f32.const -0.2875460684299469) - (i32.const 1) + (call $std/math/test_pow + (f64.const -1) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1219) + (i32.const 2235) (i32.const 0) ) (unreachable) @@ -29195,18 +44815,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -8.381433486938477) - (f32.const -0.9997709393501282) - (f32.const -0.34686920046806335) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1220) + (i32.const 2236) (i32.const 0) ) (unreachable) @@ -29214,18 +44835,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -6.531673431396484) - (f32.const -0.9985434412956238) - (f32.const -0.1281939446926117) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1221) + (i32.const 2237) (i32.const 0) ) (unreachable) @@ -29233,18 +44855,21 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 9.267057418823242) - (f32.const 10582.5634765625) - (f32.const 0.45962104201316833) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1222) + (i32.const 2238) (i32.const 0) ) (unreachable) @@ -29252,18 +44877,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.6619858741760254) - (f32.const 0.9386383891105652) - (f32.const -0.28634780645370483) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 3) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1223) + (i32.const 2239) (i32.const 0) ) (unreachable) @@ -29271,18 +44897,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0.40660393238067627) - (f32.const -0.3340921103954315) - (f32.const 0.23410017788410187) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1224) + (i32.const 2240) (i32.const 0) ) (unreachable) @@ -29290,18 +44917,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.5617597699165344) - (f32.const 0.7537559866905212) - (f32.const -0.11289017647504807) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const -0.5) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1225) + (i32.const 2241) (i32.const 0) ) (unreachable) @@ -29309,18 +44937,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0.7741522789001465) - (f32.const 1.168752908706665) - (f32.const 0.4912493824958801) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1) + (f64.const -3) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1226) + (i32.const 2242) (i32.const 0) ) (unreachable) @@ -29328,18 +44957,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0.6787636876106262) - (f32.const -0.49275627732276917) - (f32.const 0.20514154434204102) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1227) + (i32.const 2243) (i32.const 0) ) (unreachable) @@ -29347,18 +44977,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1230) + (i32.const 2244) (i32.const 0) ) (unreachable) @@ -29366,10 +44997,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -0) - (f32.const -0) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 2) + (f64.const 0.25) + (f64.const 0) (i32.const 0) ) ) @@ -29377,7 +45009,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1231) + (i32.const 2245) (i32.const 0) ) (unreachable) @@ -29385,18 +45017,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const 1) - (f32.const 1.718281865119934) - (f32.const 0.3075338304042816) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const 3) + (f64.const -0.125) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1232) + (i32.const 2246) (i32.const 0) ) (unreachable) @@ -29404,18 +45037,19 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const -1) - (f32.const -0.6321205496788025) - (f32.const 0.15350742638111115) - (i32.const 1) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1233) + (i32.const 2247) (i32.const 0) ) (unreachable) @@ -29423,10 +45057,13 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const inf) - (f32.const inf) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -29434,7 +45071,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1234) + (i32.const 2248) (i32.const 0) ) (unreachable) @@ -29442,12 +45079,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.neg - (f32.const inf) - ) - (f32.const -1) - (f32.const 0) + (call $std/math/test_pow + (f64.const -0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -29455,7 +45091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1235) + (i32.const 2249) (i32.const 0) ) (unreachable) @@ -29463,10 +45099,11 @@ ) (if (i32.eqz - (call $std/math/test_expm1f - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_pow + (f64.const 0.5) + (f64.const inf) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -29474,7 +45111,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1236) + (i32.const 2250) (i32.const 0) ) (unreachable) @@ -29482,19 +45119,21 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -8.06684839057968) - (f64.const 4.535662560676869) - (f64.const 9.25452742288464) - (f64.const -0.31188681721687317) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0.5) + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1246) + (i32.const 2251) (i32.const 0) ) (unreachable) @@ -29502,19 +45141,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4.345239849338305) - (f64.const -8.88799136300345) - (f64.const 9.893305808328252) - (f64.const 0.4593673348426819) - (i32.const 1) + (call $std/math/test_pow + (f64.const 0.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1247) + (i32.const 2252) (i32.const 0) ) (unreachable) @@ -29522,19 +45161,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -8.38143342755525) - (f64.const -2.763607337379588) - (f64.const 8.825301797432132) - (f64.const -0.1701754331588745) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1248) + (i32.const 2253) (i32.const 0) ) (unreachable) @@ -29542,19 +45181,21 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -6.531673581913484) - (f64.const 4.567535276842744) - (f64.const 7.970265885519092) - (f64.const -0.3176782727241516) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1249) + (i32.const 2254) (i32.const 0) ) (unreachable) @@ -29562,19 +45203,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 9.267056966972586) - (f64.const 4.811392084359796) - (f64.const 10.441639651824575) - (f64.const -0.2693633437156677) - (i32.const 1) + (call $std/math/test_pow + (f64.const 1.5) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1250) + (i32.const 2255) (i32.const 0) ) (unreachable) @@ -29582,19 +45223,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -6.450045556060236) - (f64.const 0.6620717923376739) - (f64.const 6.483936052542593) - (f64.const 0.35618898272514343) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1251) + (i32.const 2256) (i32.const 0) ) (unreachable) @@ -29602,19 +45243,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 7.858890253041697) - (f64.const 0.05215452675006225) - (f64.const 7.859063309581766) - (f64.const 0.08044655621051788) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1252) + (i32.const 2257) (i32.const 0) ) (unreachable) @@ -29622,19 +45263,21 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -0.792054511984896) - (f64.const 7.67640268511754) - (f64.const 7.717156764899584) - (f64.const 0.05178084969520569) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1253) + (i32.const 2258) (i32.const 0) ) (unreachable) @@ -29642,19 +45285,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 0.615702673197924) - (f64.const 2.0119025790324803) - (f64.const 2.104006123874314) - (f64.const -0.0918039008975029) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 3) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1254) + (i32.const 2259) (i32.const 0) ) (unreachable) @@ -29662,19 +45305,19 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -0.5587586823609152) - (f64.const 0.03223983060263804) - (f64.const 0.5596880129062913) - (f64.const 0.1383407711982727) - (i32.const 1) + (call $std/math/test_pow + (f64.const inf) + (f64.const 2) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1255) + (i32.const 2260) (i32.const 0) ) (unreachable) @@ -29682,10 +45325,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 3) - (f64.const 4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const 1) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -29694,7 +45337,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1258) + (i32.const 2261) (i32.const 0) ) (unreachable) @@ -29702,10 +45345,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -3) - (f64.const 4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const 0.5) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -29714,7 +45357,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1259) + (i32.const 2262) (i32.const 0) ) (unreachable) @@ -29722,10 +45365,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4) - (f64.const 3) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -0.5) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -29734,7 +45377,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1260) + (i32.const 2263) (i32.const 0) ) (unreachable) @@ -29742,10 +45385,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 4) - (f64.const -3) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -1) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -29754,7 +45397,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1261) + (i32.const 2264) (i32.const 0) ) (unreachable) @@ -29762,10 +45405,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const -3) - (f64.const -4) - (f64.const 5) + (call $std/math/test_pow + (f64.const inf) + (f64.const -2) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -29774,7 +45417,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1262) + (i32.const 2265) (i32.const 0) ) (unreachable) @@ -29782,10 +45425,12 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1797693134862315708145274e284) - (f64.const 0) - (f64.const 1797693134862315708145274e284) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -29794,7 +45439,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1263) + (i32.const 2266) (i32.const 0) ) (unreachable) @@ -29802,10 +45447,12 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1797693134862315708145274e284) - (f64.const -0) - (f64.const 1797693134862315708145274e284) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -29814,7 +45461,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1264) + (i32.const 2267) (i32.const 0) ) (unreachable) @@ -29822,10 +45469,14 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 5e-324) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (f64.const 5e-324) (f64.const 0) (i32.const 0) ) @@ -29834,7 +45485,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1265) + (i32.const 2268) (i32.const 0) ) (unreachable) @@ -29842,10 +45493,14 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 5e-324) - (f64.const -0) - (f64.const 5e-324) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 3) + (f64.neg + (f64.const inf) + ) (f64.const 0) (i32.const 0) ) @@ -29854,7 +45509,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1266) + (i32.const 2269) (i32.const 0) ) (unreachable) @@ -29862,9 +45517,11 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const inf) - (f64.const 1) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 2) (f64.const inf) (f64.const 0) (i32.const 0) @@ -29874,7 +45531,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1267) + (i32.const 2270) (i32.const 0) ) (unreachable) @@ -29882,10 +45539,14 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) (f64.const 1) - (f64.const inf) - (f64.const inf) + (f64.neg + (f64.const inf) + ) (f64.const 0) (i32.const 0) ) @@ -29894,7 +45555,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1268) + (i32.const 2271) (i32.const 0) ) (unreachable) @@ -29902,9 +45563,11 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const inf) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const 0.5) (f64.const inf) (f64.const 0) (i32.const 0) @@ -29914,7 +45577,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1269) + (i32.const 2272) (i32.const 0) ) (unreachable) @@ -29922,10 +45585,12 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const nan:0x8000000000000) - (f64.const inf) - (f64.const inf) + (call $std/math/test_pow + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -29934,7 +45599,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1270) + (i32.const 2273) (i32.const 0) ) (unreachable) @@ -29942,12 +45607,12 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow (f64.neg (f64.const inf) ) - (f64.const 1) - (f64.const inf) + (f64.const -1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -29956,7 +45621,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1271) + (i32.const 2274) (i32.const 0) ) (unreachable) @@ -29964,12 +45629,12 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1) + (call $std/math/test_pow (f64.neg (f64.const inf) ) - (f64.const inf) + (f64.const -2) + (f64.const 0) (f64.const 0) (i32.const 0) ) @@ -29978,7 +45643,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1272) + (i32.const 2275) (i32.const 0) ) (unreachable) @@ -29986,12 +45651,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.neg - (f64.const inf) - ) + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const nan:0x8000000000000) - (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -30000,7 +45663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1273) + (i32.const 2276) (i32.const 0) ) (unreachable) @@ -30008,12 +45671,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot + (call $std/math/test_pow + (f64.const nan:0x8000000000000) + (f64.const -1) (f64.const nan:0x8000000000000) - (f64.neg - (f64.const inf) - ) - (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -30022,7 +45683,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1274) + (i32.const 2277) (i32.const 0) ) (unreachable) @@ -30030,10 +45691,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -2) (f64.const 1) - (f64.const nan:0x8000000000000) + (f64.const -2) (f64.const 0) (i32.const 0) ) @@ -30042,7 +45703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1275) + (i32.const 2278) (i32.const 0) ) (unreachable) @@ -30050,10 +45711,10 @@ ) (if (i32.eqz - (call $std/math/test_hypot - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_pow + (f64.const -2) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -30062,7 +45723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1276) + (i32.const 2279) (i32.const 0) ) (unreachable) @@ -30070,19 +45731,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -8.066848754882812) (f32.const 4.535662651062012) - (f32.const 9.254528045654297) - (f32.const 0.2735958993434906) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1285) + (i32.const 2288) (i32.const 0) ) (unreachable) @@ -30090,11 +45751,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 4.345239639282227) (f32.const -8.887990951538086) - (f32.const 9.893305778503418) - (f32.const 0.4530770778656006) + (f32.const 2.134714122803416e-06) + (f32.const 0.1436440795660019) (i32.const 1) ) ) @@ -30102,7 +45763,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1286) + (i32.const 2289) (i32.const 0) ) (unreachable) @@ -30110,19 +45771,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -8.381433486938477) (f32.const -2.7636072635650635) - (f32.const 8.825302124023438) - (f32.const 0.30755728483200073) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1287) + (i32.const 2290) (i32.const 0) ) (unreachable) @@ -30130,19 +45791,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -6.531673431396484) (f32.const 4.567535400390625) - (f32.const 7.970265865325928) - (f32.const 0.06785223633050919) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1288) + (i32.const 2291) (i32.const 0) ) (unreachable) @@ -30150,11 +45811,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 9.267057418823242) (f32.const 4.811392307281494) - (f32.const 10.44163990020752) - (f32.const -0.26776307821273804) + (f32.const 44909.33203125) + (f32.const -0.05356409028172493) (i32.const 1) ) ) @@ -30162,7 +45823,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1289) + (i32.const 2292) (i32.const 0) ) (unreachable) @@ -30170,19 +45831,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -6.450045585632324) (f32.const 0.6620717644691467) - (f32.const 6.483936309814453) - (f32.const 0.48381292819976807) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1290) + (i32.const 2293) (i32.const 0) ) (unreachable) @@ -30190,11 +45851,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 7.858890056610107) (f32.const 0.052154526114463806) - (f32.const 7.859063148498535) - (f32.const 0.07413065433502197) + (f32.const 1.1135177612304688) + (f32.const 0.19122089445590973) (i32.const 1) ) ) @@ -30202,7 +45863,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1291) + (i32.const 2294) (i32.const 0) ) (unreachable) @@ -30210,19 +45871,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -0.7920545339584351) (f32.const 7.676402568817139) - (f32.const 7.717156887054443) - (f32.const 0.4940592646598816) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1292) + (i32.const 2295) (i32.const 0) ) (unreachable) @@ -30230,11 +45891,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const 0.6157026886940002) (f32.const 2.0119025707244873) - (f32.const 2.104006052017212) - (f32.const -0.287089467048645) + (f32.const 0.3769077658653259) + (f32.const 0.337149053812027) (i32.const 1) ) ) @@ -30242,7 +45903,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1293) + (i32.const 2296) (i32.const 0) ) (unreachable) @@ -30250,19 +45911,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf (f32.const -0.5587586760520935) (f32.const 0.03223983198404312) - (f32.const 0.5596880316734314) - (f32.const 0.4191940724849701) - (i32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1294) + (i32.const 2297) (i32.const 0) ) (unreachable) @@ -30270,10 +45931,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3) - (f32.const 4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30282,7 +45943,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1297) + (i32.const 2300) (i32.const 0) ) (unreachable) @@ -30290,10 +45951,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -3) - (f32.const 4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const inf) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30302,7 +45963,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1298) + (i32.const 2301) (i32.const 0) ) (unreachable) @@ -30310,10 +45971,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 4) + (call $std/math/test_powf + (f32.const 0) (f32.const 3) - (f32.const 5) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30322,7 +45983,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1299) + (i32.const 2302) (i32.const 0) ) (unreachable) @@ -30330,10 +45991,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 4) - (f32.const -3) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 2) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30342,7 +46003,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1300) + (i32.const 2303) (i32.const 0) ) (unreachable) @@ -30350,10 +46011,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const -3) - (f32.const -4) - (f32.const 5) + (call $std/math/test_powf + (f32.const 0) + (f32.const 1) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30362,7 +46023,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1301) + (i32.const 2304) (i32.const 0) ) (unreachable) @@ -30370,10 +46031,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3402823466385288598117041e14) + (call $std/math/test_powf + (f32.const 0) + (f32.const 0.5) (f32.const 0) - (f32.const 3402823466385288598117041e14) (f32.const 0) (i32.const 0) ) @@ -30382,7 +46043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1302) + (i32.const 2305) (i32.const 0) ) (unreachable) @@ -30390,10 +46051,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 3402823466385288598117041e14) - (f32.const -0) - (f32.const 3402823466385288598117041e14) + (call $std/math/test_powf + (f32.const 0) + (f32.const 0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -30402,7 +46063,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1303) + (i32.const 2306) (i32.const 0) ) (unreachable) @@ -30410,10 +46071,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1.401298464324817e-45) + (call $std/math/test_powf (f32.const 0) - (f32.const 1.401298464324817e-45) + (f32.const -0) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -30422,7 +46083,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1304) + (i32.const 2307) (i32.const 0) ) (unreachable) @@ -30430,19 +46091,19 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1.401298464324817e-45) - (f32.const -0) - (f32.const 1.401298464324817e-45) + (call $std/math/test_powf (f32.const 0) - (i32.const 0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1305) + (i32.const 2308) (i32.const 0) ) (unreachable) @@ -30450,19 +46111,59 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf + (f32.const 0) + (f32.const -1) (f32.const inf) - (f32.const 1) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2309) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -2) (f32.const inf) (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2310) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.const -3) + (f32.const inf) + (f32.const 0) + (i32.const 4) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1306) + (i32.const 2311) (i32.const 0) ) (unreachable) @@ -30470,9 +46171,31 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1) + (call $std/math/test_powf + (f32.const 0) + (f32.const -4) (f32.const inf) + (f32.const 0) + (i32.const 4) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2312) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 0) + (f32.neg + (f32.const inf) + ) (f32.const inf) (f32.const 0) (i32.const 0) @@ -30482,7 +46205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1307) + (i32.const 2313) (i32.const 0) ) (unreachable) @@ -30490,10 +46213,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const nan:0x400000) (f32.const nan:0x400000) - (f32.const inf) (f32.const 0) (i32.const 0) ) @@ -30502,7 +46225,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1308) + (i32.const 2314) (i32.const 0) ) (unreachable) @@ -30510,11 +46233,11 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) (f32.const inf) (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -30522,7 +46245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1309) + (i32.const 2315) (i32.const 0) ) (unreachable) @@ -30530,12 +46253,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.neg - (f32.const inf) - ) - (f32.const 1) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 3) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -30544,7 +46265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1310) + (i32.const 2316) (i32.const 0) ) (unreachable) @@ -30552,12 +46273,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const 1) - (f32.neg - (f32.const inf) - ) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 2) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30566,7 +46285,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1311) + (i32.const 2317) (i32.const 0) ) (unreachable) @@ -30574,12 +46293,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 1) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -30588,7 +46305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1312) + (i32.const 2318) (i32.const 0) ) (unreachable) @@ -30596,12 +46313,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) - (f32.neg - (f32.const inf) - ) - (f32.const inf) + (call $std/math/test_powf + (f32.const -0) + (f32.const 0.5) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -30610,7 +46325,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1313) + (i32.const 2319) (i32.const 0) ) (unreachable) @@ -30618,10 +46333,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -0) + (f32.const 0) (f32.const 1) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30630,7 +46345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1314) + (i32.const 2320) (i32.const 0) ) (unreachable) @@ -30638,10 +46353,10 @@ ) (if (i32.eqz - (call $std/math/test_hypotf + (call $std/math/test_powf + (f32.const -0) + (f32.const -0) (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -30650,7 +46365,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1315) + (i32.const 2321) (i32.const 0) ) (unreachable) @@ -30658,18 +46373,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1325) + (i32.const 2322) (i32.const 0) ) (unreachable) @@ -30677,18 +46393,21 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 4.345239849338305) - (f64.const 1.4690809584224322) - (f64.const -0.3412533402442932) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.const -1) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1326) + (i32.const 2323) (i32.const 0) ) (unreachable) @@ -30696,18 +46415,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -2) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1327) + (i32.const 2324) (i32.const 0) ) (unreachable) @@ -30715,18 +46435,21 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0) + (f32.const -3) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1328) + (i32.const 2325) (i32.const 0) ) (unreachable) @@ -30734,18 +46457,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 9.267056966972586) - (f64.const 2.2264658498795615) - (f64.const 0.3638114035129547) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.const -4) + (f32.const inf) + (f32.const 0) + (i32.const 4) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1329) + (i32.const 2326) (i32.const 0) ) (unreachable) @@ -30753,18 +46477,21 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.6619858980995045) - (f64.const -0.4125110252365137) - (f64.const -0.29108747839927673) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1330) + (i32.const 2327) (i32.const 0) ) (unreachable) @@ -30772,18 +46499,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1331) + (i32.const 2328) (i32.const 0) ) (unreachable) @@ -30791,18 +46519,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.5617597462207241) - (f64.const -0.5766810183195862) - (f64.const -0.10983199626207352) - (i32.const 1) + (call $std/math/test_powf + (f32.const inf) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1332) + (i32.const 2329) (i32.const 0) ) (unreachable) @@ -30810,18 +46539,41 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0.7741522965913037) - (f64.const -0.2559866591263865) - (f64.const -0.057990044355392456) - (i32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2330) + (i32.const 0) + ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_powf + (f32.const 1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1333) + (i32.const 2331) (i32.const 0) ) (unreachable) @@ -30829,18 +46581,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -1) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1334) + (i32.const 2332) (i32.const 0) ) (unreachable) @@ -30848,20 +46601,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 0) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1337) + (i32.const 2333) (i32.const 0) ) (unreachable) @@ -30869,20 +46621,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -0) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1338) + (i32.const 2334) (i32.const 0) ) (unreachable) @@ -30890,18 +46641,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1339) + (i32.const 2335) (i32.const 0) ) (unreachable) @@ -30909,10 +46661,13 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -0) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -30920,7 +46675,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1340) + (i32.const 2336) (i32.const 0) ) (unreachable) @@ -30928,18 +46683,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 1) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1341) + (i32.const 2337) (i32.const 0) ) (unreachable) @@ -30947,10 +46703,11 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_powf + (f32.const -1) + (f32.const -0) + (f32.const 1) + (f32.const 0) (i32.const 0) ) ) @@ -30958,7 +46715,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1342) + (i32.const 2338) (i32.const 0) ) (unreachable) @@ -30966,20 +46723,19 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const -0) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1343) + (i32.const 2339) (i32.const 0) ) (unreachable) @@ -30987,10 +46743,11 @@ ) (if (i32.eqz - (call $std/math/test_log - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_powf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -30998,7 +46755,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1344) + (i32.const 2340) (i32.const 0) ) (unreachable) @@ -31006,20 +46763,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const 0) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_powf + (f32.const -1) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1353) + (i32.const 2341) (i32.const 0) ) (unreachable) @@ -31027,20 +46783,21 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -0) + (call $std/math/test_powf + (f32.const -1) (f32.neg (f32.const inf) ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1354) + (i32.const 2342) (i32.const 0) ) (unreachable) @@ -31048,18 +46805,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -1) + (f32.const 2) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1355) + (i32.const 2343) (i32.const 0) ) (unreachable) @@ -31067,9 +46825,10 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const 1) - (f32.const 0) + (call $std/math/test_powf + (f32.const -1) + (f32.const -1) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -31078,7 +46837,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1356) + (i32.const 2344) (i32.const 0) ) (unreachable) @@ -31086,18 +46845,19 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf (f32.const -1) - (f32.const nan:0x400000) + (f32.const -2) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1357) + (i32.const 2345) (i32.const 0) ) (unreachable) @@ -31105,9 +46865,10 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const -1) + (f32.const -3) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -31116,7 +46877,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1358) + (i32.const 2346) (i32.const 0) ) (unreachable) @@ -31124,10 +46885,9 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.neg - (f32.const inf) - ) + (call $std/math/test_powf + (f32.const -1) + (f32.const 0.5) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -31137,7 +46897,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1359) + (i32.const 2347) (i32.const 0) ) (unreachable) @@ -31145,7 +46905,8 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf + (f32.const 1) (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) @@ -31156,7 +46917,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1360) + (i32.const 2348) (i32.const 0) ) (unreachable) @@ -31164,20 +46925,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const 0) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_powf + (f32.const 1) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1363) + (i32.const 2349) (i32.const 0) ) (unreachable) @@ -31185,20 +46945,21 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -0) + (call $std/math/test_powf + (f32.const 1) (f32.neg (f32.const inf) ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1364) + (i32.const 2350) (i32.const 0) ) (unreachable) @@ -31206,18 +46967,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const 1) + (f32.const 3) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1365) + (i32.const 2351) (i32.const 0) ) (unreachable) @@ -31225,9 +46987,10 @@ ) (if (i32.eqz - (call $std/math/test_logf + (call $std/math/test_powf + (f32.const 1) + (f32.const 0.5) (f32.const 1) - (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -31236,7 +46999,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1366) + (i32.const 2352) (i32.const 0) ) (unreachable) @@ -31244,18 +47007,19 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const -1) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const 1) + (f32.const -0.5) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1367) + (i32.const 2353) (i32.const 0) ) (unreachable) @@ -31263,9 +47027,10 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const 1) + (f32.const -3) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -31274,7 +47039,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1368) + (i32.const 2354) (i32.const 0) ) (unreachable) @@ -31282,10 +47047,9 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.neg - (f32.const inf) - ) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 0.5) (f32.const nan:0x400000) (f32.const 0) (i32.const 2) @@ -31295,7 +47059,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1369) + (i32.const 2355) (i32.const 0) ) (unreachable) @@ -31303,29 +47067,11 @@ ) (if (i32.eqz - (call $std/math/test_logf - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 1.5) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1370) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_log10 - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) (i32.const 2) ) ) @@ -31333,7 +47079,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1380) + (i32.const 2356) (i32.const 0) ) (unreachable) @@ -31341,18 +47087,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 4.345239849338305) - (f64.const 0.6380137537120029) - (f64.const -0.2088824063539505) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 2) + (f32.const 0.25) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1381) + (i32.const 2357) (i32.const 0) ) (unreachable) @@ -31360,18 +47107,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const 3) + (f32.const -0.125) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1382) + (i32.const 2358) (i32.const 0) ) (unreachable) @@ -31379,18 +47127,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1383) + (i32.const 2359) (i32.const 0) ) (unreachable) @@ -31398,18 +47147,21 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 9.267056966972586) - (f64.const 0.9669418327487274) - (f64.const -0.06120431795716286) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1384) + (i32.const 2360) (i32.const 0) ) (unreachable) @@ -31417,18 +47169,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.6619858980995045) - (f64.const -0.17915126198447093) - (f64.const 0.39090874791145325) - (i32.const 1) + (call $std/math/test_powf + (f32.const -0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1385) + (i32.const 2361) (i32.const 0) ) (unreachable) @@ -31436,18 +47189,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 0.5) + (f32.const inf) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1386) + (i32.const 2362) (i32.const 0) ) (unreachable) @@ -31455,18 +47209,21 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.5617597462207241) - (f64.const -0.25044938407454437) - (f64.const -0.3046841621398926) - (i32.const 1) + (call $std/math/test_powf + (f32.const 0.5) + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1387) + (i32.const 2363) (i32.const 0) ) (unreachable) @@ -31474,18 +47231,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0.7741522965913037) - (f64.const -0.11117359349943837) - (f64.const -0.31503361463546753) - (i32.const 1) + (call $std/math/test_powf + (f32.const 0.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1388) + (i32.const 2364) (i32.const 0) ) (unreachable) @@ -31493,18 +47251,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const 1.5) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1389) + (i32.const 2365) (i32.const 0) ) (unreachable) @@ -31512,20 +47271,21 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 0) - (f64.neg - (f64.const inf) + (call $std/math/test_powf + (f32.const 1.5) + (f32.neg + (f32.const inf) ) - (f64.const 0) - (i32.const 4) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1392) + (i32.const 2366) (i32.const 0) ) (unreachable) @@ -31533,20 +47293,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -0) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 4) + (call $std/math/test_powf + (f32.const 1.5) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1393) + (i32.const 2367) (i32.const 0) ) (unreachable) @@ -31554,18 +47313,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1394) + (i32.const 2368) (i32.const 0) ) (unreachable) @@ -31573,10 +47333,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const 1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const inf) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -31584,7 +47345,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1395) + (i32.const 2369) (i32.const 0) ) (unreachable) @@ -31592,18 +47353,21 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1396) + (i32.const 2370) (i32.const 0) ) (unreachable) @@ -31611,10 +47375,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const 3) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -31622,7 +47387,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1397) + (i32.const 2371) (i32.const 0) ) (unreachable) @@ -31630,20 +47395,19 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_powf + (f32.const inf) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1398) + (i32.const 2372) (i32.const 0) ) (unreachable) @@ -31651,10 +47415,11 @@ ) (if (i32.eqz - (call $std/math/test_log10 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_powf + (f32.const inf) + (f32.const 1) + (f32.const inf) + (f32.const 0) (i32.const 0) ) ) @@ -31662,7 +47427,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1399) + (i32.const 2373) (i32.const 0) ) (unreachable) @@ -31670,18 +47435,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -8.066848754882812) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const 0.5) + (f32.const inf) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1408) + (i32.const 2374) (i32.const 0) ) (unreachable) @@ -31689,18 +47455,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 4.345239639282227) - (f32.const 0.6380137205123901) - (f32.const -0.20476758480072021) - (i32.const 1) + (call $std/math/test_powf + (f32.const inf) + (f32.const -0.5) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1409) + (i32.const 2375) (i32.const 0) ) (unreachable) @@ -31708,18 +47475,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -8.381433486938477) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const -1) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1410) + (i32.const 2376) (i32.const 0) ) (unreachable) @@ -31727,18 +47495,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -6.531673431396484) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const inf) + (f32.const -2) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1411) + (i32.const 2377) (i32.const 0) ) (unreachable) @@ -31746,18 +47515,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 9.267057418823242) - (f32.const 0.9669418334960938) - (f32.const -0.34273025393486023) - (i32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1412) + (i32.const 2378) (i32.const 0) ) (unreachable) @@ -31765,18 +47537,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.6619858741760254) - (f32.const -0.1791512817144394) - (f32.const -0.27078554034233093) - (i32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1413) + (i32.const 2379) (i32.const 0) ) (unreachable) @@ -31784,18 +47559,23 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1414) + (i32.const 2380) (i32.const 0) ) (unreachable) @@ -31803,18 +47583,23 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.5617597699165344) - (f32.const -0.25044935941696167) - (f32.const 0.2126826047897339) - (i32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 3) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1415) + (i32.const 2381) (i32.const 0) ) (unreachable) @@ -31822,18 +47607,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0.7741522789001465) - (f32.const -0.1111735999584198) - (f32.const 0.46515095233917236) - (i32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 2) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1416) + (i32.const 2382) (i32.const 0) ) (unreachable) @@ -31841,18 +47629,23 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1417) + (i32.const 2383) (i32.const 0) ) (unreachable) @@ -31860,20 +47653,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 0) + (call $std/math/test_powf (f32.neg (f32.const inf) ) + (f32.const 0.5) + (f32.const inf) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1420) + (i32.const 2384) (i32.const 0) ) (unreachable) @@ -31881,20 +47675,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -0) + (call $std/math/test_powf (f32.neg (f32.const inf) ) + (f32.const -0.5) (f32.const 0) - (i32.const 4) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1421) + (i32.const 2385) (i32.const 0) ) (unreachable) @@ -31902,18 +47697,21 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1422) + (i32.const 2386) (i32.const 0) ) (unreachable) @@ -31921,8 +47719,11 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const 1) + (call $std/math/test_powf + (f32.neg + (f32.const inf) + ) + (f32.const -2) (f32.const 0) (f32.const 0) (i32.const 0) @@ -31932,7 +47733,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1423) + (i32.const 2387) (i32.const 0) ) (unreachable) @@ -31940,18 +47741,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const -1) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const 1) (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1424) + (i32.const 2388) (i32.const 0) ) (unreachable) @@ -31959,9 +47761,10 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const inf) - (f32.const inf) + (call $std/math/test_powf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -31970,7 +47773,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1425) + (i32.const 2389) (i32.const 0) ) (unreachable) @@ -31978,20 +47781,19 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -2) + (f32.const 1) + (f32.const -2) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1426) + (i32.const 2390) (i32.const 0) ) (unreachable) @@ -31999,9 +47801,10 @@ ) (if (i32.eqz - (call $std/math/test_log10f - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_powf + (f32.const -2) + (f32.const -1) + (f32.const -0.5) (f32.const 0) (i32.const 0) ) @@ -32010,26 +47813,152 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1427) + (i32.const 2391) (i32.const 0) ) (unreachable) ) ) + (call "$(lib)/math/NativeMath.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) + ) + (block $break|0 + (set_local $0 + (i32.const 0) + ) + (loop $continue|0 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e6) + ) + (block + (block + (set_local $1 + (call "$(lib)/math/NativeMath.random") + ) + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $2 + (f64.ge + (get_local $1) + (f64.const 0) + ) + ) + (f64.lt + (get_local $1) + (f64.const 1) + ) + (get_local $2) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2400) + (i32.const 2) + ) + (unreachable) + ) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|0) + ) + ) + ) + ) + (call "$(lib)/math/NativeMathf.seedRandom" + (i64.reinterpret/f64 + (call "$(lib)/math/JSMath.random") + ) + ) + (block $break|1 + (set_local $0 + (i32.const 0) + ) + (loop $continue|1 + (if + (f64.lt + (f64.convert_s/i32 + (get_local $0) + ) + (f64.const 1e6) + ) + (block + (block + (set_local $3 + (call "$(lib)/math/NativeMathf.random") + ) + (if + (i32.eqz + (i32.and + (if (result i32) + (tee_local $2 + (f32.ge + (get_local $3) + (f32.const 0) + ) + ) + (f32.lt + (get_local $3) + (f32.const 1) + ) + (get_local $2) + ) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2408) + (i32.const 2) + ) + (unreachable) + ) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $continue|1) + ) + ) + ) + ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) + (f64.const -8) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1437) + (i32.const 2422) (i32.const 0) ) (unreachable) @@ -32037,10 +47966,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 4.345239849338305) - (f64.const 1.6762064170601734) - (f64.const 0.46188199520111084) + (f64.const 4) + (f64.const 0) (i32.const 1) ) ) @@ -32048,7 +47977,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1438) + (i32.const 2423) (i32.const 0) ) (unreachable) @@ -32056,18 +47985,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) + (f64.const -8) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1439) + (i32.const 2424) (i32.const 0) ) (unreachable) @@ -32075,18 +48004,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) + (f64.const -7) (f64.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1440) + (i32.const 2425) (i32.const 0) ) (unreachable) @@ -32094,10 +48023,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 9.267056966972586) - (f64.const 2.3289404168523826) - (f64.const -0.411114901304245) + (f64.const 9) + (f64.const 0) (i32.const 1) ) ) @@ -32105,7 +48034,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1441) + (i32.const 2426) (i32.const 0) ) (unreachable) @@ -32113,10 +48042,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.6619858980995045) - (f64.const 0.5080132114992477) - (f64.const -0.29306045174598694) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -32124,7 +48053,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1442) + (i32.const 2427) (i32.const 0) ) (unreachable) @@ -32132,10 +48061,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -0.4066039223853553) - (f64.const -0.5218931811663979) - (f64.const -0.25825726985931396) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -32143,7 +48072,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1443) + (i32.const 2428) (i32.const 0) ) (unreachable) @@ -32151,10 +48080,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.5617597462207241) - (f64.const 0.4458132279488102) - (f64.const -0.13274887204170227) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -32162,7 +48091,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1444) + (i32.const 2429) (i32.const 0) ) (unreachable) @@ -32170,10 +48099,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const 0.7741522965913037) - (f64.const 0.5733227294648414) - (f64.const 0.02716583013534546) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -32181,7 +48110,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1445) + (i32.const 2430) (i32.const 0) ) (unreachable) @@ -32189,10 +48118,10 @@ ) (if (i32.eqz - (call $std/math/test_log1p + (call $std/math/test_round (f64.const -0.6787637026394024) - (f64.const -1.1355782978128564) - (f64.const 0.2713092863559723) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -32200,7 +48129,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1446) + (i32.const 2431) (i32.const 0) ) (unreachable) @@ -32208,9 +48137,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const 0) - (f64.const 0) + (call $std/math/test_round + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -32219,7 +48148,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1449) + (i32.const 2434) (i32.const 0) ) (unreachable) @@ -32227,9 +48156,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -0) - (f64.const -0) + (call $std/math/test_round + (f64.const inf) + (f64.const inf) (f64.const 0) (i32.const 0) ) @@ -32238,7 +48167,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1450) + (i32.const 2435) (i32.const 0) ) (unreachable) @@ -32246,37 +48175,22 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -7.888609052210118e-31) - (f64.const -7.888609052210118e-31) - (f64.const 1.7763568394002505e-15) - (i32.const 1) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1451) + (call $std/math/test_round + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) (i32.const 0) ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_log1p - (f64.const 1) - (f64.const 0.6931471805599453) - (f64.const -0.2088811695575714) - (i32.const 1) - ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1452) + (i32.const 2436) (i32.const 0) ) (unreachable) @@ -32284,20 +48198,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const -1) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_round (f64.const 0) - (i32.const 4) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1453) + (i32.const 2437) (i32.const 0) ) (unreachable) @@ -32305,9 +48217,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const inf) - (f64.const inf) + (call $std/math/test_round + (f64.const -0) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -32316,7 +48228,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1454) + (i32.const 2438) (i32.const 0) ) (unreachable) @@ -32324,20 +48236,18 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) + (call $std/math/test_round + (f64.const 1) + (f64.const 1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1455) + (i32.const 2439) (i32.const 0) ) (unreachable) @@ -32345,9 +48255,9 @@ ) (if (i32.eqz - (call $std/math/test_log1p - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_round + (f64.const -1) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -32356,7 +48266,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1456) + (i32.const 2440) (i32.const 0) ) (unreachable) @@ -32364,18 +48274,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const 0.5) + (f64.const 1) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1465) + (i32.const 2441) (i32.const 0) ) (unreachable) @@ -32383,10 +48293,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 4.345239639282227) - (f32.const 1.676206350326538) - (f32.const -0.23014859855175018) + (call $std/math/test_round + (f64.const -0.5) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -32394,7 +48304,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1466) + (i32.const 2442) (i32.const 0) ) (unreachable) @@ -32402,18 +48312,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const 1.5) + (f64.const 2) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1467) + (i32.const 2443) (i32.const 0) ) (unreachable) @@ -32421,18 +48331,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_round + (f64.const -1.5) + (f64.const -2) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1468) + (i32.const 2444) (i32.const 0) ) (unreachable) @@ -32440,10 +48350,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 9.267057418823242) - (f32.const 2.3289403915405273) - (f32.const -0.29075589776039124) + (call $std/math/test_round + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -32451,7 +48361,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1469) + (i32.const 2445) (i32.const 0) ) (unreachable) @@ -32459,10 +48369,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.6619858741760254) - (f32.const 0.5080131888389587) - (f32.const -0.1386766880750656) + (call $std/math/test_round + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -32470,7 +48380,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1470) + (i32.const 2446) (i32.const 0) ) (unreachable) @@ -32478,10 +48388,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0.40660393238067627) - (f32.const -0.5218932032585144) - (f32.const -0.08804433047771454) + (call $std/math/test_round + (f64.const 0.9999923706054688) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -32489,7 +48399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1471) + (i32.const 2447) (i32.const 0) ) (unreachable) @@ -32497,10 +48407,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.5617597699165344) - (f32.const 0.44581323862075806) - (f32.const -0.15101368725299835) + (call $std/math/test_round + (f64.const -0.9999923706054688) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -32508,7 +48418,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1472) + (i32.const 2448) (i32.const 0) ) (unreachable) @@ -32516,10 +48426,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0.7741522789001465) - (f32.const 0.5733227133750916) - (f32.const -0.10264533013105392) + (call $std/math/test_round + (f64.const 7.888609052210118e-31) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -32527,7 +48437,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1473) + (i32.const 2449) (i32.const 0) ) (unreachable) @@ -32535,10 +48445,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0.6787636876106262) - (f32.const -1.1355782747268677) - (f32.const -0.19879481196403503) + (call $std/math/test_round + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -32546,7 +48456,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1474) + (i32.const 2450) (i32.const 0) ) (unreachable) @@ -32554,18 +48464,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 0) - (f32.const 0) + (call $std/math/test_roundf + (f32.const -8.066848754882812) + (f32.const -8) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1477) + (i32.const 2459) (i32.const 0) ) (unreachable) @@ -32573,18 +48483,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -0) - (f32.const -0) + (call $std/math/test_roundf + (f32.const 4.345239639282227) + (f32.const 4) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1478) + (i32.const 2460) (i32.const 0) ) (unreachable) @@ -32592,10 +48502,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -7.888609052210118e-31) - (f32.const -7.888609052210118e-31) - (f32.const 3.308722450212111e-24) + (call $std/math/test_roundf + (f32.const -8.381433486938477) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -32603,7 +48513,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1479) + (i32.const 2461) (i32.const 0) ) (unreachable) @@ -32611,10 +48521,10 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const 1) - (f32.const 0.6931471824645996) - (f32.const 0.031954795122146606) + (call $std/math/test_roundf + (f32.const -6.531673431396484) + (f32.const -7) + (f32.const 0) (i32.const 1) ) ) @@ -32622,7 +48532,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1480) + (i32.const 2462) (i32.const 0) ) (unreachable) @@ -32630,20 +48540,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -1) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_roundf + (f32.const 9.267057418823242) + (f32.const 9) (f32.const 0) - (i32.const 4) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1481) + (i32.const 2463) (i32.const 0) ) (unreachable) @@ -32651,18 +48559,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const inf) - (f32.const inf) + (call $std/math/test_roundf + (f32.const 0.6619858741760254) + (f32.const 1) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1482) + (i32.const 2464) (i32.const 0) ) (unreachable) @@ -32670,20 +48578,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_roundf + (f32.const -0.40660393238067627) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1483) + (i32.const 2465) (i32.const 0) ) (unreachable) @@ -32691,18 +48597,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_roundf + (f32.const 0.5617597699165344) + (f32.const 1) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1484) + (i32.const 2466) (i32.const 0) ) (unreachable) @@ -32710,21 +48616,18 @@ ) (if (i32.eqz - (call $std/math/test_log1pf - (f32.const -1.1754942106924411e-38) - (f32.const -1.1754942106924411e-38) - (f32.const 4.930380657631324e-32) - (i32.or - (i32.const 1) - (i32.const 8) - ) + (call $std/math/test_roundf + (f32.const 0.7741522789001465) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1485) + (i32.const 2467) (i32.const 0) ) (unreachable) @@ -32732,18 +48635,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -0.6787636876106262) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1495) + (i32.const 2468) (i32.const 0) ) (unreachable) @@ -32751,18 +48654,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 4.345239849338305) - (f64.const 2.1194358133804485) - (f64.const -0.10164877772331238) - (i32.const 1) + (call $std/math/test_roundf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1496) + (i32.const 2471) (i32.const 0) ) (unreachable) @@ -32770,18 +48673,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1497) + (i32.const 2472) (i32.const 0) ) (unreachable) @@ -32789,18 +48692,22 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1498) + (i32.const 2473) (i32.const 0) ) (unreachable) @@ -32808,18 +48715,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 9.267056966972586) - (f64.const 3.2121112403298744) - (f64.const -0.15739446878433228) - (i32.const 1) + (call $std/math/test_roundf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1499) + (i32.const 2474) (i32.const 0) ) (unreachable) @@ -32827,18 +48734,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.6619858980995045) - (f64.const -0.5951276104207402) - (f64.const 0.3321485221385956) - (i32.const 1) + (call $std/math/test_roundf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1500) + (i32.const 2475) (i32.const 0) ) (unreachable) @@ -32846,18 +48753,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1501) + (i32.const 2476) (i32.const 0) ) (unreachable) @@ -32865,18 +48772,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.5617597462207241) - (f64.const -0.8319748453044644) - (f64.const 0.057555437088012695) - (i32.const 1) + (call $std/math/test_roundf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1502) + (i32.const 2477) (i32.const 0) ) (unreachable) @@ -32884,10 +48791,10 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0.7741522965913037) - (f64.const -0.36931068365537134) - (f64.const -0.19838279485702515) + (call $std/math/test_roundf + (f32.const 0.5) + (f32.const 1) + (f32.const 0) (i32.const 1) ) ) @@ -32895,7 +48802,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1503) + (i32.const 2478) (i32.const 0) ) (unreachable) @@ -32903,18 +48810,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const -0.5) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1504) + (i32.const 2479) (i32.const 0) ) (unreachable) @@ -32922,20 +48829,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 0) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_round + (f64.const 1.5) + (f64.const 2) (f64.const 0) - (i32.const 4) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1507) + (i32.const 2480) (i32.const 0) ) (unreachable) @@ -32943,20 +48848,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -0) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_round + (f64.const -1.5) + (f64.const -2) (f64.const 0) - (i32.const 4) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1508) + (i32.const 2481) (i32.const 0) ) (unreachable) @@ -32964,18 +48867,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -7.888609052210118e-31) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1509) + (i32.const 2482) (i32.const 0) ) (unreachable) @@ -32983,18 +48886,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const 1) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_roundf + (f32.const -1.0000152587890625) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1510) + (i32.const 2483) (i32.const 0) ) (unreachable) @@ -33002,18 +48905,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const 0.9999923706054688) + (f32.const 1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1511) + (i32.const 2484) (i32.const 0) ) (unreachable) @@ -33021,18 +48924,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_roundf + (f32.const -0.9999923706054688) + (f32.const -1) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1512) + (i32.const 2485) (i32.const 0) ) (unreachable) @@ -33040,20 +48943,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (call $std/math/test_roundf + (f32.const 7.888609052210118e-31) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1513) + (i32.const 2486) (i32.const 0) ) (unreachable) @@ -33061,18 +48962,18 @@ ) (if (i32.eqz - (call $std/math/test_log2 - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_roundf + (f32.const -7.888609052210118e-31) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1514) + (i32.const 2487) (i32.const 0) ) (unreachable) @@ -33080,18 +48981,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1523) + (i32.const 2498) (i32.const 0) ) (unreachable) @@ -33099,18 +49000,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 4.345239639282227) - (f32.const 2.1194357872009277) - (f32.const 0.18271538615226746) - (i32.const 1) + (call $std/math/test_sign + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1524) + (i32.const 2499) (i32.const 0) ) (unreachable) @@ -33118,18 +49019,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1525) + (i32.const 2500) (i32.const 0) ) (unreachable) @@ -33137,18 +49038,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const 2) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1526) + (i32.const 2501) (i32.const 0) ) (unreachable) @@ -33156,18 +49057,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 9.267057418823242) - (f32.const 3.212111234664917) - (f32.const -0.3188050389289856) - (i32.const 1) + (call $std/math/test_sign + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1527) + (i32.const 2502) (i32.const 0) ) (unreachable) @@ -33175,18 +49076,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.6619858741760254) - (f32.const -0.5951276421546936) - (f32.const 0.34231460094451904) - (i32.const 1) + (call $std/math/test_sign + (f64.const -2) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1528) + (i32.const 2503) (i32.const 0) ) (unreachable) @@ -33194,18 +49095,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sign + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1529) + (i32.const 2504) (i32.const 0) ) (unreachable) @@ -33213,18 +49114,20 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.5617597699165344) - (f32.const -0.8319748044013977) - (f32.const -0.33473604917526245) - (i32.const 1) + (call $std/math/test_sign + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1530) + (i32.const 2505) (i32.const 0) ) (unreachable) @@ -33232,18 +49135,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0.7741522789001465) - (f32.const -0.3693107068538666) - (f32.const 0.3278401792049408) - (i32.const 1) + (call $std/math/test_sign + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1531) + (i32.const 2506) (i32.const 0) ) (unreachable) @@ -33251,18 +49154,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_signf (f32.const 0) - (i32.const 2) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1532) + (i32.const 2514) (i32.const 0) ) (unreachable) @@ -33270,20 +49173,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 0) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_signf + (f32.const -0) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1535) + (i32.const 2515) (i32.const 0) ) (unreachable) @@ -33291,20 +49192,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -0) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_signf + (f32.const 1) + (f32.const 1) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1536) + (i32.const 2516) (i32.const 0) ) (unreachable) @@ -33312,18 +49211,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const -7.888609052210118e-31) - (f32.const nan:0x400000) + (call $std/math/test_signf + (f32.const 2) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1537) + (i32.const 2517) (i32.const 0) ) (unreachable) @@ -33331,9 +49230,9 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const 1) - (f32.const 0) + (call $std/math/test_signf + (f32.const -1) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -33342,7 +49241,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1538) + (i32.const 2518) (i32.const 0) ) (unreachable) @@ -33350,18 +49249,18 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf + (f32.const -2) (f32.const -1) - (f32.const nan:0x400000) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1539) + (i32.const 2519) (i32.const 0) ) (unreachable) @@ -33369,9 +49268,9 @@ ) (if (i32.eqz - (call $std/math/test_log2f - (f32.const inf) + (call $std/math/test_signf (f32.const inf) + (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -33380,7 +49279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1540) + (i32.const 2520) (i32.const 0) ) (unreachable) @@ -33388,20 +49287,20 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf (f32.neg (f32.const inf) ) - (f32.const nan:0x400000) + (f32.const -1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1541) + (i32.const 2521) (i32.const 0) ) (unreachable) @@ -33409,7 +49308,7 @@ ) (if (i32.eqz - (call $std/math/test_log2f + (call $std/math/test_signf (f32.const nan:0x400000) (f32.const nan:0x400000) (f32.const 0) @@ -33420,7 +49319,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1542) + (i32.const 2522) (i32.const 0) ) (unreachable) @@ -33428,19 +49327,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -8.06684839057968) (f64.const 4.535662560676869) - (f64.const nan:0x8000000000000) + (f64.const 1.0044767307740567) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1552) + (i32.const 2533) (i32.const 0) ) (unreachable) @@ -33448,19 +49347,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 4.345239849338305) (f64.const -8.88799136300345) - (f64.const 2.1347118825587285e-06) - (f64.const 0.3250160217285156) - (i32.const 1) + (f64.const 4.345239849338305) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1553) + (i32.const 2534) (i32.const 0) ) (unreachable) @@ -33468,19 +49367,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -8.38143342755525) (f64.const -2.763607337379588) - (f64.const nan:0x8000000000000) + (f64.const -0.09061141541648476) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1554) + (i32.const 2535) (i32.const 0) ) (unreachable) @@ -33488,19 +49387,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -6.531673581913484) (f64.const 4.567535276842744) - (f64.const nan:0x8000000000000) + (f64.const -1.9641383050707404) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1555) + (i32.const 2536) (i32.const 0) ) (unreachable) @@ -33508,19 +49407,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 9.267056966972586) (f64.const 4.811392084359796) - (f64.const 44909.29941512966) - (f64.const -0.26659080386161804) - (i32.const 1) + (f64.const -0.35572720174700656) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1556) + (i32.const 2537) (i32.const 0) ) (unreachable) @@ -33528,19 +49427,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -6.450045556060236) (f64.const 0.6620717923376739) - (f64.const nan:0x8000000000000) + (f64.const 0.17067236731650248) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1557) + (i32.const 2538) (i32.const 0) ) (unreachable) @@ -33548,19 +49447,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 7.858890253041697) (f64.const 0.05215452675006225) - (f64.const 1.1135177413458652) - (f64.const -0.37168607115745544) - (i32.const 1) + (f64.const -0.016443286217702822) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1558) + (i32.const 2539) (i32.const 0) ) (unreachable) @@ -33568,19 +49467,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -0.792054511984896) (f64.const 7.67640268511754) - (f64.const nan:0x8000000000000) + (f64.const -0.792054511984896) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1559) + (i32.const 2540) (i32.const 0) ) (unreachable) @@ -33588,19 +49487,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 0.615702673197924) (f64.const 2.0119025790324803) - (f64.const 0.37690773521380183) - (f64.const 0.32473301887512207) - (i32.const 1) + (f64.const 0.615702673197924) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1560) + (i32.const 2541) (i32.const 0) ) (unreachable) @@ -33608,30 +49507,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -0.5587586823609152) (f64.const 0.03223983060263804) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1561) - (i32.const 0) - ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (f64.const -0.0106815621160685) (f64.const 0) (i32.const 0) ) @@ -33640,7 +49519,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1564) + (i32.const 2542) (i32.const 0) ) (unreachable) @@ -33648,9 +49527,9 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const 0) - (f64.const inf) + (f64.const 1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -33660,7 +49539,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1565) + (i32.const 2545) (i32.const 0) ) (unreachable) @@ -33668,10 +49547,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 3) - (f64.const 0) + (call $std/math/test_rem + (f64.const -0) + (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -33680,7 +49559,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1566) + (i32.const 2546) (i32.const 0) ) (unreachable) @@ -33688,10 +49567,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 2) - (f64.const 0) + (call $std/math/test_rem + (f64.const 0.5) + (f64.const 1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -33700,7 +49579,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1567) + (i32.const 2547) (i32.const 0) ) (unreachable) @@ -33708,10 +49587,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) + (call $std/math/test_rem + (f64.const -0.5) (f64.const 1) - (f64.const 0) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -33720,7 +49599,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1568) + (i32.const 2548) (i32.const 0) ) (unreachable) @@ -33728,9 +49607,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 0.5) + (call $std/math/test_rem + (f64.const 1) + (f64.const 1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -33740,7 +49619,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1569) + (i32.const 2549) (i32.const 0) ) (unreachable) @@ -33748,10 +49627,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const 0) + (call $std/math/test_rem + (f64.const -1) (f64.const 1) + (f64.const -0) (f64.const 0) (i32.const 0) ) @@ -33760,7 +49639,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1570) + (i32.const 2550) (i32.const 0) ) (unreachable) @@ -33768,10 +49647,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -0) + (call $std/math/test_rem + (f64.const 1.5) (f64.const 1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -33780,7 +49659,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1571) + (i32.const 2551) (i32.const 0) ) (unreachable) @@ -33788,39 +49667,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -0.5) - (f64.const inf) + (call $std/math/test_rem + (f64.const -1.5) + (f64.const 1) + (f64.const 0.5) (f64.const 0) - (i32.const 4) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1572) (i32.const 0) ) - (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -1) - (f64.const inf) - (f64.const 0) - (i32.const 4) - ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1573) + (i32.const 2552) (i32.const 0) ) (unreachable) @@ -33828,19 +49687,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 2) + (f64.const 1) (f64.const 0) - (f64.const -2) - (f64.const inf) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1574) + (i32.const 2553) (i32.const 0) ) (unreachable) @@ -33848,19 +49707,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -3) - (f64.const inf) + (call $std/math/test_rem + (f64.const -2) + (f64.const 1) + (f64.const -0) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1575) + (i32.const 2554) (i32.const 0) ) (unreachable) @@ -33868,19 +49727,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) - (f64.const -4) + (call $std/math/test_rem (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1576) + (i32.const 2555) (i32.const 0) ) (unreachable) @@ -33888,21 +49747,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0) + (call $std/math/test_rem (f64.neg (f64.const inf) ) - (f64.const inf) + (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1577) + (i32.const 2556) (i32.const 0) ) (unreachable) @@ -33910,9 +49769,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) + (call $std/math/test_rem (f64.const nan:0x8000000000000) + (f64.const 1) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) @@ -33922,7 +49781,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1578) + (i32.const 2557) (i32.const 0) ) (unreachable) @@ -33930,9 +49789,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const inf) + (call $std/math/test_rem + (f64.const 0) + (f64.const -1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -33942,7 +49801,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1579) + (i32.const 2558) (i32.const 0) ) (unreachable) @@ -33950,9 +49809,9 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -0) - (f64.const 3) + (f64.const -1) (f64.const -0) (f64.const 0) (i32.const 0) @@ -33962,7 +49821,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1580) + (i32.const 2559) (i32.const 0) ) (unreachable) @@ -33970,10 +49829,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 2) - (f64.const 0) + (call $std/math/test_rem + (f64.const 0.5) + (f64.const -1) + (f64.const 0.5) (f64.const 0) (i32.const 0) ) @@ -33982,7 +49841,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1581) + (i32.const 2560) (i32.const 0) ) (unreachable) @@ -33990,10 +49849,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 1) - (f64.const -0) + (call $std/math/test_rem + (f64.const -0.5) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -34002,7 +49861,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1582) + (i32.const 2561) (i32.const 0) ) (unreachable) @@ -34010,9 +49869,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const 0.5) + (call $std/math/test_rem + (f64.const 1) + (f64.const -1) (f64.const 0) (f64.const 0) (i32.const 0) @@ -34022,7 +49881,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1583) + (i32.const 2562) (i32.const 0) ) (unreachable) @@ -34030,11 +49889,11 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -1) + (f64.const -1) (f64.const -0) (f64.const 0) - (f64.const 1) - (f64.const 0) (i32.const 0) ) ) @@ -34042,7 +49901,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1584) + (i32.const 2563) (i32.const 0) ) (unreachable) @@ -34050,10 +49909,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const 1.5) + (f64.const -1) + (f64.const -0.5) (f64.const 0) (i32.const 0) ) @@ -34062,7 +49921,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1585) + (i32.const 2564) (i32.const 0) ) (unreachable) @@ -34070,19 +49929,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -0.5) - (f64.const inf) + (call $std/math/test_rem + (f64.const -1.5) + (f64.const -1) + (f64.const 0.5) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1586) + (i32.const 2565) (i32.const 0) ) (unreachable) @@ -34090,21 +49949,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) + (call $std/math/test_rem + (f64.const 2) (f64.const -1) - (f64.neg - (f64.const inf) - ) (f64.const 0) - (i32.const 4) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1587) + (i32.const 2566) (i32.const 0) ) (unreachable) @@ -34112,19 +49969,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) + (call $std/math/test_rem (f64.const -2) - (f64.const inf) + (f64.const -1) + (f64.const -0) (f64.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1588) + (i32.const 2567) (i32.const 0) ) (unreachable) @@ -34132,21 +49989,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -3) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_rem + (f64.const inf) + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1589) + (i32.const 2568) (i32.const 0) ) (unreachable) @@ -34154,19 +50009,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.const -4) - (f64.const inf) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1590) + (i32.const 2569) (i32.const 0) ) (unreachable) @@ -34174,12 +50031,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0) - (f64.neg - (f64.const inf) - ) - (f64.const inf) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34188,7 +50043,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1591) + (i32.const 2570) (i32.const 0) ) (unreachable) @@ -34196,19 +50051,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) + (call $std/math/test_rem (f64.const 0) - (f64.const 1) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1592) + (i32.const 2571) (i32.const 0) ) (unreachable) @@ -34216,19 +50071,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) + (call $std/math/test_rem (f64.const 0) - (f64.const 1) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1593) + (i32.const 2572) (i32.const 0) ) (unreachable) @@ -34236,12 +50091,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) + (call $std/math/test_rem + (f64.const 0) + (f64.const inf) (f64.const 0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -34250,7 +50103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1594) + (i32.const 2573) (i32.const 0) ) (unreachable) @@ -34258,10 +50111,12 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem + (f64.const 0) + (f64.neg + (f64.const inf) + ) (f64.const 0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -34270,7 +50125,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1595) + (i32.const 2574) (i32.const 0) ) (unreachable) @@ -34278,10 +50133,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) + (call $std/math/test_rem (f64.const 0) - (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34290,7 +50145,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1596) + (i32.const 2575) (i32.const 0) ) (unreachable) @@ -34298,19 +50153,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) + (call $std/math/test_rem + (f64.const -0) (f64.const 0) - (f64.const 1) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1597) + (i32.const 2576) (i32.const 0) ) (unreachable) @@ -34318,19 +50173,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) + (call $std/math/test_rem (f64.const -0) - (f64.const 1) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1598) + (i32.const 2577) (i32.const 0) ) (unreachable) @@ -34338,10 +50193,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -0) (f64.const inf) (f64.const -0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -34350,7 +50205,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1599) + (i32.const 2578) (i32.const 0) ) (unreachable) @@ -34358,12 +50213,12 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const -0) (f64.neg (f64.const inf) ) (f64.const -0) - (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -34372,7 +50227,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1600) + (i32.const 2579) (i32.const 0) ) (unreachable) @@ -34380,10 +50235,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem (f64.const -0) - (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34392,7 +50247,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1601) + (i32.const 2580) (i32.const 0) ) (unreachable) @@ -34400,19 +50255,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -0) + (call $std/math/test_rem (f64.const 1) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1602) + (i32.const 2581) (i32.const 0) ) (unreachable) @@ -34420,19 +50275,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const -0) - (f64.const 1) + (call $std/math/test_rem + (f64.const -1) (f64.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1603) + (i32.const 2582) (i32.const 0) ) (unreachable) @@ -34440,19 +50295,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const inf) + (f64.const 0) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1604) + (i32.const 2583) (i32.const 0) ) (unreachable) @@ -34460,19 +50315,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const inf) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) + (f64.const 0) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1605) + (i32.const 2584) (i32.const 0) ) (unreachable) @@ -34480,11 +50337,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.neg - (f64.const inf) - ) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const 0) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) @@ -34494,7 +50349,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1606) + (i32.const 2585) (i32.const 0) ) (unreachable) @@ -34502,19 +50357,19 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem (f64.const -1) - (f64.const 2) - (f64.const 1) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1607) + (i32.const 2586) (i32.const 0) ) (unreachable) @@ -34522,19 +50377,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -1) - (f64.const -1) + (call $std/math/test_rem + (f64.const inf) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1608) + (i32.const 2587) (i32.const 0) ) (unreachable) @@ -34542,19 +50397,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -2) - (f64.const 1) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1609) + (i32.const 2588) (i32.const 0) ) (unreachable) @@ -34562,10 +50419,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const -3) - (f64.const -1) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const -0) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34574,7 +50431,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1610) + (i32.const 2589) (i32.const 0) ) (unreachable) @@ -34582,9 +50439,9 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -1) - (f64.const 0.5) + (call $std/math/test_rem + (f64.const inf) + (f64.const 2) (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 2) @@ -34594,7 +50451,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1611) + (i32.const 2590) (i32.const 0) ) (unreachable) @@ -34602,19 +50459,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const inf) + (f64.const -0.5) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1612) + (i32.const 2591) (i32.const 0) ) (unreachable) @@ -34622,10 +50479,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem (f64.const inf) (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34634,7 +50491,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1613) + (i32.const 2592) (i32.const 0) ) (unreachable) @@ -34642,21 +50499,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) + (call $std/math/test_rem (f64.neg (f64.const inf) ) + (f64.const 2) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1614) + (i32.const 2593) (i32.const 0) ) (unreachable) @@ -34664,19 +50521,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const 3) - (f64.const 1) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) + (f64.const -0.5) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1615) + (i32.const 2594) (i32.const 0) ) (unreachable) @@ -34684,10 +50543,12 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const 0.5) - (f64.const 1) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34696,7 +50557,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1616) + (i32.const 2595) (i32.const 0) ) (unreachable) @@ -34704,10 +50565,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const -0.5) - (f64.const 1) + (call $std/math/test_rem + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34716,7 +50577,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1617) + (i32.const 2596) (i32.const 0) ) (unreachable) @@ -34724,10 +50585,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1) - (f64.const -3) + (call $std/math/test_rem (f64.const 1) + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) (f64.const 0) (i32.const 0) ) @@ -34736,7 +50597,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1618) + (i32.const 2597) (i32.const 0) ) (unreachable) @@ -34744,19 +50605,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 0.5) + (call $std/math/test_rem + (f64.const -1) + (f64.const nan:0x8000000000000) (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1619) + (i32.const 2598) (i32.const 0) ) (unreachable) @@ -34764,19 +50625,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 1.5) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const 1) + (f64.const inf) + (f64.const 1) (f64.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1620) + (i32.const 2599) (i32.const 0) ) (unreachable) @@ -34784,10 +50645,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 2) - (f64.const 0.25) + (call $std/math/test_rem + (f64.const -1) + (f64.const inf) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -34796,7 +50657,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1621) + (i32.const 2600) (i32.const 0) ) (unreachable) @@ -34804,19 +50665,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const 3) - (f64.const -0.125) + (call $std/math/test_rem + (f64.const inf) + (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1622) + (i32.const 2601) (i32.const 0) ) (unreachable) @@ -34824,19 +50685,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) + (call $std/math/test_rem + (f64.neg + (f64.const inf) + ) (f64.const inf) + (f64.const nan:0x8000000000000) (f64.const 0) - (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1623) + (i32.const 2602) (i32.const 0) ) (unreachable) @@ -34844,12 +50707,12 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) + (call $std/math/test_rem + (f64.const 1) (f64.neg (f64.const inf) ) - (f64.const inf) + (f64.const 1) (f64.const 0) (i32.const 0) ) @@ -34858,7 +50721,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1624) + (i32.const 2603) (i32.const 0) ) (unreachable) @@ -34866,10 +50729,12 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -1) + (f64.neg + (f64.const inf) + ) + (f64.const -1) (f64.const 0) (i32.const 0) ) @@ -34878,7 +50743,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1625) + (i32.const 2604) (i32.const 0) ) (unreachable) @@ -34886,19 +50751,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0.5) + (call $std/math/test_rem (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) (f64.const 0) - (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1626) + (i32.const 2605) (i32.const 0) ) (unreachable) @@ -34906,21 +50773,23 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 0.5) + (call $std/math/test_rem (f64.neg (f64.const inf) ) - (f64.const inf) + (f64.neg + (f64.const inf) + ) + (f64.const nan:0x8000000000000) (f64.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1627) + (i32.const 2606) (i32.const 0) ) (unreachable) @@ -34928,10 +50797,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 1.75) (f64.const 0.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -34940,7 +50809,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1628) + (i32.const 2607) (i32.const 0) ) (unreachable) @@ -34948,10 +50817,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.const inf) - (f64.const inf) + (call $std/math/test_rem + (f64.const -1.75) + (f64.const 0.5) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -34960,7 +50829,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1629) + (i32.const 2608) (i32.const 0) ) (unreachable) @@ -34968,12 +50837,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_rem + (f64.const 1.75) + (f64.const -0.5) + (f64.const -0.25) (f64.const 0) (i32.const 0) ) @@ -34982,7 +50849,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1630) + (i32.const 2609) (i32.const 0) ) (unreachable) @@ -34990,10 +50857,10 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const 1.5) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (call $std/math/test_rem + (f64.const -1.75) + (f64.const -0.5) + (f64.const 0.25) (f64.const 0) (i32.const 0) ) @@ -35002,7 +50869,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1631) + (i32.const 2610) (i32.const 0) ) (unreachable) @@ -35010,10 +50877,10 @@ ) (if (i32.eqz - (call $std/math/test_pow + (call $std/math/test_rem + (f64.const 8e-323) (f64.const inf) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) + (f64.const 8e-323) (f64.const 0) (i32.const 0) ) @@ -35022,19 +50889,19 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1632) + (i32.const 2611) (i32.const 0) ) (unreachable) - ) - ) - (if - (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const inf) - (f64.const inf) - (f64.const 0) + ) + ) + (if + (i32.eqz + (call $std/math/test_remf + (f32.const -8.066848754882812) + (f32.const 4.535662651062012) + (f32.const 1.004476547241211) + (f32.const 0) (i32.const 0) ) ) @@ -35042,7 +50909,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1633) + (i32.const 2620) (i32.const 0) ) (unreachable) @@ -35050,13 +50917,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 4.345239639282227) + (f32.const -8.887990951538086) + (f32.const 4.345239639282227) + (f32.const 0) (i32.const 0) ) ) @@ -35064,7 +50929,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1634) + (i32.const 2621) (i32.const 0) ) (unreachable) @@ -35072,11 +50937,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 3) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -8.381433486938477) + (f32.const -2.7636072635650635) + (f32.const -0.09061169624328613) + (f32.const 0) (i32.const 0) ) ) @@ -35084,7 +50949,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1635) + (i32.const 2622) (i32.const 0) ) (unreachable) @@ -35092,11 +50957,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 2) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -6.531673431396484) + (f32.const 4.567535400390625) + (f32.const -1.9641380310058594) + (f32.const 0) (i32.const 0) ) ) @@ -35104,7 +50969,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1636) + (i32.const 2623) (i32.const 0) ) (unreachable) @@ -35112,11 +50977,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 1) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 9.267057418823242) + (f32.const 4.811392307281494) + (f32.const -0.3557271957397461) + (f32.const 0) (i32.const 0) ) ) @@ -35124,7 +50989,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1637) + (i32.const 2624) (i32.const 0) ) (unreachable) @@ -35132,11 +50997,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -6.450045585632324) + (f32.const 0.6620717644691467) + (f32.const 0.17067205905914307) + (f32.const 0) (i32.const 0) ) ) @@ -35144,7 +51009,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1638) + (i32.const 2625) (i32.const 0) ) (unreachable) @@ -35152,11 +51017,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 7.858890056610107) + (f32.const 0.052154526114463806) + (f32.const -0.016443386673927307) + (f32.const 0) (i32.const 0) ) ) @@ -35164,7 +51029,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1639) + (i32.const 2626) (i32.const 0) ) (unreachable) @@ -35172,11 +51037,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -1) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.7920545339584351) + (f32.const 7.676402568817139) + (f32.const -0.7920545339584351) + (f32.const 0) (i32.const 0) ) ) @@ -35184,7 +51049,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1640) + (i32.const 2627) (i32.const 0) ) (unreachable) @@ -35192,11 +51057,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const inf) - (f64.const -2) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0.6157026886940002) + (f32.const 2.0119025707244873) + (f32.const 0.6157026886940002) + (f32.const 0) (i32.const 0) ) ) @@ -35204,7 +51069,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1641) + (i32.const 2628) (i32.const 0) ) (unreachable) @@ -35212,13 +51077,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.5587586760520935) + (f32.const 0.03223983198404312) + (f32.const -0.010681532323360443) + (f32.const 0) (i32.const 0) ) ) @@ -35226,7 +51089,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1642) + (i32.const 2629) (i32.const 0) ) (unreachable) @@ -35234,13 +51097,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const inf) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -35248,7 +51109,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1643) + (i32.const 2632) (i32.const 0) ) (unreachable) @@ -35256,15 +51117,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -35272,7 +51129,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1644) + (i32.const 2633) (i32.const 0) ) (unreachable) @@ -35280,15 +51137,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const 3) - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_remf + (f32.const 0.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -35296,7 +51149,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1645) + (i32.const 2634) (i32.const 0) ) (unreachable) @@ -35304,13 +51157,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const 2) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -0.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -35318,7 +51169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1646) + (i32.const 2635) (i32.const 0) ) (unreachable) @@ -35326,15 +51177,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const 1) - (f64.neg - (f64.const inf) - ) - (f64.const 0) + (call $std/math/test_remf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -35342,7 +51189,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1647) + (i32.const 2636) (i32.const 0) ) (unreachable) @@ -35350,13 +51197,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const 0.5) - (f64.const inf) - (f64.const 0) + (call $std/math/test_remf + (f32.const -1) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -35364,7 +51209,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1648) + (i32.const 2637) (i32.const 0) ) (unreachable) @@ -35372,13 +51217,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const -0.5) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 1.5) + (f32.const 1) + (f32.const -0.5) + (f32.const 0) (i32.const 0) ) ) @@ -35386,7 +51229,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1649) + (i32.const 2638) (i32.const 0) ) (unreachable) @@ -35394,13 +51237,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const -1) - (f64.const -0) - (f64.const 0) + (call $std/math/test_remf + (f32.const -1.5) + (f32.const 1) + (f32.const 0.5) + (f32.const 0) (i32.const 0) ) ) @@ -35408,7 +51249,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1650) + (i32.const 2639) (i32.const 0) ) (unreachable) @@ -35416,13 +51257,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.neg - (f64.const inf) - ) - (f64.const -2) - (f64.const 0) - (f64.const 0) + (call $std/math/test_remf + (f32.const 2) + (f32.const 1) + (f32.const 0) + (f32.const 0) (i32.const 0) ) ) @@ -35430,7 +51269,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1651) + (i32.const 2640) (i32.const 0) ) (unreachable) @@ -35438,11 +51277,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const 1) - (f64.const nan:0x8000000000000) - (f64.const 0) + (call $std/math/test_remf + (f32.const -2) + (f32.const 1) + (f32.const -0) + (f32.const 0) (i32.const 0) ) ) @@ -35450,7 +51289,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1652) + (i32.const 2641) (i32.const 0) ) (unreachable) @@ -35458,19 +51297,19 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const nan:0x8000000000000) - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_remf + (f32.const inf) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1653) + (i32.const 2642) (i32.const 0) ) (unreachable) @@ -35478,19 +51317,21 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -2) - (f64.const 1) - (f64.const -2) - (f64.const 0) - (i32.const 0) + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1654) + (i32.const 2643) (i32.const 0) ) (unreachable) @@ -35498,11 +51339,11 @@ ) (if (i32.eqz - (call $std/math/test_pow - (f64.const -2) - (f64.const -1) - (f64.const -0.5) - (f64.const 0) + (call $std/math/test_remf + (f32.const nan:0x400000) + (f32.const 1) + (f32.const nan:0x400000) + (f32.const 0) (i32.const 0) ) ) @@ -35510,7 +51351,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1655) + (i32.const 2644) (i32.const 0) ) (unreachable) @@ -35518,19 +51359,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -8.066848754882812) - (f32.const 4.535662651062012) - (f32.const nan:0x400000) + (call $std/math/test_remf (f32.const 0) - (i32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1664) + (i32.const 2645) (i32.const 0) ) (unreachable) @@ -35538,19 +51379,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 4.345239639282227) - (f32.const -8.887990951538086) - (f32.const 2.134714122803416e-06) - (f32.const 0.1436440795660019) - (i32.const 1) + (call $std/math/test_remf + (f32.const -0) + (f32.const -1) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1665) + (i32.const 2646) (i32.const 0) ) (unreachable) @@ -35558,19 +51399,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -8.381433486938477) - (f32.const -2.7636072635650635) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const 0.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1666) + (i32.const 2647) (i32.const 0) ) (unreachable) @@ -35578,19 +51419,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -6.531673431396484) - (f32.const 4.567535400390625) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -0.5) + (f32.const -1) + (f32.const -0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1667) + (i32.const 2648) (i32.const 0) ) (unreachable) @@ -35598,19 +51439,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 9.267057418823242) - (f32.const 4.811392307281494) - (f32.const 44909.33203125) - (f32.const -0.05356409028172493) - (i32.const 1) + (call $std/math/test_remf + (f32.const 1) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1668) + (i32.const 2649) (i32.const 0) ) (unreachable) @@ -35618,19 +51459,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -6.450045585632324) - (f32.const 0.6620717644691467) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1669) + (i32.const 2650) (i32.const 0) ) (unreachable) @@ -35638,19 +51479,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 7.858890056610107) - (f32.const 0.052154526114463806) - (f32.const 1.1135177612304688) - (f32.const 0.19122089445590973) - (i32.const 1) + (call $std/math/test_remf + (f32.const 1.5) + (f32.const -1) + (f32.const -0.5) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1670) + (i32.const 2651) (i32.const 0) ) (unreachable) @@ -35658,19 +51499,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.7920545339584351) - (f32.const 7.676402568817139) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1.5) + (f32.const -1) + (f32.const 0.5) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1671) + (i32.const 2652) (i32.const 0) ) (unreachable) @@ -35678,19 +51519,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.6157026886940002) - (f32.const 2.0119025707244873) - (f32.const 0.3769077658653259) - (f32.const 0.337149053812027) - (i32.const 1) + (call $std/math/test_remf + (f32.const 2) + (f32.const -1) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1672) + (i32.const 2653) (i32.const 0) ) (unreachable) @@ -35698,19 +51539,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5587586760520935) - (f32.const 0.03223983198404312) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -2) + (f32.const -1) + (f32.const -0) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1673) + (i32.const 2654) (i32.const 0) ) (unreachable) @@ -35718,19 +51559,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const inf) + (f32.const -1) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1676) + (i32.const 2655) (i32.const 0) ) (unreachable) @@ -35738,19 +51579,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const inf) - (f32.const 0) + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1677) + (i32.const 2656) (i32.const 0) ) (unreachable) @@ -35758,10 +51601,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const 3) - (f32.const 0) + (call $std/math/test_remf + (f32.const nan:0x400000) + (f32.const -1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -35770,7 +51613,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1678) + (i32.const 2657) (i32.const 0) ) (unreachable) @@ -35778,19 +51621,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const 2) (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1679) + (i32.const 2658) (i32.const 0) ) (unreachable) @@ -35798,19 +51641,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf (f32.const 0) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1680) + (i32.const 2659) (i32.const 0) ) (unreachable) @@ -35818,9 +51661,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const 0.5) + (f32.const inf) (f32.const 0) (f32.const 0) (i32.const 0) @@ -35830,7 +51673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1681) + (i32.const 2660) (i32.const 0) ) (unreachable) @@ -35838,10 +51681,12 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) + (f32.neg + (f32.const inf) + ) (f32.const 0) - (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -35850,7 +51695,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1682) + (i32.const 2661) (i32.const 0) ) (unreachable) @@ -35858,10 +51703,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 0) - (f32.const -0) - (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -35870,7 +51715,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1683) + (i32.const 2662) (i32.const 0) ) (unreachable) @@ -35878,19 +51723,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const -0) (f32.const 0) - (f32.const -0.5) - (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1684) + (i32.const 2663) (i32.const 0) ) (unreachable) @@ -35898,19 +51743,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -1) - (f32.const inf) + (call $std/math/test_remf + (f32.const -0) + (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1685) + (i32.const 2664) (i32.const 0) ) (unreachable) @@ -35918,19 +51763,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -2) + (call $std/math/test_remf + (f32.const -0) (f32.const inf) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1686) + (i32.const 2665) (i32.const 0) ) (unreachable) @@ -35938,19 +51783,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -3) - (f32.const inf) + (call $std/math/test_remf + (f32.const -0) + (f32.neg + (f32.const inf) + ) + (f32.const -0) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1687) + (i32.const 2666) (i32.const 0) ) (unreachable) @@ -35958,19 +51805,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.const -4) - (f32.const inf) + (call $std/math/test_remf + (f32.const -0) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1688) + (i32.const 2667) (i32.const 0) ) (unreachable) @@ -35978,21 +51825,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0) - (f32.neg - (f32.const inf) - ) - (f32.const inf) + (call $std/math/test_remf + (f32.const 1) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1689) + (i32.const 2668) (i32.const 0) ) (unreachable) @@ -36000,19 +51845,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1) + (f32.const 0) (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1690) + (i32.const 2669) (i32.const 0) ) (unreachable) @@ -36020,19 +51865,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) + (call $std/math/test_remf (f32.const inf) (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1691) + (i32.const 2670) (i32.const 0) ) (unreachable) @@ -36040,19 +51885,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 3) - (f32.const -0) + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) (f32.const 0) - (i32.const 0) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1692) + (i32.const 2671) (i32.const 0) ) (unreachable) @@ -36060,10 +51907,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 2) + (call $std/math/test_remf + (f32.const nan:0x400000) (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -36072,7 +51919,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1693) + (i32.const 2672) (i32.const 0) ) (unreachable) @@ -36080,19 +51927,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -1) (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1694) + (i32.const 2673) (i32.const 0) ) (unreachable) @@ -36100,19 +51947,19 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const inf) (f32.const -0) - (f32.const 0.5) - (f32.const 0) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1695) + (i32.const 2674) (i32.const 0) ) (unreachable) @@ -36120,19 +51967,21 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) (f32.const -0) + (f32.const nan:0x400000) (f32.const 0) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1696) + (i32.const 2675) (i32.const 0) ) (unreachable) @@ -36140,10 +51989,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) + (call $std/math/test_remf + (f32.const nan:0x400000) (f32.const -0) - (f32.const 1) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -36152,7 +52001,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1697) + (i32.const 2676) (i32.const 0) ) (unreachable) @@ -36160,19 +52009,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -0.5) + (call $std/math/test_remf (f32.const inf) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1698) + (i32.const 2677) (i32.const 0) ) (unreachable) @@ -36180,21 +52029,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -1) - (f32.neg - (f32.const inf) - ) + (call $std/math/test_remf + (f32.const inf) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1699) + (i32.const 2678) (i32.const 0) ) (unreachable) @@ -36202,19 +52049,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -2) + (call $std/math/test_remf (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1700) + (i32.const 2679) (i32.const 0) ) (unreachable) @@ -36222,21 +52069,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -3) + (call $std/math/test_remf (f32.neg (f32.const inf) ) + (f32.const 2) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1701) + (i32.const 2680) (i32.const 0) ) (unreachable) @@ -36244,19 +52091,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) - (f32.const -4) - (f32.const inf) + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) + (f32.const -0.5) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 4) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1702) + (i32.const 2681) (i32.const 0) ) (unreachable) @@ -36264,12 +52113,12 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0) + (call $std/math/test_remf (f32.neg (f32.const inf) ) - (f32.const inf) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -36278,7 +52127,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1703) + (i32.const 2682) (i32.const 0) ) (unreachable) @@ -36286,10 +52135,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const nan:0x400000) - (f32.const 0) - (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -36298,7 +52147,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1704) + (i32.const 2683) (i32.const 0) ) (unreachable) @@ -36306,10 +52155,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 0) + (call $std/math/test_remf (f32.const 1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -36318,7 +52167,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1705) + (i32.const 2684) (i32.const 0) ) (unreachable) @@ -36326,12 +52175,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -36340,7 +52187,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1706) + (i32.const 2685) (i32.const 0) ) (unreachable) @@ -36348,9 +52195,9 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf (f32.const 1) - (f32.const 0) + (f32.const inf) (f32.const 1) (f32.const 0) (i32.const 0) @@ -36360,7 +52207,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1707) + (i32.const 2686) (i32.const 0) ) (unreachable) @@ -36368,10 +52215,10 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const -1) + (f32.const inf) (f32.const -1) - (f32.const 0) - (f32.const 1) (f32.const 0) (i32.const 0) ) @@ -36380,7 +52227,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1708) + (i32.const 2687) (i32.const 0) ) (unreachable) @@ -36388,19 +52235,19 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0) - (f32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.const inf) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1709) + (i32.const 2688) (i32.const 0) ) (unreachable) @@ -36408,19 +52255,21 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) + (f32.const inf) (f32.const nan:0x400000) - (f32.const -0) - (f32.const 1) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1710) + (i32.const 2689) (i32.const 0) ) (unreachable) @@ -36428,9 +52277,11 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -0) + (call $std/math/test_remf + (f32.const 1) + (f32.neg + (f32.const inf) + ) (f32.const 1) (f32.const 0) (i32.const 0) @@ -36440,7 +52291,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1711) + (i32.const 2690) (i32.const 0) ) (unreachable) @@ -36448,12 +52299,12 @@ ) (if (i32.eqz - (call $std/math/test_powf + (call $std/math/test_remf + (f32.const -1) (f32.neg (f32.const inf) ) - (f32.const -0) - (f32.const 1) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -36462,7 +52313,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1712) + (i32.const 2691) (i32.const 0) ) (unreachable) @@ -36470,19 +52321,21 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const inf) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1713) + (i32.const 2692) (i32.const 0) ) (unreachable) @@ -36490,19 +52343,23 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) (f32.const 0) - (i32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1714) + (i32.const 2693) (i32.const 0) ) (unreachable) @@ -36510,10 +52367,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const -0) - (f32.const 1) + (call $std/math/test_remf + (f32.const 1.75) + (f32.const 0.5) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -36522,7 +52379,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1715) + (i32.const 2694) (i32.const 0) ) (unreachable) @@ -36530,10 +52387,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1.75) + (f32.const 0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -36542,7 +52399,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1716) + (i32.const 2695) (i32.const 0) ) (unreachable) @@ -36550,10 +52407,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const inf) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const 1.75) + (f32.const -0.5) + (f32.const -0.25) (f32.const 0) (i32.const 0) ) @@ -36562,7 +52419,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1717) + (i32.const 2696) (i32.const 0) ) (unreachable) @@ -36570,12 +52427,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) + (call $std/math/test_remf + (f32.const -1.75) + (f32.const -0.5) + (f32.const 0.25) (f32.const 0) (i32.const 0) ) @@ -36584,7 +52439,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1718) + (i32.const 2697) (i32.const 0) ) (unreachable) @@ -36592,10 +52447,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const 2) - (f32.const 1) + (call $std/math/test_remf + (f32.const 5.877471754111438e-39) + (f32.const inf) + (f32.const 5.877471754111438e-39) (f32.const 0) (i32.const 0) ) @@ -36604,7 +52459,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1719) + (i32.const 2698) (i32.const 0) ) (unreachable) @@ -36612,19 +52467,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -1) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -8.06684839057968) + (f64.const -1593.5206801156262) + (f64.const -0.2138727605342865) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1720) + (i32.const 2763) (i32.const 0) ) (unreachable) @@ -36632,19 +52486,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -2) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 4.345239849338305) + (f64.const 38.54878088685412) + (f64.const 0.21537430584430695) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1721) + (i32.const 2764) (i32.const 0) ) (unreachable) @@ -36652,19 +52505,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const -3) - (f32.const -1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -8.38143342755525) + (f64.const -2182.6307505145546) + (f64.const 0.16213826835155487) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1722) + (i32.const 2765) (i32.const 0) ) (unreachable) @@ -36672,19 +52524,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -1) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinh + (f64.const -6.531673581913484) + (f64.const -343.2723926847529) + (f64.const 0.20479513704776764) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1723) + (i32.const 2766) (i32.const 0) ) (unreachable) @@ -36692,19 +52543,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 9.267056966972586) + (f64.const 5291.7790755194055) + (f64.const -0.48676517605781555) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1724) + (i32.const 2767) (i32.const 0) ) (unreachable) @@ -36712,19 +52562,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const inf) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 0.6619858980995045) + (f64.const 0.7114062568229157) + (f64.const -0.4584641456604004) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1725) + (i32.const 2768) (i32.const 0) ) (unreachable) @@ -36732,21 +52581,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -0.4066039223853553) + (f64.const -0.41790065258739445) + (f64.const 0.37220045924186707) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1726) + (i32.const 2769) (i32.const 0) ) (unreachable) @@ -36754,19 +52600,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const 3) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 0.5617597462207241) + (f64.const 0.5917755935451237) + (f64.const 0.46178996562957764) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1727) + (i32.const 2770) (i32.const 0) ) (unreachable) @@ -36774,19 +52619,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const 0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const 0.7741522965913037) + (f64.const 0.8538292008852542) + (f64.const -0.07019051909446716) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1728) + (i32.const 2771) (i32.const 0) ) (unreachable) @@ -36794,19 +52638,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -0.5) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinh + (f64.const -0.6787637026394024) + (f64.const -0.732097615653169) + (f64.const 0.26858529448509216) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1729) + (i32.const 2772) (i32.const 0) ) (unreachable) @@ -36814,11 +52657,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1) - (f32.const -3) - (f32.const 1) - (f32.const 0) + (call $std/math/test_sinh + (f64.const 0) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -36826,7 +52668,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1730) + (i32.const 2775) (i32.const 0) ) (unreachable) @@ -36834,19 +52676,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1731) + (i32.const 2776) (i32.const 0) ) (unreachable) @@ -36854,19 +52695,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_sinh + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1732) + (i32.const 2777) (i32.const 0) ) (unreachable) @@ -36874,11 +52714,14 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 2) - (f32.const 0.25) - (f32.const 0) + (call $std/math/test_sinh + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) (i32.const 0) ) ) @@ -36886,7 +52729,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1733) + (i32.const 2778) (i32.const 0) ) (unreachable) @@ -36894,11 +52737,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const 3) - (f32.const -0.125) - (f32.const 0) + (call $std/math/test_sinh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -36906,7 +52748,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1734) + (i32.const 2779) (i32.const 0) ) (unreachable) @@ -36914,19 +52756,37 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) + (call $std/math/test_sinhf + (f32.const -8.066848754882812) + (f32.const -1593.521240234375) + (f32.const 0.1671663224697113) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2788) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const 4.345239639282227) + (f32.const 38.548770904541016) + (f32.const -0.49340328574180603) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1735) + (i32.const 2789) (i32.const 0) ) (unreachable) @@ -36934,21 +52794,37 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.neg - (f32.const inf) - ) - (f32.const inf) - (f32.const 0) + (call $std/math/test_sinhf + (f32.const -8.381433486938477) + (f32.const -2182.630859375) + (f32.const 0.0849970355629921) + (i32.const 1) + ) + ) + (block + (call $abort + (i32.const 0) + (i32.const 4) + (i32.const 2790) (i32.const 0) ) + (unreachable) + ) + ) + (if + (i32.eqz + (call $std/math/test_sinhf + (f32.const -6.531673431396484) + (f32.const -343.2723388671875) + (f32.const 0.0704190656542778) + (i32.const 1) + ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1736) + (i32.const 2791) (i32.const 0) ) (unreachable) @@ -36956,19 +52832,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 9.267057418823242) + (f32.const 5291.78125) + (f32.const -0.44362515211105347) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1737) + (i32.const 2792) (i32.const 0) ) (unreachable) @@ -36976,19 +52851,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.6619858741760254) + (f32.const 0.7114062309265137) + (f32.const 0.058103885501623154) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1738) + (i32.const 2793) (i32.const 0) ) (unreachable) @@ -36996,21 +52870,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.neg - (f32.const inf) - ) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -0.40660393238067627) + (f32.const -0.4179006516933441) + (f32.const 0.39349499344825745) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1739) + (i32.const 2794) (i32.const 0) ) (unreachable) @@ -37018,19 +52889,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 0.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.5617597699165344) + (f32.const 0.5917755961418152) + (f32.const -0.4183797240257263) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1740) + (i32.const 2795) (i32.const 0) ) (unreachable) @@ -37038,19 +52908,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const 0.7741522789001465) + (f32.const 0.8538292050361633) + (f32.const 0.45992106199264526) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1741) + (i32.const 2796) (i32.const 0) ) (unreachable) @@ -37058,21 +52927,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sinhf + (f32.const -0.6787636876106262) + (f32.const -0.7320976257324219) + (f32.const -0.48159059882164) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1742) + (i32.const 2797) (i32.const 0) ) (unreachable) @@ -37080,10 +52946,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const 1.5) - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_sinhf + (f32.const 0) + (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -37092,7 +52957,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1743) + (i32.const 2800) (i32.const 0) ) (unreachable) @@ -37100,10 +52965,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_sinhf + (f32.const -0) + (f32.const -0) (f32.const 0) (i32.const 0) ) @@ -37112,7 +52976,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1744) + (i32.const 2801) (i32.const 0) ) (unreachable) @@ -37120,8 +52984,7 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) + (call $std/math/test_sinhf (f32.const inf) (f32.const inf) (f32.const 0) @@ -37132,7 +52995,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1745) + (i32.const 2802) (i32.const 0) ) (unreachable) @@ -37140,12 +53003,13 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) + (call $std/math/test_sinhf + (f32.neg + (f32.const inf) + ) (f32.neg (f32.const inf) ) - (f32.const 0) (f32.const 0) (i32.const 0) ) @@ -37154,7 +53018,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1746) + (i32.const 2803) (i32.const 0) ) (unreachable) @@ -37162,10 +53026,9 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 3) - (f32.const inf) + (call $std/math/test_sinhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -37174,7 +53037,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1747) + (i32.const 2804) (i32.const 0) ) (unreachable) @@ -37182,19 +53045,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 2) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -8.06684839057968) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1748) + (i32.const 2816) (i32.const 0) ) (unreachable) @@ -37202,19 +53064,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 1) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 4.345239849338305) + (f64.const 2.0845238903256313) + (f64.const -0.07180261611938477) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1749) + (i32.const 2817) (i32.const 0) ) (unreachable) @@ -37222,19 +53083,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -8.38143342755525) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1750) + (i32.const 2818) (i32.const 0) ) (unreachable) @@ -37242,19 +53102,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -6.531673581913484) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1751) + (i32.const 2819) (i32.const 0) ) (unreachable) @@ -37262,19 +53121,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -1) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 9.267056966972586) + (f64.const 3.0441841217266385) + (f64.const -0.01546262577176094) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1752) + (i32.const 2820) (i32.const 0) ) (unreachable) @@ -37282,19 +53140,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const inf) - (f32.const -2) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.6619858980995045) + (f64.const 0.8136251582267503) + (f64.const -0.08618157356977463) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1753) + (i32.const 2821) (i32.const 0) ) (unreachable) @@ -37302,21 +53159,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -0.4066039223853553) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1754) + (i32.const 2822) (i32.const 0) ) (unreachable) @@ -37324,21 +53178,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.5617597462207241) + (f64.const 0.7495063350104014) + (f64.const -0.0981396734714508) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1755) + (i32.const 2823) (i32.const 0) ) (unreachable) @@ -37346,23 +53197,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 0.7741522965913037) + (f64.const 0.879859248170583) + (f64.const -0.37124353647232056) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1756) + (i32.const 2824) (i32.const 0) ) (unreachable) @@ -37370,23 +53216,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const 3) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -0.6787637026394024) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1757) + (i32.const 2825) (i32.const 0) ) (unreachable) @@ -37394,13 +53235,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const 2) - (f32.const inf) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) (i32.const 0) ) ) @@ -37408,7 +53246,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1758) + (i32.const 2828) (i32.const 0) ) (unreachable) @@ -37416,15 +53254,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const 1) - (f32.neg - (f32.const inf) - ) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const inf) + (f64.const inf) + (f64.const 0) (i32.const 0) ) ) @@ -37432,7 +53265,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1759) + (i32.const 2829) (i32.const 0) ) (unreachable) @@ -37440,21 +53273,20 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) + (call $std/math/test_sqrt + (f64.neg + (f64.const inf) ) - (f32.const 0.5) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1760) + (i32.const 2830) (i32.const 0) ) (unreachable) @@ -37462,13 +53294,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const -0.5) - (f32.const 0) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 0) + (f64.const 0) + (f64.const 0) (i32.const 0) ) ) @@ -37476,7 +53305,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1761) + (i32.const 2831) (i32.const 0) ) (unreachable) @@ -37484,13 +53313,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const -1) - (f32.const -0) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const -0) + (f64.const -0) + (f64.const 0) (i32.const 0) ) ) @@ -37498,7 +53324,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1762) + (i32.const 2832) (i32.const 0) ) (unreachable) @@ -37506,13 +53332,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.neg - (f32.const inf) - ) - (f32.const -2) - (f32.const 0) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 1) + (f64.const 1) + (f64.const 0) (i32.const 0) ) ) @@ -37520,7 +53343,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1763) + (i32.const 2833) (i32.const 0) ) (unreachable) @@ -37528,19 +53351,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const 1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const -1) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1764) + (i32.const 2834) (i32.const 0) ) (unreachable) @@ -37548,11 +53370,10 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const nan:0x400000) - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) + (call $std/math/test_sqrt + (f64.const 4) + (f64.const 2) + (f64.const 0) (i32.const 0) ) ) @@ -37560,7 +53381,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1765) + (i32.const 2835) (i32.const 0) ) (unreachable) @@ -37568,19 +53389,18 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -2) - (f32.const 1) - (f32.const -2) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1e-323) + (f64.const 3.1434555694052576e-162) + (f64.const 0.43537619709968567) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1766) + (i32.const 2836) (i32.const 0) ) (unreachable) @@ -37588,101 +53408,37 @@ ) (if (i32.eqz - (call $std/math/test_powf - (f32.const -2) - (f32.const -1) - (f32.const -0.5) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1.5e-323) + (f64.const 3.849931087076416e-162) + (f64.const -0.45194002985954285) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1767) + (i32.const 2837) (i32.const 0) ) (unreachable) ) ) - (call "$(lib)/math/NativeMath.seedRandom" - (i64.reinterpret/f64 - (call "$(lib)/math/JSMath.random") - ) - ) - (block $break|0 - (set_local $0 - (i32.const 0) - ) - (loop $continue|0 - (if - (f64.lt - (f64.convert_s/i32 - (get_local $0) - ) - (f64.const 1e7) - ) - (block - (block - (set_local $1 - (call "$(lib)/math/NativeMath.random") - ) - (if - (i32.eqz - (i32.and - (if (result i32) - (tee_local $2 - (f64.ge - (get_local $1) - (f64.const 0) - ) - ) - (f64.lt - (get_local $1) - (f64.const 1) - ) - (get_local $2) - ) - (i32.const 1) - ) - ) - (block - (call $abort - (i32.const 0) - (i32.const 4) - (i32.const 1774) - (i32.const 2) - ) - (unreachable) - ) - ) - ) - (set_local $0 - (i32.add - (get_local $0) - (i32.const 1) - ) - ) - (br $continue|0) - ) - ) - ) - ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -8.06684839057968) - (f64.const -1593.5206801156262) - (f64.const -0.2138727605342865) - (i32.const 1) + (call $std/math/test_sqrt + (f64.const 5e-324) + (f64.const 2.2227587494850775e-162) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1844) + (i32.const 2838) (i32.const 0) ) (unreachable) @@ -37690,18 +53446,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 4.345239849338305) - (f64.const 38.54878088685412) - (f64.const 0.21537430584430695) - (i32.const 1) + (call $std/math/test_sqrt + (f64.const -5e-324) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1845) + (i32.const 2839) (i32.const 0) ) (unreachable) @@ -37709,10 +53465,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -8.38143342755525) - (f64.const -2182.6307505145546) - (f64.const 0.16213826835155487) + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) (i32.const 1) ) ) @@ -37720,7 +53476,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1846) + (i32.const 2840) (i32.const 0) ) (unreachable) @@ -37728,10 +53484,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -6.531673581913484) - (f64.const -343.2723926847529) - (f64.const 0.20479513704776764) + (call $std/math/test_sqrt + (f64.const 1.9999999999999998) + (f64.const 1.414213562373095) + (f64.const -0.21107041835784912) (i32.const 1) ) ) @@ -37739,7 +53495,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1847) + (i32.const 2841) (i32.const 0) ) (unreachable) @@ -37747,10 +53503,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 9.267056966972586) - (f64.const 5291.7790755194055) - (f64.const -0.48676517605781555) + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) (i32.const 1) ) ) @@ -37758,7 +53514,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1848) + (i32.const 2842) (i32.const 0) ) (unreachable) @@ -37766,10 +53522,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.6619858980995045) - (f64.const 0.7114062568229157) - (f64.const -0.4584641456604004) + (call $std/math/test_sqrt + (f64.const 2.0000000000000004) + (f64.const 1.4142135623730951) + (f64.const -0.27173060178756714) (i32.const 1) ) ) @@ -37777,7 +53533,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1849) + (i32.const 2843) (i32.const 0) ) (unreachable) @@ -37785,10 +53541,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0.4066039223853553) - (f64.const -0.41790065258739445) - (f64.const 0.37220045924186707) + (call $std/math/test_sqrt + (f64.const 1.0000000000000002) + (f64.const 1) + (f64.const -0.5) (i32.const 1) ) ) @@ -37796,7 +53552,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1850) + (i32.const 2844) (i32.const 0) ) (unreachable) @@ -37804,10 +53560,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.5617597462207241) - (f64.const 0.5917755935451237) - (f64.const 0.46178996562957764) + (call $std/math/test_sqrt + (f64.const 0.9999999999999999) + (f64.const 0.9999999999999999) + (f64.const -0.5) (i32.const 1) ) ) @@ -37815,7 +53571,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1851) + (i32.const 2845) (i32.const 0) ) (unreachable) @@ -37823,18 +53579,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0.7741522965913037) - (f64.const 0.8538292008852542) - (f64.const -0.07019051909446716) - (i32.const 1) + (call $std/math/test_sqrt + (f64.const -1797693134862315708145274e284) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1852) + (i32.const 2846) (i32.const 0) ) (unreachable) @@ -37842,10 +53598,10 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0.6787637026394024) - (f64.const -0.732097615653169) - (f64.const 0.26858529448509216) + (call $std/math/test_sqrt + (f64.const 1797693134862315708145274e284) + (f64.const 1340780792994259561100831e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -37853,7 +53609,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1853) + (i32.const 2847) (i32.const 0) ) (unreachable) @@ -37861,18 +53617,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 179769313486231490980915e285) + (f64.const 134078079299425926338769e131) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1856) + (i32.const 2848) (i32.const 0) ) (unreachable) @@ -37880,18 +53636,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862314111473026e284) + (f64.const 1340780792994258965674548e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1857) + (i32.const 2849) (i32.const 0) ) (unreachable) @@ -37899,18 +53655,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862313313136902e284) + (f64.const 1340780792994258667961407e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1858) + (i32.const 2850) (i32.const 0) ) (unreachable) @@ -37918,22 +53674,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.neg - (f64.const inf) - ) - (f64.neg - (f64.const inf) - ) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862312514800778e284) + (f64.const 1340780792994258370248265e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1859) + (i32.const 2851) (i32.const 0) ) (unreachable) @@ -37941,18 +53693,18 @@ ) (if (i32.eqz - (call $std/math/test_sinh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 1797693134862311716464655e284) + (f64.const 1340780792994258072535124e130) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1860) + (i32.const 2852) (i32.const 0) ) (unreachable) @@ -37960,10 +53712,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -8.066848754882812) - (f32.const -1593.521240234375) - (f32.const 0.1671663224697113) + (call $std/math/test_sqrt + (f64.const 1797693134862310918128531e284) + (f64.const 1340780792994257774821982e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -37971,7 +53723,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1869) + (i32.const 2853) (i32.const 0) ) (unreachable) @@ -37979,10 +53731,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 4.345239639282227) - (f32.const 38.548770904541016) - (f32.const -0.49340328574180603) + (call $std/math/test_sqrt + (f64.const 1797693134862310119792407e284) + (f64.const 1340780792994257477108841e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -37990,7 +53742,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1870) + (i32.const 2854) (i32.const 0) ) (unreachable) @@ -37998,10 +53750,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -8.381433486938477) - (f32.const -2182.630859375) - (f32.const 0.0849970355629921) + (call $std/math/test_sqrt + (f64.const 1797693134862309321456283e284) + (f64.const 1340780792994257179395699e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -38009,7 +53761,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1871) + (i32.const 2855) (i32.const 0) ) (unreachable) @@ -38017,10 +53769,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -6.531673431396484) - (f32.const -343.2723388671875) - (f32.const 0.0704190656542778) + (call $std/math/test_sqrt + (f64.const 1797693134862308523120159e284) + (f64.const 1340780792994256881682558e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -38028,7 +53780,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1872) + (i32.const 2856) (i32.const 0) ) (unreachable) @@ -38036,10 +53788,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 9.267057418823242) - (f32.const 5291.78125) - (f32.const -0.44362515211105347) + (call $std/math/test_sqrt + (f64.const 1797693134862307724784036e284) + (f64.const 1340780792994256583969417e130) + (f64.const -0.5) (i32.const 1) ) ) @@ -38047,7 +53799,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1873) + (i32.const 2857) (i32.const 0) ) (unreachable) @@ -38055,10 +53807,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.6619858741760254) - (f32.const 0.7114062309265137) - (f32.const 0.058103885501623154) + (call $std/math/test_sqrt + (f64.const 2.225073858507203e-308) + (f64.const 1.4916681462400417e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38066,7 +53818,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1874) + (i32.const 2858) (i32.const 0) ) (unreachable) @@ -38074,10 +53826,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0.40660393238067627) - (f32.const -0.4179006516933441) - (f32.const 0.39349499344825745) + (call $std/math/test_sqrt + (f64.const 2.225073858507205e-308) + (f64.const 1.4916681462400423e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38085,7 +53837,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1875) + (i32.const 2859) (i32.const 0) ) (unreachable) @@ -38093,10 +53845,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.5617597699165344) - (f32.const 0.5917755961418152) - (f32.const -0.4183797240257263) + (call $std/math/test_sqrt + (f64.const 2.225073858507207e-308) + (f64.const 1.491668146240043e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38104,7 +53856,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1876) + (i32.const 2860) (i32.const 0) ) (unreachable) @@ -38112,10 +53864,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0.7741522789001465) - (f32.const 0.8538292050361633) - (f32.const 0.45992106199264526) + (call $std/math/test_sqrt + (f64.const 2.225073858507209e-308) + (f64.const 1.4916681462400437e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38123,7 +53875,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1877) + (i32.const 2861) (i32.const 0) ) (unreachable) @@ -38131,10 +53883,10 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0.6787636876106262) - (f32.const -0.7320976257324219) - (f32.const -0.48159059882164) + (call $std/math/test_sqrt + (f64.const 2.225073858507211e-308) + (f64.const 1.4916681462400443e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38142,7 +53894,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1878) + (i32.const 2862) (i32.const 0) ) (unreachable) @@ -38150,18 +53902,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072127e-308) + (f64.const 1.491668146240045e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1881) + (i32.const 2863) (i32.const 0) ) (unreachable) @@ -38169,18 +53921,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072147e-308) + (f64.const 1.4916681462400457e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1882) + (i32.const 2864) (i32.const 0) ) (unreachable) @@ -38188,18 +53940,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const inf) - (f32.const inf) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072167e-308) + (f64.const 1.4916681462400463e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1883) + (i32.const 2865) (i32.const 0) ) (unreachable) @@ -38207,22 +53959,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.neg - (f32.const inf) - ) - (f32.neg - (f32.const inf) - ) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072187e-308) + (f64.const 1.491668146240047e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1884) + (i32.const 2866) (i32.const 0) ) (unreachable) @@ -38230,18 +53978,18 @@ ) (if (i32.eqz - (call $std/math/test_sinhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 0) + (call $std/math/test_sqrt + (f64.const 2.2250738585072207e-308) + (f64.const 1.4916681462400476e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1885) + (i32.const 2867) (i32.const 0) ) (unreachable) @@ -38250,17 +53998,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -8.06684839057968) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.2250738585072226e-308) + (f64.const 1.4916681462400483e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1895) + (i32.const 2868) (i32.const 0) ) (unreachable) @@ -38269,9 +54017,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 4.345239849338305) - (f64.const 2.0845238903256313) - (f64.const -0.07180261611938477) + (f64.const 2.2250738585072246e-308) + (f64.const 1.491668146240049e-154) + (f64.const -0.5) (i32.const 1) ) ) @@ -38279,7 +54027,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1896) + (i32.const 2869) (i32.const 0) ) (unreachable) @@ -38288,17 +54036,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -8.38143342755525) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.2250738585072266e-308) + (f64.const 1.4916681462400496e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1897) + (i32.const 2870) (i32.const 0) ) (unreachable) @@ -38307,17 +54055,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -6.531673581913484) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.2250738585072286e-308) + (f64.const 1.4916681462400503e-154) + (f64.const -0.5) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1898) + (i32.const 2871) (i32.const 0) ) (unreachable) @@ -38326,9 +54074,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 9.267056966972586) - (f64.const 3.0441841217266385) - (f64.const -0.01546262577176094) + (f64.const 92.35130391890645) + (f64.const 9.609958580499006) + (f64.const 0.4998137056827545) (i32.const 1) ) ) @@ -38336,7 +54084,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1899) + (i32.const 2872) (i32.const 0) ) (unreachable) @@ -38345,9 +54093,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.6619858980995045) - (f64.const 0.8136251582267503) - (f64.const -0.08618157356977463) + (f64.const 93.3599596388916) + (f64.const 9.662295774757238) + (f64.const -0.49979978799819946) (i32.const 1) ) ) @@ -38355,7 +54103,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1900) + (i32.const 2873) (i32.const 0) ) (unreachable) @@ -38364,17 +54112,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0.4066039223853553) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 95.42049628886124) + (f64.const 9.76834153215689) + (f64.const -0.49997270107269287) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1901) + (i32.const 2874) (i32.const 0) ) (unreachable) @@ -38383,9 +54131,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.5617597462207241) - (f64.const 0.7495063350104014) - (f64.const -0.0981396734714508) + (f64.const 95.87916941885449) + (f64.const 9.791790919890728) + (f64.const 0.4998766779899597) (i32.const 1) ) ) @@ -38393,7 +54141,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1902) + (i32.const 2875) (i32.const 0) ) (unreachable) @@ -38402,9 +54150,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.7741522965913037) - (f64.const 0.879859248170583) - (f64.const -0.37124353647232056) + (f64.const 96.84804174884022) + (f64.const 9.841140266698785) + (f64.const 0.499801903963089) (i32.const 1) ) ) @@ -38412,7 +54160,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1903) + (i32.const 2876) (i32.const 0) ) (unreachable) @@ -38421,17 +54169,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0.6787637026394024) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 97.43639050883155) + (f64.const 9.87098731175517) + (f64.const 0.4997696280479431) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1904) + (i32.const 2877) (i32.const 0) ) (unreachable) @@ -38440,17 +54188,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (f64.const 97.50957979883047) + (f64.const 9.874693909120955) + (f64.const 0.49999818205833435) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1907) + (i32.const 2878) (i32.const 0) ) (unreachable) @@ -38459,17 +54207,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const inf) - (f64.const inf) - (f64.const 0) - (i32.const 0) + (f64.const 97.80496893882612) + (f64.const 9.88963947466368) + (f64.const -0.4999580681324005) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1908) + (i32.const 2879) (i32.const 0) ) (unreachable) @@ -38478,19 +54226,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.neg - (f64.const inf) - ) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 98.2751822888192) + (f64.const 9.913383997849534) + (f64.const 0.49979931116104126) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1909) + (i32.const 2880) (i32.const 0) ) (unreachable) @@ -38499,17 +54245,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (f64.const 99.47293564880155) + (f64.const 9.973611966023219) + (f64.const -0.4999540448188782) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1910) + (i32.const 2881) (i32.const 0) ) (unreachable) @@ -38518,17 +54264,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (f64.const 100.57047130878539) + (f64.const 10.028483001370914) + (f64.const -0.49996453523635864) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1911) + (i32.const 2882) (i32.const 0) ) (unreachable) @@ -38537,17 +54283,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (f64.const 100.60954608878481) + (f64.const 10.030431002144665) + (f64.const 0.49975672364234924) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1912) + (i32.const 2883) (i32.const 0) ) (unreachable) @@ -38556,17 +54302,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -1) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 100.67909109878379) + (f64.const 10.033897104255344) + (f64.const -0.4997771382331848) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1913) + (i32.const 2884) (i32.const 0) ) (unreachable) @@ -38575,17 +54321,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 4) - (f64.const 2) - (f64.const 0) - (i32.const 0) + (f64.const 101.12268095877725) + (f64.const 10.055977374615422) + (f64.const 0.49988678097724915) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1914) + (i32.const 2885) (i32.const 0) ) (unreachable) @@ -38594,9 +54340,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1e-323) - (f64.const 3.1434555694052576e-162) - (f64.const 0.43537619709968567) + (f64.const 101.3027691287746) + (f64.const 10.064927676281366) + (f64.const 0.4999105632305145) (i32.const 1) ) ) @@ -38604,7 +54350,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1915) + (i32.const 2886) (i32.const 0) ) (unreachable) @@ -38613,9 +54359,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.5e-323) - (f64.const 3.849931087076416e-162) - (f64.const -0.45194002985954285) + (f64.const 2.45932313565507e-307) + (f64.const 4.9591563149945874e-154) + (f64.const -0.4998999834060669) (i32.const 1) ) ) @@ -38623,7 +54369,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1916) + (i32.const 2887) (i32.const 0) ) (unreachable) @@ -38632,17 +54378,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 5e-324) - (f64.const 2.2227587494850775e-162) - (f64.const 0) - (i32.const 0) + (f64.const 5.610957305180409e-307) + (f64.const 7.490632353266584e-154) + (f64.const -0.4999343752861023) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1917) + (i32.const 2888) (i32.const 0) ) (unreachable) @@ -38651,17 +54397,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -5e-324) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 5.8073887977408524e-307) + (f64.const 7.62062254526548e-154) + (f64.const -0.49989569187164307) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1918) + (i32.const 2889) (i32.const 0) ) (unreachable) @@ -38670,9 +54416,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.9999999999999999) - (f64.const 0.9999999999999999) - (f64.const -0.5) + (f64.const 7.026137080471427e-307) + (f64.const 8.382205605013174e-154) + (f64.const 0.49980640411376953) (i32.const 1) ) ) @@ -38680,7 +54426,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1919) + (i32.const 2890) (i32.const 0) ) (unreachable) @@ -38689,9 +54435,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.9999999999999998) - (f64.const 1.414213562373095) - (f64.const -0.21107041835784912) + (f64.const 8.438697769194972e-307) + (f64.const 9.186238495268328e-154) + (f64.const -0.4999065697193146) (i32.const 1) ) ) @@ -38699,7 +54445,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1920) + (i32.const 2891) (i32.const 0) ) (unreachable) @@ -38708,9 +54454,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.0000000000000002) - (f64.const 1) - (f64.const -0.5) + (f64.const 1.1607792515836795e-306) + (f64.const 1.0773946591586944e-153) + (f64.const -0.49997684359550476) (i32.const 1) ) ) @@ -38718,7 +54464,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1921) + (i32.const 2892) (i32.const 0) ) (unreachable) @@ -38727,9 +54473,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 2.0000000000000004) - (f64.const 1.4142135623730951) - (f64.const -0.27173060178756714) + (f64.const 1.2827413827423193e-306) + (f64.const 1.1325817333606962e-153) + (f64.const -0.4999513030052185) (i32.const 1) ) ) @@ -38737,7 +54483,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1922) + (i32.const 2893) (i32.const 0) ) (unreachable) @@ -38746,9 +54492,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1.0000000000000002) - (f64.const 1) - (f64.const -0.5) + (f64.const 1.7116604596087457e-306) + (f64.const 1.3083044216117078e-153) + (f64.const -0.49986395239830017) (i32.const 1) ) ) @@ -38756,7 +54502,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1923) + (i32.const 2894) (i32.const 0) ) (unreachable) @@ -38765,9 +54511,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 0.9999999999999999) - (f64.const 0.9999999999999999) - (f64.const -0.5) + (f64.const 2.038173251686994e-306) + (f64.const 1.4276460526639628e-153) + (f64.const 0.4998403787612915) (i32.const 1) ) ) @@ -38775,7 +54521,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1924) + (i32.const 2895) (i32.const 0) ) (unreachable) @@ -38784,17 +54530,17 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const -1797693134862315708145274e284) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 2) + (f64.const 2.171572060856931e-306) + (f64.const 1.4736254818836879e-153) + (f64.const 0.4999290406703949) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1925) + (i32.const 2896) (i32.const 0) ) (unreachable) @@ -38803,9 +54549,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862315708145274e284) - (f64.const 1340780792994259561100831e130) - (f64.const -0.5) + (f64.const 2.4681399631804094e-306) + (f64.const 1.5710314965589996e-153) + (f64.const 0.49989044666290283) (i32.const 1) ) ) @@ -38813,7 +54559,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1926) + (i32.const 2897) (i32.const 0) ) (unreachable) @@ -38822,9 +54568,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 179769313486231490980915e285) - (f64.const 134078079299425926338769e131) - (f64.const -0.5) + (f64.const 2.5175533964200588e-306) + (f64.const 1.5866799918131124e-153) + (f64.const -0.4997701048851013) (i32.const 1) ) ) @@ -38832,7 +54578,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1927) + (i32.const 2898) (i32.const 0) ) (unreachable) @@ -38841,9 +54587,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862314111473026e284) - (f64.const 1340780792994258965674548e130) - (f64.const -0.5) + (f64.const 2.6461505468829625e-306) + (f64.const 1.6266992797941982e-153) + (f64.const 0.4998672902584076) (i32.const 1) ) ) @@ -38851,7 +54597,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1928) + (i32.const 2899) (i32.const 0) ) (unreachable) @@ -38860,9 +54606,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862313313136902e284) - (f64.const 1340780792994258667961407e130) - (f64.const -0.5) + (f64.const 3.8167076367720413e-306) + (f64.const 1.9536395872248397e-153) + (f64.const 0.49983471632003784) (i32.const 1) ) ) @@ -38870,7 +54616,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1929) + (i32.const 2900) (i32.const 0) ) (unreachable) @@ -38879,9 +54625,9 @@ (if (i32.eqz (call $std/math/test_sqrt - (f64.const 1797693134862312514800778e284) - (f64.const 1340780792994258370248265e130) - (f64.const -0.5) + (f64.const 4.5743220778562766e-306) + (f64.const 2.1387664851161936e-153) + (f64.const 0.49985939264297485) (i32.const 1) ) ) @@ -38889,7 +54635,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1930) + (i32.const 2901) (i32.const 0) ) (unreachable) @@ -38897,18 +54643,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862311716464655e284) - (f64.const 1340780792994258072535124e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -8.066848754882812) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1931) + (i32.const 2910) (i32.const 0) ) (unreachable) @@ -38916,10 +54662,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862310918128531e284) - (f64.const 1340780792994257774821982e130) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 4.345239639282227) + (f32.const 2.084523916244507) + (f32.const 0.3200402557849884) (i32.const 1) ) ) @@ -38927,7 +54673,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1932) + (i32.const 2911) (i32.const 0) ) (unreachable) @@ -38935,18 +54681,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862310119792407e284) - (f64.const 1340780792994257477108841e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -8.381433486938477) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1933) + (i32.const 2912) (i32.const 0) ) (unreachable) @@ -38954,18 +54700,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862309321456283e284) - (f64.const 1340780792994257179395699e130) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -6.531673431396484) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1934) + (i32.const 2913) (i32.const 0) ) (unreachable) @@ -38973,10 +54719,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862308523120159e284) - (f64.const 1340780792994256881682558e130) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 9.267057418823242) + (f32.const 3.0441842079162598) + (f32.const 0.05022354796528816) (i32.const 1) ) ) @@ -38984,7 +54730,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1935) + (i32.const 2914) (i32.const 0) ) (unreachable) @@ -38992,10 +54738,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1797693134862307724784036e284) - (f64.const 1340780792994256583969417e130) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.6619858741760254) + (f32.const 0.813625156879425) + (f32.const 0.2240506112575531) (i32.const 1) ) ) @@ -39003,7 +54749,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1936) + (i32.const 2915) (i32.const 0) ) (unreachable) @@ -39011,18 +54757,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507203e-308) - (f64.const 1.4916681462400417e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0.40660393238067627) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1937) + (i32.const 2916) (i32.const 0) ) (unreachable) @@ -39030,10 +54776,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507205e-308) - (f64.const 1.4916681462400423e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.5617597699165344) + (f32.const 0.7495063543319702) + (f32.const 0.05895441770553589) (i32.const 1) ) ) @@ -39041,7 +54787,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1938) + (i32.const 2917) (i32.const 0) ) (unreachable) @@ -39049,10 +54795,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507207e-308) - (f64.const 1.491668146240043e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 0.7741522789001465) + (f32.const 0.879859209060669) + (f32.const -0.4874873757362366) (i32.const 1) ) ) @@ -39060,7 +54806,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1939) + (i32.const 2918) (i32.const 0) ) (unreachable) @@ -39068,18 +54814,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507209e-308) - (f64.const 1.4916681462400437e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0.6787636876106262) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1940) + (i32.const 2919) (i32.const 0) ) (unreachable) @@ -39087,18 +54833,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.225073858507211e-308) - (f64.const 1.4916681462400443e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1941) + (i32.const 2922) (i32.const 0) ) (unreachable) @@ -39106,18 +54852,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072127e-308) - (f64.const 1.491668146240045e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1942) + (i32.const 2923) (i32.const 0) ) (unreachable) @@ -39125,18 +54871,20 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072147e-308) - (f64.const 1.4916681462400457e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.neg + (f32.const inf) + ) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1943) + (i32.const 2924) (i32.const 0) ) (unreachable) @@ -39144,18 +54892,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072167e-308) - (f64.const 1.4916681462400463e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1944) + (i32.const 2925) (i32.const 0) ) (unreachable) @@ -39163,18 +54911,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072187e-308) - (f64.const 1.491668146240047e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1945) + (i32.const 2926) (i32.const 0) ) (unreachable) @@ -39182,18 +54930,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072207e-308) - (f64.const 1.4916681462400476e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1946) + (i32.const 2927) (i32.const 0) ) (unreachable) @@ -39201,18 +54949,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072226e-308) - (f64.const 1.4916681462400483e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -1) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1947) + (i32.const 2928) (i32.const 0) ) (unreachable) @@ -39220,18 +54968,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072246e-308) - (f64.const 1.491668146240049e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 4) + (f32.const 2) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1948) + (i32.const 2929) (i32.const 0) ) (unreachable) @@ -39239,18 +54987,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072266e-308) - (f64.const 1.4916681462400496e-154) - (f64.const -0.5) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const 2.802596928649634e-45) + (f32.const 5.293955920339377e-23) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1949) + (i32.const 2930) (i32.const 0) ) (unreachable) @@ -39258,10 +55006,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.2250738585072286e-308) - (f64.const 1.4916681462400503e-154) - (f64.const -0.5) + (call $std/math/test_sqrtf + (f32.const 4.203895392974451e-45) + (f32.const 6.483745598763743e-23) + (f32.const 0.37388554215431213) (i32.const 1) ) ) @@ -39269,7 +55017,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1950) + (i32.const 2931) (i32.const 0) ) (unreachable) @@ -39277,10 +55025,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 92.35130391890645) - (f64.const 9.609958580499006) - (f64.const 0.4998137056827545) + (call $std/math/test_sqrtf + (f32.const 1.401298464324817e-45) + (f32.const 3.743392066509216e-23) + (f32.const -0.20303145051002502) (i32.const 1) ) ) @@ -39288,7 +55036,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1951) + (i32.const 2932) (i32.const 0) ) (unreachable) @@ -39296,18 +55044,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 93.3599596388916) - (f64.const 9.662295774757238) - (f64.const -0.49979978799819946) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -1.401298464324817e-45) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1952) + (i32.const 2933) (i32.const 0) ) (unreachable) @@ -39315,10 +55063,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 95.42049628886124) - (f64.const 9.76834153215689) - (f64.const -0.49997270107269287) + (call $std/math/test_sqrtf + (f32.const 3402823466385288598117041e14) + (f32.const 18446742974197923840) + (f32.const -0.5) (i32.const 1) ) ) @@ -39326,7 +55074,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1953) + (i32.const 2934) (i32.const 0) ) (unreachable) @@ -39334,18 +55082,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 95.87916941885449) - (f64.const 9.791790919890728) - (f64.const 0.4998766779899597) - (i32.const 1) + (call $std/math/test_sqrtf + (f32.const -3402823466385288598117041e14) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 2) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1954) + (i32.const 2935) (i32.const 0) ) (unreachable) @@ -39353,10 +55101,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 96.84804174884022) - (f64.const 9.841140266698785) - (f64.const 0.499801903963089) + (call $std/math/test_sqrtf + (f32.const 0.9999998807907104) + (f32.const 0.9999999403953552) + (f32.const 2.980232594040899e-08) (i32.const 1) ) ) @@ -39364,7 +55112,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1955) + (i32.const 2936) (i32.const 0) ) (unreachable) @@ -39372,10 +55120,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.43639050883155) - (f64.const 9.87098731175517) - (f64.const 0.4997696280479431) + (call $std/math/test_sqrtf + (f32.const 0.9999999403953552) + (f32.const 0.9999999403953552) + (f32.const -0.5) (i32.const 1) ) ) @@ -39383,7 +55131,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1956) + (i32.const 2937) (i32.const 0) ) (unreachable) @@ -39391,10 +55139,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.50957979883047) - (f64.const 9.874693909120955) - (f64.const 0.49999818205833435) + (call $std/math/test_sqrtf + (f32.const 1.999999761581421) + (f32.const 1.4142134189605713) + (f32.const -0.4959246516227722) (i32.const 1) ) ) @@ -39402,7 +55150,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1957) + (i32.const 2938) (i32.const 0) ) (unreachable) @@ -39410,10 +55158,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 97.80496893882612) - (f64.const 9.88963947466368) - (f64.const -0.4999580681324005) + (call $std/math/test_sqrtf + (f32.const 1.9999998807907104) + (f32.const 1.4142135381698608) + (f32.const 0.15052194893360138) (i32.const 1) ) ) @@ -39421,7 +55169,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1958) + (i32.const 2939) (i32.const 0) ) (unreachable) @@ -39429,10 +55177,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 98.2751822888192) - (f64.const 9.913383997849534) - (f64.const 0.49979931116104126) + (call $std/math/test_sqrtf + (f32.const 1.0000001192092896) + (f32.const 1) + (f32.const -0.5) (i32.const 1) ) ) @@ -39440,7 +55188,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1959) + (i32.const 2940) (i32.const 0) ) (unreachable) @@ -39448,10 +55196,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 99.47293564880155) - (f64.const 9.973611966023219) - (f64.const -0.4999540448188782) + (call $std/math/test_sqrtf + (f32.const 1.000000238418579) + (f32.const 1.0000001192092896) + (f32.const 5.960463766996327e-08) (i32.const 1) ) ) @@ -39459,7 +55207,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1960) + (i32.const 2941) (i32.const 0) ) (unreachable) @@ -39467,10 +55215,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.57047130878539) - (f64.const 10.028483001370914) - (f64.const -0.49996453523635864) + (call $std/math/test_sqrtf + (f32.const 2.000000238418579) + (f32.const 1.4142136573791504) + (f32.const 0.08986179530620575) (i32.const 1) ) ) @@ -39478,7 +55226,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1961) + (i32.const 2942) (i32.const 0) ) (unreachable) @@ -39486,10 +55234,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.60954608878481) - (f64.const 10.030431002144665) - (f64.const 0.49975672364234924) + (call $std/math/test_sqrtf + (f32.const 2.000000476837158) + (f32.const 1.41421377658844) + (f32.const 0.3827550709247589) (i32.const 1) ) ) @@ -39497,7 +55245,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1962) + (i32.const 2943) (i32.const 0) ) (unreachable) @@ -39505,10 +55253,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 100.67909109878379) - (f64.const 10.033897104255344) - (f64.const -0.4997771382331848) + (call $std/math/test_tanh + (f64.const -8.06684839057968) + (f64.const -0.999999803096032) + (f64.const 0.012793331407010555) (i32.const 1) ) ) @@ -39516,7 +55264,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1963) + (i32.const 3008) (i32.const 0) ) (unreachable) @@ -39524,10 +55272,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 101.12268095877725) - (f64.const 10.055977374615422) - (f64.const 0.49988678097724915) + (call $std/math/test_tanh + (f64.const 4.345239849338305) + (f64.const 0.9996636978961307) + (f64.const 0.1573508232831955) (i32.const 1) ) ) @@ -39535,7 +55283,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1964) + (i32.const 3009) (i32.const 0) ) (unreachable) @@ -39543,10 +55291,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 101.3027691287746) - (f64.const 10.064927676281366) - (f64.const 0.4999105632305145) + (call $std/math/test_tanh + (f64.const -8.38143342755525) + (f64.const -0.9999998950434862) + (f64.const 0.27985066175460815) (i32.const 1) ) ) @@ -39554,7 +55302,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1965) + (i32.const 3010) (i32.const 0) ) (unreachable) @@ -39562,10 +55310,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.45932313565507e-307) - (f64.const 4.9591563149945874e-154) - (f64.const -0.4998999834060669) + (call $std/math/test_tanh + (f64.const -6.531673581913484) + (f64.const -0.9999957568392429) + (f64.const -0.44285574555397034) (i32.const 1) ) ) @@ -39573,7 +55321,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1966) + (i32.const 3011) (i32.const 0) ) (unreachable) @@ -39581,10 +55329,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 5.610957305180409e-307) - (f64.const 7.490632353266584e-154) - (f64.const -0.4999343752861023) + (call $std/math/test_tanh + (f64.const 9.267056966972586) + (f64.const 0.9999999821447234) + (f64.const 0.4462755024433136) (i32.const 1) ) ) @@ -39592,7 +55340,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1967) + (i32.const 3012) (i32.const 0) ) (unreachable) @@ -39600,10 +55348,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 5.8073887977408524e-307) - (f64.const 7.62062254526548e-154) - (f64.const -0.49989569187164307) + (call $std/math/test_tanh + (f64.const 0.6619858980995045) + (f64.const 0.5796835018635275) + (f64.const 0.4892043173313141) (i32.const 1) ) ) @@ -39611,7 +55359,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1968) + (i32.const 3013) (i32.const 0) ) (unreachable) @@ -39619,10 +55367,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 7.026137080471427e-307) - (f64.const 8.382205605013174e-154) - (f64.const 0.49980640411376953) + (call $std/math/test_tanh + (f64.const -0.4066039223853553) + (f64.const -0.3855853099901652) + (f64.const 0.35993871092796326) (i32.const 1) ) ) @@ -39630,7 +55378,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1969) + (i32.const 3014) (i32.const 0) ) (unreachable) @@ -39638,10 +55386,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 8.438697769194972e-307) - (f64.const 9.186238495268328e-154) - (f64.const -0.4999065697193146) + (call $std/math/test_tanh + (f64.const 0.5617597462207241) + (f64.const 0.5092819248700439) + (f64.const -0.39436522126197815) (i32.const 1) ) ) @@ -39649,7 +55397,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1970) + (i32.const 3015) (i32.const 0) ) (unreachable) @@ -39657,10 +55405,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.1607792515836795e-306) - (f64.const 1.0773946591586944e-153) - (f64.const -0.49997684359550476) + (call $std/math/test_tanh + (f64.const 0.7741522965913037) + (f64.const 0.6493374550318555) + (f64.const -0.4899396002292633) (i32.const 1) ) ) @@ -39668,7 +55416,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1971) + (i32.const 3016) (i32.const 0) ) (unreachable) @@ -39676,10 +55424,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.2827413827423193e-306) - (f64.const 1.1325817333606962e-153) - (f64.const -0.4999513030052185) + (call $std/math/test_tanh + (f64.const -0.6787637026394024) + (f64.const -0.590715084799841) + (f64.const -0.0145387789234519) (i32.const 1) ) ) @@ -39687,7 +55435,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1972) + (i32.const 3017) (i32.const 0) ) (unreachable) @@ -39695,18 +55443,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 1.7116604596087457e-306) - (f64.const 1.3083044216117078e-153) - (f64.const -0.49986395239830017) - (i32.const 1) + (call $std/math/test_tanh + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1973) + (i32.const 3020) (i32.const 0) ) (unreachable) @@ -39714,18 +55462,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.038173251686994e-306) - (f64.const 1.4276460526639628e-153) - (f64.const 0.4998403787612915) - (i32.const 1) + (call $std/math/test_tanh + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1974) + (i32.const 3021) (i32.const 0) ) (unreachable) @@ -39733,18 +55481,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.171572060856931e-306) - (f64.const 1.4736254818836879e-153) - (f64.const 0.4999290406703949) - (i32.const 1) + (call $std/math/test_tanh + (f64.const inf) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1975) + (i32.const 3022) (i32.const 0) ) (unreachable) @@ -39752,18 +55500,20 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.4681399631804094e-306) - (f64.const 1.5710314965589996e-153) - (f64.const 0.49989044666290283) - (i32.const 1) + (call $std/math/test_tanh + (f64.neg + (f64.const inf) + ) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1976) + (i32.const 3023) (i32.const 0) ) (unreachable) @@ -39771,18 +55521,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.5175533964200588e-306) - (f64.const 1.5866799918131124e-153) - (f64.const -0.4997701048851013) - (i32.const 1) + (call $std/math/test_tanh + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1977) + (i32.const 3024) (i32.const 0) ) (unreachable) @@ -39790,10 +55540,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 2.6461505468829625e-306) - (f64.const 1.6266992797941982e-153) - (f64.const 0.4998672902584076) + (call $std/math/test_tanhf + (f32.const -8.066848754882812) + (f32.const -0.9999998211860657) + (f32.const -0.3034979999065399) (i32.const 1) ) ) @@ -39801,7 +55551,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1978) + (i32.const 3033) (i32.const 0) ) (unreachable) @@ -39809,10 +55559,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 3.8167076367720413e-306) - (f64.const 1.9536395872248397e-153) - (f64.const 0.49983471632003784) + (call $std/math/test_tanhf + (f32.const 4.345239639282227) + (f32.const 0.9996637105941772) + (f32.const 0.2154078334569931) (i32.const 1) ) ) @@ -39820,7 +55570,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1979) + (i32.const 3034) (i32.const 0) ) (unreachable) @@ -39828,10 +55578,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrt - (f64.const 4.5743220778562766e-306) - (f64.const 2.1387664851161936e-153) - (f64.const 0.49985939264297485) + (call $std/math/test_tanhf + (f32.const -8.381433486938477) + (f32.const -0.9999998807907104) + (f32.const 0.23912210762500763) (i32.const 1) ) ) @@ -39839,7 +55589,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1980) + (i32.const 3035) (i32.const 0) ) (unreachable) @@ -39847,18 +55597,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -8.066848754882812) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const -6.531673431396484) + (f32.const -0.999995768070221) + (f32.const -0.18844597041606903) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1989) + (i32.const 3036) (i32.const 0) ) (unreachable) @@ -39866,10 +55616,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4.345239639282227) - (f32.const 2.084523916244507) - (f32.const 0.3200402557849884) + (call $std/math/test_tanhf + (f32.const 9.267057418823242) + (f32.const 1) + (f32.const 0.1497807800769806) (i32.const 1) ) ) @@ -39877,7 +55627,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1990) + (i32.const 3037) (i32.const 0) ) (unreachable) @@ -39885,18 +55635,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -8.381433486938477) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const 0.6619858741760254) + (f32.const 0.5796834826469421) + (f32.const -0.05590476095676422) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1991) + (i32.const 3038) (i32.const 0) ) (unreachable) @@ -39904,18 +55654,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -6.531673431396484) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const -0.40660393238067627) + (f32.const -0.38558530807495117) + (f32.const 0.349787175655365) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1992) + (i32.const 3039) (i32.const 0) ) (unreachable) @@ -39923,10 +55673,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 9.267057418823242) - (f32.const 3.0441842079162598) - (f32.const 0.05022354796528816) + (call $std/math/test_tanhf + (f32.const 0.5617597699165344) + (f32.const 0.5092819333076477) + (f32.const -0.1528785079717636) (i32.const 1) ) ) @@ -39934,7 +55684,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1993) + (i32.const 3040) (i32.const 0) ) (unreachable) @@ -39942,10 +55692,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.6619858741760254) - (f32.const 0.813625156879425) - (f32.const 0.2240506112575531) + (call $std/math/test_tanhf + (f32.const 0.7741522789001465) + (f32.const 0.6493374705314636) + (f32.const 0.4317026138305664) (i32.const 1) ) ) @@ -39953,7 +55703,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 1994) + (i32.const 3041) (i32.const 0) ) (unreachable) @@ -39961,18 +55711,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0.40660393238067627) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_tanhf + (f32.const -0.6787636876106262) + (f32.const -0.5907150506973267) + (f32.const 0.4079873859882355) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1995) + (i32.const 3042) (i32.const 0) ) (unreachable) @@ -39980,18 +55730,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.5617597699165344) - (f32.const 0.7495063543319702) - (f32.const 0.05895441770553589) - (i32.const 1) + (call $std/math/test_tanhf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1996) + (i32.const 3045) (i32.const 0) ) (unreachable) @@ -39999,18 +55749,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.7741522789001465) - (f32.const 0.879859209060669) - (f32.const -0.4874873757362366) - (i32.const 1) + (call $std/math/test_tanhf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1997) + (i32.const 3046) (i32.const 0) ) (unreachable) @@ -40018,18 +55768,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0.6787636876106262) - (f32.const nan:0x400000) + (call $std/math/test_tanhf + (f32.const inf) + (f32.const 1) (f32.const 0) - (i32.const 2) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 1998) + (i32.const 3047) (i32.const 0) ) (unreachable) @@ -40037,9 +55787,11 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_tanhf + (f32.neg + (f32.const inf) + ) + (f32.const -1) (f32.const 0) (i32.const 0) ) @@ -40048,7 +55800,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2001) + (i32.const 3048) (i32.const 0) ) (unreachable) @@ -40056,9 +55808,9 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const inf) - (f32.const inf) + (call $std/math/test_tanhf + (f32.const nan:0x400000) + (f32.const nan:0x400000) (f32.const 0) (i32.const 0) ) @@ -40067,7 +55819,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2002) + (i32.const 3049) (i32.const 0) ) (unreachable) @@ -40075,20 +55827,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.neg - (f32.const inf) - ) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const -8.06684839057968) + (f64.const -8) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2003) + (i32.const 3061) (i32.const 0) ) (unreachable) @@ -40096,18 +55846,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0) - (f32.const 0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const 4.345239849338305) + (f64.const 4) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2004) + (i32.const 3062) (i32.const 0) ) (unreachable) @@ -40115,18 +55865,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -0) - (f32.const -0) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -8.38143342755525) + (f64.const -8) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2005) + (i32.const 3063) (i32.const 0) ) (unreachable) @@ -40134,18 +55884,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1) - (f32.const 1) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -6.531673581913484) + (f64.const -6) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2006) + (i32.const 3064) (i32.const 0) ) (unreachable) @@ -40153,18 +55903,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -1) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const 9.267056966972586) + (f64.const 9) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2007) + (i32.const 3065) (i32.const 0) ) (unreachable) @@ -40172,18 +55922,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4) - (f32.const 2) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const 0.6619858980995045) + (f64.const 0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2008) + (i32.const 3066) (i32.const 0) ) (unreachable) @@ -40191,18 +55941,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.802596928649634e-45) - (f32.const 5.293955920339377e-23) - (f32.const 0) - (i32.const 0) + (call $std/math/test_trunc + (f64.const -0.4066039223853553) + (f64.const -0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2009) + (i32.const 3067) (i32.const 0) ) (unreachable) @@ -40210,10 +55960,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 4.203895392974451e-45) - (f32.const 6.483745598763743e-23) - (f32.const 0.37388554215431213) + (call $std/math/test_trunc + (f64.const 0.5617597462207241) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -40221,7 +55971,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2010) + (i32.const 3068) (i32.const 0) ) (unreachable) @@ -40229,10 +55979,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.401298464324817e-45) - (f32.const 3.743392066509216e-23) - (f32.const -0.20303145051002502) + (call $std/math/test_trunc + (f64.const 0.7741522965913037) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -40240,7 +55990,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2011) + (i32.const 3069) (i32.const 0) ) (unreachable) @@ -40248,18 +55998,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -1.401298464324817e-45) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const -0.6787637026394024) + (f64.const -0) + (f64.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2012) + (i32.const 3070) (i32.const 0) ) (unreachable) @@ -40267,18 +56017,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 3402823466385288598117041e14) - (f32.const 18446742974197923840) - (f32.const -0.5) - (i32.const 1) + (call $std/math/test_trunc + (f64.const nan:0x8000000000000) + (f64.const nan:0x8000000000000) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2013) + (i32.const 3073) (i32.const 0) ) (unreachable) @@ -40286,18 +56036,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const -3402823466385288598117041e14) - (f32.const nan:0x400000) - (f32.const 0) - (i32.const 2) + (call $std/math/test_trunc + (f64.const inf) + (f64.const inf) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2014) + (i32.const 3074) (i32.const 0) ) (unreachable) @@ -40305,18 +56055,22 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.9999998807907104) - (f32.const 0.9999999403953552) - (f32.const 2.980232594040899e-08) - (i32.const 1) + (call $std/math/test_trunc + (f64.neg + (f64.const inf) + ) + (f64.neg + (f64.const inf) + ) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2015) + (i32.const 3075) (i32.const 0) ) (unreachable) @@ -40324,18 +56078,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 0.9999999403953552) - (f32.const 0.9999999403953552) - (f32.const -0.5) - (i32.const 1) + (call $std/math/test_trunc + (f64.const 0) + (f64.const 0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2016) + (i32.const 3076) (i32.const 0) ) (unreachable) @@ -40343,18 +56097,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.999999761581421) - (f32.const 1.4142134189605713) - (f32.const -0.4959246516227722) - (i32.const 1) + (call $std/math/test_trunc + (f64.const -0) + (f64.const -0) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2017) + (i32.const 3077) (i32.const 0) ) (unreachable) @@ -40362,18 +56116,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.9999998807907104) - (f32.const 1.4142135381698608) - (f32.const 0.15052194893360138) - (i32.const 1) + (call $std/math/test_trunc + (f64.const 1) + (f64.const 1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2018) + (i32.const 3078) (i32.const 0) ) (unreachable) @@ -40381,18 +56135,18 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.0000001192092896) - (f32.const 1) - (f32.const -0.5) - (i32.const 1) + (call $std/math/test_trunc + (f64.const -1) + (f64.const -1) + (f64.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2019) + (i32.const 3079) (i32.const 0) ) (unreachable) @@ -40400,10 +56154,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 1.000000238418579) - (f32.const 1.0000001192092896) - (f32.const 5.960463766996327e-08) + (call $std/math/test_trunc + (f64.const 0.5) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -40411,7 +56165,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2020) + (i32.const 3080) (i32.const 0) ) (unreachable) @@ -40419,10 +56173,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.000000238418579) - (f32.const 1.4142136573791504) - (f32.const 0.08986179530620575) + (call $std/math/test_trunc + (f64.const -0.5) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -40430,7 +56184,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2021) + (i32.const 3081) (i32.const 0) ) (unreachable) @@ -40438,10 +56192,10 @@ ) (if (i32.eqz - (call $std/math/test_sqrtf - (f32.const 2.000000476837158) - (f32.const 1.41421377658844) - (f32.const 0.3827550709247589) + (call $std/math/test_trunc + (f64.const 1.0000152587890625) + (f64.const 1) + (f64.const 0) (i32.const 1) ) ) @@ -40449,7 +56203,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2022) + (i32.const 3082) (i32.const 0) ) (unreachable) @@ -40457,10 +56211,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -8.06684839057968) - (f64.const -0.999999803096032) - (f64.const 0.012793331407010555) + (call $std/math/test_trunc + (f64.const -1.0000152587890625) + (f64.const -1) + (f64.const 0) (i32.const 1) ) ) @@ -40468,7 +56222,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2091) + (i32.const 3083) (i32.const 0) ) (unreachable) @@ -40476,10 +56230,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 4.345239849338305) - (f64.const 0.9996636978961307) - (f64.const 0.1573508232831955) + (call $std/math/test_trunc + (f64.const 0.9999923706054688) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -40487,7 +56241,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2092) + (i32.const 3084) (i32.const 0) ) (unreachable) @@ -40495,10 +56249,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -8.38143342755525) - (f64.const -0.9999998950434862) - (f64.const 0.27985066175460815) + (call $std/math/test_trunc + (f64.const -0.9999923706054688) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -40506,7 +56260,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2093) + (i32.const 3085) (i32.const 0) ) (unreachable) @@ -40514,10 +56268,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -6.531673581913484) - (f64.const -0.9999957568392429) - (f64.const -0.44285574555397034) + (call $std/math/test_trunc + (f64.const 7.888609052210118e-31) + (f64.const 0) + (f64.const 0) (i32.const 1) ) ) @@ -40525,7 +56279,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2094) + (i32.const 3086) (i32.const 0) ) (unreachable) @@ -40533,10 +56287,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 9.267056966972586) - (f64.const 0.9999999821447234) - (f64.const 0.4462755024433136) + (call $std/math/test_trunc + (f64.const -7.888609052210118e-31) + (f64.const -0) + (f64.const 0) (i32.const 1) ) ) @@ -40544,7 +56298,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2095) + (i32.const 3087) (i32.const 0) ) (unreachable) @@ -40552,10 +56306,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.6619858980995045) - (f64.const 0.5796835018635275) - (f64.const 0.4892043173313141) + (call $std/math/test_truncf + (f32.const -8.066848754882812) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -40563,7 +56317,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2096) + (i32.const 3096) (i32.const 0) ) (unreachable) @@ -40571,10 +56325,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0.4066039223853553) - (f64.const -0.3855853099901652) - (f64.const 0.35993871092796326) + (call $std/math/test_truncf + (f32.const 4.345239639282227) + (f32.const 4) + (f32.const 0) (i32.const 1) ) ) @@ -40582,7 +56336,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2097) + (i32.const 3097) (i32.const 0) ) (unreachable) @@ -40590,10 +56344,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.5617597462207241) - (f64.const 0.5092819248700439) - (f64.const -0.39436522126197815) + (call $std/math/test_truncf + (f32.const -8.381433486938477) + (f32.const -8) + (f32.const 0) (i32.const 1) ) ) @@ -40601,7 +56355,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2098) + (i32.const 3098) (i32.const 0) ) (unreachable) @@ -40609,10 +56363,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0.7741522965913037) - (f64.const 0.6493374550318555) - (f64.const -0.4899396002292633) + (call $std/math/test_truncf + (f32.const -6.531673431396484) + (f32.const -6) + (f32.const 0) (i32.const 1) ) ) @@ -40620,7 +56374,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2099) + (i32.const 3099) (i32.const 0) ) (unreachable) @@ -40628,10 +56382,10 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0.6787637026394024) - (f64.const -0.590715084799841) - (f64.const -0.0145387789234519) + (call $std/math/test_truncf + (f32.const 9.267057418823242) + (f32.const 9) + (f32.const 0) (i32.const 1) ) ) @@ -40639,7 +56393,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2100) + (i32.const 3100) (i32.const 0) ) (unreachable) @@ -40647,18 +56401,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const 0) - (f64.const 0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const 0.6619858741760254) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2103) + (i32.const 3101) (i32.const 0) ) (unreachable) @@ -40666,18 +56420,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const -0) - (f64.const -0) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const -0.40660393238067627) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2104) + (i32.const 3102) (i32.const 0) ) (unreachable) @@ -40685,18 +56439,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const inf) - (f64.const 1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const 0.5617597699165344) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2105) + (i32.const 3103) (i32.const 0) ) (unreachable) @@ -40704,20 +56458,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.neg - (f64.const inf) - ) - (f64.const -1) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const 0.7741522789001465) + (f32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2106) + (i32.const 3104) (i32.const 0) ) (unreachable) @@ -40725,18 +56477,18 @@ ) (if (i32.eqz - (call $std/math/test_tanh - (f64.const nan:0x8000000000000) - (f64.const nan:0x8000000000000) - (f64.const 0) - (i32.const 0) + (call $std/math/test_truncf + (f32.const -0.6787636876106262) + (f32.const -0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2107) + (i32.const 3105) (i32.const 0) ) (unreachable) @@ -40744,18 +56496,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -8.066848754882812) - (f32.const -0.9999998211860657) - (f32.const -0.3034979999065399) - (i32.const 1) + (call $std/math/test_truncf + (f32.const nan:0x400000) + (f32.const nan:0x400000) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2116) + (i32.const 3108) (i32.const 0) ) (unreachable) @@ -40763,18 +56515,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 4.345239639282227) - (f32.const 0.9996637105941772) - (f32.const 0.2154078334569931) - (i32.const 1) + (call $std/math/test_truncf + (f32.const inf) + (f32.const inf) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2117) + (i32.const 3109) (i32.const 0) ) (unreachable) @@ -40782,18 +56534,22 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -8.381433486938477) - (f32.const -0.9999998807907104) - (f32.const 0.23912210762500763) - (i32.const 1) + (call $std/math/test_truncf + (f32.neg + (f32.const inf) + ) + (f32.neg + (f32.const inf) + ) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2118) + (i32.const 3110) (i32.const 0) ) (unreachable) @@ -40801,18 +56557,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -6.531673431396484) - (f32.const -0.999995768070221) - (f32.const -0.18844597041606903) - (i32.const 1) + (call $std/math/test_truncf + (f32.const 0) + (f32.const 0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2119) + (i32.const 3111) (i32.const 0) ) (unreachable) @@ -40820,18 +56576,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 9.267057418823242) - (f32.const 1) - (f32.const 0.1497807800769806) - (i32.const 1) + (call $std/math/test_truncf + (f32.const -0) + (f32.const -0) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2120) + (i32.const 3112) (i32.const 0) ) (unreachable) @@ -40839,18 +56595,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.6619858741760254) - (f32.const 0.5796834826469421) - (f32.const -0.05590476095676422) - (i32.const 1) + (call $std/math/test_truncf + (f32.const 1) + (f32.const 1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2121) + (i32.const 3113) (i32.const 0) ) (unreachable) @@ -40858,18 +56614,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0.40660393238067627) - (f32.const -0.38558530807495117) - (f32.const 0.349787175655365) - (i32.const 1) + (call $std/math/test_truncf + (f32.const -1) + (f32.const -1) + (f32.const 0) + (i32.const 0) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2122) + (i32.const 3114) (i32.const 0) ) (unreachable) @@ -40877,10 +56633,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.5617597699165344) - (f32.const 0.5092819333076477) - (f32.const -0.1528785079717636) + (call $std/math/test_truncf + (f32.const 0.5) + (f32.const 0) + (f32.const 0) (i32.const 1) ) ) @@ -40888,7 +56644,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2123) + (i32.const 3115) (i32.const 0) ) (unreachable) @@ -40896,10 +56652,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0.7741522789001465) - (f32.const 0.6493374705314636) - (f32.const 0.4317026138305664) + (call $std/math/test_truncf + (f32.const -0.5) + (f32.const -0) + (f32.const 0) (i32.const 1) ) ) @@ -40907,7 +56663,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2124) + (i32.const 3116) (i32.const 0) ) (unreachable) @@ -40915,10 +56671,10 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0.6787636876106262) - (f32.const -0.5907150506973267) - (f32.const 0.4079873859882355) + (call $std/math/test_truncf + (f32.const 1.0000152587890625) + (f32.const 1) + (f32.const 0) (i32.const 1) ) ) @@ -40926,7 +56682,7 @@ (call $abort (i32.const 0) (i32.const 4) - (i32.const 2125) + (i32.const 3117) (i32.const 0) ) (unreachable) @@ -40934,18 +56690,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const 0) - (f32.const 0) + (call $std/math/test_truncf + (f32.const -1.0000152587890625) + (f32.const -1) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2128) + (i32.const 3118) (i32.const 0) ) (unreachable) @@ -40953,18 +56709,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const -0) - (f32.const -0) + (call $std/math/test_truncf + (f32.const 0.9999923706054688) (f32.const 0) - (i32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2129) + (i32.const 3119) (i32.const 0) ) (unreachable) @@ -40972,18 +56728,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const inf) - (f32.const 1) + (call $std/math/test_truncf + (f32.const -0.9999923706054688) + (f32.const -0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2130) + (i32.const 3120) (i32.const 0) ) (unreachable) @@ -40991,20 +56747,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.neg - (f32.const inf) - ) - (f32.const -1) + (call $std/math/test_truncf + (f32.const 7.888609052210118e-31) (f32.const 0) - (i32.const 0) + (f32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2131) + (i32.const 3121) (i32.const 0) ) (unreachable) @@ -41012,18 +56766,18 @@ ) (if (i32.eqz - (call $std/math/test_tanhf - (f32.const nan:0x400000) - (f32.const nan:0x400000) + (call $std/math/test_truncf + (f32.const -7.888609052210118e-31) + (f32.const -0) (f32.const 0) - (i32.const 0) + (i32.const 1) ) ) (block (call $abort (i32.const 0) (i32.const 4) - (i32.const 2132) + (i32.const 3122) (i32.const 0) ) (unreachable) From 4170a6034b9b6e8582bb1979f63aff79dfc9bf81 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 30 Mar 2018 17:14:44 +0200 Subject: [PATCH 5/5] Math.round JS semantics; Cleanup --- std/assembly/math.ts | 193 ++++------------ tests/compiler/std/libm.optimized.wat | 131 ++++++----- tests/compiler/std/libm.untouched.wat | 155 ++++++++----- tests/compiler/std/math.optimized.wat | 263 +++++++++++++--------- tests/compiler/std/math.ts | 8 +- tests/compiler/std/math.untouched.wat | 311 ++++++++++++++++---------- webpack.config.js | 3 + 7 files changed, 559 insertions(+), 505 deletions(-) diff --git a/std/assembly/math.ts b/std/assembly/math.ts index a29aae4dfc..299bc8adcd 100644 --- a/std/assembly/math.ts +++ b/std/assembly/math.ts @@ -54,7 +54,6 @@ import { floor as builtin_floor, max as builtin_max, min as builtin_min, - nearest as builtin_nearest, sqrt as builtin_sqrt, trunc as builtin_trunc } from "./builtins"; @@ -68,6 +67,8 @@ import { // // Applies to all functions marked with a comment referring here. +// TODO: sin, cos, tan + export namespace NativeMath { export const E = reinterpret(0x4005BF0A8B145769); // 2.7182818284590452354 @@ -366,59 +367,8 @@ export namespace NativeMath { return builtin_clz(x); } - function __cos(x: f64, y: f64): f64 { // see: musl/src/math/__cos.c and SUN COPYRIGHT NOTICE above - const - C1 = reinterpret(0x3FA555555555554C), // 4.16666666666666019037e-02 - C2 = reinterpret(0xBF56C16C16C15177), // -1.38888888888741095749e-03 - C3 = reinterpret(0x3EFA01A019CB1590), // 2.48015872894767294178e-05 - C4 = reinterpret(0xBE927E4F809C52AD), // -2.75573143513906633035e-07 - C5 = reinterpret(0x3E21EE9EBDB4B1C4), // 2.08757232129817482790e-09 - C6 = reinterpret(0xBDA8FAE9BE8838D4); // -1.13596475577881948265e-11 - var z = x * x; - var w = z * z; - var r = z * (C1 + z * (C2 + z * C3)) + w * w * (C4 + z * (C5 + z * C6)); - var hz = 0.5 * z; - w = 1.0 - hz; - return w + (((1.0 - w) - hz) + (z * r - x * y)); - } - - // function __rem_pio2(x: f64, y: f64): i32 { // see: musl/src/math/__rem_pio2.c and SUN COPYRIGHT NOTICE above - // const - // toint = 1.5 / reinterpret(0x3CB0000000000000), // 1.5 / 0x1p-52 - // invpio2 = reinterpret(0x3FE45F306DC9C883), // 6.36619772367581382433e-01 - // pio2_1 = reinterpret(0x3FF921FB54400000), // 1.57079632673412561417e+00 - // pio2_1t = reinterpret(0x3DD0B4611A626331), // 6.07710050650619224932e-11 - // pio2_2 = reinterpret(0x3DD0B4611A600000), // 6.07710050630396597660e-11 - // pio2_2t = reinterpret(0x3BA3198A2E037073), // 2.02226624879595063154e-21 - // pio2_3 = reinterpret(0x3BA3198A2E000000), // 2.02226624871116645580e-21 - // pio2_3t = reinterpret(0x397B839A252049C1); // 8.47842766036889956997e-32 - // var u = reinterpret(x); - // var z: f64, w: f64, t: f64, r: f64, fn: f64; - // var n: i32, ex: i32, ey: i32, i: i32; - - // var ix = (u >> 32 & 0x7fffffff); - // var sign = u >> 63; - // } - - export function cos(x: f64): f64 { // see: musl/src/math/cos.c and SUN COPYRIGHT NOTICE above - // TODO: __rem_pio2 is quite large - // var y0: f64, y1: f64; - // var n: u32; - // var ix = (reinterpret(x) >> 32); - // ix &= 0x7FFFFFFF; - // if (ix <= 0x3FE921FB) { - // if (ix < 0x3E46A09E) return 1.0; - // return __cos(x, 0); - // } - // if (ix >= 0x7FF00000) return x-x; - // n = __rem_pio2(x, y); - // switch (n & 3) { - // case 0: return __cos(y0, y1); - // case 1: return -__sin(y0, y1, 1); - // case 2: return -__cos(y0, y1); - // default: return __sin(y0, y1, 1); - // } - unreachable(); // TODO + export function cos(x: f64): f64 { // TODO + unreachable(); return 0; } @@ -1051,15 +1001,22 @@ export namespace NativeMath { const toint = 1.0 / f64.EPSILON; var ux = reinterpret(x); var e = (ux >> 52 & 0x7ff); - var y: f64; if (e >= 0x3FF + 52) return x; - if (ux >> 63) x = -x; - if (e < 0x3FF - 1) return 0 * reinterpret(ux); - y = x + toint - toint - x; - if (y > 0.5) y = y + x - 1; - else if (y <= -0.5) y = y + x + 1; - else y = y + x; - if (ux >> 63) y = -y; + if (e < 0x3FF - 1) return 0 * x; + var y: f64; + if (ux >> 63) { + // FIXME: JS always rounds fractional 0.5 towards +Infinity + // and there certainly is a smarter way to do this. + y = toint - x - toint + x; + if (y >= 0.5) y = x - y + 1; + else if (y < -0.5) y = x - y - 1; + else y = x - y; + } else { + y = x + toint - toint - x; + if (y > 0.5) y = y + x - 1; + else if (y <= -0.5) y = y + x + 1; + else y = y + x; + } return y; } @@ -1067,24 +1024,8 @@ export namespace NativeMath { return x > 0 ? 1 : x < 0 ? -1 : x; } - function __sin(x: f64, y: f64, iy: i32): f64 { // see: musl/src/math/__sin.c and SUN COPYRIGHT NOTICE above - const - S1 = reinterpret(0xBFC5555555555549), // -1.66666666666666324348e-01 - S2 = reinterpret(0x3F8111111110F8A6), // 8.33333333332248946124e-03 - S3 = reinterpret(0xBF2A01A019C161D5), // -1.98412698298579493134e-04 - S4 = reinterpret(0x3EC71DE357B1FE7D), // 2.75573137070700676789e-06 - S5 = reinterpret(0xBE5AE5E68A2B9CEB), // -2.50507602534068634195e-08 - S6 = reinterpret(0x3DE5D93A5ACFD57C); // 1.58969099521155010221e-10 - var z = x * x; - var w = z * z; - var r = S2 + z * (S3 + z * S4) + z * w * (S5 + z * S6); - var v = z * x; - if (iy == 0) return x + v * (S1 + z * r); - return x - ((z * (0.5 * y - v * r) - y) - v * S1); - } - - export function sin(x: f64): f64 { - unreachable(); // TODO + export function sin(x: f64): f64 { // TODO + unreachable(); return 0; } @@ -1112,59 +1053,8 @@ export namespace NativeMath { return builtin_sqrt(x); } - function __tan(x: f64, y: f64, odd: i32): f64 { // see: musl/src/math/__tan.c and SUN COPYRIGHT NOTICE above - const - T0 = reinterpret(0x3FD5555555555563), // 3.33333333333334091986e-01 - T1 = reinterpret(0x3FC111111110FE7A), // 1.33333333333201242699e-01 - T2 = reinterpret(0x3FABA1BA1BB341FE), // 5.39682539762260521377e-02 - T3 = reinterpret(0x3F9664F48406D637), // 2.18694882948595424599e-02 - T4 = reinterpret(0x3F8226E3E96E8493), // 8.86323982359930005737e-03 - T5 = reinterpret(0x3F6D6D22C9560328), // 3.59207910759131235356e-03 - T6 = reinterpret(0x3F57DBC8FEE08315), // 1.45620945432529025516e-03 - T7 = reinterpret(0x3F4344D8F2F26501), // 5.88041240820264096874e-04 - T8 = reinterpret(0x3F3026F71A8D1068), // 2.46463134818469906812e-04 - T9 = reinterpret(0x3F147E88A03792A6), // 7.81794442939557092300e-05 - T10 = reinterpret(0x3F12B80F32F0A7E9), // 7.14072491382608190305e-05 - T11 = reinterpret(0xBEF375CBDB605373), // -1.85586374855275456654e-05, - T12 = reinterpret(0x3EFB2A7074BF7AD4), // 2.59073051863633712884e-05 - pio4 = reinterpret(0x3FE921FB54442D18), // 7.85398163397448278999e-01 - pio4lo = reinterpret(0x3C81A62633145C07); // 3.06161699786838301793e-17 - var hx = (reinterpret(x) >> 32); - var big = (hx & 0x7FFFFFFF) >= 0x3FE59428; - var sign_ = 0; - if (big) { - sign_ = hx >> 31; - if (sign_) { - x = -x; - y = -y; - } - x = (pio4 - x) + (pio4lo - y); - y = 0.0; - } - var z = x * x; - var w = z * z; - var r = T1 + w * (T3 + w * (T5 + w * (T7 + w * (T9 + w * T11)))); - var v = z * (T2 + w * (T4 + w * (T6 + w * (T8 + w * (T10 + w * T12))))); - var s = z * x; - r = y + z * (s * (r + v) + y) + s * T0; - w = x + r; - if (big) { - s = 1 - 2 * odd; - v = s - 2.0 * (x + (r - w * w / (w + s))); - return sign_ ? -v : v; - } - if (!odd) return w; - var w0 = w; - w0 = reinterpret(reinterpret(w0) & 0xFFFFFFFF00000000); - v = r - (w0 - x); - var a = -1.0 / w; - var a0 = a; - a0 = reinterpret(reinterpret(a0) & 0xFFFFFFFF00000000); - return a0 + a * (1.0 + a0 * w0 + a0 * v); - } - - export function tan(x: f64): f64 { - unreachable(); // TODO + export function tan(x: f64): f64 { // TODO + unreachable(); return 0; } @@ -1602,8 +1492,8 @@ export namespace NativeMathf { return builtin_clz(x); } - export function cos(x: f32): f32 { - unreachable(); // TODO + export function cos(x: f32): f32 { // TODO + unreachable(); return 0; } @@ -2144,15 +2034,22 @@ export namespace NativeMathf { const toint = 1.0 / f32.EPSILON; var ux = reinterpret(x); var e = (ux >> 23 & 0xff); - var y: f32; if (e >= 0x7F + 23) return x; - if (ux >> 31) x = -x; - if (e < 0x7F - 1) return 0 * reinterpret(ux); - y = x + toint - toint - x; - if (y > 0.5) y = y + x - 1; - else if (y <= -0.5) y = y + x + 1; - else y = y + x; - if (ux >> 31) y = -y; + if (e < 0x7F - 1) return 0 * x; + var y: f32; + if (ux >> 31) { + // FIXME: JS always rounds fractional 0.5 towards +Infinity + // and there certainly is a smarter way to do this. + y = toint - x - toint + x; + if (y >= 0.5) y = x - y + 1; + else if (y < -0.5) y = x - y - 1; + else y = x - y; + } else { + y = x + toint - toint - x; + if (y > 0.5) y = y + x - 1; + else if (y <= -0.5) y = y + x + 1; + else y = y + x; + } return y; } @@ -2160,8 +2057,8 @@ export namespace NativeMathf { return x > 0 ? 1 : x < 0 ? -1 : x; } - export function sin(x: f32): f32 { - unreachable(); // TODO + export function sin(x: f32): f32 { // TODO + unreachable(); return 0; } @@ -2196,8 +2093,8 @@ export namespace NativeMathf { return builtin_sqrt(x); } - export function tan(x: f32): f32 { - unreachable(); // TODO + export function tan(x: f32): f32 { // TODO + unreachable(); return 0; } @@ -2382,5 +2279,3 @@ function murmurHash3(h: u64): u64 { h ^= h >> 33; return h; } - -declare function logf(f: f64): void; \ No newline at end of file diff --git a/tests/compiler/std/libm.optimized.wat b/tests/compiler/std/libm.optimized.wat index 4b31e71dbf..c5a0d19234 100644 --- a/tests/compiler/std/libm.optimized.wat +++ b/tests/compiler/std/libm.optimized.wat @@ -5642,20 +5642,6 @@ (get_local $0) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $0 - (f64.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $3) @@ -5664,70 +5650,103 @@ (return (f64.mul (f64.const 0) - (f64.reinterpret/i64 - (get_local $2) - ) + (get_local $0) ) ) ) - (set_local $1 + (tee_local $1 (if (result f64) - (f64.gt - (tee_local $1 - (f64.sub - (f64.sub - (f64.add - (get_local $0) + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (if (result f64) + (f64.ge + (tee_local $1 + (f64.add + (f64.sub + (f64.sub + (f64.const 4503599627370496) + (get_local $0) + ) (f64.const 4503599627370496) ) - (f64.const 4503599627370496) + (get_local $0) ) - (get_local $0) ) + (f64.const 0.5) ) - (f64.const 0.5) - ) - (f64.sub (f64.add - (get_local $1) - (get_local $0) + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + (select + (f64.sub + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.lt + (get_local $1) + (f64.const -0.5) + ) ) - (f64.const 1) ) - (select - (f64.add + (if (result f64) + (f64.gt + (tee_local $1 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) + (get_local $0) + ) + ) + (f64.const 0.5) + ) + (f64.sub (f64.add (get_local $1) (get_local $0) ) (f64.const 1) ) - (f64.add - (get_local $1) - (get_local $0) - ) - (f64.le - (get_local $1) - (f64.const -0.5) + (select + (f64.add + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.le + (get_local $1) + (f64.const -0.5) + ) ) ) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $1 - (f64.neg - (get_local $1) - ) - ) - ) - (get_local $1) ) (func $std/libm/round (; 56 ;) (type $FF) (param $0 f64) (result f64) (call "$(lib)/math/NativeMath.round" diff --git a/tests/compiler/std/libm.untouched.wat b/tests/compiler/std/libm.untouched.wat index 88ec2b629a..8b1db308ab 100644 --- a/tests/compiler/std/libm.untouched.wat +++ b/tests/compiler/std/libm.untouched.wat @@ -6668,7 +6668,6 @@ ) ) ) - (nop) (if (i32.ge_s (get_local $2) @@ -6681,20 +6680,6 @@ (get_local $0) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $0 - (f64.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $2) @@ -6706,71 +6691,117 @@ (return (f64.mul (f64.const 0) - (f64.reinterpret/i64 - (get_local $1) - ) - ) - ) - ) - (set_local $3 - (f64.sub - (f64.sub - (f64.add - (get_local $0) - (f64.const 4503599627370496) - ) - (f64.const 4503599627370496) + (get_local $0) ) - (get_local $0) ) ) + (nop) (if - (f64.gt - (get_local $3) - (f64.const 0.5) + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) ) - (set_local $3 - (f64.sub + (block + (set_local $3 (f64.add - (get_local $3) + (f64.sub + (f64.sub + (f64.const 4503599627370496) + (get_local $0) + ) + (f64.const 4503599627370496) + ) (get_local $0) ) - (f64.const 1) ) - ) - (if - (f64.le - (get_local $3) - (f64.const -0.5) - ) - (set_local $3 - (f64.add + (if + (f64.ge + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 (f64.add + (f64.sub + (get_local $0) + (get_local $3) + ) + (f64.const 1) + ) + ) + (if + (f64.lt (get_local $3) - (get_local $0) + (f64.const -0.5) + ) + (set_local $3 + (f64.sub + (f64.sub + (get_local $0) + (get_local $3) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.sub + (get_local $0) + (get_local $3) + ) ) - (f64.const 1) ) ) + ) + (block (set_local $3 - (f64.add - (get_local $3) + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) (get_local $0) ) ) - ) - ) - (if - (i64.ne - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $3 - (f64.neg - (get_local $3) + (if + (f64.gt + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 + (f64.sub + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (if + (f64.le + (get_local $3) + (f64.const -0.5) + ) + (set_local $3 + (f64.add + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (get_local $0) + ) + ) + ) ) ) ) diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index 4df8712f80..81ce3ec16c 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -12134,7 +12134,7 @@ (call $abort (i32.const 0) (i32.const 32) - (i32.const 1030) + (i32.const 980) (i32.const 4) ) (unreachable) @@ -12252,20 +12252,6 @@ (get_local $0) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $0 - (f64.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $3) @@ -12274,70 +12260,103 @@ (return (f64.mul (f64.const 0) - (f64.reinterpret/i64 - (get_local $2) - ) + (get_local $0) ) ) ) - (set_local $1 + (tee_local $1 (if (result f64) - (f64.gt - (tee_local $1 - (f64.sub - (f64.sub - (f64.add - (get_local $0) + (i64.ne + (i64.shr_u + (get_local $2) + (i64.const 63) + ) + (i64.const 0) + ) + (if (result f64) + (f64.ge + (tee_local $1 + (f64.add + (f64.sub + (f64.sub + (f64.const 4503599627370496) + (get_local $0) + ) (f64.const 4503599627370496) ) - (f64.const 4503599627370496) + (get_local $0) ) - (get_local $0) ) + (f64.const 0.5) ) - (f64.const 0.5) - ) - (f64.sub (f64.add - (get_local $1) - (get_local $0) + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + (select + (f64.sub + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.const 1) + ) + (f64.sub + (get_local $0) + (get_local $1) + ) + (f64.lt + (get_local $1) + (f64.const -0.5) + ) ) - (f64.const 1) ) - (select - (f64.add + (if (result f64) + (f64.gt + (tee_local $1 + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) + (get_local $0) + ) + ) + (f64.const 0.5) + ) + (f64.sub (f64.add (get_local $1) (get_local $0) ) (f64.const 1) ) - (f64.add - (get_local $1) - (get_local $0) - ) - (f64.le - (get_local $1) - (f64.const -0.5) + (select + (f64.add + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.const 1) + ) + (f64.add + (get_local $1) + (get_local $0) + ) + (f64.le + (get_local $1) + (f64.const -0.5) + ) ) ) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $2) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $1 - (f64.neg - (get_local $1) - ) - ) - ) - (get_local $1) ) (func $std/math/test_round (; 145 ;) (type $FFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32) (result i32) (call $std/math/check @@ -12374,17 +12393,6 @@ (get_local $0) ) ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (set_local $0 - (f32.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $3) @@ -12393,67 +12401,100 @@ (return (f32.mul (f32.const 0) - (f32.reinterpret/i32 - (get_local $2) - ) + (get_local $0) ) ) ) - (set_local $1 + (tee_local $1 (if (result f32) - (f32.gt - (tee_local $1 - (f32.sub - (f32.sub - (f32.add - (get_local $0) + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (if (result f32) + (f32.ge + (tee_local $1 + (f32.add + (f32.sub + (f32.sub + (f32.const 8388608) + (get_local $0) + ) (f32.const 8388608) ) - (f32.const 8388608) + (get_local $0) ) - (get_local $0) ) + (f32.const 0.5) ) - (f32.const 0.5) - ) - (f32.sub (f32.add - (get_local $1) - (get_local $0) + (f32.sub + (get_local $0) + (get_local $1) + ) + (f32.const 1) + ) + (select + (f32.sub + (f32.sub + (get_local $0) + (get_local $1) + ) + (f32.const 1) + ) + (f32.sub + (get_local $0) + (get_local $1) + ) + (f32.lt + (get_local $1) + (f32.const -0.5) + ) ) - (f32.const 1) ) - (select - (f32.add + (if (result f32) + (f32.gt + (tee_local $1 + (f32.sub + (f32.sub + (f32.add + (get_local $0) + (f32.const 8388608) + ) + (f32.const 8388608) + ) + (get_local $0) + ) + ) + (f32.const 0.5) + ) + (f32.sub (f32.add (get_local $1) (get_local $0) ) (f32.const 1) ) - (f32.add - (get_local $1) - (get_local $0) - ) - (f32.le - (get_local $1) - (f32.const -0.5) + (select + (f32.add + (f32.add + (get_local $1) + (get_local $0) + ) + (f32.const 1) + ) + (f32.add + (get_local $1) + (get_local $0) + ) + (f32.le + (get_local $1) + (f32.const -0.5) + ) ) ) ) ) - (if - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (set_local $1 - (f32.neg - (get_local $1) - ) - ) - ) - (get_local $1) ) (func $std/math/test_roundf (; 147 ;) (type $fffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32) (result i32) (call $std/math/check @@ -45030,7 +45071,7 @@ (i32.eqz (call $std/math/test_round (f64.const -0.5) - (f64.const -1) + (f64.const -0) (f64.const 0) (i32.const 1) ) @@ -45068,7 +45109,7 @@ (i32.eqz (call $std/math/test_round (f64.const -1.5) - (f64.const -2) + (f64.const -1) (f64.const 0) (i32.const 1) ) @@ -45543,7 +45584,7 @@ (i32.eqz (call $std/math/test_roundf (f32.const -0.5) - (f32.const -1) + (f32.const -0) (f32.const 0) (i32.const 1) ) @@ -45581,7 +45622,7 @@ (i32.eqz (call $std/math/test_round (f64.const -1.5) - (f64.const -2) + (f64.const -1) (f64.const 0) (i32.const 1) ) diff --git a/tests/compiler/std/math.ts b/tests/compiler/std/math.ts index 7e875d84ff..f9b433fe4d 100644 --- a/tests/compiler/std/math.ts +++ b/tests/compiler/std/math.ts @@ -2439,9 +2439,9 @@ assert(test_round(-0.0, -0.0, 0.0, 0)); assert(test_round(1.0, 1.0, 0.0, 0)); assert(test_round(-1.0, -1.0, 0.0, 0)); assert(test_round(0.5, 1.0, 0.0, INEXACT)); -assert(test_round(-0.5, -1.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 +assert(test_round(-0.5, -0.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 assert(test_round(1.5, 2.0, 0.0, INEXACT)); -assert(test_round(-1.5, -2.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 +assert(test_round(-1.5, -1.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 assert(test_round(1.00001525878906250, 1.0, 0.0, INEXACT)); assert(test_round(-1.00001525878906250, -1.0, 0.0, INEXACT)); assert(test_round(0.999992370605468750, 1.0, 0.0, INEXACT)); @@ -2476,9 +2476,9 @@ assert(test_roundf(-0.0, -0.0, 0.0, 0)); assert(test_roundf(1.0, 1.0, 0.0, 0)); assert(test_roundf(-1.0, -1.0, 0.0, 0)); assert(test_roundf(0.5, 1.0, 0.0, INEXACT)); -assert(test_roundf(-0.5, -1.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 +assert(test_roundf(-0.5, -0.0, 0.0, INEXACT)); // C: -1.0, JS: -0.0 assert(test_round(1.5, 2.0, 0.0, INEXACT)); -assert(test_round(-1.5, -2.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 +assert(test_round(-1.5, -1.0, 0.0, INEXACT)); // C: -2.0, JS: -1.0 assert(test_roundf(1.000015259, 1.0, 0.0, INEXACT)); assert(test_roundf(-1.000015259, -1.0, 0.0, INEXACT)); assert(test_roundf(0.9999923706, 1.0, 0.0, INEXACT)); diff --git a/tests/compiler/std/math.untouched.wat b/tests/compiler/std/math.untouched.wat index d9fd19c2f0..f13a59da79 100644 --- a/tests/compiler/std/math.untouched.wat +++ b/tests/compiler/std/math.untouched.wat @@ -14353,7 +14353,7 @@ (call $abort (i32.const 0) (i32.const 32) - (i32.const 1030) + (i32.const 980) (i32.const 4) ) (unreachable) @@ -14482,7 +14482,6 @@ ) ) ) - (nop) (if (i32.ge_s (get_local $2) @@ -14495,20 +14494,6 @@ (get_local $0) ) ) - (if - (i64.ne - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $0 - (f64.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $2) @@ -14520,71 +14505,117 @@ (return (f64.mul (f64.const 0) - (f64.reinterpret/i64 - (get_local $1) - ) - ) - ) - ) - (set_local $3 - (f64.sub - (f64.sub - (f64.add - (get_local $0) - (f64.const 4503599627370496) - ) - (f64.const 4503599627370496) + (get_local $0) ) - (get_local $0) ) ) + (nop) (if - (f64.gt - (get_local $3) - (f64.const 0.5) + (i64.ne + (i64.shr_u + (get_local $1) + (i64.const 63) + ) + (i64.const 0) ) - (set_local $3 - (f64.sub + (block + (set_local $3 (f64.add - (get_local $3) + (f64.sub + (f64.sub + (f64.const 4503599627370496) + (get_local $0) + ) + (f64.const 4503599627370496) + ) (get_local $0) ) - (f64.const 1) - ) - ) - (if - (f64.le - (get_local $3) - (f64.const -0.5) ) - (set_local $3 - (f64.add + (if + (f64.ge + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 (f64.add + (f64.sub + (get_local $0) + (get_local $3) + ) + (f64.const 1) + ) + ) + (if + (f64.lt (get_local $3) - (get_local $0) + (f64.const -0.5) + ) + (set_local $3 + (f64.sub + (f64.sub + (get_local $0) + (get_local $3) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.sub + (get_local $0) + (get_local $3) + ) ) - (f64.const 1) ) ) + ) + (block (set_local $3 - (f64.add - (get_local $3) + (f64.sub + (f64.sub + (f64.add + (get_local $0) + (f64.const 4503599627370496) + ) + (f64.const 4503599627370496) + ) (get_local $0) ) ) - ) - ) - (if - (i64.ne - (i64.shr_u - (get_local $1) - (i64.const 63) - ) - (i64.const 0) - ) - (set_local $3 - (f64.neg - (get_local $3) + (if + (f64.gt + (get_local $3) + (f64.const 0.5) + ) + (set_local $3 + (f64.sub + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (if + (f64.le + (get_local $3) + (f64.const -0.5) + ) + (set_local $3 + (f64.add + (f64.add + (get_local $3) + (get_local $0) + ) + (f64.const 1) + ) + ) + (set_local $3 + (f64.add + (get_local $3) + (get_local $0) + ) + ) + ) ) ) ) @@ -14623,7 +14654,6 @@ (i32.const 255) ) ) - (nop) (if (i32.ge_s (get_local $2) @@ -14636,17 +14666,6 @@ (get_local $0) ) ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (set_local $0 - (f32.neg - (get_local $0) - ) - ) - ) (if (i32.lt_s (get_local $2) @@ -14658,68 +14677,114 @@ (return (f32.mul (f32.const 0) - (f32.reinterpret/i32 - (get_local $1) - ) - ) - ) - ) - (set_local $3 - (f32.sub - (f32.sub - (f32.add - (get_local $0) - (f32.const 8388608) - ) - (f32.const 8388608) + (get_local $0) ) - (get_local $0) ) ) + (nop) (if - (f32.gt - (get_local $3) - (f32.const 0.5) + (i32.shr_u + (get_local $1) + (i32.const 31) ) - (set_local $3 - (f32.sub + (block + (set_local $3 (f32.add - (get_local $3) + (f32.sub + (f32.sub + (f32.const 8388608) + (get_local $0) + ) + (f32.const 8388608) + ) (get_local $0) ) - (f32.const 1) - ) - ) - (if - (f32.le - (get_local $3) - (f32.const -0.5) ) - (set_local $3 - (f32.add + (if + (f32.ge + (get_local $3) + (f32.const 0.5) + ) + (set_local $3 (f32.add + (f32.sub + (get_local $0) + (get_local $3) + ) + (f32.const 1) + ) + ) + (if + (f32.lt (get_local $3) - (get_local $0) + (f32.const -0.5) + ) + (set_local $3 + (f32.sub + (f32.sub + (get_local $0) + (get_local $3) + ) + (f32.const 1) + ) + ) + (set_local $3 + (f32.sub + (get_local $0) + (get_local $3) + ) ) - (f32.const 1) ) ) + ) + (block (set_local $3 - (f32.add - (get_local $3) + (f32.sub + (f32.sub + (f32.add + (get_local $0) + (f32.const 8388608) + ) + (f32.const 8388608) + ) (get_local $0) ) ) - ) - ) - (if - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (set_local $3 - (f32.neg - (get_local $3) + (if + (f32.gt + (get_local $3) + (f32.const 0.5) + ) + (set_local $3 + (f32.sub + (f32.add + (get_local $3) + (get_local $0) + ) + (f32.const 1) + ) + ) + (if + (f32.le + (get_local $3) + (f32.const -0.5) + ) + (set_local $3 + (f32.add + (f32.add + (get_local $3) + (get_local $0) + ) + (f32.const 1) + ) + ) + (set_local $3 + (f32.add + (get_local $3) + (get_local $0) + ) + ) + ) ) ) ) @@ -48295,7 +48360,7 @@ (i32.eqz (call $std/math/test_round (f64.const -0.5) - (f64.const -1) + (f64.const -0) (f64.const 0) (i32.const 1) ) @@ -48333,7 +48398,7 @@ (i32.eqz (call $std/math/test_round (f64.const -1.5) - (f64.const -2) + (f64.const -1) (f64.const 0) (i32.const 1) ) @@ -48812,7 +48877,7 @@ (i32.eqz (call $std/math/test_roundf (f32.const -0.5) - (f32.const -1) + (f32.const -0) (f32.const 0) (i32.const 1) ) @@ -48850,7 +48915,7 @@ (i32.eqz (call $std/math/test_round (f64.const -1.5) - (f64.const -2) + (f64.const -1) (f64.const 0) (i32.const 1) ) diff --git a/webpack.config.js b/webpack.config.js index 96b9d9d6cc..759d67b5e1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -52,6 +52,9 @@ const bin = { globalObject: "typeof self !== 'undefined' ? self : this" }, devtool: "source-map", + performance: { + hints : false + }, plugins: [ new webpack.DefinePlugin({ BUNDLE_VERSION: JSON.stringify(require("./package.json").version),