assemblyscript/tests/compiler/std/math.optimized.wat

7618 lines
143 KiB
Plaintext
Raw Normal View History

2018-03-24 17:18:15 +01:00
(module
(type $FFFFiv (func (param f64 f64 f64 f64 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 $fff (func (param f32 f32) (result f32)))
(type $fffiv (func (param f32 f32 f32 i32)))
2018-03-24 17:18:15 +01:00
(type $FF (func (param f64) (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)))
2018-03-24 17:18:15 +01:00
(type $v (func))
(import "JSMath" "log" (func $(lib)/math/JSMath.log (param f64) (result f64)))
(import "JSMath" "exp" (func $(lib)/math/JSMath.exp (param f64) (result f64)))
2018-03-24 17:18:15 +01:00
(memory $0 1)
(data (i32.const 4) "\0b\00\00\00s\00t\00d\00/\00m\00a\00t\00h\00.\00t\00s")
2018-03-24 17:18:15 +01:00
(export "memory" (memory $0))
(start $start)
(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)
2018-03-24 17:18:15 +01:00
(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)
2018-03-24 17:18:15 +01:00
)
)
(i64.const 52)
2018-03-24 17:18:15 +01:00
)
(i64.const 2047)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
(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
2018-03-24 17:18:15 +01:00
(get_local $3)
(i32.const 2047)
2018-03-24 17:18:15 +01:00
)
)
(i32.const 1)
)
(return
(f64.div
(f64.mul
(get_local $0)
(get_local $1)
)
(f64.mul
(get_local $0)
(get_local $1)
2018-03-24 17:18:15 +01:00
)
)
)
)
(if
(i64.le_u
(i64.shl
(get_local $2)
(i64.const 1)
2018-03-24 17:18:15 +01:00
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
(return
(get_local $0)
)
2018-03-24 17:18:15 +01:00
)
)
(set_local $7
(i32.wrap/i64
(i64.shr_u
2018-03-24 17:18:15 +01:00
(get_local $2)
(i64.const 63)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
)
2018-03-24 17:18:15 +01:00
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
)
)
)
(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)
)
)
)
)
2018-03-24 17:18:15 +01:00
)
)
(loop $continue|2
2018-03-24 17:18:15 +01:00
(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)
2018-03-24 17:18:15 +01:00
)
)
(block
(br_if $folding-inner0
(i64.eqz
(get_local $4)
)
)
(set_local $2
(get_local $4)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
(set_local $2
(i64.shl
(get_local $2)
(i64.const 1)
)
)
(br $continue|3)
2018-03-24 17:18:15 +01:00
)
)
)
(return
(f64.reinterpret/i64
(i64.or
(tee_local $2
(select
2018-03-24 17:18:15 +01:00
(i64.or
(i64.sub
(get_local $2)
(i64.const 4503599627370496)
)
2018-03-24 17:18:15 +01:00
(i64.shl
(i64.extend_u/i32
(get_local $3)
2018-03-24 17:18:15 +01:00
)
(i64.const 52)
2018-03-24 17:18:15 +01:00
)
)
(i64.shr_u
(get_local $2)
(i64.extend_u/i32
(i32.sub
(i32.const 1)
(get_local $3)
)
2018-03-24 17:18:15 +01:00
)
)
(i32.gt_s
(get_local $3)
(i32.const 0)
)
2018-03-24 17:18:15 +01:00
)
)
(i64.shl
(i64.extend_u/i32
(get_local $7)
2018-03-24 17:18:15 +01:00
)
(i64.const 63)
2018-03-24 17:18:15 +01:00
)
)
)
)
)
(f64.mul
(f64.const 0)
(get_local $0)
)
)
(func $std/math/check<f64> (; 3 ;) (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)
2018-03-24 17:18:15 +01:00
)
)
)
(get_local $3)
(f64.gt
(f64.abs
(f64.sub
2018-03-24 17:18:15 +01:00
(get_local $0)
(get_local $1)
2018-03-24 17:18:15 +01:00
)
)
(f64.abs
(get_local $2)
)
2018-03-24 17:18:15 +01:00
)
)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
(unreachable)
2018-03-24 17:18:15 +01:00
)
)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_fmod (; 4 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32)
(call $std/math/check<f64>
(call $fmod
(get_local $0)
(get_local $1)
)
(get_local $2)
(get_local $3)
(get_local $4)
2018-03-24 17:18:15 +01:00
)
)
(func $fmodf (; 5 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32)
2018-03-24 17:18:15 +01:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
2018-03-24 17:18:15 +01:00
(local $6 i32)
(local $7 f32)
(local $8 i32)
(block $folding-inner0
(set_local $4
(i32.and
2018-03-24 17:18:15 +01:00
(i32.shr_u
(tee_local $2
(i32.reinterpret/f32
2018-03-24 17:18:15 +01:00
(get_local $0)
)
)
(i32.const 23)
2018-03-24 17:18:15 +01:00
)
(i32.const 255)
2018-03-24 17:18:15 +01:00
)
)
(set_local $6
(i32.and
2018-03-24 17:18:15 +01:00
(i32.shr_u
(tee_local $5
(i32.reinterpret/f32
(get_local $1)
2018-03-24 17:18:15 +01:00
)
)
(i32.const 23)
2018-03-24 17:18:15 +01:00
)
(i32.const 255)
2018-03-24 17:18:15 +01:00
)
)
(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)
)
2018-03-24 17:18:15 +01:00
)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
(return
(f32.div
(f32.mul
(get_local $0)
(get_local $1)
)
2018-03-24 17:18:15 +01:00
(f32.mul
(get_local $0)
(get_local $1)
2018-03-24 17:18:15 +01:00
)
)
)
)
(if
(i32.le_u
(i32.shl
(get_local $2)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
(i32.shl
(get_local $5)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
)
(block
(br_if $folding-inner0
(i32.eq
(i32.shl
(get_local $2)
(i32.const 1)
)
(i32.shl
(get_local $5)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
)
)
(return
(get_local $0)
)
2018-03-24 17:18:15 +01:00
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
)
(i32.shl
(get_local $2)
(i32.sub
(i32.const 1)
(get_local $4)
)
)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
(set_local $3
(i32.shl
(get_local $3)
(i32.const 1)
)
)
(br $continue|1)
2018-03-24 17:18:15 +01:00
)
)
)
(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)
2018-03-24 17:18:15 +01:00
)
)
(i32.const 31)
)
)
(block
(br_if $folding-inner0
(i32.eqz
2018-03-24 17:18:15 +01:00
(get_local $3)
)
)
(set_local $2
(get_local $3)
)
2018-03-24 17:18:15 +01:00
)
)
(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
2018-03-24 17:18:15 +01:00
(get_local $2)
(i32.sub
(i32.const 1)
(get_local $4)
)
)
(i32.gt_s
(get_local $4)
(i32.const 0)
2018-03-24 17:18:15 +01:00
)
)
)
(get_local $8)
2018-03-24 17:18:15 +01:00
)
)
)
)
(f32.mul
(f32.const 0)
(get_local $0)
)
2018-03-24 17:18:15 +01:00
)
(func $std/math/check<f32> (; 6 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32)
(local $4 f32)
2018-03-24 17:18:15 +01:00
(if
(f32.ne
(tee_local $4
(get_local $1)
2018-03-24 17:18:15 +01:00
)
(get_local $4)
2018-03-24 17:18:15 +01:00
)
(if
(f32.eq
(tee_local $4
(get_local $0)
)
(get_local $4)
2018-03-24 17:18:15 +01:00
)
(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)
)
)
)
(i32.const 1)
)
(unreachable)
)
)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_fmodf (; 7 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32)
(call $std/math/check<f32>
(call $fmodf
(get_local $0)
(get_local $1)
)
(get_local $2)
(get_local $3)
(get_local $4)
2018-03-24 17:18:15 +01:00
)
)
(func "$(lib)/math/NativeMath.log" (; 8 ;) (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)
2018-03-24 17:18:15 +01:00
(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)
2018-03-24 17:18:15 +01:00
)
)
(i32.const 1)
2018-03-24 17:18:15 +01:00
)
(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)
)
)
2018-03-24 17:18:15 +01:00
)
)
(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)
)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_log (; 9 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32)
(call $std/math/check<f64>
(call "$(lib)/math/NativeMath.log"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
(call $std/math/check<f64>
(call "$(lib)/math/JSMath.log"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
)
(func "$(lib)/math/NativeMathf.log" (; 10 ;) (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)
)
)
)
)
(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_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)
)
)
(f32.add
(f32.const 2)
(get_local $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)
)
)
(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)
)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_logf (; 11 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32)
(call $std/math/check<f32>
(call "$(lib)/math/NativeMathf.log"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
)
2018-03-26 03:50:06 +02:00
(func "$(lib)/math/scalbn" (; 12 ;) (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" (; 13 ;) (type $FF) (param $0 f64) (result f64)
(local $1 i32)
(local $2 f64)
2018-03-26 03:50:06 +02:00
(local $3 f64)
(if
(i32.ge_u
(tee_local $1
(i32.and
2018-03-26 03:50:06 +02:00
(i32.wrap/i64
(i64.shr_u
(i64.reinterpret/f64
(get_local $0)
)
(i64.const 32)
)
)
(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 -708.3964185322641)
)
(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 $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)
)
2018-03-26 03:50:06 +02:00
(f64.copysign
(f64.const 0.5)
(get_local $0)
)
)
)
(i32.sub
(i32.sub
(i32.const 1)
2018-03-26 03:50:06 +02:00
(tee_local $1
(i32.shr_u
(get_local $1)
(i32.const 31)
)
)
)
2018-03-26 03:50:06 +02:00
(get_local $1)
)
)
)
)
(f64.const 0.6931471803691238)
)
)
)
2018-03-26 03:50:06 +02:00
(tee_local $3
(f64.mul
(f64.convert_s/i32
(get_local $1)
)
(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.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)
)
)
2018-03-26 03:50:06 +02:00
(get_local $3)
)
(get_local $2)
)
)
)
(if
(i32.eqz
(get_local $1)
)
(return
(get_local $0)
)
)
(call "$(lib)/math/scalbn"
(get_local $0)
(get_local $1)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_exp (; 14 ;) (type $FFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 i32)
(call $std/math/check<f64>
(call "$(lib)/math/NativeMath.exp"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
(call $std/math/check<f64>
(call "$(lib)/math/JSMath.exp"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
)
2018-03-26 03:50:06 +02:00
(func "$(lib)/math/scalbnf" (; 15 ;) (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.exp" (; 16 ;) (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
(get_local $2)
(if
(i32.ge_u
(get_local $1)
(i32.const 1120924085)
)
(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)
)
2018-03-26 03:50:06 +02:00
(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/scalbnf"
(get_local $0)
(get_local $1)
)
)
2018-03-26 03:50:06 +02:00
(func $std/math/test_expf (; 17 ;) (type $fffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 i32)
(call $std/math/check<f32>
(call "$(lib)/math/NativeMathf.exp"
(get_local $0)
)
(get_local $1)
(get_local $2)
(get_local $3)
)
)
(func "$(lib)/math/NativeMath.sqrt" (; 18 ;) (type $FF) (param $0 f64) (result f64)
2018-03-26 03:50:06 +02:00
(f64.sqrt
(get_local $0)
)
2018-03-26 03:50:06 +02:00
)
(func "$(lib)/math/NativeMath.pow" (; 19 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64)
2018-03-26 03:50:06 +02:00
(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
(call "$(lib)/math/NativeMath.sqrt"
2018-03-26 03:50:06 +02:00
(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.9259629911266174)
)
(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/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 (; 20 ;) (type $FFFFiv) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32)
(call $std/math/check<f64>
(call "$(lib)/math/NativeMath.pow"
2018-03-26 03:50:06 +02:00
(get_local $0)
(get_local $1)
)
(get_local $2)
(get_local $3)
(get_local $4)
)
)
(func "$(lib)/math/NativeMathf.pow" (; 21 ;) (type $fff) (param $0 f32) (param $1 f32) (result f32)
2018-03-26 03:50:06 +02:00
(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/scalbnf"
(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 (; 22 ;) (type $ffffiv) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32)
(call $std/math/check<f32>
(call "$(lib)/math/NativeMathf.pow"
2018-03-26 03:50:06 +02:00
(get_local $0)
(get_local $1)
)
(get_local $2)
(get_local $3)
(get_local $4)
)
)
(func $start (; 23 ;) (type $v)
(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)
)
(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)
)
(call $std/math/test_fmod
(f64.const inf)
(f64.const 2)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_fmod
(f64.const inf)
(f64.const -0.5)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_fmod
(f64.const inf)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_fmod
(f64.const -inf)
(f64.const 2)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_fmod
(f64.const -inf)
(f64.const -0.5)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_fmod
(f64.const -inf)
(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.const -inf)
(f64.const inf)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(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.const -inf)
(f64.const -inf)
(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.const -inf)
(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)
)
(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.const -inf)
(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 0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const 0)
(f32.const -0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const 0)
(f32.const inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_fmodf
(f32.const 0)
(f32.const -inf)
(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)
)
(call $std/math/test_fmodf
(f32.const -0)
(f32.const 0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -0)
(f32.const -0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -0)
(f32.const inf)
(f32.const -0)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_fmodf
(f32.const -0)
(f32.const -inf)
(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)
)
(call $std/math/test_fmodf
(f32.const 1)
(f32.const 0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -1)
(f32.const 0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const inf)
(f32.const 0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -inf)
(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)
)
(call $std/math/test_fmodf
(f32.const -1)
(f32.const -0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const inf)
(f32.const -0)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -inf)
(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)
)
(call $std/math/test_fmodf
(f32.const inf)
(f32.const 2)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const inf)
(f32.const -0.5)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const inf)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_fmodf
(f32.const -inf)
(f32.const 2)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -inf)
(f32.const -0.5)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_fmodf
(f32.const -inf)
(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.const -inf)
(f32.const inf)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
(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.const -inf)
(f32.const -inf)
(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)
)
(call $std/math/test_log
(f64.const 4.345239849338305)
(f64.const 1.4690809584224322)
(f64.const -0.3412533402442932)
(i32.const 1)
)
(call $std/math/test_log
(f64.const -8.38143342755525)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_log
(f64.const -6.531673581913484)
(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)
)
(call $std/math/test_log
(f64.const 0.6619858980995045)
(f64.const -0.4125110252365137)
(f64.const -0.29108747839927673)
(i32.const 1)
)
(call $std/math/test_log
(f64.const -0.4066039223853553)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_log
(f64.const 0.5617597462207241)
(f64.const -0.5766810183195862)
(f64.const -0.10983199626207352)
(i32.const 1)
)
(call $std/math/test_log
(f64.const 0.7741522965913037)
(f64.const -0.2559866591263865)
(f64.const -0.057990044355392456)
(i32.const 1)
)
(call $std/math/test_log
(f64.const -0.6787637026394024)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_log
(f64.const 0)
(f64.const -inf)
(f64.const 0)
(i32.const 4)
)
(call $std/math/test_log
(f64.const -0)
(f64.const -inf)
(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.const -inf)
(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.const -inf)
(f32.const 0)
(i32.const 4)
)
(call $std/math/test_logf
(f32.const -0)
(f32.const -inf)
(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.const -inf)
(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.const -inf)
(f32.const 0)
(i32.const 4)
)
(call $std/math/test_logf
(f32.const -0)
(f32.const -inf)
(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.const -inf)
(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.const -inf)
(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)
)
(call $std/math/test_exp
(f64.const 1.0397214889526367)
(f64.const 2.8284291558764116)
(f64.const -0.22618377208709717)
(i32.const 1)
)
(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_expf
(f32.const 4.345239639282227)
(f32.const 77.11051177978516)
(f32.const -0.2875460684299469)
(i32.const 1)
)
(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_expf
(f32.const -6.531673431396484)
(f32.const 1.4565663877874613e-03)
(f32.const 0.36469703912734985)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 9.267057418823242)
(f32.const 10583.5634765625)
(f32.const 0.45962104201316833)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 0.6619858741760254)
(f32.const 1.93863844871521)
(f32.const 0.3568260967731476)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const -0.40660393238067627)
(f32.const 0.6659078598022461)
(f32.const -0.38294991850852966)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 0.5617597699165344)
(f32.const 1.753756046295166)
(f32.const 0.44355490803718567)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 0.7741522789001465)
(f32.const 2.168752908706665)
(f32.const 0.24562469124794006)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const -0.6787636876106262)
(f32.const 0.5072436928749084)
(f32.const -0.3974292278289795)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_expf
(f32.const -0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_expf
(f32.const 1)
(f32.const 2.7182817459106445)
(f32.const -0.3462330996990204)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const -1)
(f32.const 0.3678794503211975)
(f32.const 0.3070148527622223)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const inf)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_expf
(f32.const -inf)
(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)
)
(call $std/math/test_expf
(f32.const 88.72283172607422)
(f32.const 340279851902147610656242e15)
(f32.const -0.09067153930664062)
(i32.const 1)
)
(call $std/math/test_expf
(f32.const 88.72283935546875)
(f32.const inf)
(f32.const 0)
(i32.const 17)
)
(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_expf
(f32.const -103.97208404541016)
(f32.const 0)
(f32.const -0.49999651312828064)
(i32.const 9)
)
(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)
)
(call $std/math/test_pow
(f64.const -6.450045556060236)
(f64.const 0.6620717923376739)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_pow
(f64.const 7.858890253041697)
(f64.const 0.05215452675006225)
(f64.const 1.1135177413458652)
(f64.const -0.37168607115745544)
(i32.const 1)
)
(call $std/math/test_pow
(f64.const -0.792054511984896)
(f64.const 7.67640268511754)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
(call $std/math/test_pow
(f64.const 0.615702673197924)
(f64.const 2.0119025790324803)
(f64.const 0.37690773521380183)
(f64.const 0.32473301887512207)
(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)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const inf)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const 3)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const 2)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const 1)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const 0.5)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const 0)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const -0)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const -0.5)
(f64.const inf)
(f64.const 0)
(i32.const 4)
)
(call $std/math/test_pow
(f64.const 0)
(f64.const -1)
(f64.const inf)
(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.const inf)
(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.const -inf)
(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)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const inf)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const 3)
(f64.const -0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const 2)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const 1)
(f64.const -0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const 0.5)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const 0)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const -0)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const -0.5)
(f64.const inf)
(f64.const 0)
(i32.const 4)
)
(call $std/math/test_pow
(f64.const -0)
(f64.const -1)
(f64.const -inf)
(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.const -inf)
(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.const -inf)
(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.const -inf)
(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)
)
(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.const -inf)
(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)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
2018-03-26 03:50:06 +02:00
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
2018-03-26 03:50:06 +02:00
(f64.const inf)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
2018-03-26 03:50:06 +02:00
(f64.const -inf)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
2018-03-26 03:50:06 +02:00
(f64.const 2)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
(f64.const -1)
(f64.const -1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
2018-03-26 03:50:06 +02:00
(f64.const -2)
(f64.const 1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
(f64.const -3)
(f64.const -1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -1)
(f64.const 0.5)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1)
(f64.const nan:0x8000000000000)
2018-03-26 03:50:06 +02:00
(f64.const 1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1)
(f64.const inf)
2018-03-26 03:50:06 +02:00
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1)
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const 1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 1)
(f64.const 3)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1)
(f64.const 0.5)
(f64.const 1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 1)
(f64.const -0.5)
(f64.const 1)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1)
(f64.const -3)
(f64.const 1)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0.5)
(f64.const 0.5)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -0.5)
(f64.const 1.5)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -0.5)
(f64.const 2)
(f64.const 0.25)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0.5)
(f64.const 3)
(f64.const -0.125)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -0.5)
(f64.const inf)
2018-03-26 03:50:06 +02:00
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -0.5)
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const inf)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -0.5)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 0.5)
(f64.const inf)
(f64.const 0)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 0.5)
(f64.const -inf)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_pow
(f64.const 0.5)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1.5)
(f64.const inf)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1.5)
(f64.const -inf)
(f64.const 0)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const 1.5)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const inf)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const -inf)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const 3)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const 2)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const 1)
(f64.const inf)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const 0.5)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const -0.5)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const -1)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const inf)
(f64.const -2)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
(f64.const nan:0x8000000000000)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
(f64.const inf)
(f64.const inf)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
(f64.const -inf)
(f64.const 0)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
(f64.const 3)
(f64.const -inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const 2)
(f64.const inf)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
(f64.const 1)
2018-03-26 03:50:06 +02:00
(f64.const -inf)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const 0.5)
(f64.const inf)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const -0.5)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const -1)
(f64.const -0)
(f64.const 0)
(i32.const 0)
)
(call $std/math/test_pow
(f64.const -inf)
2018-03-26 03:50:06 +02:00
(f64.const -2)
(f64.const 0)
2018-03-26 03:50:06 +02:00
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const nan:0x8000000000000)
(f64.const 1)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const nan:0x8000000000000)
(f64.const -1)
(f64.const nan:0x8000000000000)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -2)
(f64.const 1)
(f64.const -2)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_pow
(f64.const -2)
(f64.const -1)
(f64.const -0.5)
(f64.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -8.066848754882812)
(f32.const 4.535662651062012)
2018-03-26 03:50:06 +02:00
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 4.345239639282227)
(f32.const -8.887990951538086)
2018-03-26 03:50:06 +02:00
(f32.const 2.134714122803416e-06)
(f32.const 0.1436440795660019)
(i32.const 1)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -8.381433486938477)
(f32.const -2.7636072635650635)
2018-03-26 03:50:06 +02:00
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -6.531673431396484)
(f32.const 4.567535400390625)
2018-03-26 03:50:06 +02:00
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 9.267057418823242)
(f32.const 4.811392307281494)
2018-03-26 03:50:06 +02:00
(f32.const 44909.33203125)
(f32.const -0.05356409028172493)
(i32.const 1)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -6.450045585632324)
(f32.const 0.6620717644691467)
2018-03-26 03:50:06 +02:00
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 7.858890056610107)
(f32.const 0.052154526114463806)
2018-03-26 03:50:06 +02:00
(f32.const 1.1135177612304688)
(f32.const 0.19122089445590973)
(i32.const 1)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.7920545339584351)
(f32.const 7.676402568817139)
2018-03-26 03:50:06 +02:00
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0.6157026886940002)
(f32.const 2.0119025707244873)
2018-03-26 03:50:06 +02:00
(f32.const 0.3769077658653259)
(f32.const 0.337149053812027)
(i32.const 1)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5587586760520935)
(f32.const 0.03223983198404312)
2018-03-26 03:50:06 +02:00
(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)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const 3)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const 2)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const 1)
2018-03-26 03:50:06 +02:00
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const 0.5)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const 0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const -0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const -0.5)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const -1)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const -2)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const -3)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
(call $std/math/test_powf
(f32.const 0)
(f32.const -4)
(f32.const inf)
(f32.const 0)
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0)
(f32.const -inf)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const 3)
(f32.const -0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const 2)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const 1)
(f32.const -0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const 0.5)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const -0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const -0.5)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const -1)
2018-03-26 03:50:06 +02:00
(f32.const -inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const -2)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const -3)
(f32.const -inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const -4)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 4)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0)
(f32.const -inf)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
2018-03-26 03:50:06 +02:00
(f32.const 0)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const nan:0x400000)
2018-03-26 03:50:06 +02:00
(f32.const -0)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const -0)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const -0)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
2018-03-26 03:50:06 +02:00
(f32.const -0)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const inf)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const -inf)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const 2)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const -1)
(f32.const -1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const -2)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -1)
(f32.const -3)
(f32.const -1)
(f32.const 0)
(i32.const 0)
)
(call $std/math/test_powf
(f32.const -1)
2018-03-26 03:50:06 +02:00
(f32.const 0.5)
(f32.const nan:0x400000)
2018-03-26 03:50:06 +02:00
(f32.const 0)
(i32.const 2)
)
(call $std/math/test_powf
(f32.const 1)
(f32.const nan:0x400000)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const inf)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const -inf)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const 3)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const 0.5)
(f32.const 1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
2018-03-26 03:50:06 +02:00
(f32.const -0.5)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1)
(f32.const -3)
(f32.const 1)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const 0.5)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const 1.5)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 2)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const 2)
(f32.const 0.25)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const 3)
(f32.const -0.125)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
2018-03-26 03:50:06 +02:00
(f32.const inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
2018-03-26 03:50:06 +02:00
(f32.const -inf)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -0.5)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0.5)
(f32.const inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0.5)
(f32.const -inf)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 0.5)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_powf
(f32.const 1.5)
(f32.const inf)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1.5)
(f32.const -inf)
(f32.const 0)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const 1.5)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const inf)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const -inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const 3)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
(call $std/math/test_powf
(f32.const inf)
(f32.const 2)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const 1)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const 0.5)
(f32.const inf)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const -0.5)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
(f32.const -1)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const inf)
2018-03-26 03:50:06 +02:00
(f32.const -2)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const nan:0x400000)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const inf)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const -inf)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const 3)
(f32.const -inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const 2)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const 1)
2018-03-26 03:50:06 +02:00
(f32.const -inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const 0.5)
(f32.const inf)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const -0.5)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
(f32.const -1)
2018-03-26 03:50:06 +02:00
(f32.const -0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -inf)
2018-03-26 03:50:06 +02:00
(f32.const -2)
(f32.const 0)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const nan:0x400000)
2018-03-26 03:50:06 +02:00
(f32.const 1)
(f32.const nan:0x400000)
(f32.const 0)
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const nan:0x400000)
(f32.const -1)
(f32.const nan:0x400000)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -2)
(f32.const 1)
(f32.const -2)
(f32.const 0)
2018-03-26 03:50:06 +02:00
(i32.const 0)
)
2018-03-26 03:50:06 +02:00
(call $std/math/test_powf
(f32.const -2)
(f32.const -1)
(f32.const -0.5)
(f32.const 0)
(i32.const 0)
2018-03-24 17:18:15 +01:00
)
)
)