@danielsimonjr/mathts-wasm 0.3.3 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/mathts-debug.d.ts +5 -1
- package/build/mathts-debug.wasm +0 -0
- package/build/mathts-debug.wasm.map +1 -1
- package/build/mathts-debug.wat +451 -141
- package/build/mathts.d.ts +5 -1
- package/build/mathts.wasm +0 -0
- package/build/mathts.wat +524 -255
- package/build/wasm-manifest.json +2 -2
- package/package.json +8 -4
package/build/mathts.wat
CHANGED
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
(type $20 (func))
|
|
23
23
|
(type $21 (func (param f64 f64 i32) (result f64)))
|
|
24
24
|
(type $22 (func (param i32 f64 i32)))
|
|
25
|
-
(type $23 (func (param i32 f64
|
|
26
|
-
(type $24 (func (param i32
|
|
27
|
-
(type $25 (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
28
|
-
(type $26 (func (param i32 i32 i32) (result
|
|
29
|
-
(type $27 (func (param i32 i32 i32
|
|
30
|
-
(type $28 (func (param i32 i32
|
|
31
|
-
(type $29 (func (param
|
|
32
|
-
(type $30 (func (param
|
|
33
|
-
(type $31 (func (param
|
|
34
|
-
(type $32 (func (param
|
|
25
|
+
(type $23 (func (param i32 f64) (result f64)))
|
|
26
|
+
(type $24 (func (param i32 f64 f64) (result i32)))
|
|
27
|
+
(type $25 (func (param i32 i32 i32 i32 i32 i32) (result i32)))
|
|
28
|
+
(type $26 (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
29
|
+
(type $27 (func (param i32 i32 i32) (result f64)))
|
|
30
|
+
(type $28 (func (param i32 i32 i32 i32 i32 i32)))
|
|
31
|
+
(type $29 (func (param i32 i32 f64) (result i32)))
|
|
32
|
+
(type $30 (func (param i64) (result i32)))
|
|
33
|
+
(type $31 (func (param f64 f64 f64 f64) (result f64)))
|
|
34
|
+
(type $32 (func (param i64 i64) (result i64)))
|
|
35
35
|
(type $33 (func (param i32 f64 f64) (result f64)))
|
|
36
36
|
(type $34 (func (param i32 i32 f64 f64 f64 f64) (result i32)))
|
|
37
37
|
(type $35 (func (param i32 i32 i32 i32 f64)))
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
(global $~lib/math/rempio2_y0 (mut f64) (f64.const 0))
|
|
61
61
|
(global $~lib/math/rempio2_y1 (mut f64) (f64.const 0))
|
|
62
62
|
(global $~lib/math/res128_hi (mut i64) (i64.const 0))
|
|
63
|
-
(global $~lib/rt/__rtti_base i32 (i32.const
|
|
63
|
+
(global $~lib/rt/__rtti_base i32 (i32.const 2736))
|
|
64
64
|
(memory $0 1)
|
|
65
65
|
(data $0 (i32.const 1036) "<")
|
|
66
66
|
(data $0.1 (i32.const 1048) "\02\00\00\00(\00\00\00A\00l\00l\00o\00c\00a\00t\00i\00o\00n\00 \00t\00o\00o\00 \00l\00a\00r\00g\00e")
|
|
@@ -75,11 +75,29 @@
|
|
|
75
75
|
(data $5.1 (i32.const 1496) "\02\00\00\00$\00\00\00I\00n\00d\00e\00x\00 \00o\00u\00t\00 \00o\00f\00 \00r\00a\00n\00g\00e")
|
|
76
76
|
(data $6 (i32.const 1548) "<")
|
|
77
77
|
(data $6.1 (i32.const 1560) "\02\00\00\00$\00\00\00~\00l\00i\00b\00/\00t\00y\00p\00e\00d\00a\00r\00r\00a\00y\00.\00t\00s")
|
|
78
|
-
(data $7 (i32.const 1612) "
|
|
79
|
-
(data $7.1 (i32.const 1624) "\02\00\00\00
|
|
80
|
-
(data $8 (i32.const
|
|
81
|
-
(data $8.1 (i32.const
|
|
82
|
-
(data $9 (i32.const
|
|
78
|
+
(data $7 (i32.const 1612) "|")
|
|
79
|
+
(data $7.1 (i32.const 1624) "\02\00\00\00^\00\00\00c\00h\00e\00b\00y\00s\00h\00e\00v\00T\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
80
|
+
(data $8 (i32.const 1740) "<")
|
|
81
|
+
(data $8.1 (i32.const 1752) "\02\00\00\00$\00\00\00s\00r\00c\00/\00o\00p\00s\00/\00s\00p\00e\00c\00i\00a\00l\00.\00t\00s")
|
|
82
|
+
(data $9 (i32.const 1804) "l")
|
|
83
|
+
(data $9.1 (i32.const 1816) "\02\00\00\00Z\00\00\00h\00e\00r\00m\00i\00t\00e\00H\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
84
|
+
(data $10 (i32.const 1916) "l")
|
|
85
|
+
(data $10.1 (i32.const 1928) "\02\00\00\00\\\00\00\00l\00a\00g\00u\00e\00r\00r\00e\00L\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
86
|
+
(data $11 (i32.const 2028) "l")
|
|
87
|
+
(data $11.1 (i32.const 2040) "\02\00\00\00\\\00\00\00l\00e\00g\00e\00n\00d\00r\00e\00P\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
88
|
+
(data $12 (i32.const 2140) ",")
|
|
89
|
+
(data $12.1 (i32.const 2152) "\02\00\00\00\1a\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
|
|
90
|
+
(data $13 (i32.const 2188) "|")
|
|
91
|
+
(data $13.1 (i32.const 2200) "\02\00\00\00^\00\00\00E\00l\00e\00m\00e\00n\00t\00 \00t\00y\00p\00e\00 \00m\00u\00s\00t\00 \00b\00e\00 \00n\00u\00l\00l\00a\00b\00l\00e\00 \00i\00f\00 \00a\00r\00r\00a\00y\00 \00i\00s\00 \00h\00o\00l\00e\00y")
|
|
92
|
+
(data $14 (i32.const 2316) "l")
|
|
93
|
+
(data $14.1 (i32.const 2328) "\02\00\00\00X\00\00\00b\00e\00s\00s\00e\00l\00J\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
94
|
+
(data $15 (i32.const 2428) ",")
|
|
95
|
+
(data $15.1 (i32.const 2440) "\02\00\00\00\1c\00\00\00s\00r\00c\00/\00s\00p\00e\00c\00i\00a\00l\00.\00t\00s")
|
|
96
|
+
(data $16 (i32.const 2476) "\8c")
|
|
97
|
+
(data $16.1 (i32.const 2488) "\02\00\00\00r\00\00\00b\00e\00s\00s\00e\00l\00J\00:\00 \00t\00h\00e\00 \00d\00o\00w\00n\00w\00a\00r\00d\00 \00s\00w\00e\00e\00p\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
98
|
+
(data $17 (i32.const 2620) "l")
|
|
99
|
+
(data $17.1 (i32.const 2632) "\02\00\00\00X\00\00\00b\00e\00s\00s\00e\00l\00Y\00:\00 \00o\00r\00d\00e\00r\00 \00e\00x\00c\00e\00e\00d\00s\00 \00t\00h\00e\00 \00s\00u\00p\00p\00o\00r\00t\00e\00d\00 \00m\00a\00x\00i\00m\00u\00m")
|
|
100
|
+
(data $18 (i32.const 2736) "\n\00\00\00 \00\00\00 \00\00\00 \00\00\00\00\00\00\00 \00\00\00\01\1a\00\00\01\t\00\00\02\1a\00\00\02\t\00\00\02A")
|
|
83
101
|
(export "heap_reset" (func $src/heap/heap_reset))
|
|
84
102
|
(export "complex" (func $src/types/complex/complex))
|
|
85
103
|
(export "complexFromPolar" (func $src/types/complex/complexFromPolar))
|
|
@@ -612,7 +630,7 @@
|
|
|
612
630
|
i32.ge_u
|
|
613
631
|
if
|
|
614
632
|
i32.const 1504
|
|
615
|
-
i32.const
|
|
633
|
+
i32.const 2160
|
|
616
634
|
i32.const 114
|
|
617
635
|
i32.const 42
|
|
618
636
|
call $~lib/builtins/abort
|
|
@@ -1472,7 +1490,7 @@
|
|
|
1472
1490
|
i32.lt_s
|
|
1473
1491
|
if
|
|
1474
1492
|
i32.const 1504
|
|
1475
|
-
i32.const
|
|
1493
|
+
i32.const 2160
|
|
1476
1494
|
i32.const 130
|
|
1477
1495
|
i32.const 22
|
|
1478
1496
|
call $~lib/builtins/abort
|
|
@@ -2971,7 +2989,7 @@
|
|
|
2971
2989
|
i32.gt_u
|
|
2972
2990
|
if
|
|
2973
2991
|
i32.const 1392
|
|
2974
|
-
i32.const
|
|
2992
|
+
i32.const 2160
|
|
2975
2993
|
i32.const 70
|
|
2976
2994
|
i32.const 60
|
|
2977
2995
|
call $~lib/builtins/abort
|
|
@@ -3356,7 +3374,7 @@
|
|
|
3356
3374
|
i32.lt_s
|
|
3357
3375
|
if
|
|
3358
3376
|
i32.const 1504
|
|
3359
|
-
i32.const
|
|
3377
|
+
i32.const 2160
|
|
3360
3378
|
i32.const 130
|
|
3361
3379
|
i32.const 22
|
|
3362
3380
|
call $~lib/builtins/abort
|
|
@@ -4010,7 +4028,7 @@
|
|
|
4010
4028
|
i32.ge_u
|
|
4011
4029
|
if
|
|
4012
4030
|
i32.const 1504
|
|
4013
|
-
i32.const
|
|
4031
|
+
i32.const 2160
|
|
4014
4032
|
i32.const 114
|
|
4015
4033
|
i32.const 42
|
|
4016
4034
|
call $~lib/builtins/abort
|
|
@@ -4026,8 +4044,8 @@
|
|
|
4026
4044
|
local.tee $0
|
|
4027
4045
|
i32.eqz
|
|
4028
4046
|
if
|
|
4029
|
-
i32.const
|
|
4030
|
-
i32.const
|
|
4047
|
+
i32.const 2208
|
|
4048
|
+
i32.const 2160
|
|
4031
4049
|
i32.const 118
|
|
4032
4050
|
i32.const 40
|
|
4033
4051
|
call $~lib/builtins/abort
|
|
@@ -5336,7 +5354,7 @@
|
|
|
5336
5354
|
i32.gt_u
|
|
5337
5355
|
if
|
|
5338
5356
|
i32.const 1392
|
|
5339
|
-
i32.const
|
|
5357
|
+
i32.const 2160
|
|
5340
5358
|
i32.const 19
|
|
5341
5359
|
i32.const 48
|
|
5342
5360
|
call $~lib/builtins/abort
|
|
@@ -8067,130 +8085,44 @@
|
|
|
8067
8085
|
call $src/types/complex/Complex#constructor
|
|
8068
8086
|
)
|
|
8069
8087
|
(func $src/special/bessel_yn_f64 (param $0 i32) (param $1 i32) (result i32)
|
|
8070
|
-
(local $2
|
|
8071
|
-
(local $3
|
|
8072
|
-
(local $4 f64)
|
|
8073
|
-
(local $5 i32)
|
|
8074
|
-
(local $6 f64)
|
|
8075
|
-
(local $7 i32)
|
|
8076
|
-
(local $8 i32)
|
|
8077
|
-
(local $9 f64)
|
|
8078
|
-
(local $10 i32)
|
|
8088
|
+
(local $2 i32)
|
|
8089
|
+
(local $3 i32)
|
|
8079
8090
|
local.get $1
|
|
8080
8091
|
i32.load offset=8
|
|
8081
8092
|
i32.const 3
|
|
8082
8093
|
i32.shr_u
|
|
8083
|
-
local.set $
|
|
8094
|
+
local.set $3
|
|
8084
8095
|
i32.const 12
|
|
8085
8096
|
i32.const 5
|
|
8086
8097
|
call $~lib/rt/stub/__new
|
|
8087
|
-
local.get $
|
|
8098
|
+
local.get $3
|
|
8088
8099
|
i32.const 3
|
|
8089
8100
|
call $~lib/arraybuffer/ArrayBufferView#constructor
|
|
8090
|
-
local.set $
|
|
8101
|
+
local.set $3
|
|
8091
8102
|
loop $for-loop|0
|
|
8092
|
-
local.get $
|
|
8103
|
+
local.get $2
|
|
8093
8104
|
local.get $1
|
|
8094
8105
|
i32.load offset=8
|
|
8095
8106
|
i32.const 3
|
|
8096
8107
|
i32.shr_u
|
|
8097
8108
|
i32.lt_s
|
|
8098
8109
|
if
|
|
8099
|
-
local.get $
|
|
8100
|
-
local.get $
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
local.tee $6
|
|
8107
|
-
f64.const 0
|
|
8108
|
-
f64.le
|
|
8109
|
-
br_if $__inlined_func$src/special/_besselYn$1
|
|
8110
|
-
drop
|
|
8111
|
-
f64.const -1
|
|
8112
|
-
f64.const 1
|
|
8113
|
-
i32.const 0
|
|
8114
|
-
local.get $0
|
|
8115
|
-
i32.sub
|
|
8116
|
-
local.get $0
|
|
8117
|
-
local.get $0
|
|
8118
|
-
i32.const 0
|
|
8119
|
-
i32.lt_s
|
|
8120
|
-
local.tee $5
|
|
8121
|
-
select
|
|
8122
|
-
local.tee $8
|
|
8123
|
-
i32.const 1
|
|
8124
|
-
i32.and
|
|
8125
|
-
local.get $5
|
|
8126
|
-
i32.and
|
|
8127
|
-
select
|
|
8128
|
-
local.set $9
|
|
8129
|
-
local.get $8
|
|
8130
|
-
i32.eqz
|
|
8131
|
-
if
|
|
8132
|
-
local.get $9
|
|
8133
|
-
local.get $6
|
|
8134
|
-
call $src/special/_besselY0
|
|
8135
|
-
f64.mul
|
|
8136
|
-
br $__inlined_func$src/special/_besselYn$1
|
|
8137
|
-
end
|
|
8138
|
-
local.get $8
|
|
8139
|
-
i32.const 1
|
|
8140
|
-
i32.eq
|
|
8141
|
-
if
|
|
8142
|
-
local.get $9
|
|
8143
|
-
local.get $6
|
|
8144
|
-
call $src/special/_besselY1
|
|
8145
|
-
f64.mul
|
|
8146
|
-
br $__inlined_func$src/special/_besselYn$1
|
|
8147
|
-
end
|
|
8148
|
-
local.get $6
|
|
8149
|
-
call $src/special/_besselY0
|
|
8150
|
-
local.set $3
|
|
8151
|
-
local.get $6
|
|
8152
|
-
call $src/special/_besselY1
|
|
8153
|
-
local.set $2
|
|
8154
|
-
i32.const 1
|
|
8155
|
-
local.set $5
|
|
8156
|
-
loop $for-loop|00
|
|
8157
|
-
local.get $5
|
|
8158
|
-
local.get $8
|
|
8159
|
-
i32.lt_s
|
|
8160
|
-
if
|
|
8161
|
-
local.get $5
|
|
8162
|
-
f64.convert_i32_s
|
|
8163
|
-
f64.const 2
|
|
8164
|
-
f64.mul
|
|
8165
|
-
local.get $6
|
|
8166
|
-
f64.div
|
|
8167
|
-
local.get $2
|
|
8168
|
-
f64.mul
|
|
8169
|
-
local.get $3
|
|
8170
|
-
f64.sub
|
|
8171
|
-
local.get $2
|
|
8172
|
-
local.set $3
|
|
8173
|
-
local.set $2
|
|
8174
|
-
local.get $5
|
|
8175
|
-
i32.const 1
|
|
8176
|
-
i32.add
|
|
8177
|
-
local.set $5
|
|
8178
|
-
br $for-loop|00
|
|
8179
|
-
end
|
|
8180
|
-
end
|
|
8181
|
-
local.get $9
|
|
8182
|
-
local.get $2
|
|
8183
|
-
f64.mul
|
|
8184
|
-
end
|
|
8110
|
+
local.get $3
|
|
8111
|
+
local.get $2
|
|
8112
|
+
local.get $0
|
|
8113
|
+
local.get $1
|
|
8114
|
+
local.get $2
|
|
8115
|
+
call $~lib/typedarray/Float64Array#__get
|
|
8116
|
+
call $src/special/_besselYn
|
|
8185
8117
|
call $~lib/typedarray/Float64Array#__set
|
|
8186
|
-
local.get $
|
|
8118
|
+
local.get $2
|
|
8187
8119
|
i32.const 1
|
|
8188
8120
|
i32.add
|
|
8189
|
-
local.set $
|
|
8121
|
+
local.set $2
|
|
8190
8122
|
br $for-loop|0
|
|
8191
8123
|
end
|
|
8192
8124
|
end
|
|
8193
|
-
local.get $
|
|
8125
|
+
local.get $3
|
|
8194
8126
|
)
|
|
8195
8127
|
(func $src/special/bessel_jn_f64 (param $0 i32) (param $1 i32) (result i32)
|
|
8196
8128
|
(local $2 i32)
|
|
@@ -11572,9 +11504,9 @@
|
|
|
11572
11504
|
end
|
|
11573
11505
|
)
|
|
11574
11506
|
(func $~start
|
|
11575
|
-
i32.const
|
|
11507
|
+
i32.const 2780
|
|
11576
11508
|
global.set $~lib/rt/stub/startOffset
|
|
11577
|
-
i32.const
|
|
11509
|
+
i32.const 2780
|
|
11578
11510
|
global.set $~lib/rt/stub/offset
|
|
11579
11511
|
)
|
|
11580
11512
|
(func $~lib/rt/stub/__unpin (param $0 i32)
|
|
@@ -13435,6 +13367,112 @@
|
|
|
13435
13367
|
f64.sub
|
|
13436
13368
|
f64.mul
|
|
13437
13369
|
)
|
|
13370
|
+
(func $src/special/_besselYn (param $0 i32) (param $1 f64) (result f64)
|
|
13371
|
+
(local $2 f64)
|
|
13372
|
+
(local $3 f64)
|
|
13373
|
+
(local $4 f64)
|
|
13374
|
+
(local $5 i32)
|
|
13375
|
+
(local $6 f64)
|
|
13376
|
+
local.get $1
|
|
13377
|
+
f64.const 0
|
|
13378
|
+
f64.le
|
|
13379
|
+
if
|
|
13380
|
+
f64.const nan:0x8000000000000
|
|
13381
|
+
return
|
|
13382
|
+
end
|
|
13383
|
+
local.get $0
|
|
13384
|
+
i32.const -2147483648
|
|
13385
|
+
i32.eq
|
|
13386
|
+
if
|
|
13387
|
+
i32.const 2640
|
|
13388
|
+
i32.const 2448
|
|
13389
|
+
i32.const 327
|
|
13390
|
+
i32.const 27
|
|
13391
|
+
call $~lib/builtins/abort
|
|
13392
|
+
unreachable
|
|
13393
|
+
end
|
|
13394
|
+
f64.const -1
|
|
13395
|
+
f64.const 1
|
|
13396
|
+
i32.const 0
|
|
13397
|
+
local.get $0
|
|
13398
|
+
i32.sub
|
|
13399
|
+
local.get $0
|
|
13400
|
+
local.get $0
|
|
13401
|
+
i32.const 0
|
|
13402
|
+
i32.lt_s
|
|
13403
|
+
local.tee $0
|
|
13404
|
+
select
|
|
13405
|
+
local.tee $5
|
|
13406
|
+
i32.const 1
|
|
13407
|
+
i32.and
|
|
13408
|
+
local.get $0
|
|
13409
|
+
i32.and
|
|
13410
|
+
select
|
|
13411
|
+
local.set $6
|
|
13412
|
+
local.get $5
|
|
13413
|
+
i32.eqz
|
|
13414
|
+
if
|
|
13415
|
+
local.get $6
|
|
13416
|
+
local.get $1
|
|
13417
|
+
call $src/special/_besselY0
|
|
13418
|
+
f64.mul
|
|
13419
|
+
return
|
|
13420
|
+
end
|
|
13421
|
+
local.get $5
|
|
13422
|
+
i32.const 1
|
|
13423
|
+
i32.eq
|
|
13424
|
+
if
|
|
13425
|
+
local.get $6
|
|
13426
|
+
local.get $1
|
|
13427
|
+
call $src/special/_besselY1
|
|
13428
|
+
f64.mul
|
|
13429
|
+
return
|
|
13430
|
+
end
|
|
13431
|
+
local.get $1
|
|
13432
|
+
call $src/special/_besselY0
|
|
13433
|
+
local.set $3
|
|
13434
|
+
local.get $1
|
|
13435
|
+
call $src/special/_besselY1
|
|
13436
|
+
local.set $2
|
|
13437
|
+
i32.const 1
|
|
13438
|
+
local.set $0
|
|
13439
|
+
loop $for-loop|0
|
|
13440
|
+
local.get $0
|
|
13441
|
+
local.get $5
|
|
13442
|
+
i32.lt_s
|
|
13443
|
+
if
|
|
13444
|
+
local.get $0
|
|
13445
|
+
f64.convert_i32_s
|
|
13446
|
+
f64.const 2
|
|
13447
|
+
f64.mul
|
|
13448
|
+
local.get $1
|
|
13449
|
+
f64.div
|
|
13450
|
+
local.get $2
|
|
13451
|
+
f64.mul
|
|
13452
|
+
local.get $3
|
|
13453
|
+
f64.sub
|
|
13454
|
+
local.tee $4
|
|
13455
|
+
local.get $4
|
|
13456
|
+
f64.ne
|
|
13457
|
+
if
|
|
13458
|
+
f64.const nan:0x8000000000000
|
|
13459
|
+
return
|
|
13460
|
+
end
|
|
13461
|
+
local.get $2
|
|
13462
|
+
local.set $3
|
|
13463
|
+
local.get $4
|
|
13464
|
+
local.set $2
|
|
13465
|
+
local.get $0
|
|
13466
|
+
i32.const 1
|
|
13467
|
+
i32.add
|
|
13468
|
+
local.set $0
|
|
13469
|
+
br $for-loop|0
|
|
13470
|
+
end
|
|
13471
|
+
end
|
|
13472
|
+
local.get $6
|
|
13473
|
+
local.get $2
|
|
13474
|
+
f64.mul
|
|
13475
|
+
)
|
|
13438
13476
|
(func $src/special/_besselY1Series (param $0 f64) (result f64)
|
|
13439
13477
|
(local $1 i32)
|
|
13440
13478
|
(local $2 f64)
|
|
@@ -13541,10 +13579,22 @@
|
|
|
13541
13579
|
(local $2 f64)
|
|
13542
13580
|
(local $3 f64)
|
|
13543
13581
|
(local $4 f64)
|
|
13544
|
-
(local $5
|
|
13582
|
+
(local $5 i32)
|
|
13545
13583
|
(local $6 f64)
|
|
13546
13584
|
(local $7 f64)
|
|
13547
13585
|
(local $8 i32)
|
|
13586
|
+
(local $9 f64)
|
|
13587
|
+
local.get $0
|
|
13588
|
+
i32.const -2147483648
|
|
13589
|
+
i32.eq
|
|
13590
|
+
if
|
|
13591
|
+
i32.const 2336
|
|
13592
|
+
i32.const 2448
|
|
13593
|
+
i32.const 256
|
|
13594
|
+
i32.const 27
|
|
13595
|
+
call $~lib/builtins/abort
|
|
13596
|
+
unreachable
|
|
13597
|
+
end
|
|
13548
13598
|
f64.const -1
|
|
13549
13599
|
f64.const 1
|
|
13550
13600
|
i32.const 0
|
|
@@ -13556,61 +13606,156 @@
|
|
|
13556
13606
|
i32.lt_s
|
|
13557
13607
|
local.tee $0
|
|
13558
13608
|
select
|
|
13559
|
-
local.tee $
|
|
13609
|
+
local.tee $5
|
|
13560
13610
|
i32.const 1
|
|
13561
13611
|
i32.and
|
|
13562
|
-
i32.const 0
|
|
13563
13612
|
local.get $0
|
|
13613
|
+
i32.and
|
|
13564
13614
|
select
|
|
13565
|
-
|
|
13566
|
-
local.
|
|
13567
|
-
local.get $8
|
|
13615
|
+
local.set $7
|
|
13616
|
+
local.get $5
|
|
13568
13617
|
i32.eqz
|
|
13569
13618
|
if
|
|
13570
|
-
local.get $
|
|
13619
|
+
local.get $7
|
|
13571
13620
|
local.get $1
|
|
13572
13621
|
call $src/special/_besselJ0
|
|
13573
13622
|
f64.mul
|
|
13574
13623
|
return
|
|
13575
13624
|
end
|
|
13576
|
-
local.get $
|
|
13625
|
+
local.get $5
|
|
13577
13626
|
i32.const 1
|
|
13578
13627
|
i32.eq
|
|
13579
13628
|
if
|
|
13580
|
-
local.get $
|
|
13629
|
+
local.get $7
|
|
13581
13630
|
local.get $1
|
|
13582
13631
|
call $src/special/_besselJ1
|
|
13583
13632
|
f64.mul
|
|
13584
13633
|
return
|
|
13585
13634
|
end
|
|
13586
|
-
|
|
13587
|
-
f64.abs
|
|
13588
|
-
f64.const 1e-15
|
|
13589
|
-
f64.lt
|
|
13590
|
-
if
|
|
13591
|
-
f64.const 0
|
|
13592
|
-
return
|
|
13593
|
-
end
|
|
13594
|
-
local.get $1
|
|
13595
|
-
f64.abs
|
|
13596
|
-
local.get $8
|
|
13597
|
-
f64.convert_i32_s
|
|
13598
|
-
f64.gt
|
|
13599
|
-
if
|
|
13635
|
+
block $folding-inner0
|
|
13600
13636
|
local.get $1
|
|
13601
|
-
|
|
13602
|
-
|
|
13637
|
+
f64.abs
|
|
13638
|
+
f64.const 1e-15
|
|
13639
|
+
f64.lt
|
|
13640
|
+
br_if $folding-inner0
|
|
13603
13641
|
local.get $1
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
|
|
13642
|
+
local.get $1
|
|
13643
|
+
f64.ne
|
|
13644
|
+
if
|
|
13645
|
+
f64.const nan:0x8000000000000
|
|
13646
|
+
return
|
|
13647
|
+
end
|
|
13648
|
+
local.get $5
|
|
13649
|
+
f64.convert_i32_s
|
|
13650
|
+
local.tee $2
|
|
13651
|
+
local.get $1
|
|
13652
|
+
f64.abs
|
|
13653
|
+
local.tee $4
|
|
13654
|
+
f64.ge
|
|
13655
|
+
if (result i32)
|
|
13656
|
+
local.get $2
|
|
13657
|
+
local.get $4
|
|
13658
|
+
f64.const 0.5
|
|
13659
|
+
f64.mul
|
|
13660
|
+
call $~lib/math/NativeMath.log
|
|
13661
|
+
f64.const 1
|
|
13662
|
+
f64.add
|
|
13663
|
+
local.get $2
|
|
13664
|
+
call $~lib/math/NativeMath.log
|
|
13665
|
+
f64.sub
|
|
13666
|
+
f64.mul
|
|
13667
|
+
f64.const -745.2
|
|
13668
|
+
f64.lt
|
|
13669
|
+
else
|
|
13670
|
+
i32.const 0
|
|
13671
|
+
end
|
|
13672
|
+
br_if $folding-inner0
|
|
13673
|
+
local.get $2
|
|
13674
|
+
local.get $4
|
|
13675
|
+
f64.lt
|
|
13676
|
+
if
|
|
13677
|
+
local.get $1
|
|
13678
|
+
call $src/special/_besselJ0
|
|
13679
|
+
local.set $3
|
|
13680
|
+
local.get $1
|
|
13681
|
+
call $src/special/_besselJ1
|
|
13682
|
+
local.set $2
|
|
13683
|
+
i32.const 1
|
|
13684
|
+
local.set $0
|
|
13685
|
+
loop $for-loop|0
|
|
13686
|
+
local.get $0
|
|
13687
|
+
local.get $5
|
|
13688
|
+
i32.lt_s
|
|
13689
|
+
if
|
|
13690
|
+
local.get $0
|
|
13691
|
+
f64.convert_i32_s
|
|
13692
|
+
f64.const 2
|
|
13693
|
+
f64.mul
|
|
13694
|
+
local.get $1
|
|
13695
|
+
f64.div
|
|
13696
|
+
local.get $2
|
|
13697
|
+
f64.mul
|
|
13698
|
+
local.get $3
|
|
13699
|
+
f64.sub
|
|
13700
|
+
local.tee $4
|
|
13701
|
+
local.get $4
|
|
13702
|
+
f64.ne
|
|
13703
|
+
if
|
|
13704
|
+
f64.const nan:0x8000000000000
|
|
13705
|
+
return
|
|
13706
|
+
end
|
|
13707
|
+
local.get $2
|
|
13708
|
+
local.set $3
|
|
13709
|
+
local.get $4
|
|
13710
|
+
local.set $2
|
|
13711
|
+
local.get $0
|
|
13712
|
+
i32.const 1
|
|
13713
|
+
i32.add
|
|
13714
|
+
local.set $0
|
|
13715
|
+
br $for-loop|0
|
|
13716
|
+
end
|
|
13717
|
+
end
|
|
13718
|
+
local.get $7
|
|
13719
|
+
local.get $2
|
|
13720
|
+
f64.mul
|
|
13721
|
+
return
|
|
13722
|
+
end
|
|
13723
|
+
local.get $2
|
|
13724
|
+
local.get $2
|
|
13725
|
+
f64.const 40
|
|
13726
|
+
f64.mul
|
|
13727
|
+
f64.sqrt
|
|
13728
|
+
f64.ceil
|
|
13729
|
+
f64.const 10
|
|
13730
|
+
f64.max
|
|
13731
|
+
local.tee $2
|
|
13732
|
+
local.get $2
|
|
13733
|
+
f64.add
|
|
13734
|
+
f64.add
|
|
13735
|
+
local.tee $4
|
|
13736
|
+
f64.const 12e8
|
|
13737
|
+
f64.gt
|
|
13738
|
+
if
|
|
13739
|
+
i32.const 2496
|
|
13740
|
+
i32.const 2448
|
|
13741
|
+
i32.const 287
|
|
13742
|
+
i32.const 5
|
|
13743
|
+
call $~lib/builtins/abort
|
|
13744
|
+
unreachable
|
|
13745
|
+
end
|
|
13746
|
+
f64.const 1
|
|
13747
|
+
local.set $2
|
|
13748
|
+
local.get $4
|
|
13749
|
+
i32.trunc_sat_f64_s
|
|
13750
|
+
local.set $0
|
|
13751
|
+
loop $for-loop|1
|
|
13752
|
+
local.get $0
|
|
13753
|
+
i32.const 0
|
|
13754
|
+
i32.ge_s
|
|
13612
13755
|
if
|
|
13613
13756
|
local.get $0
|
|
13757
|
+
i32.const 1
|
|
13758
|
+
i32.add
|
|
13614
13759
|
f64.convert_i32_s
|
|
13615
13760
|
f64.const 2
|
|
13616
13761
|
f64.mul
|
|
@@ -13622,88 +13767,96 @@
|
|
|
13622
13767
|
f64.sub
|
|
13623
13768
|
local.get $2
|
|
13624
13769
|
local.set $3
|
|
13625
|
-
local.
|
|
13770
|
+
local.tee $2
|
|
13771
|
+
f64.abs
|
|
13772
|
+
f64.const 1.e+200
|
|
13773
|
+
f64.gt
|
|
13774
|
+
if
|
|
13775
|
+
local.get $2
|
|
13776
|
+
f64.const 1.90109156629516e-211
|
|
13777
|
+
f64.mul
|
|
13778
|
+
local.set $2
|
|
13779
|
+
local.get $3
|
|
13780
|
+
f64.const 1.90109156629516e-211
|
|
13781
|
+
f64.mul
|
|
13782
|
+
local.set $3
|
|
13783
|
+
local.get $6
|
|
13784
|
+
f64.const 1.90109156629516e-211
|
|
13785
|
+
f64.mul
|
|
13786
|
+
local.set $6
|
|
13787
|
+
local.get $0
|
|
13788
|
+
local.get $5
|
|
13789
|
+
i32.lt_s
|
|
13790
|
+
if
|
|
13791
|
+
local.get $8
|
|
13792
|
+
i32.const 1
|
|
13793
|
+
i32.add
|
|
13794
|
+
local.tee $8
|
|
13795
|
+
i32.const 3
|
|
13796
|
+
i32.eq
|
|
13797
|
+
br_if $folding-inner0
|
|
13798
|
+
end
|
|
13799
|
+
end
|
|
13800
|
+
local.get $2
|
|
13801
|
+
local.get $9
|
|
13802
|
+
local.get $0
|
|
13803
|
+
local.get $5
|
|
13804
|
+
i32.eq
|
|
13805
|
+
select
|
|
13806
|
+
local.set $9
|
|
13807
|
+
local.get $6
|
|
13808
|
+
local.get $6
|
|
13809
|
+
local.get $2
|
|
13810
|
+
f64.add
|
|
13626
13811
|
local.get $0
|
|
13627
13812
|
i32.const 1
|
|
13628
|
-
i32.
|
|
13813
|
+
i32.and
|
|
13814
|
+
select
|
|
13815
|
+
local.set $6
|
|
13816
|
+
local.get $0
|
|
13817
|
+
i32.const 1
|
|
13818
|
+
i32.sub
|
|
13629
13819
|
local.set $0
|
|
13630
|
-
br $for-loop|
|
|
13820
|
+
br $for-loop|1
|
|
13631
13821
|
end
|
|
13632
13822
|
end
|
|
13633
|
-
local.get $
|
|
13823
|
+
local.get $9
|
|
13824
|
+
local.get $6
|
|
13825
|
+
local.get $6
|
|
13826
|
+
f64.add
|
|
13634
13827
|
local.get $2
|
|
13635
|
-
f64.
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
f64.const 1
|
|
13639
|
-
local.set $2
|
|
13640
|
-
local.get $8
|
|
13641
|
-
i32.const 10
|
|
13642
|
-
local.get $8
|
|
13643
|
-
f64.convert_i32_s
|
|
13644
|
-
f64.const 40
|
|
13645
|
-
f64.mul
|
|
13646
|
-
f64.sqrt
|
|
13647
|
-
i32.trunc_sat_f64_s
|
|
13648
|
-
local.tee $0
|
|
13649
|
-
local.get $0
|
|
13650
|
-
i32.const 10
|
|
13651
|
-
i32.lt_s
|
|
13652
|
-
select
|
|
13653
|
-
i32.const 1
|
|
13654
|
-
i32.shl
|
|
13655
|
-
i32.add
|
|
13656
|
-
local.set $0
|
|
13657
|
-
loop $for-loop|1
|
|
13658
|
-
local.get $0
|
|
13828
|
+
f64.sub
|
|
13829
|
+
f64.div
|
|
13830
|
+
local.set $1
|
|
13659
13831
|
i32.const 0
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
local.get $0
|
|
13663
|
-
i32.const 1
|
|
13664
|
-
i32.add
|
|
13665
|
-
f64.convert_i32_s
|
|
13666
|
-
f64.const 2
|
|
13667
|
-
f64.mul
|
|
13668
|
-
local.get $1
|
|
13669
|
-
f64.div
|
|
13670
|
-
local.get $2
|
|
13671
|
-
f64.mul
|
|
13672
|
-
local.get $3
|
|
13673
|
-
f64.sub
|
|
13674
|
-
local.get $2
|
|
13675
|
-
local.set $3
|
|
13676
|
-
local.tee $2
|
|
13677
|
-
local.get $7
|
|
13832
|
+
local.set $0
|
|
13833
|
+
loop $for-loop|2
|
|
13678
13834
|
local.get $0
|
|
13679
13835
|
local.get $8
|
|
13680
|
-
i32.
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
local.get $6
|
|
13685
|
-
local.get $2
|
|
13686
|
-
f64.add
|
|
13687
|
-
local.get $0
|
|
13688
|
-
i32.const 1
|
|
13836
|
+
i32.lt_s
|
|
13837
|
+
local.get $1
|
|
13838
|
+
f64.const 0
|
|
13839
|
+
f64.ne
|
|
13689
13840
|
i32.and
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13841
|
+
if
|
|
13842
|
+
local.get $1
|
|
13843
|
+
f64.const 1.90109156629516e-211
|
|
13844
|
+
f64.mul
|
|
13845
|
+
local.set $1
|
|
13846
|
+
local.get $0
|
|
13847
|
+
i32.const 1
|
|
13848
|
+
i32.add
|
|
13849
|
+
local.set $0
|
|
13850
|
+
br $for-loop|2
|
|
13851
|
+
end
|
|
13697
13852
|
end
|
|
13853
|
+
local.get $7
|
|
13854
|
+
local.get $1
|
|
13855
|
+
f64.mul
|
|
13856
|
+
return
|
|
13698
13857
|
end
|
|
13699
|
-
local.get $5
|
|
13700
13858
|
local.get $7
|
|
13701
|
-
|
|
13702
|
-
local.get $6
|
|
13703
|
-
f64.add
|
|
13704
|
-
local.get $2
|
|
13705
|
-
f64.sub
|
|
13706
|
-
f64.div
|
|
13859
|
+
f64.const 0
|
|
13707
13860
|
f64.mul
|
|
13708
13861
|
)
|
|
13709
13862
|
(func $src/sort/sort_f64 (param $0 i32) (result i32)
|
|
@@ -16061,16 +16214,37 @@
|
|
|
16061
16214
|
(local $4 i32)
|
|
16062
16215
|
(local $5 i32)
|
|
16063
16216
|
local.get $0
|
|
16217
|
+
local.get $0
|
|
16218
|
+
f64.sub
|
|
16219
|
+
f64.const 0
|
|
16220
|
+
f64.ne
|
|
16221
|
+
if
|
|
16222
|
+
f64.const nan:0x8000000000000
|
|
16223
|
+
return
|
|
16224
|
+
end
|
|
16225
|
+
local.get $0
|
|
16064
16226
|
call $~lib/math/NativeMath.round
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
i32.lt_s
|
|
16227
|
+
local.tee $0
|
|
16228
|
+
f64.const 0
|
|
16229
|
+
f64.lt
|
|
16069
16230
|
if
|
|
16070
16231
|
f64.const nan:0x8000000000000
|
|
16071
16232
|
return
|
|
16072
16233
|
end
|
|
16073
|
-
local.get $
|
|
16234
|
+
local.get $0
|
|
16235
|
+
f64.const 2147483646
|
|
16236
|
+
f64.gt
|
|
16237
|
+
if
|
|
16238
|
+
i32.const 2048
|
|
16239
|
+
i32.const 1760
|
|
16240
|
+
i32.const 87
|
|
16241
|
+
i32.const 28
|
|
16242
|
+
call $~lib/builtins/abort
|
|
16243
|
+
unreachable
|
|
16244
|
+
end
|
|
16245
|
+
local.get $0
|
|
16246
|
+
i32.trunc_sat_f64_s
|
|
16247
|
+
local.tee $5
|
|
16074
16248
|
i32.eqz
|
|
16075
16249
|
if
|
|
16076
16250
|
f64.const 1
|
|
@@ -16113,8 +16287,16 @@
|
|
|
16113
16287
|
f64.sub
|
|
16114
16288
|
local.get $3
|
|
16115
16289
|
f64.div
|
|
16290
|
+
local.tee $3
|
|
16291
|
+
local.get $3
|
|
16292
|
+
f64.ne
|
|
16293
|
+
if
|
|
16294
|
+
f64.const nan:0x8000000000000
|
|
16295
|
+
return
|
|
16296
|
+
end
|
|
16116
16297
|
local.get $0
|
|
16117
16298
|
local.set $2
|
|
16299
|
+
local.get $3
|
|
16118
16300
|
local.set $0
|
|
16119
16301
|
local.get $4
|
|
16120
16302
|
i32.const 1
|
|
@@ -16131,16 +16313,37 @@
|
|
|
16131
16313
|
(local $4 i32)
|
|
16132
16314
|
(local $5 i32)
|
|
16133
16315
|
local.get $0
|
|
16316
|
+
local.get $0
|
|
16317
|
+
f64.sub
|
|
16318
|
+
f64.const 0
|
|
16319
|
+
f64.ne
|
|
16320
|
+
if
|
|
16321
|
+
f64.const nan:0x8000000000000
|
|
16322
|
+
return
|
|
16323
|
+
end
|
|
16324
|
+
local.get $0
|
|
16134
16325
|
call $~lib/math/NativeMath.round
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
i32.lt_s
|
|
16326
|
+
local.tee $0
|
|
16327
|
+
f64.const 0
|
|
16328
|
+
f64.lt
|
|
16139
16329
|
if
|
|
16140
16330
|
f64.const nan:0x8000000000000
|
|
16141
16331
|
return
|
|
16142
16332
|
end
|
|
16143
|
-
local.get $
|
|
16333
|
+
local.get $0
|
|
16334
|
+
f64.const 1e9
|
|
16335
|
+
f64.gt
|
|
16336
|
+
if
|
|
16337
|
+
i32.const 1936
|
|
16338
|
+
i32.const 1760
|
|
16339
|
+
i32.const 66
|
|
16340
|
+
i32.const 33
|
|
16341
|
+
call $~lib/builtins/abort
|
|
16342
|
+
unreachable
|
|
16343
|
+
end
|
|
16344
|
+
local.get $0
|
|
16345
|
+
i32.trunc_sat_f64_s
|
|
16346
|
+
local.tee $5
|
|
16144
16347
|
i32.eqz
|
|
16145
16348
|
if
|
|
16146
16349
|
f64.const 1
|
|
@@ -16187,8 +16390,16 @@
|
|
|
16187
16390
|
f64.sub
|
|
16188
16391
|
local.get $3
|
|
16189
16392
|
f64.div
|
|
16393
|
+
local.tee $3
|
|
16394
|
+
local.get $3
|
|
16395
|
+
f64.ne
|
|
16396
|
+
if
|
|
16397
|
+
f64.const nan:0x8000000000000
|
|
16398
|
+
return
|
|
16399
|
+
end
|
|
16190
16400
|
local.get $0
|
|
16191
16401
|
local.set $2
|
|
16402
|
+
local.get $3
|
|
16192
16403
|
local.set $0
|
|
16193
16404
|
local.get $4
|
|
16194
16405
|
i32.const 1
|
|
@@ -16205,16 +16416,37 @@
|
|
|
16205
16416
|
(local $4 i32)
|
|
16206
16417
|
(local $5 i32)
|
|
16207
16418
|
local.get $0
|
|
16419
|
+
local.get $0
|
|
16420
|
+
f64.sub
|
|
16421
|
+
f64.const 0
|
|
16422
|
+
f64.ne
|
|
16423
|
+
if
|
|
16424
|
+
f64.const nan:0x8000000000000
|
|
16425
|
+
return
|
|
16426
|
+
end
|
|
16427
|
+
local.get $0
|
|
16208
16428
|
call $~lib/math/NativeMath.round
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
i32.lt_s
|
|
16429
|
+
local.tee $0
|
|
16430
|
+
f64.const 0
|
|
16431
|
+
f64.lt
|
|
16213
16432
|
if
|
|
16214
16433
|
f64.const nan:0x8000000000000
|
|
16215
16434
|
return
|
|
16216
16435
|
end
|
|
16217
|
-
local.get $
|
|
16436
|
+
local.get $0
|
|
16437
|
+
f64.const 2147483646
|
|
16438
|
+
f64.gt
|
|
16439
|
+
if
|
|
16440
|
+
i32.const 1824
|
|
16441
|
+
i32.const 1760
|
|
16442
|
+
i32.const 46
|
|
16443
|
+
i32.const 28
|
|
16444
|
+
call $~lib/builtins/abort
|
|
16445
|
+
unreachable
|
|
16446
|
+
end
|
|
16447
|
+
local.get $0
|
|
16448
|
+
i32.trunc_sat_f64_s
|
|
16449
|
+
local.tee $5
|
|
16218
16450
|
i32.eqz
|
|
16219
16451
|
if
|
|
16220
16452
|
f64.const 1
|
|
@@ -16256,8 +16488,16 @@
|
|
|
16256
16488
|
local.get $2
|
|
16257
16489
|
f64.mul
|
|
16258
16490
|
f64.sub
|
|
16491
|
+
local.tee $3
|
|
16492
|
+
local.get $3
|
|
16493
|
+
f64.ne
|
|
16494
|
+
if
|
|
16495
|
+
f64.const nan:0x8000000000000
|
|
16496
|
+
return
|
|
16497
|
+
end
|
|
16259
16498
|
local.get $0
|
|
16260
16499
|
local.set $2
|
|
16500
|
+
local.get $3
|
|
16261
16501
|
local.set $0
|
|
16262
16502
|
local.get $4
|
|
16263
16503
|
i32.const 1
|
|
@@ -16493,22 +16733,43 @@
|
|
|
16493
16733
|
(local $4 i32)
|
|
16494
16734
|
(local $5 i32)
|
|
16495
16735
|
local.get $0
|
|
16736
|
+
local.get $0
|
|
16737
|
+
f64.sub
|
|
16738
|
+
f64.const 0
|
|
16739
|
+
f64.ne
|
|
16740
|
+
if
|
|
16741
|
+
f64.const nan:0x8000000000000
|
|
16742
|
+
return
|
|
16743
|
+
end
|
|
16744
|
+
local.get $0
|
|
16496
16745
|
call $~lib/math/NativeMath.round
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16500
|
-
i32.lt_s
|
|
16746
|
+
local.tee $0
|
|
16747
|
+
f64.const 0
|
|
16748
|
+
f64.lt
|
|
16501
16749
|
if
|
|
16502
16750
|
f64.const nan:0x8000000000000
|
|
16503
16751
|
return
|
|
16504
16752
|
end
|
|
16505
|
-
local.get $
|
|
16753
|
+
local.get $0
|
|
16754
|
+
f64.const 2147483646
|
|
16755
|
+
f64.gt
|
|
16756
|
+
if
|
|
16757
|
+
i32.const 1632
|
|
16758
|
+
i32.const 1760
|
|
16759
|
+
i32.const 26
|
|
16760
|
+
i32.const 28
|
|
16761
|
+
call $~lib/builtins/abort
|
|
16762
|
+
unreachable
|
|
16763
|
+
end
|
|
16764
|
+
local.get $0
|
|
16765
|
+
i32.trunc_sat_f64_s
|
|
16766
|
+
local.tee $5
|
|
16506
16767
|
i32.eqz
|
|
16507
16768
|
if
|
|
16508
16769
|
f64.const 1
|
|
16509
16770
|
return
|
|
16510
16771
|
end
|
|
16511
|
-
local.get $
|
|
16772
|
+
local.get $5
|
|
16512
16773
|
i32.const 1
|
|
16513
16774
|
i32.eq
|
|
16514
16775
|
if
|
|
@@ -16520,11 +16781,11 @@
|
|
|
16520
16781
|
local.get $1
|
|
16521
16782
|
local.set $0
|
|
16522
16783
|
i32.const 2
|
|
16523
|
-
local.set $
|
|
16784
|
+
local.set $4
|
|
16524
16785
|
loop $for-loop|0
|
|
16525
16786
|
local.get $4
|
|
16526
16787
|
local.get $5
|
|
16527
|
-
i32.
|
|
16788
|
+
i32.le_s
|
|
16528
16789
|
if
|
|
16529
16790
|
local.get $1
|
|
16530
16791
|
local.get $1
|
|
@@ -16533,13 +16794,21 @@
|
|
|
16533
16794
|
f64.mul
|
|
16534
16795
|
local.get $2
|
|
16535
16796
|
f64.sub
|
|
16797
|
+
local.tee $3
|
|
16798
|
+
local.get $3
|
|
16799
|
+
f64.ne
|
|
16800
|
+
if
|
|
16801
|
+
f64.const nan:0x8000000000000
|
|
16802
|
+
return
|
|
16803
|
+
end
|
|
16536
16804
|
local.get $0
|
|
16537
16805
|
local.set $2
|
|
16806
|
+
local.get $3
|
|
16538
16807
|
local.set $0
|
|
16539
|
-
local.get $
|
|
16808
|
+
local.get $4
|
|
16540
16809
|
i32.const 1
|
|
16541
16810
|
i32.add
|
|
16542
|
-
local.set $
|
|
16811
|
+
local.set $4
|
|
16543
16812
|
br $for-loop|0
|
|
16544
16813
|
end
|
|
16545
16814
|
end
|