@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-debug.wat
CHANGED
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
(global $src/ops/scalar/EPSILON f64 (f64.const 2.220446049250313e-16))
|
|
58
58
|
(global $src/algebra/decomposition/DECOMP_EPS f64 (f64.const 1e-14))
|
|
59
59
|
(global $src/ops/special/EULER f64 (f64.const 0.5772156649015329))
|
|
60
|
+
(global $src/ops/special/_ORDER_MAX_I32 f64 (f64.const 2147483646))
|
|
61
|
+
(global $src/ops/special/_ORDER_MAX_LAGUERRE f64 (f64.const 1e9))
|
|
60
62
|
(global $src/ops/number-theory/MAX_SAFE_INT f64 (f64.const 9007199254740992))
|
|
61
63
|
(global $src/special/_LGAMMA_G f64 (f64.const 7))
|
|
62
64
|
(global $src/special/_LGAMMA_C0 f64 (f64.const 0.9999999999998099))
|
|
@@ -72,6 +74,8 @@
|
|
|
72
74
|
(global $src/special/_TWO_OVER_PI f64 (f64.const 0.6366197723675814))
|
|
73
75
|
(global $src/special/_ONE_OVER_PI f64 (f64.const 0.3183098861837907))
|
|
74
76
|
(global $src/special/_BESSEL_SERIES_MAX f64 (f64.const 13))
|
|
77
|
+
(global $src/special/_BESSEL_J_MAX_SWEEP f64 (f64.const 12e8))
|
|
78
|
+
(global $src/special/_BESSEL_J_DOWN f64 (f64.const 1.90109156629516e-211))
|
|
75
79
|
(global $src/special/AIRY_U_MAX i32 (i32.const 12))
|
|
76
80
|
(global $src/special/AI0 f64 (f64.const 0.3550280538878172))
|
|
77
81
|
(global $src/special/AI_PRIME0 f64 (f64.const 0.2588194037928068))
|
|
@@ -89,8 +93,9 @@
|
|
|
89
93
|
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
|
|
90
94
|
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
|
|
91
95
|
(global $~lib/native/ASC_RUNTIME i32 (i32.const 0))
|
|
92
|
-
(global $~lib/
|
|
93
|
-
(global $~lib/
|
|
96
|
+
(global $~lib/builtins/i32.MIN_VALUE i32 (i32.const -2147483648))
|
|
97
|
+
(global $~lib/rt/__rtti_base i32 (i32.const 14208))
|
|
98
|
+
(global $~lib/memory/__heap_base i32 (i32.const 14252))
|
|
94
99
|
(memory $0 1)
|
|
95
100
|
(data $0 (i32.const 12) "<\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00")
|
|
96
101
|
(data $1 (i32.const 76) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\1e\00\00\00~\00l\00i\00b\00/\00r\00t\00/\00s\00t\00u\00b\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
@@ -107,9 +112,18 @@
|
|
|
107
112
|
(data $12 (i32.const 12812) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00$\00\00\00~\00l\00i\00b\00/\00t\00y\00p\00e\00d\00a\00r\00r\00a\00y\00.\00t\00s\00\00\00\00\00\00\00\00\00")
|
|
108
113
|
(data $13 (i32.const 12876) "|\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00^\00\00\00U\00n\00e\00x\00p\00e\00c\00t\00e\00d\00 \00\'\00n\00u\00l\00l\00\'\00 \00(\00n\00o\00t\00 \00a\00s\00s\00i\00g\00n\00e\00d\00 \00o\00r\00 \00f\00a\00i\00l\00e\00d\00 \00c\00a\00s\00t\00)\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
109
114
|
(data $14 (i32.const 13004) "L\00\00\00\00\00\00\00\00\00\00\00\02\00\00\008\00\00\00s\00r\00c\00/\00a\00l\00g\00e\00b\00r\00a\00/\00d\00e\00c\00o\00m\00p\00o\00s\00i\00t\00i\00o\00n\00.\00t\00s\00\00\00\00\00")
|
|
110
|
-
(data $15 (i32.const 13084) "
|
|
111
|
-
(data $16 (i32.const
|
|
112
|
-
(data $17 (i32.const
|
|
115
|
+
(data $15 (i32.const 13084) "|\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
116
|
+
(data $16 (i32.const 13212) "<\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00$\00\00\00s\00r\00c\00/\00o\00p\00s\00/\00s\00p\00e\00c\00i\00a\00l\00.\00t\00s\00\00\00\00\00\00\00\00\00")
|
|
117
|
+
(data $17 (i32.const 13276) "l\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00")
|
|
118
|
+
(data $18 (i32.const 13388) "l\00\00\00\00\00\00\00\00\00\00\00\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\00")
|
|
119
|
+
(data $19 (i32.const 13500) "l\00\00\00\00\00\00\00\00\00\00\00\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\00")
|
|
120
|
+
(data $20 (i32.const 13612) ",\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\1a\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s\00\00\00")
|
|
121
|
+
(data $21 (i32.const 13660) "|\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
122
|
+
(data $22 (i32.const 13788) "l\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00")
|
|
123
|
+
(data $23 (i32.const 13900) ",\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\1c\00\00\00s\00r\00c\00/\00s\00p\00e\00c\00i\00a\00l\00.\00t\00s\00")
|
|
124
|
+
(data $24 (i32.const 13948) "\8c\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00\00\00\00\00\00\00")
|
|
125
|
+
(data $25 (i32.const 14092) "l\00\00\00\00\00\00\00\00\00\00\00\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\00\00\00\00\00")
|
|
126
|
+
(data $26 (i32.const 14208) "\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\00\00")
|
|
113
127
|
(table $0 1 1 funcref)
|
|
114
128
|
(elem $0 (i32.const 1))
|
|
115
129
|
(export "heap_reset" (func $src/heap/heap_reset))
|
|
@@ -13338,22 +13352,46 @@
|
|
|
13338
13352
|
return
|
|
13339
13353
|
)
|
|
13340
13354
|
(func $src/ops/special/chebyshevT (param $n f64) (param $x f64) (result f64)
|
|
13355
|
+
(local $nr f64)
|
|
13341
13356
|
(local $ni i32)
|
|
13342
13357
|
(local $prev f64)
|
|
13343
13358
|
(local $curr f64)
|
|
13344
13359
|
(local $k i32)
|
|
13345
13360
|
(local $next f64)
|
|
13346
13361
|
local.get $n
|
|
13362
|
+
local.get $n
|
|
13363
|
+
f64.sub
|
|
13364
|
+
f64.const 0
|
|
13365
|
+
f64.eq
|
|
13366
|
+
i32.eqz
|
|
13367
|
+
if
|
|
13368
|
+
f64.const nan:0x8000000000000
|
|
13369
|
+
return
|
|
13370
|
+
end
|
|
13371
|
+
local.get $n
|
|
13347
13372
|
call $~lib/math/NativeMath.round
|
|
13348
|
-
|
|
13349
|
-
local.
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
i32.lt_s
|
|
13373
|
+
local.set $nr
|
|
13374
|
+
local.get $nr
|
|
13375
|
+
f64.const 0
|
|
13376
|
+
f64.lt
|
|
13353
13377
|
if
|
|
13354
13378
|
f64.const nan:0x8000000000000
|
|
13355
13379
|
return
|
|
13356
13380
|
end
|
|
13381
|
+
local.get $nr
|
|
13382
|
+
global.get $src/ops/special/_ORDER_MAX_I32
|
|
13383
|
+
f64.gt
|
|
13384
|
+
if
|
|
13385
|
+
i32.const 13104
|
|
13386
|
+
i32.const 13232
|
|
13387
|
+
i32.const 26
|
|
13388
|
+
i32.const 28
|
|
13389
|
+
call $~lib/builtins/abort
|
|
13390
|
+
unreachable
|
|
13391
|
+
end
|
|
13392
|
+
local.get $nr
|
|
13393
|
+
i32.trunc_sat_f64_s
|
|
13394
|
+
local.set $ni
|
|
13357
13395
|
local.get $ni
|
|
13358
13396
|
i32.const 0
|
|
13359
13397
|
i32.eq
|
|
@@ -13387,6 +13425,13 @@
|
|
|
13387
13425
|
local.get $prev
|
|
13388
13426
|
f64.sub
|
|
13389
13427
|
local.set $next
|
|
13428
|
+
local.get $next
|
|
13429
|
+
local.get $next
|
|
13430
|
+
f64.ne
|
|
13431
|
+
if
|
|
13432
|
+
f64.const nan:0x8000000000000
|
|
13433
|
+
return
|
|
13434
|
+
end
|
|
13390
13435
|
local.get $curr
|
|
13391
13436
|
local.set $prev
|
|
13392
13437
|
local.get $next
|
|
@@ -13402,22 +13447,46 @@
|
|
|
13402
13447
|
return
|
|
13403
13448
|
)
|
|
13404
13449
|
(func $src/ops/special/hermiteH (param $n f64) (param $x f64) (result f64)
|
|
13450
|
+
(local $nr f64)
|
|
13405
13451
|
(local $ni i32)
|
|
13406
13452
|
(local $prev f64)
|
|
13407
13453
|
(local $curr f64)
|
|
13408
13454
|
(local $k i32)
|
|
13409
13455
|
(local $next f64)
|
|
13410
13456
|
local.get $n
|
|
13457
|
+
local.get $n
|
|
13458
|
+
f64.sub
|
|
13459
|
+
f64.const 0
|
|
13460
|
+
f64.eq
|
|
13461
|
+
i32.eqz
|
|
13462
|
+
if
|
|
13463
|
+
f64.const nan:0x8000000000000
|
|
13464
|
+
return
|
|
13465
|
+
end
|
|
13466
|
+
local.get $n
|
|
13411
13467
|
call $~lib/math/NativeMath.round
|
|
13412
|
-
|
|
13413
|
-
local.
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
i32.lt_s
|
|
13468
|
+
local.set $nr
|
|
13469
|
+
local.get $nr
|
|
13470
|
+
f64.const 0
|
|
13471
|
+
f64.lt
|
|
13417
13472
|
if
|
|
13418
13473
|
f64.const nan:0x8000000000000
|
|
13419
13474
|
return
|
|
13420
13475
|
end
|
|
13476
|
+
local.get $nr
|
|
13477
|
+
global.get $src/ops/special/_ORDER_MAX_I32
|
|
13478
|
+
f64.gt
|
|
13479
|
+
if
|
|
13480
|
+
i32.const 13296
|
|
13481
|
+
i32.const 13232
|
|
13482
|
+
i32.const 46
|
|
13483
|
+
i32.const 28
|
|
13484
|
+
call $~lib/builtins/abort
|
|
13485
|
+
unreachable
|
|
13486
|
+
end
|
|
13487
|
+
local.get $nr
|
|
13488
|
+
i32.trunc_sat_f64_s
|
|
13489
|
+
local.set $ni
|
|
13421
13490
|
local.get $ni
|
|
13422
13491
|
i32.const 0
|
|
13423
13492
|
i32.eq
|
|
@@ -13462,6 +13531,13 @@
|
|
|
13462
13531
|
f64.mul
|
|
13463
13532
|
f64.sub
|
|
13464
13533
|
local.set $next
|
|
13534
|
+
local.get $next
|
|
13535
|
+
local.get $next
|
|
13536
|
+
f64.ne
|
|
13537
|
+
if
|
|
13538
|
+
f64.const nan:0x8000000000000
|
|
13539
|
+
return
|
|
13540
|
+
end
|
|
13465
13541
|
local.get $curr
|
|
13466
13542
|
local.set $prev
|
|
13467
13543
|
local.get $next
|
|
@@ -13477,6 +13553,7 @@
|
|
|
13477
13553
|
return
|
|
13478
13554
|
)
|
|
13479
13555
|
(func $src/ops/special/laguerreL (param $n f64) (param $x f64) (result f64)
|
|
13556
|
+
(local $nr f64)
|
|
13480
13557
|
(local $ni i32)
|
|
13481
13558
|
(local $prev f64)
|
|
13482
13559
|
(local $curr f64)
|
|
@@ -13484,16 +13561,39 @@
|
|
|
13484
13561
|
(local $kf f64)
|
|
13485
13562
|
(local $next f64)
|
|
13486
13563
|
local.get $n
|
|
13564
|
+
local.get $n
|
|
13565
|
+
f64.sub
|
|
13566
|
+
f64.const 0
|
|
13567
|
+
f64.eq
|
|
13568
|
+
i32.eqz
|
|
13569
|
+
if
|
|
13570
|
+
f64.const nan:0x8000000000000
|
|
13571
|
+
return
|
|
13572
|
+
end
|
|
13573
|
+
local.get $n
|
|
13487
13574
|
call $~lib/math/NativeMath.round
|
|
13488
|
-
|
|
13489
|
-
local.
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
i32.lt_s
|
|
13575
|
+
local.set $nr
|
|
13576
|
+
local.get $nr
|
|
13577
|
+
f64.const 0
|
|
13578
|
+
f64.lt
|
|
13493
13579
|
if
|
|
13494
13580
|
f64.const nan:0x8000000000000
|
|
13495
13581
|
return
|
|
13496
13582
|
end
|
|
13583
|
+
local.get $nr
|
|
13584
|
+
global.get $src/ops/special/_ORDER_MAX_LAGUERRE
|
|
13585
|
+
f64.gt
|
|
13586
|
+
if
|
|
13587
|
+
i32.const 13408
|
|
13588
|
+
i32.const 13232
|
|
13589
|
+
i32.const 66
|
|
13590
|
+
i32.const 33
|
|
13591
|
+
call $~lib/builtins/abort
|
|
13592
|
+
unreachable
|
|
13593
|
+
end
|
|
13594
|
+
local.get $nr
|
|
13595
|
+
i32.trunc_sat_f64_s
|
|
13596
|
+
local.set $ni
|
|
13497
13597
|
local.get $ni
|
|
13498
13598
|
i32.const 0
|
|
13499
13599
|
i32.eq
|
|
@@ -13544,6 +13644,13 @@
|
|
|
13544
13644
|
local.get $kf
|
|
13545
13645
|
f64.div
|
|
13546
13646
|
local.set $next
|
|
13647
|
+
local.get $next
|
|
13648
|
+
local.get $next
|
|
13649
|
+
f64.ne
|
|
13650
|
+
if
|
|
13651
|
+
f64.const nan:0x8000000000000
|
|
13652
|
+
return
|
|
13653
|
+
end
|
|
13547
13654
|
local.get $curr
|
|
13548
13655
|
local.set $prev
|
|
13549
13656
|
local.get $next
|
|
@@ -13559,6 +13666,7 @@
|
|
|
13559
13666
|
return
|
|
13560
13667
|
)
|
|
13561
13668
|
(func $src/ops/special/legendreP (param $n f64) (param $x f64) (result f64)
|
|
13669
|
+
(local $nr f64)
|
|
13562
13670
|
(local $ni i32)
|
|
13563
13671
|
(local $prev f64)
|
|
13564
13672
|
(local $curr f64)
|
|
@@ -13566,16 +13674,39 @@
|
|
|
13566
13674
|
(local $kf f64)
|
|
13567
13675
|
(local $next f64)
|
|
13568
13676
|
local.get $n
|
|
13677
|
+
local.get $n
|
|
13678
|
+
f64.sub
|
|
13679
|
+
f64.const 0
|
|
13680
|
+
f64.eq
|
|
13681
|
+
i32.eqz
|
|
13682
|
+
if
|
|
13683
|
+
f64.const nan:0x8000000000000
|
|
13684
|
+
return
|
|
13685
|
+
end
|
|
13686
|
+
local.get $n
|
|
13569
13687
|
call $~lib/math/NativeMath.round
|
|
13570
|
-
|
|
13571
|
-
local.
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
i32.lt_s
|
|
13688
|
+
local.set $nr
|
|
13689
|
+
local.get $nr
|
|
13690
|
+
f64.const 0
|
|
13691
|
+
f64.lt
|
|
13575
13692
|
if
|
|
13576
13693
|
f64.const nan:0x8000000000000
|
|
13577
13694
|
return
|
|
13578
13695
|
end
|
|
13696
|
+
local.get $nr
|
|
13697
|
+
global.get $src/ops/special/_ORDER_MAX_I32
|
|
13698
|
+
f64.gt
|
|
13699
|
+
if
|
|
13700
|
+
i32.const 13520
|
|
13701
|
+
i32.const 13232
|
|
13702
|
+
i32.const 87
|
|
13703
|
+
i32.const 28
|
|
13704
|
+
call $~lib/builtins/abort
|
|
13705
|
+
unreachable
|
|
13706
|
+
end
|
|
13707
|
+
local.get $nr
|
|
13708
|
+
i32.trunc_sat_f64_s
|
|
13709
|
+
local.set $ni
|
|
13579
13710
|
local.get $ni
|
|
13580
13711
|
i32.const 0
|
|
13581
13712
|
i32.eq
|
|
@@ -13622,6 +13753,13 @@
|
|
|
13622
13753
|
local.get $kf
|
|
13623
13754
|
f64.div
|
|
13624
13755
|
local.set $next
|
|
13756
|
+
local.get $next
|
|
13757
|
+
local.get $next
|
|
13758
|
+
f64.ne
|
|
13759
|
+
if
|
|
13760
|
+
f64.const nan:0x8000000000000
|
|
13761
|
+
return
|
|
13762
|
+
end
|
|
13625
13763
|
local.get $curr
|
|
13626
13764
|
local.set $prev
|
|
13627
13765
|
local.get $next
|
|
@@ -15604,7 +15742,7 @@
|
|
|
15604
15742
|
i32.gt_u
|
|
15605
15743
|
if
|
|
15606
15744
|
i32.const 12656
|
|
15607
|
-
i32.const
|
|
15745
|
+
i32.const 13632
|
|
15608
15746
|
i32.const 70
|
|
15609
15747
|
i32.const 60
|
|
15610
15748
|
call $~lib/builtins/abort
|
|
@@ -15838,7 +15976,7 @@
|
|
|
15838
15976
|
i32.gt_u
|
|
15839
15977
|
if
|
|
15840
15978
|
i32.const 12656
|
|
15841
|
-
i32.const
|
|
15979
|
+
i32.const 13632
|
|
15842
15980
|
i32.const 19
|
|
15843
15981
|
i32.const 48
|
|
15844
15982
|
call $~lib/builtins/abort
|
|
@@ -15930,7 +16068,7 @@
|
|
|
15930
16068
|
i32.lt_s
|
|
15931
16069
|
if
|
|
15932
16070
|
i32.const 12768
|
|
15933
|
-
i32.const
|
|
16071
|
+
i32.const 13632
|
|
15934
16072
|
i32.const 130
|
|
15935
16073
|
i32.const 22
|
|
15936
16074
|
call $~lib/builtins/abort
|
|
@@ -16005,7 +16143,7 @@
|
|
|
16005
16143
|
i32.ge_u
|
|
16006
16144
|
if
|
|
16007
16145
|
i32.const 12768
|
|
16008
|
-
i32.const
|
|
16146
|
+
i32.const 13632
|
|
16009
16147
|
i32.const 114
|
|
16010
16148
|
i32.const 42
|
|
16011
16149
|
call $~lib/builtins/abort
|
|
@@ -16435,7 +16573,7 @@
|
|
|
16435
16573
|
i32.gt_u
|
|
16436
16574
|
if
|
|
16437
16575
|
i32.const 12656
|
|
16438
|
-
i32.const
|
|
16576
|
+
i32.const 13632
|
|
16439
16577
|
i32.const 70
|
|
16440
16578
|
i32.const 60
|
|
16441
16579
|
call $~lib/builtins/abort
|
|
@@ -16497,7 +16635,7 @@
|
|
|
16497
16635
|
i32.lt_s
|
|
16498
16636
|
if
|
|
16499
16637
|
i32.const 12768
|
|
16500
|
-
i32.const
|
|
16638
|
+
i32.const 13632
|
|
16501
16639
|
i32.const 130
|
|
16502
16640
|
i32.const 22
|
|
16503
16641
|
call $~lib/builtins/abort
|
|
@@ -16732,7 +16870,7 @@
|
|
|
16732
16870
|
i32.ge_u
|
|
16733
16871
|
if
|
|
16734
16872
|
i32.const 12768
|
|
16735
|
-
i32.const
|
|
16873
|
+
i32.const 13632
|
|
16736
16874
|
i32.const 114
|
|
16737
16875
|
i32.const 42
|
|
16738
16876
|
call $~lib/builtins/abort
|
|
@@ -16754,8 +16892,8 @@
|
|
|
16754
16892
|
local.get $value
|
|
16755
16893
|
i32.eqz
|
|
16756
16894
|
if
|
|
16757
|
-
i32.const
|
|
16758
|
-
i32.const
|
|
16895
|
+
i32.const 13680
|
|
16896
|
+
i32.const 13632
|
|
16759
16897
|
i32.const 118
|
|
16760
16898
|
i32.const 40
|
|
16761
16899
|
call $~lib/builtins/abort
|
|
@@ -28838,21 +28976,41 @@
|
|
|
28838
28976
|
(local $ni i32)
|
|
28839
28977
|
(local $sign f64)
|
|
28840
28978
|
(local $x|4 f64)
|
|
28841
|
-
(local $
|
|
28979
|
+
(local $nf f64)
|
|
28980
|
+
(local $x|6 f64)
|
|
28981
|
+
(local $ax f64)
|
|
28842
28982
|
(local $jPrev f64)
|
|
28843
28983
|
(local $jCurr f64)
|
|
28844
28984
|
(local $k i32)
|
|
28845
28985
|
(local $jNext f64)
|
|
28846
|
-
(local $x|
|
|
28847
|
-
(local $
|
|
28848
|
-
(local $
|
|
28986
|
+
(local $x|12 f64)
|
|
28987
|
+
(local $x|13 f64)
|
|
28988
|
+
(local $value1 f64)
|
|
28989
|
+
(local $value2 f64)
|
|
28990
|
+
(local $extra f64)
|
|
28991
|
+
(local $nStartF f64)
|
|
28849
28992
|
(local $nStart i32)
|
|
28850
|
-
(local $jNext|
|
|
28851
|
-
(local $jCurr|
|
|
28993
|
+
(local $jNext|19 f64)
|
|
28994
|
+
(local $jCurr|20 f64)
|
|
28852
28995
|
(local $resultVal f64)
|
|
28853
28996
|
(local $sum f64)
|
|
28854
|
-
(local $
|
|
28855
|
-
(local $
|
|
28997
|
+
(local $shifts i32)
|
|
28998
|
+
(local $k|24 i32)
|
|
28999
|
+
(local $jPrev|25 f64)
|
|
29000
|
+
(local $x|26 f64)
|
|
29001
|
+
(local $r f64)
|
|
29002
|
+
(local $i i32)
|
|
29003
|
+
local.get $n
|
|
29004
|
+
global.get $~lib/builtins/i32.MIN_VALUE
|
|
29005
|
+
i32.eq
|
|
29006
|
+
if
|
|
29007
|
+
i32.const 13808
|
|
29008
|
+
i32.const 13920
|
|
29009
|
+
i32.const 256
|
|
29010
|
+
i32.const 27
|
|
29011
|
+
call $~lib/builtins/abort
|
|
29012
|
+
unreachable
|
|
29013
|
+
end
|
|
28856
29014
|
local.get $n
|
|
28857
29015
|
i32.const 0
|
|
28858
29016
|
i32.lt_s
|
|
@@ -28912,18 +29070,57 @@
|
|
|
28912
29070
|
f64.const 1e-15
|
|
28913
29071
|
f64.lt
|
|
28914
29072
|
if
|
|
29073
|
+
local.get $sign
|
|
28915
29074
|
f64.const 0
|
|
29075
|
+
f64.mul
|
|
28916
29076
|
return
|
|
28917
29077
|
end
|
|
29078
|
+
local.get $x
|
|
29079
|
+
local.get $x
|
|
29080
|
+
f64.ne
|
|
29081
|
+
if
|
|
29082
|
+
f64.const nan:0x8000000000000
|
|
29083
|
+
return
|
|
29084
|
+
end
|
|
29085
|
+
local.get $ni
|
|
29086
|
+
f64.convert_i32_s
|
|
29087
|
+
local.set $nf
|
|
28918
29088
|
block $~lib/math/NativeMath.abs|inlined.51 (result f64)
|
|
28919
29089
|
local.get $x
|
|
28920
|
-
local.set $x|
|
|
28921
|
-
local.get $x|
|
|
29090
|
+
local.set $x|6
|
|
29091
|
+
local.get $x|6
|
|
28922
29092
|
f64.abs
|
|
28923
29093
|
br $~lib/math/NativeMath.abs|inlined.51
|
|
28924
29094
|
end
|
|
28925
|
-
local.
|
|
28926
|
-
|
|
29095
|
+
local.set $ax
|
|
29096
|
+
local.get $ax
|
|
29097
|
+
local.get $nf
|
|
29098
|
+
f64.le
|
|
29099
|
+
if (result i32)
|
|
29100
|
+
local.get $nf
|
|
29101
|
+
f64.const 1
|
|
29102
|
+
local.get $ax
|
|
29103
|
+
f64.const 2
|
|
29104
|
+
f64.div
|
|
29105
|
+
call $~lib/math/NativeMath.log
|
|
29106
|
+
f64.add
|
|
29107
|
+
local.get $nf
|
|
29108
|
+
call $~lib/math/NativeMath.log
|
|
29109
|
+
f64.sub
|
|
29110
|
+
f64.mul
|
|
29111
|
+
f64.const -745.2
|
|
29112
|
+
f64.lt
|
|
29113
|
+
else
|
|
29114
|
+
i32.const 0
|
|
29115
|
+
end
|
|
29116
|
+
if
|
|
29117
|
+
local.get $sign
|
|
29118
|
+
f64.const 0
|
|
29119
|
+
f64.mul
|
|
29120
|
+
return
|
|
29121
|
+
end
|
|
29122
|
+
local.get $ax
|
|
29123
|
+
local.get $nf
|
|
28927
29124
|
f64.gt
|
|
28928
29125
|
if
|
|
28929
29126
|
local.get $x
|
|
@@ -28950,6 +29147,13 @@
|
|
|
28950
29147
|
local.get $jPrev
|
|
28951
29148
|
f64.sub
|
|
28952
29149
|
local.set $jNext
|
|
29150
|
+
local.get $jNext
|
|
29151
|
+
local.get $jNext
|
|
29152
|
+
f64.ne
|
|
29153
|
+
if
|
|
29154
|
+
f64.const nan:0x8000000000000
|
|
29155
|
+
return
|
|
29156
|
+
end
|
|
28953
29157
|
local.get $jCurr
|
|
28954
29158
|
local.set $jPrev
|
|
28955
29159
|
local.get $jNext
|
|
@@ -28966,100 +29170,188 @@
|
|
|
28966
29170
|
f64.mul
|
|
28967
29171
|
return
|
|
28968
29172
|
end
|
|
28969
|
-
block $~lib/math/NativeMath.
|
|
28970
|
-
f64.const
|
|
28971
|
-
local.
|
|
28972
|
-
f64
|
|
28973
|
-
|
|
28974
|
-
|
|
28975
|
-
|
|
28976
|
-
|
|
28977
|
-
|
|
28978
|
-
|
|
28979
|
-
|
|
28980
|
-
|
|
28981
|
-
|
|
28982
|
-
|
|
28983
|
-
|
|
28984
|
-
|
|
28985
|
-
|
|
28986
|
-
|
|
28987
|
-
local.
|
|
29173
|
+
block $~lib/math/NativeMath.max|inlined.0 (result f64)
|
|
29174
|
+
f64.const 10
|
|
29175
|
+
local.set $value1
|
|
29176
|
+
block $~lib/math/NativeMath.ceil|inlined.0 (result f64)
|
|
29177
|
+
block $~lib/math/NativeMath.sqrt|inlined.7 (result f64)
|
|
29178
|
+
f64.const 40
|
|
29179
|
+
local.get $nf
|
|
29180
|
+
f64.mul
|
|
29181
|
+
local.set $x|12
|
|
29182
|
+
local.get $x|12
|
|
29183
|
+
f64.sqrt
|
|
29184
|
+
br $~lib/math/NativeMath.sqrt|inlined.7
|
|
29185
|
+
end
|
|
29186
|
+
local.set $x|13
|
|
29187
|
+
local.get $x|13
|
|
29188
|
+
f64.ceil
|
|
29189
|
+
br $~lib/math/NativeMath.ceil|inlined.0
|
|
29190
|
+
end
|
|
29191
|
+
local.set $value2
|
|
29192
|
+
local.get $value1
|
|
29193
|
+
local.get $value2
|
|
29194
|
+
f64.max
|
|
29195
|
+
br $~lib/math/NativeMath.max|inlined.0
|
|
28988
29196
|
end
|
|
28989
29197
|
local.set $extra
|
|
28990
|
-
local.get $
|
|
28991
|
-
|
|
29198
|
+
local.get $nf
|
|
29199
|
+
f64.const 2
|
|
28992
29200
|
local.get $extra
|
|
28993
|
-
|
|
28994
|
-
|
|
29201
|
+
f64.mul
|
|
29202
|
+
f64.add
|
|
29203
|
+
local.set $nStartF
|
|
29204
|
+
local.get $nStartF
|
|
29205
|
+
global.get $src/special/_BESSEL_J_MAX_SWEEP
|
|
29206
|
+
f64.gt
|
|
29207
|
+
if
|
|
29208
|
+
i32.const 13968
|
|
29209
|
+
i32.const 13920
|
|
29210
|
+
i32.const 287
|
|
29211
|
+
i32.const 5
|
|
29212
|
+
call $~lib/builtins/abort
|
|
29213
|
+
unreachable
|
|
29214
|
+
end
|
|
29215
|
+
local.get $nStartF
|
|
29216
|
+
i32.trunc_sat_f64_s
|
|
28995
29217
|
local.set $nStart
|
|
28996
29218
|
f64.const 0
|
|
28997
|
-
local.set $jNext|
|
|
29219
|
+
local.set $jNext|19
|
|
28998
29220
|
f64.const 1
|
|
28999
|
-
local.set $jCurr|
|
|
29221
|
+
local.set $jCurr|20
|
|
29000
29222
|
f64.const 0
|
|
29001
29223
|
local.set $resultVal
|
|
29002
29224
|
f64.const 0
|
|
29003
29225
|
local.set $sum
|
|
29226
|
+
i32.const 0
|
|
29227
|
+
local.set $shifts
|
|
29004
29228
|
local.get $nStart
|
|
29005
|
-
local.set $k|
|
|
29229
|
+
local.set $k|24
|
|
29006
29230
|
loop $for-loop|1
|
|
29007
|
-
local.get $k|
|
|
29231
|
+
local.get $k|24
|
|
29008
29232
|
i32.const 0
|
|
29009
29233
|
i32.ge_s
|
|
29010
29234
|
if
|
|
29011
29235
|
f64.const 2
|
|
29012
|
-
local.get $k|
|
|
29236
|
+
local.get $k|24
|
|
29013
29237
|
i32.const 1
|
|
29014
29238
|
i32.add
|
|
29015
29239
|
f64.convert_i32_s
|
|
29016
29240
|
f64.mul
|
|
29017
29241
|
local.get $x
|
|
29018
29242
|
f64.div
|
|
29019
|
-
local.get $jCurr|
|
|
29243
|
+
local.get $jCurr|20
|
|
29020
29244
|
f64.mul
|
|
29021
|
-
local.get $jNext|
|
|
29245
|
+
local.get $jNext|19
|
|
29022
29246
|
f64.sub
|
|
29023
|
-
local.set $jPrev|
|
|
29024
|
-
local.get $jCurr|
|
|
29025
|
-
local.set $jNext|
|
|
29026
|
-
local.get $jPrev|
|
|
29027
|
-
local.set $jCurr|
|
|
29028
|
-
|
|
29247
|
+
local.set $jPrev|25
|
|
29248
|
+
local.get $jCurr|20
|
|
29249
|
+
local.set $jNext|19
|
|
29250
|
+
local.get $jPrev|25
|
|
29251
|
+
local.set $jCurr|20
|
|
29252
|
+
block $~lib/math/NativeMath.abs|inlined.52 (result f64)
|
|
29253
|
+
local.get $jCurr|20
|
|
29254
|
+
local.set $x|26
|
|
29255
|
+
local.get $x|26
|
|
29256
|
+
f64.abs
|
|
29257
|
+
br $~lib/math/NativeMath.abs|inlined.52
|
|
29258
|
+
end
|
|
29259
|
+
f64.const 1.e+200
|
|
29260
|
+
f64.gt
|
|
29261
|
+
if
|
|
29262
|
+
local.get $jCurr|20
|
|
29263
|
+
global.get $src/special/_BESSEL_J_DOWN
|
|
29264
|
+
f64.mul
|
|
29265
|
+
local.set $jCurr|20
|
|
29266
|
+
local.get $jNext|19
|
|
29267
|
+
global.get $src/special/_BESSEL_J_DOWN
|
|
29268
|
+
f64.mul
|
|
29269
|
+
local.set $jNext|19
|
|
29270
|
+
local.get $sum
|
|
29271
|
+
global.get $src/special/_BESSEL_J_DOWN
|
|
29272
|
+
f64.mul
|
|
29273
|
+
local.set $sum
|
|
29274
|
+
local.get $k|24
|
|
29275
|
+
local.get $ni
|
|
29276
|
+
i32.lt_s
|
|
29277
|
+
if
|
|
29278
|
+
local.get $shifts
|
|
29279
|
+
i32.const 1
|
|
29280
|
+
i32.add
|
|
29281
|
+
local.set $shifts
|
|
29282
|
+
local.get $shifts
|
|
29283
|
+
i32.const 3
|
|
29284
|
+
i32.eq
|
|
29285
|
+
if
|
|
29286
|
+
local.get $sign
|
|
29287
|
+
f64.const 0
|
|
29288
|
+
f64.mul
|
|
29289
|
+
return
|
|
29290
|
+
end
|
|
29291
|
+
end
|
|
29292
|
+
end
|
|
29293
|
+
local.get $k|24
|
|
29029
29294
|
local.get $ni
|
|
29030
29295
|
i32.eq
|
|
29031
29296
|
if
|
|
29032
|
-
local.get $jCurr|
|
|
29297
|
+
local.get $jCurr|20
|
|
29033
29298
|
local.set $resultVal
|
|
29034
29299
|
end
|
|
29035
|
-
local.get $k|
|
|
29300
|
+
local.get $k|24
|
|
29036
29301
|
i32.const 2
|
|
29037
29302
|
i32.rem_s
|
|
29038
29303
|
i32.const 0
|
|
29039
29304
|
i32.eq
|
|
29040
29305
|
if
|
|
29041
29306
|
local.get $sum
|
|
29042
|
-
local.get $jCurr|
|
|
29307
|
+
local.get $jCurr|20
|
|
29043
29308
|
f64.add
|
|
29044
29309
|
local.set $sum
|
|
29045
29310
|
end
|
|
29046
|
-
local.get $k|
|
|
29311
|
+
local.get $k|24
|
|
29047
29312
|
i32.const 1
|
|
29048
29313
|
i32.sub
|
|
29049
|
-
local.set $k|
|
|
29314
|
+
local.set $k|24
|
|
29050
29315
|
br $for-loop|1
|
|
29051
29316
|
end
|
|
29052
29317
|
end
|
|
29053
29318
|
f64.const 2
|
|
29054
29319
|
local.get $sum
|
|
29055
29320
|
f64.mul
|
|
29056
|
-
local.get $jCurr|
|
|
29321
|
+
local.get $jCurr|20
|
|
29057
29322
|
f64.sub
|
|
29058
29323
|
local.set $sum
|
|
29059
|
-
local.get $sign
|
|
29060
29324
|
local.get $resultVal
|
|
29061
29325
|
local.get $sum
|
|
29062
29326
|
f64.div
|
|
29327
|
+
local.set $r
|
|
29328
|
+
i32.const 0
|
|
29329
|
+
local.set $i
|
|
29330
|
+
loop $for-loop|2
|
|
29331
|
+
local.get $i
|
|
29332
|
+
local.get $shifts
|
|
29333
|
+
i32.lt_s
|
|
29334
|
+
if (result i32)
|
|
29335
|
+
local.get $r
|
|
29336
|
+
f64.const 0
|
|
29337
|
+
f64.ne
|
|
29338
|
+
else
|
|
29339
|
+
i32.const 0
|
|
29340
|
+
end
|
|
29341
|
+
if
|
|
29342
|
+
local.get $r
|
|
29343
|
+
global.get $src/special/_BESSEL_J_DOWN
|
|
29344
|
+
f64.mul
|
|
29345
|
+
local.set $r
|
|
29346
|
+
local.get $i
|
|
29347
|
+
i32.const 1
|
|
29348
|
+
i32.add
|
|
29349
|
+
local.set $i
|
|
29350
|
+
br $for-loop|2
|
|
29351
|
+
end
|
|
29352
|
+
end
|
|
29353
|
+
local.get $sign
|
|
29354
|
+
local.get $r
|
|
29063
29355
|
f64.mul
|
|
29064
29356
|
return
|
|
29065
29357
|
)
|
|
@@ -29198,19 +29490,19 @@
|
|
|
29198
29490
|
i32.const 2
|
|
29199
29491
|
i32.gt_s
|
|
29200
29492
|
if (result i32)
|
|
29201
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
29493
|
+
block $~lib/math/NativeMath.abs|inlined.53 (result f64)
|
|
29202
29494
|
local.get $d
|
|
29203
29495
|
local.set $x|9
|
|
29204
29496
|
local.get $x|9
|
|
29205
29497
|
f64.abs
|
|
29206
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
29498
|
+
br $~lib/math/NativeMath.abs|inlined.53
|
|
29207
29499
|
end
|
|
29208
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
29500
|
+
block $~lib/math/NativeMath.abs|inlined.54 (result f64)
|
|
29209
29501
|
local.get $s
|
|
29210
29502
|
local.set $x|10
|
|
29211
29503
|
local.get $x|10
|
|
29212
29504
|
f64.abs
|
|
29213
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
29505
|
+
br $~lib/math/NativeMath.abs|inlined.54
|
|
29214
29506
|
end
|
|
29215
29507
|
f64.const 1e-17
|
|
29216
29508
|
f64.mul
|
|
@@ -29379,19 +29671,19 @@
|
|
|
29379
29671
|
i32.const 2
|
|
29380
29672
|
i32.gt_s
|
|
29381
29673
|
if (result i32)
|
|
29382
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
29674
|
+
block $~lib/math/NativeMath.abs|inlined.55 (result f64)
|
|
29383
29675
|
local.get $d
|
|
29384
29676
|
local.set $x|9
|
|
29385
29677
|
local.get $x|9
|
|
29386
29678
|
f64.abs
|
|
29387
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
29679
|
+
br $~lib/math/NativeMath.abs|inlined.55
|
|
29388
29680
|
end
|
|
29389
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
29681
|
+
block $~lib/math/NativeMath.abs|inlined.56 (result f64)
|
|
29390
29682
|
local.get $s
|
|
29391
29683
|
local.set $x|10
|
|
29392
29684
|
local.get $x|10
|
|
29393
29685
|
f64.abs
|
|
29394
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
29686
|
+
br $~lib/math/NativeMath.abs|inlined.56
|
|
29395
29687
|
end
|
|
29396
29688
|
f64.const 1e-17
|
|
29397
29689
|
f64.mul
|
|
@@ -29501,6 +29793,17 @@
|
|
|
29501
29793
|
return
|
|
29502
29794
|
end
|
|
29503
29795
|
local.get $n
|
|
29796
|
+
global.get $~lib/builtins/i32.MIN_VALUE
|
|
29797
|
+
i32.eq
|
|
29798
|
+
if
|
|
29799
|
+
i32.const 14112
|
|
29800
|
+
i32.const 13920
|
|
29801
|
+
i32.const 327
|
|
29802
|
+
i32.const 27
|
|
29803
|
+
call $~lib/builtins/abort
|
|
29804
|
+
unreachable
|
|
29805
|
+
end
|
|
29806
|
+
local.get $n
|
|
29504
29807
|
i32.const 0
|
|
29505
29808
|
i32.lt_s
|
|
29506
29809
|
if (result i32)
|
|
@@ -29573,6 +29876,13 @@
|
|
|
29573
29876
|
local.get $yPrev
|
|
29574
29877
|
f64.sub
|
|
29575
29878
|
local.set $yNext
|
|
29879
|
+
local.get $yNext
|
|
29880
|
+
local.get $yNext
|
|
29881
|
+
f64.ne
|
|
29882
|
+
if
|
|
29883
|
+
f64.const nan:0x8000000000000
|
|
29884
|
+
return
|
|
29885
|
+
end
|
|
29576
29886
|
local.get $yCurr
|
|
29577
29887
|
local.set $yPrev
|
|
29578
29888
|
local.get $yNext
|
|
@@ -29753,12 +30063,12 @@
|
|
|
29753
30063
|
local.get $zk
|
|
29754
30064
|
f64.div
|
|
29755
30065
|
local.set $t
|
|
29756
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30066
|
+
block $~lib/math/NativeMath.abs|inlined.57 (result f64)
|
|
29757
30067
|
local.get $t
|
|
29758
30068
|
local.set $x|11
|
|
29759
30069
|
local.get $x|11
|
|
29760
30070
|
f64.abs
|
|
29761
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30071
|
+
br $~lib/math/NativeMath.abs|inlined.57
|
|
29762
30072
|
end
|
|
29763
30073
|
local.set $mag
|
|
29764
30074
|
local.get $mag
|
|
@@ -29849,12 +30159,12 @@
|
|
|
29849
30159
|
(local $theta f64)
|
|
29850
30160
|
(local $x|19 f64)
|
|
29851
30161
|
(local $sp f64)
|
|
29852
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30162
|
+
block $~lib/math/NativeMath.abs|inlined.58 (result f64)
|
|
29853
30163
|
local.get $x
|
|
29854
30164
|
local.set $x|2
|
|
29855
30165
|
local.get $x|2
|
|
29856
30166
|
f64.abs
|
|
29857
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30167
|
+
br $~lib/math/NativeMath.abs|inlined.58
|
|
29858
30168
|
end
|
|
29859
30169
|
local.set $ax
|
|
29860
30170
|
local.get $ax
|
|
@@ -29905,12 +30215,12 @@
|
|
|
29905
30215
|
local.get $zk
|
|
29906
30216
|
f64.div
|
|
29907
30217
|
local.set $t
|
|
29908
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30218
|
+
block $~lib/math/NativeMath.abs|inlined.59 (result f64)
|
|
29909
30219
|
local.get $t
|
|
29910
30220
|
local.set $x|14
|
|
29911
30221
|
local.get $x|14
|
|
29912
30222
|
f64.abs
|
|
29913
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30223
|
+
br $~lib/math/NativeMath.abs|inlined.59
|
|
29914
30224
|
end
|
|
29915
30225
|
local.set $mag
|
|
29916
30226
|
local.get $mag
|
|
@@ -30148,37 +30458,37 @@
|
|
|
30148
30458
|
local.get $dg
|
|
30149
30459
|
f64.add
|
|
30150
30460
|
local.set $g
|
|
30151
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30461
|
+
block $~lib/math/NativeMath.abs|inlined.60 (result f64)
|
|
30152
30462
|
local.get $df
|
|
30153
30463
|
local.set $x|15
|
|
30154
30464
|
local.get $x|15
|
|
30155
30465
|
f64.abs
|
|
30156
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30466
|
+
br $~lib/math/NativeMath.abs|inlined.60
|
|
30157
30467
|
end
|
|
30158
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30468
|
+
block $~lib/math/NativeMath.abs|inlined.61 (result f64)
|
|
30159
30469
|
local.get $f
|
|
30160
30470
|
local.set $x|16
|
|
30161
30471
|
local.get $x|16
|
|
30162
30472
|
f64.abs
|
|
30163
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30473
|
+
br $~lib/math/NativeMath.abs|inlined.61
|
|
30164
30474
|
end
|
|
30165
30475
|
f64.const 1e-16
|
|
30166
30476
|
f64.mul
|
|
30167
30477
|
f64.lt
|
|
30168
30478
|
if (result i32)
|
|
30169
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30479
|
+
block $~lib/math/NativeMath.abs|inlined.62 (result f64)
|
|
30170
30480
|
local.get $dg
|
|
30171
30481
|
local.set $x|17
|
|
30172
30482
|
local.get $x|17
|
|
30173
30483
|
f64.abs
|
|
30174
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30484
|
+
br $~lib/math/NativeMath.abs|inlined.62
|
|
30175
30485
|
end
|
|
30176
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30486
|
+
block $~lib/math/NativeMath.abs|inlined.63 (result f64)
|
|
30177
30487
|
local.get $g
|
|
30178
30488
|
local.set $x|18
|
|
30179
30489
|
local.get $x|18
|
|
30180
30490
|
f64.abs
|
|
30181
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30491
|
+
br $~lib/math/NativeMath.abs|inlined.63
|
|
30182
30492
|
end
|
|
30183
30493
|
f64.const 1e-16
|
|
30184
30494
|
f64.mul
|
|
@@ -30435,14 +30745,14 @@
|
|
|
30435
30745
|
br $~lib/math/NativeMath.sqrt|inlined.14
|
|
30436
30746
|
end
|
|
30437
30747
|
local.set $bNew
|
|
30438
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30748
|
+
block $~lib/math/NativeMath.abs|inlined.64 (result f64)
|
|
30439
30749
|
local.get $aNew
|
|
30440
30750
|
local.get $bNew
|
|
30441
30751
|
f64.sub
|
|
30442
30752
|
local.set $x|8
|
|
30443
30753
|
local.get $x|8
|
|
30444
30754
|
f64.abs
|
|
30445
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30755
|
+
br $~lib/math/NativeMath.abs|inlined.64
|
|
30446
30756
|
end
|
|
30447
30757
|
f64.const 1e-16
|
|
30448
30758
|
local.get $aNew
|
|
@@ -30625,12 +30935,12 @@
|
|
|
30625
30935
|
f64.mul
|
|
30626
30936
|
f64.add
|
|
30627
30937
|
local.set $sum
|
|
30628
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
30938
|
+
block $~lib/math/NativeMath.abs|inlined.65 (result f64)
|
|
30629
30939
|
local.get $cNew
|
|
30630
30940
|
local.set $x|13
|
|
30631
30941
|
local.get $x|13
|
|
30632
30942
|
f64.abs
|
|
30633
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
30943
|
+
br $~lib/math/NativeMath.abs|inlined.65
|
|
30634
30944
|
end
|
|
30635
30945
|
f64.const 1e-16
|
|
30636
30946
|
local.get $aNew
|
|
@@ -30734,7 +31044,7 @@
|
|
|
30734
31044
|
f64.const 0.5
|
|
30735
31045
|
f64.lt
|
|
30736
31046
|
if
|
|
30737
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31047
|
+
block $~lib/math/NativeMath.abs|inlined.66 (result f64)
|
|
30738
31048
|
global.get $~lib/math/NativeMath.PI
|
|
30739
31049
|
local.get $x
|
|
30740
31050
|
f64.mul
|
|
@@ -30742,7 +31052,7 @@
|
|
|
30742
31052
|
local.set $x|2
|
|
30743
31053
|
local.get $x|2
|
|
30744
31054
|
f64.abs
|
|
30745
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31055
|
+
br $~lib/math/NativeMath.abs|inlined.66
|
|
30746
31056
|
end
|
|
30747
31057
|
local.set $sinPiX
|
|
30748
31058
|
local.get $sinPiX
|
|
@@ -30961,22 +31271,22 @@
|
|
|
30961
31271
|
local.get $ave
|
|
30962
31272
|
f64.div
|
|
30963
31273
|
local.set $dy
|
|
30964
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31274
|
+
block $~lib/math/NativeMath.abs|inlined.67 (result f64)
|
|
30965
31275
|
local.get $dx
|
|
30966
31276
|
local.set $x|10
|
|
30967
31277
|
local.get $x|10
|
|
30968
31278
|
f64.abs
|
|
30969
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31279
|
+
br $~lib/math/NativeMath.abs|inlined.67
|
|
30970
31280
|
end
|
|
30971
31281
|
f64.const 1e-10
|
|
30972
31282
|
f64.lt
|
|
30973
31283
|
if (result i32)
|
|
30974
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31284
|
+
block $~lib/math/NativeMath.abs|inlined.68 (result f64)
|
|
30975
31285
|
local.get $dy
|
|
30976
31286
|
local.set $x|11
|
|
30977
31287
|
local.get $x|11
|
|
30978
31288
|
f64.abs
|
|
30979
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31289
|
+
br $~lib/math/NativeMath.abs|inlined.68
|
|
30980
31290
|
end
|
|
30981
31291
|
f64.const 1e-10
|
|
30982
31292
|
f64.lt
|
|
@@ -31210,22 +31520,22 @@
|
|
|
31210
31520
|
local.get $ave
|
|
31211
31521
|
f64.div
|
|
31212
31522
|
local.set $dz
|
|
31213
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31523
|
+
block $~lib/math/NativeMath.abs|inlined.69 (result f64)
|
|
31214
31524
|
local.get $dx
|
|
31215
31525
|
local.set $x|18
|
|
31216
31526
|
local.get $x|18
|
|
31217
31527
|
f64.abs
|
|
31218
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31528
|
+
br $~lib/math/NativeMath.abs|inlined.69
|
|
31219
31529
|
end
|
|
31220
31530
|
f64.const 1e-10
|
|
31221
31531
|
f64.lt
|
|
31222
31532
|
if (result i32)
|
|
31223
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31533
|
+
block $~lib/math/NativeMath.abs|inlined.70 (result f64)
|
|
31224
31534
|
local.get $dy
|
|
31225
31535
|
local.set $x|19
|
|
31226
31536
|
local.get $x|19
|
|
31227
31537
|
f64.abs
|
|
31228
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31538
|
+
br $~lib/math/NativeMath.abs|inlined.70
|
|
31229
31539
|
end
|
|
31230
31540
|
f64.const 1e-10
|
|
31231
31541
|
f64.lt
|
|
@@ -31233,12 +31543,12 @@
|
|
|
31233
31543
|
i32.const 0
|
|
31234
31544
|
end
|
|
31235
31545
|
if (result i32)
|
|
31236
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31546
|
+
block $~lib/math/NativeMath.abs|inlined.71 (result f64)
|
|
31237
31547
|
local.get $dz
|
|
31238
31548
|
local.set $x|20
|
|
31239
31549
|
local.get $x|20
|
|
31240
31550
|
f64.abs
|
|
31241
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31551
|
+
br $~lib/math/NativeMath.abs|inlined.71
|
|
31242
31552
|
end
|
|
31243
31553
|
f64.const 1e-10
|
|
31244
31554
|
f64.lt
|
|
@@ -31545,22 +31855,22 @@
|
|
|
31545
31855
|
local.get $ave
|
|
31546
31856
|
f64.div
|
|
31547
31857
|
local.set $dz
|
|
31548
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31858
|
+
block $~lib/math/NativeMath.abs|inlined.72 (result f64)
|
|
31549
31859
|
local.get $dx
|
|
31550
31860
|
local.set $x|20
|
|
31551
31861
|
local.get $x|20
|
|
31552
31862
|
f64.abs
|
|
31553
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31863
|
+
br $~lib/math/NativeMath.abs|inlined.72
|
|
31554
31864
|
end
|
|
31555
31865
|
f64.const 1e-10
|
|
31556
31866
|
f64.lt
|
|
31557
31867
|
if (result i32)
|
|
31558
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31868
|
+
block $~lib/math/NativeMath.abs|inlined.73 (result f64)
|
|
31559
31869
|
local.get $dy
|
|
31560
31870
|
local.set $x|21
|
|
31561
31871
|
local.get $x|21
|
|
31562
31872
|
f64.abs
|
|
31563
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31873
|
+
br $~lib/math/NativeMath.abs|inlined.73
|
|
31564
31874
|
end
|
|
31565
31875
|
f64.const 1e-10
|
|
31566
31876
|
f64.lt
|
|
@@ -31568,12 +31878,12 @@
|
|
|
31568
31878
|
i32.const 0
|
|
31569
31879
|
end
|
|
31570
31880
|
if (result i32)
|
|
31571
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
31881
|
+
block $~lib/math/NativeMath.abs|inlined.74 (result f64)
|
|
31572
31882
|
local.get $dz
|
|
31573
31883
|
local.set $x|22
|
|
31574
31884
|
local.get $x|22
|
|
31575
31885
|
f64.abs
|
|
31576
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
31886
|
+
br $~lib/math/NativeMath.abs|inlined.74
|
|
31577
31887
|
end
|
|
31578
31888
|
f64.const 1e-10
|
|
31579
31889
|
f64.lt
|
|
@@ -31969,22 +32279,22 @@
|
|
|
31969
32279
|
local.get $ave
|
|
31970
32280
|
f64.div
|
|
31971
32281
|
local.set $dp
|
|
31972
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
32282
|
+
block $~lib/math/NativeMath.abs|inlined.75 (result f64)
|
|
31973
32283
|
local.get $dx
|
|
31974
32284
|
local.set $x|26
|
|
31975
32285
|
local.get $x|26
|
|
31976
32286
|
f64.abs
|
|
31977
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
32287
|
+
br $~lib/math/NativeMath.abs|inlined.75
|
|
31978
32288
|
end
|
|
31979
32289
|
f64.const 1e-10
|
|
31980
32290
|
f64.lt
|
|
31981
32291
|
if (result i32)
|
|
31982
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
32292
|
+
block $~lib/math/NativeMath.abs|inlined.76 (result f64)
|
|
31983
32293
|
local.get $dy
|
|
31984
32294
|
local.set $x|27
|
|
31985
32295
|
local.get $x|27
|
|
31986
32296
|
f64.abs
|
|
31987
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
32297
|
+
br $~lib/math/NativeMath.abs|inlined.76
|
|
31988
32298
|
end
|
|
31989
32299
|
f64.const 1e-10
|
|
31990
32300
|
f64.lt
|
|
@@ -31992,12 +32302,12 @@
|
|
|
31992
32302
|
i32.const 0
|
|
31993
32303
|
end
|
|
31994
32304
|
if (result i32)
|
|
31995
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
32305
|
+
block $~lib/math/NativeMath.abs|inlined.77 (result f64)
|
|
31996
32306
|
local.get $dz
|
|
31997
32307
|
local.set $x|28
|
|
31998
32308
|
local.get $x|28
|
|
31999
32309
|
f64.abs
|
|
32000
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
32310
|
+
br $~lib/math/NativeMath.abs|inlined.77
|
|
32001
32311
|
end
|
|
32002
32312
|
f64.const 1e-10
|
|
32003
32313
|
f64.lt
|
|
@@ -32005,12 +32315,12 @@
|
|
|
32005
32315
|
i32.const 0
|
|
32006
32316
|
end
|
|
32007
32317
|
if (result i32)
|
|
32008
|
-
block $~lib/math/NativeMath.abs|inlined.
|
|
32318
|
+
block $~lib/math/NativeMath.abs|inlined.78 (result f64)
|
|
32009
32319
|
local.get $dp
|
|
32010
32320
|
local.set $x|29
|
|
32011
32321
|
local.get $x|29
|
|
32012
32322
|
f64.abs
|
|
32013
|
-
br $~lib/math/NativeMath.abs|inlined.
|
|
32323
|
+
br $~lib/math/NativeMath.abs|inlined.78
|
|
32014
32324
|
end
|
|
32015
32325
|
f64.const 1e-10
|
|
32016
32326
|
f64.lt
|