@danielsimonjr/mathts-wasm 0.4.0 → 0.5.0
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 +70 -0
- package/build/mathts-debug.d.ts +25 -0
- package/build/mathts-debug.js +575 -521
- package/build/mathts-debug.js.map +1 -1
- package/build/mathts-debug.wasm +0 -0
- package/build/mathts-debug.wasm.map +1 -1
- package/build/mathts-debug.wat +1255 -482
- package/build/mathts.d.ts +25 -0
- package/build/mathts.js +244 -198
- package/build/mathts.js.map +1 -1
- package/build/mathts.wasm +0 -0
- package/build/mathts.wat +1247 -633
- package/build/wasm-manifest.json +2 -2
- package/package.json +12 -5
package/build/mathts.wat
CHANGED
|
@@ -3,48 +3,54 @@
|
|
|
3
3
|
(type $1 (func (param f64) (result f64)))
|
|
4
4
|
(type $2 (func (param i32 i32) (result i32)))
|
|
5
5
|
(type $3 (func (param i32 i32 i32)))
|
|
6
|
-
(type $4 (func (param
|
|
7
|
-
(type $5 (func (param
|
|
8
|
-
(type $6 (func (param i32) (result f64)))
|
|
9
|
-
(type $7 (func (param i32
|
|
6
|
+
(type $4 (func (param f64 f64) (result f64)))
|
|
7
|
+
(type $5 (func (param i32 i32)))
|
|
8
|
+
(type $6 (func (param i32 i32) (result f64)))
|
|
9
|
+
(type $7 (func (param i32) (result f64)))
|
|
10
10
|
(type $8 (func (param i32 i32 i32) (result i32)))
|
|
11
11
|
(type $9 (func (param f64) (result i32)))
|
|
12
12
|
(type $10 (func (param i32 i32 i32 i32) (result i32)))
|
|
13
13
|
(type $11 (func (param f64 f64) (result i32)))
|
|
14
14
|
(type $12 (func (param i32 i32 i32 i32)))
|
|
15
15
|
(type $13 (func (param f64 i32) (result f64)))
|
|
16
|
-
(type $14 (func (
|
|
17
|
-
(type $15 (func (param i32 i32 i32
|
|
18
|
-
(type $16 (func (param i32 i32 f64)))
|
|
19
|
-
(type $17 (func (param
|
|
20
|
-
(type $18 (func (param
|
|
21
|
-
(type $19 (func (param i32)))
|
|
22
|
-
(type $20 (func))
|
|
23
|
-
(type $21 (func
|
|
24
|
-
(type $22 (func (param
|
|
25
|
-
(type $23 (func (param i32 f64
|
|
26
|
-
(type $24 (func (param i32
|
|
27
|
-
(type $25 (func (param i32
|
|
28
|
-
(type $26 (func (param i32 i32 i32) (result
|
|
29
|
-
(type $27 (func (param i32 i32 i32 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
|
|
35
|
-
(type $33 (func (param
|
|
36
|
-
(type $34 (func (param
|
|
37
|
-
(type $35 (func (param i32
|
|
38
|
-
(type $36 (func (param i32 i32
|
|
39
|
-
(type $37 (func (param
|
|
40
|
-
(type $38 (func (param
|
|
41
|
-
(type $39 (func (param f64 i32 i32)))
|
|
42
|
-
(type $40 (func (param i32
|
|
43
|
-
(type $41 (func (param i32 i32
|
|
44
|
-
(type $42 (func (param i32 f64
|
|
45
|
-
(type $43 (func (param i32 f64 f64)))
|
|
46
|
-
(type $44 (func (param
|
|
47
|
-
(
|
|
16
|
+
(type $14 (func (result i32)))
|
|
17
|
+
(type $15 (func (param i32 i32 i32 i32 i32)))
|
|
18
|
+
(type $16 (func (param i32 i32 i32 f64) (result i32)))
|
|
19
|
+
(type $17 (func (param i32 i32 f64)))
|
|
20
|
+
(type $18 (func (param f64 f64 f64) (result f64)))
|
|
21
|
+
(type $19 (func (param i32 f64)))
|
|
22
|
+
(type $20 (func (param i32)))
|
|
23
|
+
(type $21 (func))
|
|
24
|
+
(type $22 (func (param f64 f64 i32) (result f64)))
|
|
25
|
+
(type $23 (func (param i32 f64 i32)))
|
|
26
|
+
(type $24 (func (param i32 f64) (result f64)))
|
|
27
|
+
(type $25 (func (param i32 f64 f64) (result i32)))
|
|
28
|
+
(type $26 (func (param i32 i32 i32 i32 i32 i32) (result i32)))
|
|
29
|
+
(type $27 (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
30
|
+
(type $28 (func (param i32 i32 i32) (result f64)))
|
|
31
|
+
(type $29 (func (param i32 i32 i32 i32 i32 i32)))
|
|
32
|
+
(type $30 (func (param i32 i32 f64) (result i32)))
|
|
33
|
+
(type $31 (func (param i32 i32 i32 i32 f64) (result i32)))
|
|
34
|
+
(type $32 (func (param i64) (result i32)))
|
|
35
|
+
(type $33 (func (param f64 f64 f64 f64) (result f64)))
|
|
36
|
+
(type $34 (func (param i64 i64) (result i64)))
|
|
37
|
+
(type $35 (func (param i32 f64 f64) (result f64)))
|
|
38
|
+
(type $36 (func (param i32 i32 f64 f64 f64 f64) (result i32)))
|
|
39
|
+
(type $37 (func (param i32 i32 i32 i32 f64)))
|
|
40
|
+
(type $38 (func (param i32 i32 i32 i32) (result f64)))
|
|
41
|
+
(type $39 (func (param f64 i32 i32 i32 i32 f64 i32)))
|
|
42
|
+
(type $40 (func (param f64 i32 i32 i32 i32 i32 f64 i32)))
|
|
43
|
+
(type $41 (func (param f64 i32 i32)))
|
|
44
|
+
(type $42 (func (param i32 f64) (result i32)))
|
|
45
|
+
(type $43 (func (param i32 i32 f64 f64)))
|
|
46
|
+
(type $44 (func (param i32 f64 f64 i32)))
|
|
47
|
+
(type $45 (func (param i32 f64 f64)))
|
|
48
|
+
(type $46 (func (param f64 i32 f64 i32 i32)))
|
|
49
|
+
(global $src/abort/abortMessage (mut i32) (i32.const 0))
|
|
50
|
+
(global $src/abort/abortFile (mut i32) (i32.const 0))
|
|
51
|
+
(global $src/abort/abortLine (mut i32) (i32.const 0))
|
|
52
|
+
(global $src/abort/abortColumn (mut i32) (i32.const 0))
|
|
53
|
+
(global $src/abort/abortPending (mut i32) (i32.const 0))
|
|
48
54
|
(global $src/ops/scalar/PI f64 (f64.const 3.141592653589793))
|
|
49
55
|
(global $src/ops/scalar/E f64 (f64.const 2.718281828459045))
|
|
50
56
|
(global $src/ops/scalar/PHI f64 (f64.const 1.618033988749895))
|
|
@@ -60,7 +66,7 @@
|
|
|
60
66
|
(global $~lib/math/rempio2_y0 (mut f64) (f64.const 0))
|
|
61
67
|
(global $~lib/math/rempio2_y1 (mut f64) (f64.const 0))
|
|
62
68
|
(global $~lib/math/res128_hi (mut i64) (i64.const 0))
|
|
63
|
-
(global $~lib/rt/__rtti_base i32 (i32.const
|
|
69
|
+
(global $~lib/rt/__rtti_base i32 (i32.const 2736))
|
|
64
70
|
(memory $0 1)
|
|
65
71
|
(data $0 (i32.const 1036) "<")
|
|
66
72
|
(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,12 +81,35 @@
|
|
|
75
81
|
(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
82
|
(data $6 (i32.const 1548) "<")
|
|
77
83
|
(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
|
|
84
|
+
(data $7 (i32.const 1612) "|")
|
|
85
|
+
(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")
|
|
86
|
+
(data $8 (i32.const 1740) "<")
|
|
87
|
+
(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")
|
|
88
|
+
(data $9 (i32.const 1804) "l")
|
|
89
|
+
(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")
|
|
90
|
+
(data $10 (i32.const 1916) "l")
|
|
91
|
+
(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")
|
|
92
|
+
(data $11 (i32.const 2028) "l")
|
|
93
|
+
(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")
|
|
94
|
+
(data $12 (i32.const 2140) ",")
|
|
95
|
+
(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")
|
|
96
|
+
(data $13 (i32.const 2188) "|")
|
|
97
|
+
(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")
|
|
98
|
+
(data $14 (i32.const 2316) "l")
|
|
99
|
+
(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")
|
|
100
|
+
(data $15 (i32.const 2428) ",")
|
|
101
|
+
(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")
|
|
102
|
+
(data $16 (i32.const 2476) "\8c")
|
|
103
|
+
(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")
|
|
104
|
+
(data $17 (i32.const 2620) "l")
|
|
105
|
+
(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")
|
|
106
|
+
(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
107
|
(export "heap_reset" (func $src/heap/heap_reset))
|
|
108
|
+
(export "abort_take" (func $src/abort/abort_take))
|
|
109
|
+
(export "abort_message" (func $src/abort/abort_message))
|
|
110
|
+
(export "abort_file" (func $src/abort/abort_file))
|
|
111
|
+
(export "abort_line" (func $src/abort/abort_line))
|
|
112
|
+
(export "abort_column" (func $src/abort/abort_column))
|
|
84
113
|
(export "complex" (func $src/types/complex/complex))
|
|
85
114
|
(export "complexFromPolar" (func $src/types/complex/complexFromPolar))
|
|
86
115
|
(export "add_f64" (func $src/ops/scalar/add_f64))
|
|
@@ -420,7 +449,7 @@
|
|
|
420
449
|
i32.const 1568
|
|
421
450
|
i32.const 1446
|
|
422
451
|
i32.const 64
|
|
423
|
-
call
|
|
452
|
+
call $src/abort/trapAbort
|
|
424
453
|
unreachable
|
|
425
454
|
end
|
|
426
455
|
local.get $0
|
|
@@ -443,7 +472,7 @@
|
|
|
443
472
|
i32.const 1568
|
|
444
473
|
i32.const 1457
|
|
445
474
|
i32.const 64
|
|
446
|
-
call
|
|
475
|
+
call $src/abort/trapAbort
|
|
447
476
|
unreachable
|
|
448
477
|
end
|
|
449
478
|
local.get $0
|
|
@@ -466,7 +495,7 @@
|
|
|
466
495
|
i32.const 1120
|
|
467
496
|
i32.const 86
|
|
468
497
|
i32.const 30
|
|
469
|
-
call
|
|
498
|
+
call $src/abort/trapAbort
|
|
470
499
|
unreachable
|
|
471
500
|
end
|
|
472
501
|
local.get $0
|
|
@@ -520,7 +549,7 @@
|
|
|
520
549
|
i32.const 1440
|
|
521
550
|
i32.const 19
|
|
522
551
|
i32.const 57
|
|
523
|
-
call
|
|
552
|
+
call $src/abort/trapAbort
|
|
524
553
|
unreachable
|
|
525
554
|
end
|
|
526
555
|
local.get $1
|
|
@@ -594,7 +623,7 @@
|
|
|
594
623
|
i32.const 1568
|
|
595
624
|
i32.const 736
|
|
596
625
|
i32.const 64
|
|
597
|
-
call
|
|
626
|
+
call $src/abort/trapAbort
|
|
598
627
|
unreachable
|
|
599
628
|
end
|
|
600
629
|
local.get $0
|
|
@@ -612,10 +641,10 @@
|
|
|
612
641
|
i32.ge_u
|
|
613
642
|
if
|
|
614
643
|
i32.const 1504
|
|
615
|
-
i32.const
|
|
644
|
+
i32.const 2160
|
|
616
645
|
i32.const 114
|
|
617
646
|
i32.const 42
|
|
618
|
-
call
|
|
647
|
+
call $src/abort/trapAbort
|
|
619
648
|
unreachable
|
|
620
649
|
end
|
|
621
650
|
local.get $0
|
|
@@ -1282,7 +1311,7 @@
|
|
|
1282
1311
|
i32.const 1568
|
|
1283
1312
|
i32.const 747
|
|
1284
1313
|
i32.const 64
|
|
1285
|
-
call
|
|
1314
|
+
call $src/abort/trapAbort
|
|
1286
1315
|
unreachable
|
|
1287
1316
|
end
|
|
1288
1317
|
local.get $0
|
|
@@ -1460,6 +1489,19 @@
|
|
|
1460
1489
|
f64.mul
|
|
1461
1490
|
f64.add
|
|
1462
1491
|
)
|
|
1492
|
+
(func $src/abort/trapAbort (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
1493
|
+
local.get $0
|
|
1494
|
+
global.set $src/abort/abortMessage
|
|
1495
|
+
local.get $1
|
|
1496
|
+
global.set $src/abort/abortFile
|
|
1497
|
+
local.get $2
|
|
1498
|
+
global.set $src/abort/abortLine
|
|
1499
|
+
local.get $3
|
|
1500
|
+
global.set $src/abort/abortColumn
|
|
1501
|
+
i32.const 1
|
|
1502
|
+
global.set $src/abort/abortPending
|
|
1503
|
+
unreachable
|
|
1504
|
+
)
|
|
1463
1505
|
(func $~lib/array/Array<f64>#__set (param $0 i32) (param $1 i32) (param $2 f64)
|
|
1464
1506
|
(local $3 i32)
|
|
1465
1507
|
local.get $1
|
|
@@ -1472,10 +1514,10 @@
|
|
|
1472
1514
|
i32.lt_s
|
|
1473
1515
|
if
|
|
1474
1516
|
i32.const 1504
|
|
1475
|
-
i32.const
|
|
1517
|
+
i32.const 2160
|
|
1476
1518
|
i32.const 130
|
|
1477
1519
|
i32.const 22
|
|
1478
|
-
call
|
|
1520
|
+
call $src/abort/trapAbort
|
|
1479
1521
|
unreachable
|
|
1480
1522
|
end
|
|
1481
1523
|
local.get $0
|
|
@@ -2896,7 +2938,10 @@
|
|
|
2896
2938
|
)
|
|
2897
2939
|
(func $src/types/complex/Complex#log (param $0 i32) (result i32)
|
|
2898
2940
|
local.get $0
|
|
2899
|
-
|
|
2941
|
+
f64.load
|
|
2942
|
+
local.get $0
|
|
2943
|
+
f64.load offset=8
|
|
2944
|
+
call $~lib/math/NativeMath.hypot
|
|
2900
2945
|
call $~lib/math/NativeMath.log
|
|
2901
2946
|
local.get $0
|
|
2902
2947
|
f64.load offset=8
|
|
@@ -2971,10 +3016,10 @@
|
|
|
2971
3016
|
i32.gt_u
|
|
2972
3017
|
if
|
|
2973
3018
|
i32.const 1392
|
|
2974
|
-
i32.const
|
|
3019
|
+
i32.const 2160
|
|
2975
3020
|
i32.const 70
|
|
2976
3021
|
i32.const 60
|
|
2977
|
-
call
|
|
3022
|
+
call $src/abort/trapAbort
|
|
2978
3023
|
unreachable
|
|
2979
3024
|
end
|
|
2980
3025
|
i32.const 8
|
|
@@ -3038,6 +3083,174 @@
|
|
|
3038
3083
|
local.get $2
|
|
3039
3084
|
i32.store
|
|
3040
3085
|
)
|
|
3086
|
+
(func $~lib/math/NativeMath.hypot (param $0 f64) (param $1 f64) (result f64)
|
|
3087
|
+
(local $2 i64)
|
|
3088
|
+
(local $3 i64)
|
|
3089
|
+
(local $4 i64)
|
|
3090
|
+
(local $5 f64)
|
|
3091
|
+
(local $6 i32)
|
|
3092
|
+
(local $7 f64)
|
|
3093
|
+
(local $8 i32)
|
|
3094
|
+
(local $9 f64)
|
|
3095
|
+
(local $10 f64)
|
|
3096
|
+
(local $11 f64)
|
|
3097
|
+
local.get $1
|
|
3098
|
+
i64.reinterpret_f64
|
|
3099
|
+
i64.const 9223372036854775807
|
|
3100
|
+
i64.and
|
|
3101
|
+
local.tee $3
|
|
3102
|
+
local.get $0
|
|
3103
|
+
i64.reinterpret_f64
|
|
3104
|
+
i64.const 9223372036854775807
|
|
3105
|
+
i64.and
|
|
3106
|
+
local.tee $2
|
|
3107
|
+
i64.gt_u
|
|
3108
|
+
if
|
|
3109
|
+
local.get $2
|
|
3110
|
+
local.get $3
|
|
3111
|
+
local.set $2
|
|
3112
|
+
local.set $3
|
|
3113
|
+
end
|
|
3114
|
+
local.get $3
|
|
3115
|
+
f64.reinterpret_i64
|
|
3116
|
+
local.set $1
|
|
3117
|
+
local.get $3
|
|
3118
|
+
i64.const 52
|
|
3119
|
+
i64.shr_u
|
|
3120
|
+
i32.wrap_i64
|
|
3121
|
+
local.tee $6
|
|
3122
|
+
i32.const 2047
|
|
3123
|
+
i32.eq
|
|
3124
|
+
if
|
|
3125
|
+
local.get $1
|
|
3126
|
+
return
|
|
3127
|
+
end
|
|
3128
|
+
local.get $2
|
|
3129
|
+
f64.reinterpret_i64
|
|
3130
|
+
local.set $0
|
|
3131
|
+
local.get $3
|
|
3132
|
+
i64.eqz
|
|
3133
|
+
local.get $2
|
|
3134
|
+
i64.const 52
|
|
3135
|
+
i64.shr_u
|
|
3136
|
+
i32.wrap_i64
|
|
3137
|
+
local.tee $8
|
|
3138
|
+
i32.const 2047
|
|
3139
|
+
i32.eq
|
|
3140
|
+
i32.or
|
|
3141
|
+
if
|
|
3142
|
+
local.get $0
|
|
3143
|
+
return
|
|
3144
|
+
end
|
|
3145
|
+
local.get $8
|
|
3146
|
+
local.get $6
|
|
3147
|
+
i32.sub
|
|
3148
|
+
i32.const 64
|
|
3149
|
+
i32.gt_s
|
|
3150
|
+
if
|
|
3151
|
+
local.get $0
|
|
3152
|
+
local.get $1
|
|
3153
|
+
f64.add
|
|
3154
|
+
return
|
|
3155
|
+
end
|
|
3156
|
+
f64.const 1
|
|
3157
|
+
local.set $7
|
|
3158
|
+
local.get $8
|
|
3159
|
+
i32.const 1533
|
|
3160
|
+
i32.gt_u
|
|
3161
|
+
if (result f64)
|
|
3162
|
+
f64.const 5260135901548373507240989e186
|
|
3163
|
+
local.set $7
|
|
3164
|
+
local.get $1
|
|
3165
|
+
f64.const 1.90109156629516e-211
|
|
3166
|
+
f64.mul
|
|
3167
|
+
local.set $1
|
|
3168
|
+
local.get $0
|
|
3169
|
+
f64.const 1.90109156629516e-211
|
|
3170
|
+
f64.mul
|
|
3171
|
+
else
|
|
3172
|
+
local.get $6
|
|
3173
|
+
i32.const 573
|
|
3174
|
+
i32.lt_u
|
|
3175
|
+
if (result f64)
|
|
3176
|
+
f64.const 1.90109156629516e-211
|
|
3177
|
+
local.set $7
|
|
3178
|
+
local.get $1
|
|
3179
|
+
f64.const 5260135901548373507240989e186
|
|
3180
|
+
f64.mul
|
|
3181
|
+
local.set $1
|
|
3182
|
+
local.get $0
|
|
3183
|
+
f64.const 5260135901548373507240989e186
|
|
3184
|
+
f64.mul
|
|
3185
|
+
else
|
|
3186
|
+
local.get $0
|
|
3187
|
+
end
|
|
3188
|
+
end
|
|
3189
|
+
local.tee $0
|
|
3190
|
+
local.get $0
|
|
3191
|
+
local.get $0
|
|
3192
|
+
f64.const 134217729
|
|
3193
|
+
f64.mul
|
|
3194
|
+
local.tee $5
|
|
3195
|
+
f64.sub
|
|
3196
|
+
local.get $5
|
|
3197
|
+
f64.add
|
|
3198
|
+
local.tee $10
|
|
3199
|
+
f64.sub
|
|
3200
|
+
local.set $5
|
|
3201
|
+
local.get $1
|
|
3202
|
+
local.get $1
|
|
3203
|
+
local.get $1
|
|
3204
|
+
f64.const 134217729
|
|
3205
|
+
f64.mul
|
|
3206
|
+
local.tee $9
|
|
3207
|
+
f64.sub
|
|
3208
|
+
local.get $9
|
|
3209
|
+
f64.add
|
|
3210
|
+
local.tee $9
|
|
3211
|
+
f64.sub
|
|
3212
|
+
local.set $11
|
|
3213
|
+
local.get $7
|
|
3214
|
+
local.get $9
|
|
3215
|
+
local.get $9
|
|
3216
|
+
f64.mul
|
|
3217
|
+
local.get $1
|
|
3218
|
+
local.get $1
|
|
3219
|
+
f64.mul
|
|
3220
|
+
local.tee $1
|
|
3221
|
+
f64.sub
|
|
3222
|
+
local.get $9
|
|
3223
|
+
local.get $9
|
|
3224
|
+
f64.add
|
|
3225
|
+
local.get $11
|
|
3226
|
+
f64.add
|
|
3227
|
+
local.get $11
|
|
3228
|
+
f64.mul
|
|
3229
|
+
f64.add
|
|
3230
|
+
local.get $10
|
|
3231
|
+
local.get $10
|
|
3232
|
+
f64.mul
|
|
3233
|
+
local.get $0
|
|
3234
|
+
local.get $0
|
|
3235
|
+
f64.mul
|
|
3236
|
+
local.tee $0
|
|
3237
|
+
f64.sub
|
|
3238
|
+
local.get $10
|
|
3239
|
+
local.get $10
|
|
3240
|
+
f64.add
|
|
3241
|
+
local.get $5
|
|
3242
|
+
f64.add
|
|
3243
|
+
local.get $5
|
|
3244
|
+
f64.mul
|
|
3245
|
+
f64.add
|
|
3246
|
+
f64.add
|
|
3247
|
+
local.get $1
|
|
3248
|
+
f64.add
|
|
3249
|
+
local.get $0
|
|
3250
|
+
f64.add
|
|
3251
|
+
f64.sqrt
|
|
3252
|
+
f64.mul
|
|
3253
|
+
)
|
|
3041
3254
|
(func $src/types/complex/Complex#mul (param $0 i32) (param $1 i32) (result i32)
|
|
3042
3255
|
local.get $0
|
|
3043
3256
|
f64.load
|
|
@@ -3356,10 +3569,10 @@
|
|
|
3356
3569
|
i32.lt_s
|
|
3357
3570
|
if
|
|
3358
3571
|
i32.const 1504
|
|
3359
|
-
i32.const
|
|
3572
|
+
i32.const 2160
|
|
3360
3573
|
i32.const 130
|
|
3361
3574
|
i32.const 22
|
|
3362
|
-
call
|
|
3575
|
+
call $src/abort/trapAbort
|
|
3363
3576
|
unreachable
|
|
3364
3577
|
end
|
|
3365
3578
|
local.get $0
|
|
@@ -3395,20 +3608,6 @@
|
|
|
3395
3608
|
f64.add
|
|
3396
3609
|
call $src/types/complex/Complex#constructor
|
|
3397
3610
|
)
|
|
3398
|
-
(func $src/types/complex/Complex#abs (param $0 i32) (result f64)
|
|
3399
|
-
local.get $0
|
|
3400
|
-
f64.load
|
|
3401
|
-
local.get $0
|
|
3402
|
-
f64.load
|
|
3403
|
-
f64.mul
|
|
3404
|
-
local.get $0
|
|
3405
|
-
f64.load offset=8
|
|
3406
|
-
local.get $0
|
|
3407
|
-
f64.load offset=8
|
|
3408
|
-
f64.mul
|
|
3409
|
-
f64.add
|
|
3410
|
-
f64.sqrt
|
|
3411
|
-
)
|
|
3412
3611
|
(func $~lib/math/R (param $0 f64) (result f64)
|
|
3413
3612
|
local.get $0
|
|
3414
3613
|
local.get $0
|
|
@@ -3468,7 +3667,10 @@
|
|
|
3468
3667
|
(local $1 f64)
|
|
3469
3668
|
(local $2 f64)
|
|
3470
3669
|
local.get $0
|
|
3471
|
-
|
|
3670
|
+
f64.load
|
|
3671
|
+
local.get $0
|
|
3672
|
+
f64.load offset=8
|
|
3673
|
+
call $~lib/math/NativeMath.hypot
|
|
3472
3674
|
f64.sqrt
|
|
3473
3675
|
local.tee $1
|
|
3474
3676
|
local.get $0
|
|
@@ -3593,6 +3795,50 @@
|
|
|
3593
3795
|
end
|
|
3594
3796
|
local.get $2
|
|
3595
3797
|
)
|
|
3798
|
+
(func $src/algebra/decomposition/pivotIsZero (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 f64) (result i32)
|
|
3799
|
+
(local $5 i32)
|
|
3800
|
+
(local $6 f64)
|
|
3801
|
+
loop $for-loop|0
|
|
3802
|
+
local.get $3
|
|
3803
|
+
local.get $5
|
|
3804
|
+
i32.gt_s
|
|
3805
|
+
if
|
|
3806
|
+
local.get $6
|
|
3807
|
+
local.get $0
|
|
3808
|
+
local.get $1
|
|
3809
|
+
local.get $2
|
|
3810
|
+
i32.mul
|
|
3811
|
+
local.get $5
|
|
3812
|
+
i32.add
|
|
3813
|
+
call $~lib/typedarray/Float64Array#__get
|
|
3814
|
+
local.get $0
|
|
3815
|
+
local.get $1
|
|
3816
|
+
local.get $5
|
|
3817
|
+
i32.mul
|
|
3818
|
+
local.get $3
|
|
3819
|
+
i32.add
|
|
3820
|
+
call $~lib/typedarray/Float64Array#__get
|
|
3821
|
+
f64.mul
|
|
3822
|
+
f64.abs
|
|
3823
|
+
f64.add
|
|
3824
|
+
local.set $6
|
|
3825
|
+
local.get $5
|
|
3826
|
+
i32.const 1
|
|
3827
|
+
i32.add
|
|
3828
|
+
local.set $5
|
|
3829
|
+
br $for-loop|0
|
|
3830
|
+
end
|
|
3831
|
+
end
|
|
3832
|
+
local.get $4
|
|
3833
|
+
f64.const inf
|
|
3834
|
+
f64.lt
|
|
3835
|
+
local.get $4
|
|
3836
|
+
local.get $6
|
|
3837
|
+
f64.const 1e-14
|
|
3838
|
+
f64.mul
|
|
3839
|
+
f64.le
|
|
3840
|
+
i32.and
|
|
3841
|
+
)
|
|
3596
3842
|
(func $~lib/math/NativeMath.log1p (param $0 f64) (result f64)
|
|
3597
3843
|
(local $1 f64)
|
|
3598
3844
|
(local $2 i32)
|
|
@@ -4010,10 +4256,10 @@
|
|
|
4010
4256
|
i32.ge_u
|
|
4011
4257
|
if
|
|
4012
4258
|
i32.const 1504
|
|
4013
|
-
i32.const
|
|
4259
|
+
i32.const 2160
|
|
4014
4260
|
i32.const 114
|
|
4015
4261
|
i32.const 42
|
|
4016
|
-
call
|
|
4262
|
+
call $src/abort/trapAbort
|
|
4017
4263
|
unreachable
|
|
4018
4264
|
end
|
|
4019
4265
|
local.get $0
|
|
@@ -4026,11 +4272,11 @@
|
|
|
4026
4272
|
local.tee $0
|
|
4027
4273
|
i32.eqz
|
|
4028
4274
|
if
|
|
4029
|
-
i32.const
|
|
4030
|
-
i32.const
|
|
4275
|
+
i32.const 2208
|
|
4276
|
+
i32.const 2160
|
|
4031
4277
|
i32.const 118
|
|
4032
4278
|
i32.const 40
|
|
4033
|
-
call
|
|
4279
|
+
call $src/abort/trapAbort
|
|
4034
4280
|
unreachable
|
|
4035
4281
|
end
|
|
4036
4282
|
local.get $0
|
|
@@ -5336,10 +5582,10 @@
|
|
|
5336
5582
|
i32.gt_u
|
|
5337
5583
|
if
|
|
5338
5584
|
i32.const 1392
|
|
5339
|
-
i32.const
|
|
5585
|
+
i32.const 2160
|
|
5340
5586
|
i32.const 19
|
|
5341
5587
|
i32.const 48
|
|
5342
|
-
call
|
|
5588
|
+
call $src/abort/trapAbort
|
|
5343
5589
|
unreachable
|
|
5344
5590
|
end
|
|
5345
5591
|
local.get $0
|
|
@@ -5376,7 +5622,7 @@
|
|
|
5376
5622
|
i32.const 1120
|
|
5377
5623
|
i32.const 99
|
|
5378
5624
|
i32.const 30
|
|
5379
|
-
call
|
|
5625
|
+
call $src/abort/trapAbort
|
|
5380
5626
|
unreachable
|
|
5381
5627
|
end
|
|
5382
5628
|
local.get $5
|
|
@@ -5419,7 +5665,7 @@
|
|
|
5419
5665
|
i32.const 1120
|
|
5420
5666
|
i32.const 52
|
|
5421
5667
|
i32.const 33
|
|
5422
|
-
call
|
|
5668
|
+
call $src/abort/trapAbort
|
|
5423
5669
|
unreachable
|
|
5424
5670
|
end
|
|
5425
5671
|
local.get $2
|
|
@@ -5841,7 +6087,7 @@
|
|
|
5841
6087
|
local.get $3
|
|
5842
6088
|
call $~lib/typedarray/Int32Array#__get
|
|
5843
6089
|
local.set $6
|
|
5844
|
-
block $__inlined_func$src/sort/_median3Idx$
|
|
6090
|
+
block $__inlined_func$src/sort/_median3Idx$220 (result i32)
|
|
5845
6091
|
local.get $0
|
|
5846
6092
|
local.get $4
|
|
5847
6093
|
local.get $5
|
|
@@ -5856,7 +6102,7 @@
|
|
|
5856
6102
|
call $src/sort/cmpIdxStable
|
|
5857
6103
|
i32.const 0
|
|
5858
6104
|
i32.lt_s
|
|
5859
|
-
br_if $__inlined_func$src/sort/_median3Idx$
|
|
6105
|
+
br_if $__inlined_func$src/sort/_median3Idx$220
|
|
5860
6106
|
drop
|
|
5861
6107
|
local.get $6
|
|
5862
6108
|
local.get $4
|
|
@@ -5867,7 +6113,7 @@
|
|
|
5867
6113
|
i32.const 0
|
|
5868
6114
|
i32.lt_s
|
|
5869
6115
|
select
|
|
5870
|
-
br $__inlined_func$src/sort/_median3Idx$
|
|
6116
|
+
br $__inlined_func$src/sort/_median3Idx$220
|
|
5871
6117
|
end
|
|
5872
6118
|
local.get $4
|
|
5873
6119
|
local.get $0
|
|
@@ -5876,7 +6122,7 @@
|
|
|
5876
6122
|
call $src/sort/cmpIdxStable
|
|
5877
6123
|
i32.const 0
|
|
5878
6124
|
i32.lt_s
|
|
5879
|
-
br_if $__inlined_func$src/sort/_median3Idx$
|
|
6125
|
+
br_if $__inlined_func$src/sort/_median3Idx$220
|
|
5880
6126
|
drop
|
|
5881
6127
|
local.get $6
|
|
5882
6128
|
local.get $5
|
|
@@ -6172,7 +6418,7 @@
|
|
|
6172
6418
|
local.get $2
|
|
6173
6419
|
call $~lib/typedarray/Float64Array#__get
|
|
6174
6420
|
local.set $10
|
|
6175
|
-
block $__inlined_func$src/sort/_median3$
|
|
6421
|
+
block $__inlined_func$src/sort/_median3$217 (result f64)
|
|
6176
6422
|
local.get $9
|
|
6177
6423
|
local.get $7
|
|
6178
6424
|
call $src/sort/cmpNanLast
|
|
@@ -6185,7 +6431,7 @@
|
|
|
6185
6431
|
call $src/sort/cmpNanLast
|
|
6186
6432
|
i32.const 0
|
|
6187
6433
|
i32.lt_s
|
|
6188
|
-
br_if $__inlined_func$src/sort/_median3$
|
|
6434
|
+
br_if $__inlined_func$src/sort/_median3$217
|
|
6189
6435
|
drop
|
|
6190
6436
|
local.get $10
|
|
6191
6437
|
local.get $9
|
|
@@ -6195,7 +6441,7 @@
|
|
|
6195
6441
|
i32.const 0
|
|
6196
6442
|
i32.lt_s
|
|
6197
6443
|
select
|
|
6198
|
-
br $__inlined_func$src/sort/_median3$
|
|
6444
|
+
br $__inlined_func$src/sort/_median3$217
|
|
6199
6445
|
end
|
|
6200
6446
|
local.get $9
|
|
6201
6447
|
local.get $9
|
|
@@ -6203,7 +6449,7 @@
|
|
|
6203
6449
|
call $src/sort/cmpNanLast
|
|
6204
6450
|
i32.const 0
|
|
6205
6451
|
i32.lt_s
|
|
6206
|
-
br_if $__inlined_func$src/sort/_median3$
|
|
6452
|
+
br_if $__inlined_func$src/sort/_median3$217
|
|
6207
6453
|
drop
|
|
6208
6454
|
local.get $10
|
|
6209
6455
|
local.get $7
|
|
@@ -7286,7 +7532,7 @@
|
|
|
7286
7532
|
i32.const 1120
|
|
7287
7533
|
i32.const 33
|
|
7288
7534
|
i32.const 29
|
|
7289
|
-
call
|
|
7535
|
+
call $src/abort/trapAbort
|
|
7290
7536
|
unreachable
|
|
7291
7537
|
end
|
|
7292
7538
|
global.get $~lib/rt/stub/offset
|
|
@@ -8067,130 +8313,44 @@
|
|
|
8067
8313
|
call $src/types/complex/Complex#constructor
|
|
8068
8314
|
)
|
|
8069
8315
|
(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)
|
|
8316
|
+
(local $2 i32)
|
|
8317
|
+
(local $3 i32)
|
|
8079
8318
|
local.get $1
|
|
8080
8319
|
i32.load offset=8
|
|
8081
8320
|
i32.const 3
|
|
8082
8321
|
i32.shr_u
|
|
8083
|
-
local.set $
|
|
8322
|
+
local.set $3
|
|
8084
8323
|
i32.const 12
|
|
8085
8324
|
i32.const 5
|
|
8086
8325
|
call $~lib/rt/stub/__new
|
|
8087
|
-
local.get $
|
|
8326
|
+
local.get $3
|
|
8088
8327
|
i32.const 3
|
|
8089
8328
|
call $~lib/arraybuffer/ArrayBufferView#constructor
|
|
8090
|
-
local.set $
|
|
8329
|
+
local.set $3
|
|
8091
8330
|
loop $for-loop|0
|
|
8092
|
-
local.get $
|
|
8331
|
+
local.get $2
|
|
8093
8332
|
local.get $1
|
|
8094
8333
|
i32.load offset=8
|
|
8095
8334
|
i32.const 3
|
|
8096
8335
|
i32.shr_u
|
|
8097
8336
|
i32.lt_s
|
|
8098
8337
|
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
|
|
8338
|
+
local.get $3
|
|
8339
|
+
local.get $2
|
|
8340
|
+
local.get $0
|
|
8341
|
+
local.get $1
|
|
8342
|
+
local.get $2
|
|
8343
|
+
call $~lib/typedarray/Float64Array#__get
|
|
8344
|
+
call $src/special/_besselYn
|
|
8185
8345
|
call $~lib/typedarray/Float64Array#__set
|
|
8186
|
-
local.get $
|
|
8346
|
+
local.get $2
|
|
8187
8347
|
i32.const 1
|
|
8188
8348
|
i32.add
|
|
8189
|
-
local.set $
|
|
8349
|
+
local.set $2
|
|
8190
8350
|
br $for-loop|0
|
|
8191
8351
|
end
|
|
8192
8352
|
end
|
|
8193
|
-
local.get $
|
|
8353
|
+
local.get $3
|
|
8194
8354
|
)
|
|
8195
8355
|
(func $src/special/bessel_jn_f64 (param $0 i32) (param $1 i32) (result i32)
|
|
8196
8356
|
(local $2 i32)
|
|
@@ -9714,6 +9874,11 @@
|
|
|
9714
9874
|
(local $15 i32)
|
|
9715
9875
|
(local $16 i32)
|
|
9716
9876
|
block $folding-inner0
|
|
9877
|
+
local.get $1
|
|
9878
|
+
local.get $1
|
|
9879
|
+
i32.const 1
|
|
9880
|
+
i32.sub
|
|
9881
|
+
i32.and
|
|
9717
9882
|
local.get $1
|
|
9718
9883
|
i32.const 2
|
|
9719
9884
|
i32.lt_s
|
|
@@ -9729,6 +9894,7 @@
|
|
|
9729
9894
|
local.get $2
|
|
9730
9895
|
i32.le_s
|
|
9731
9896
|
i32.or
|
|
9897
|
+
i32.or
|
|
9732
9898
|
br_if $folding-inner0
|
|
9733
9899
|
i32.const 12
|
|
9734
9900
|
i32.const 5
|
|
@@ -11572,9 +11738,9 @@
|
|
|
11572
11738
|
end
|
|
11573
11739
|
)
|
|
11574
11740
|
(func $~start
|
|
11575
|
-
i32.const
|
|
11741
|
+
i32.const 2780
|
|
11576
11742
|
global.set $~lib/rt/stub/startOffset
|
|
11577
|
-
i32.const
|
|
11743
|
+
i32.const 2780
|
|
11578
11744
|
global.set $~lib/rt/stub/offset
|
|
11579
11745
|
)
|
|
11580
11746
|
(func $~lib/rt/stub/__unpin (param $0 i32)
|
|
@@ -12462,12 +12628,12 @@
|
|
|
12462
12628
|
local.set $9
|
|
12463
12629
|
local.get $6
|
|
12464
12630
|
local.get $4
|
|
12465
|
-
block $__inlined_func$src/special/_ellipticPiIncomplete$
|
|
12631
|
+
block $__inlined_func$src/special/_ellipticPiIncomplete$215 (result f64)
|
|
12466
12632
|
f64.const 0
|
|
12467
12633
|
local.get $8
|
|
12468
12634
|
f64.const 0
|
|
12469
12635
|
f64.eq
|
|
12470
|
-
br_if $__inlined_func$src/special/_ellipticPiIncomplete$
|
|
12636
|
+
br_if $__inlined_func$src/special/_ellipticPiIncomplete$215
|
|
12471
12637
|
drop
|
|
12472
12638
|
local.get $8
|
|
12473
12639
|
call $~lib/math/NativeMath.sin
|
|
@@ -12499,7 +12665,7 @@
|
|
|
12499
12665
|
f64.const 0
|
|
12500
12666
|
f64.le
|
|
12501
12667
|
i32.or
|
|
12502
|
-
br_if $__inlined_func$src/special/_ellipticPiIncomplete$
|
|
12668
|
+
br_if $__inlined_func$src/special/_ellipticPiIncomplete$215
|
|
12503
12669
|
drop
|
|
12504
12670
|
local.get $3
|
|
12505
12671
|
local.get $8
|
|
@@ -12561,7 +12727,7 @@
|
|
|
12561
12727
|
if
|
|
12562
12728
|
local.get $3
|
|
12563
12729
|
local.get $5
|
|
12564
|
-
block $__inlined_func$src/special/_ellipticK$
|
|
12730
|
+
block $__inlined_func$src/special/_ellipticK$303 (result f64)
|
|
12565
12731
|
i32.const 0
|
|
12566
12732
|
local.set $6
|
|
12567
12733
|
f64.const nan:0x8000000000000
|
|
@@ -12571,7 +12737,7 @@
|
|
|
12571
12737
|
local.tee $1
|
|
12572
12738
|
local.get $1
|
|
12573
12739
|
f64.ne
|
|
12574
|
-
br_if $__inlined_func$src/special/_ellipticK$
|
|
12740
|
+
br_if $__inlined_func$src/special/_ellipticK$303
|
|
12575
12741
|
drop
|
|
12576
12742
|
f64.const nan:0x8000000000000
|
|
12577
12743
|
local.get $1
|
|
@@ -12581,19 +12747,19 @@
|
|
|
12581
12747
|
f64.const 1
|
|
12582
12748
|
f64.gt
|
|
12583
12749
|
i32.or
|
|
12584
|
-
br_if $__inlined_func$src/special/_ellipticK$
|
|
12750
|
+
br_if $__inlined_func$src/special/_ellipticK$303
|
|
12585
12751
|
drop
|
|
12586
12752
|
f64.const inf
|
|
12587
12753
|
local.get $1
|
|
12588
12754
|
f64.const 1
|
|
12589
12755
|
f64.eq
|
|
12590
|
-
br_if $__inlined_func$src/special/_ellipticK$
|
|
12756
|
+
br_if $__inlined_func$src/special/_ellipticK$303
|
|
12591
12757
|
drop
|
|
12592
12758
|
f64.const 1.5707963267948966
|
|
12593
12759
|
local.get $1
|
|
12594
12760
|
f64.const 0
|
|
12595
12761
|
f64.eq
|
|
12596
|
-
br_if $__inlined_func$src/special/_ellipticK$
|
|
12762
|
+
br_if $__inlined_func$src/special/_ellipticK$303
|
|
12597
12763
|
drop
|
|
12598
12764
|
f64.const 1
|
|
12599
12765
|
local.set $2
|
|
@@ -12690,12 +12856,12 @@
|
|
|
12690
12856
|
local.set $7
|
|
12691
12857
|
local.get $5
|
|
12692
12858
|
local.get $3
|
|
12693
|
-
block $__inlined_func$src/special/_ellipticFIncomplete$
|
|
12859
|
+
block $__inlined_func$src/special/_ellipticFIncomplete$213 (result f64)
|
|
12694
12860
|
f64.const 0
|
|
12695
12861
|
local.get $6
|
|
12696
12862
|
f64.const 0
|
|
12697
12863
|
f64.eq
|
|
12698
|
-
br_if $__inlined_func$src/special/_ellipticFIncomplete$
|
|
12864
|
+
br_if $__inlined_func$src/special/_ellipticFIncomplete$213
|
|
12699
12865
|
drop
|
|
12700
12866
|
local.get $6
|
|
12701
12867
|
call $~lib/math/NativeMath.sin
|
|
@@ -12714,7 +12880,7 @@
|
|
|
12714
12880
|
local.tee $7
|
|
12715
12881
|
f64.const 0
|
|
12716
12882
|
f64.lt
|
|
12717
|
-
br_if $__inlined_func$src/special/_ellipticFIncomplete$
|
|
12883
|
+
br_if $__inlined_func$src/special/_ellipticFIncomplete$213
|
|
12718
12884
|
drop
|
|
12719
12885
|
local.get $2
|
|
12720
12886
|
local.get $6
|
|
@@ -12771,12 +12937,12 @@
|
|
|
12771
12937
|
local.set $6
|
|
12772
12938
|
local.get $5
|
|
12773
12939
|
local.get $3
|
|
12774
|
-
block $__inlined_func$src/special/_ellipticEIncomplete$
|
|
12940
|
+
block $__inlined_func$src/special/_ellipticEIncomplete$214 (result f64)
|
|
12775
12941
|
f64.const 0
|
|
12776
12942
|
local.get $7
|
|
12777
12943
|
f64.const 0
|
|
12778
12944
|
f64.eq
|
|
12779
|
-
br_if $__inlined_func$src/special/_ellipticEIncomplete$
|
|
12945
|
+
br_if $__inlined_func$src/special/_ellipticEIncomplete$214
|
|
12780
12946
|
drop
|
|
12781
12947
|
local.get $7
|
|
12782
12948
|
call $~lib/math/NativeMath.sin
|
|
@@ -12799,7 +12965,7 @@
|
|
|
12799
12965
|
local.tee $7
|
|
12800
12966
|
f64.const 0
|
|
12801
12967
|
f64.lt
|
|
12802
|
-
br_if $__inlined_func$src/special/_ellipticEIncomplete$
|
|
12968
|
+
br_if $__inlined_func$src/special/_ellipticEIncomplete$214
|
|
12803
12969
|
drop
|
|
12804
12970
|
local.get $2
|
|
12805
12971
|
local.get $9
|
|
@@ -13224,7 +13390,7 @@
|
|
|
13224
13390
|
if
|
|
13225
13391
|
local.get $3
|
|
13226
13392
|
local.get $1
|
|
13227
|
-
block $__inlined_func$src/special/_airyBi$
|
|
13393
|
+
block $__inlined_func$src/special/_airyBi$281 (result f64)
|
|
13228
13394
|
local.get $0
|
|
13229
13395
|
local.get $1
|
|
13230
13396
|
call $~lib/typedarray/Float64Array#__get
|
|
@@ -13235,7 +13401,7 @@
|
|
|
13235
13401
|
local.get $2
|
|
13236
13402
|
i32.const 0
|
|
13237
13403
|
call $src/special/_airyAsymptotePos
|
|
13238
|
-
br $__inlined_func$src/special/_airyBi$
|
|
13404
|
+
br $__inlined_func$src/special/_airyBi$281
|
|
13239
13405
|
end
|
|
13240
13406
|
local.get $2
|
|
13241
13407
|
f64.const -5
|
|
@@ -13244,7 +13410,7 @@
|
|
|
13244
13410
|
local.get $2
|
|
13245
13411
|
i32.const 0
|
|
13246
13412
|
call $src/special/_airyAsymptoteNeg
|
|
13247
|
-
br $__inlined_func$src/special/_airyBi$
|
|
13413
|
+
br $__inlined_func$src/special/_airyBi$281
|
|
13248
13414
|
end
|
|
13249
13415
|
local.get $2
|
|
13250
13416
|
i32.const 1
|
|
@@ -13286,7 +13452,7 @@
|
|
|
13286
13452
|
if
|
|
13287
13453
|
local.get $3
|
|
13288
13454
|
local.get $1
|
|
13289
|
-
block $__inlined_func$src/special/_airyAi$
|
|
13455
|
+
block $__inlined_func$src/special/_airyAi$280 (result f64)
|
|
13290
13456
|
local.get $0
|
|
13291
13457
|
local.get $1
|
|
13292
13458
|
call $~lib/typedarray/Float64Array#__get
|
|
@@ -13297,7 +13463,7 @@
|
|
|
13297
13463
|
local.get $2
|
|
13298
13464
|
i32.const 1
|
|
13299
13465
|
call $src/special/_airyAsymptotePos
|
|
13300
|
-
br $__inlined_func$src/special/_airyAi$
|
|
13466
|
+
br $__inlined_func$src/special/_airyAi$280
|
|
13301
13467
|
end
|
|
13302
13468
|
local.get $2
|
|
13303
13469
|
f64.const -5
|
|
@@ -13306,7 +13472,7 @@
|
|
|
13306
13472
|
local.get $2
|
|
13307
13473
|
i32.const 1
|
|
13308
13474
|
call $src/special/_airyAsymptoteNeg
|
|
13309
|
-
br $__inlined_func$src/special/_airyAi$
|
|
13475
|
+
br $__inlined_func$src/special/_airyAi$280
|
|
13310
13476
|
end
|
|
13311
13477
|
local.get $2
|
|
13312
13478
|
i32.const 0
|
|
@@ -13435,6 +13601,116 @@
|
|
|
13435
13601
|
f64.sub
|
|
13436
13602
|
f64.mul
|
|
13437
13603
|
)
|
|
13604
|
+
(func $src/special/_besselYn (param $0 i32) (param $1 f64) (result f64)
|
|
13605
|
+
(local $2 f64)
|
|
13606
|
+
(local $3 f64)
|
|
13607
|
+
(local $4 f64)
|
|
13608
|
+
(local $5 i32)
|
|
13609
|
+
(local $6 f64)
|
|
13610
|
+
local.get $1
|
|
13611
|
+
f64.const 0
|
|
13612
|
+
f64.le
|
|
13613
|
+
if
|
|
13614
|
+
f64.const nan:0x8000000000000
|
|
13615
|
+
return
|
|
13616
|
+
end
|
|
13617
|
+
local.get $0
|
|
13618
|
+
i32.const -2147483648
|
|
13619
|
+
i32.eq
|
|
13620
|
+
if
|
|
13621
|
+
i32.const 2640
|
|
13622
|
+
i32.const 2448
|
|
13623
|
+
i32.const 327
|
|
13624
|
+
i32.const 27
|
|
13625
|
+
call $src/abort/trapAbort
|
|
13626
|
+
unreachable
|
|
13627
|
+
end
|
|
13628
|
+
f64.const -1
|
|
13629
|
+
f64.const 1
|
|
13630
|
+
i32.const 0
|
|
13631
|
+
local.get $0
|
|
13632
|
+
i32.sub
|
|
13633
|
+
local.get $0
|
|
13634
|
+
local.get $0
|
|
13635
|
+
i32.const 0
|
|
13636
|
+
i32.lt_s
|
|
13637
|
+
local.tee $0
|
|
13638
|
+
select
|
|
13639
|
+
local.tee $5
|
|
13640
|
+
i32.const 1
|
|
13641
|
+
i32.and
|
|
13642
|
+
local.get $0
|
|
13643
|
+
i32.and
|
|
13644
|
+
select
|
|
13645
|
+
local.set $6
|
|
13646
|
+
local.get $5
|
|
13647
|
+
i32.eqz
|
|
13648
|
+
if
|
|
13649
|
+
local.get $6
|
|
13650
|
+
local.get $1
|
|
13651
|
+
call $src/special/_besselY0
|
|
13652
|
+
f64.mul
|
|
13653
|
+
return
|
|
13654
|
+
end
|
|
13655
|
+
local.get $5
|
|
13656
|
+
i32.const 1
|
|
13657
|
+
i32.eq
|
|
13658
|
+
if
|
|
13659
|
+
local.get $6
|
|
13660
|
+
local.get $1
|
|
13661
|
+
call $src/special/_besselY1
|
|
13662
|
+
f64.mul
|
|
13663
|
+
return
|
|
13664
|
+
end
|
|
13665
|
+
local.get $1
|
|
13666
|
+
call $src/special/_besselY0
|
|
13667
|
+
local.set $4
|
|
13668
|
+
local.get $1
|
|
13669
|
+
call $src/special/_besselY1
|
|
13670
|
+
local.set $2
|
|
13671
|
+
i32.const 1
|
|
13672
|
+
local.set $0
|
|
13673
|
+
loop $for-loop|0
|
|
13674
|
+
local.get $0
|
|
13675
|
+
local.get $5
|
|
13676
|
+
i32.lt_s
|
|
13677
|
+
if
|
|
13678
|
+
local.get $0
|
|
13679
|
+
f64.convert_i32_s
|
|
13680
|
+
f64.const 2
|
|
13681
|
+
f64.mul
|
|
13682
|
+
local.get $1
|
|
13683
|
+
f64.div
|
|
13684
|
+
local.get $2
|
|
13685
|
+
f64.mul
|
|
13686
|
+
local.get $4
|
|
13687
|
+
f64.sub
|
|
13688
|
+
local.tee $3
|
|
13689
|
+
local.get $3
|
|
13690
|
+
f64.sub
|
|
13691
|
+
f64.const 0
|
|
13692
|
+
f64.ne
|
|
13693
|
+
if
|
|
13694
|
+
local.get $6
|
|
13695
|
+
local.get $3
|
|
13696
|
+
f64.mul
|
|
13697
|
+
return
|
|
13698
|
+
end
|
|
13699
|
+
local.get $2
|
|
13700
|
+
local.set $4
|
|
13701
|
+
local.get $3
|
|
13702
|
+
local.set $2
|
|
13703
|
+
local.get $0
|
|
13704
|
+
i32.const 1
|
|
13705
|
+
i32.add
|
|
13706
|
+
local.set $0
|
|
13707
|
+
br $for-loop|0
|
|
13708
|
+
end
|
|
13709
|
+
end
|
|
13710
|
+
local.get $6
|
|
13711
|
+
local.get $2
|
|
13712
|
+
f64.mul
|
|
13713
|
+
)
|
|
13438
13714
|
(func $src/special/_besselY1Series (param $0 f64) (result f64)
|
|
13439
13715
|
(local $1 i32)
|
|
13440
13716
|
(local $2 f64)
|
|
@@ -13541,10 +13817,22 @@
|
|
|
13541
13817
|
(local $2 f64)
|
|
13542
13818
|
(local $3 f64)
|
|
13543
13819
|
(local $4 f64)
|
|
13544
|
-
(local $5
|
|
13820
|
+
(local $5 i32)
|
|
13545
13821
|
(local $6 f64)
|
|
13546
13822
|
(local $7 f64)
|
|
13547
13823
|
(local $8 i32)
|
|
13824
|
+
(local $9 f64)
|
|
13825
|
+
local.get $0
|
|
13826
|
+
i32.const -2147483648
|
|
13827
|
+
i32.eq
|
|
13828
|
+
if
|
|
13829
|
+
i32.const 2336
|
|
13830
|
+
i32.const 2448
|
|
13831
|
+
i32.const 256
|
|
13832
|
+
i32.const 27
|
|
13833
|
+
call $src/abort/trapAbort
|
|
13834
|
+
unreachable
|
|
13835
|
+
end
|
|
13548
13836
|
f64.const -1
|
|
13549
13837
|
f64.const 1
|
|
13550
13838
|
i32.const 0
|
|
@@ -13556,154 +13844,257 @@
|
|
|
13556
13844
|
i32.lt_s
|
|
13557
13845
|
local.tee $0
|
|
13558
13846
|
select
|
|
13559
|
-
local.tee $
|
|
13847
|
+
local.tee $5
|
|
13560
13848
|
i32.const 1
|
|
13561
13849
|
i32.and
|
|
13562
|
-
i32.const 0
|
|
13563
13850
|
local.get $0
|
|
13851
|
+
i32.and
|
|
13564
13852
|
select
|
|
13565
|
-
|
|
13566
|
-
local.
|
|
13567
|
-
local.get $8
|
|
13853
|
+
local.set $7
|
|
13854
|
+
local.get $5
|
|
13568
13855
|
i32.eqz
|
|
13569
13856
|
if
|
|
13570
|
-
local.get $
|
|
13857
|
+
local.get $7
|
|
13571
13858
|
local.get $1
|
|
13572
13859
|
call $src/special/_besselJ0
|
|
13573
13860
|
f64.mul
|
|
13574
13861
|
return
|
|
13575
13862
|
end
|
|
13576
|
-
local.get $
|
|
13863
|
+
local.get $5
|
|
13577
13864
|
i32.const 1
|
|
13578
13865
|
i32.eq
|
|
13579
13866
|
if
|
|
13580
|
-
local.get $
|
|
13867
|
+
local.get $7
|
|
13581
13868
|
local.get $1
|
|
13582
13869
|
call $src/special/_besselJ1
|
|
13583
13870
|
f64.mul
|
|
13584
13871
|
return
|
|
13585
13872
|
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
|
|
13873
|
+
block $folding-inner0
|
|
13600
13874
|
local.get $1
|
|
13601
|
-
|
|
13602
|
-
|
|
13875
|
+
f64.abs
|
|
13876
|
+
f64.const 1e-15
|
|
13877
|
+
f64.lt
|
|
13878
|
+
br_if $folding-inner0
|
|
13603
13879
|
local.get $1
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
i32.const 1
|
|
13607
|
-
local.set $0
|
|
13608
|
-
loop $for-loop|0
|
|
13609
|
-
local.get $0
|
|
13610
|
-
local.get $8
|
|
13611
|
-
i32.lt_s
|
|
13612
|
-
if
|
|
13613
|
-
local.get $0
|
|
13614
|
-
f64.convert_i32_s
|
|
13615
|
-
f64.const 2
|
|
13616
|
-
f64.mul
|
|
13617
|
-
local.get $1
|
|
13618
|
-
f64.div
|
|
13619
|
-
local.get $2
|
|
13620
|
-
f64.mul
|
|
13621
|
-
local.get $3
|
|
13622
|
-
f64.sub
|
|
13623
|
-
local.get $2
|
|
13624
|
-
local.set $3
|
|
13625
|
-
local.set $2
|
|
13626
|
-
local.get $0
|
|
13627
|
-
i32.const 1
|
|
13628
|
-
i32.add
|
|
13629
|
-
local.set $0
|
|
13630
|
-
br $for-loop|0
|
|
13631
|
-
end
|
|
13632
|
-
end
|
|
13633
|
-
local.get $5
|
|
13634
|
-
local.get $2
|
|
13635
|
-
f64.mul
|
|
13636
|
-
return
|
|
13637
|
-
end
|
|
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
|
|
13659
|
-
i32.const 0
|
|
13660
|
-
i32.ge_s
|
|
13880
|
+
local.get $1
|
|
13881
|
+
f64.ne
|
|
13661
13882
|
if
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13883
|
+
f64.const nan:0x8000000000000
|
|
13884
|
+
return
|
|
13885
|
+
end
|
|
13886
|
+
local.get $5
|
|
13887
|
+
f64.convert_i32_s
|
|
13888
|
+
local.tee $2
|
|
13889
|
+
local.get $1
|
|
13890
|
+
f64.abs
|
|
13891
|
+
local.tee $4
|
|
13892
|
+
f64.ge
|
|
13893
|
+
if (result i32)
|
|
13670
13894
|
local.get $2
|
|
13895
|
+
local.get $4
|
|
13896
|
+
f64.const 0.5
|
|
13671
13897
|
f64.mul
|
|
13672
|
-
|
|
13673
|
-
f64.
|
|
13898
|
+
call $~lib/math/NativeMath.log
|
|
13899
|
+
f64.const 1
|
|
13900
|
+
f64.add
|
|
13674
13901
|
local.get $2
|
|
13902
|
+
call $~lib/math/NativeMath.log
|
|
13903
|
+
f64.sub
|
|
13904
|
+
f64.mul
|
|
13905
|
+
f64.const -745.2
|
|
13906
|
+
f64.lt
|
|
13907
|
+
else
|
|
13908
|
+
i32.const 0
|
|
13909
|
+
end
|
|
13910
|
+
br_if $folding-inner0
|
|
13911
|
+
local.get $2
|
|
13912
|
+
local.get $4
|
|
13913
|
+
f64.lt
|
|
13914
|
+
if
|
|
13915
|
+
local.get $1
|
|
13916
|
+
call $src/special/_besselJ0
|
|
13675
13917
|
local.set $3
|
|
13676
|
-
local.
|
|
13918
|
+
local.get $1
|
|
13919
|
+
call $src/special/_besselJ1
|
|
13920
|
+
local.set $2
|
|
13921
|
+
i32.const 1
|
|
13922
|
+
local.set $0
|
|
13923
|
+
loop $for-loop|0
|
|
13924
|
+
local.get $0
|
|
13925
|
+
local.get $5
|
|
13926
|
+
i32.lt_s
|
|
13927
|
+
if
|
|
13928
|
+
local.get $0
|
|
13929
|
+
f64.convert_i32_s
|
|
13930
|
+
f64.const 2
|
|
13931
|
+
f64.mul
|
|
13932
|
+
local.get $1
|
|
13933
|
+
f64.div
|
|
13934
|
+
local.get $2
|
|
13935
|
+
f64.mul
|
|
13936
|
+
local.get $3
|
|
13937
|
+
f64.sub
|
|
13938
|
+
local.tee $4
|
|
13939
|
+
local.get $4
|
|
13940
|
+
f64.ne
|
|
13941
|
+
if
|
|
13942
|
+
f64.const nan:0x8000000000000
|
|
13943
|
+
return
|
|
13944
|
+
end
|
|
13945
|
+
local.get $2
|
|
13946
|
+
local.set $3
|
|
13947
|
+
local.get $4
|
|
13948
|
+
local.set $2
|
|
13949
|
+
local.get $0
|
|
13950
|
+
i32.const 1
|
|
13951
|
+
i32.add
|
|
13952
|
+
local.set $0
|
|
13953
|
+
br $for-loop|0
|
|
13954
|
+
end
|
|
13955
|
+
end
|
|
13677
13956
|
local.get $7
|
|
13678
|
-
local.get $0
|
|
13679
|
-
local.get $8
|
|
13680
|
-
i32.eq
|
|
13681
|
-
select
|
|
13682
|
-
local.set $7
|
|
13683
|
-
local.get $6
|
|
13684
|
-
local.get $6
|
|
13685
13957
|
local.get $2
|
|
13686
|
-
f64.
|
|
13958
|
+
f64.mul
|
|
13959
|
+
return
|
|
13960
|
+
end
|
|
13961
|
+
local.get $2
|
|
13962
|
+
local.get $2
|
|
13963
|
+
f64.const 40
|
|
13964
|
+
f64.mul
|
|
13965
|
+
f64.sqrt
|
|
13966
|
+
f64.ceil
|
|
13967
|
+
f64.const 10
|
|
13968
|
+
f64.max
|
|
13969
|
+
local.tee $2
|
|
13970
|
+
local.get $2
|
|
13971
|
+
f64.add
|
|
13972
|
+
f64.add
|
|
13973
|
+
local.tee $4
|
|
13974
|
+
f64.const 12e8
|
|
13975
|
+
f64.gt
|
|
13976
|
+
if
|
|
13977
|
+
i32.const 2496
|
|
13978
|
+
i32.const 2448
|
|
13979
|
+
i32.const 287
|
|
13980
|
+
i32.const 5
|
|
13981
|
+
call $src/abort/trapAbort
|
|
13982
|
+
unreachable
|
|
13983
|
+
end
|
|
13984
|
+
f64.const 1
|
|
13985
|
+
local.set $2
|
|
13986
|
+
local.get $4
|
|
13987
|
+
i32.trunc_sat_f64_s
|
|
13988
|
+
local.set $0
|
|
13989
|
+
loop $for-loop|1
|
|
13687
13990
|
local.get $0
|
|
13688
|
-
i32.const
|
|
13689
|
-
i32.
|
|
13690
|
-
|
|
13691
|
-
|
|
13991
|
+
i32.const 0
|
|
13992
|
+
i32.ge_s
|
|
13993
|
+
if
|
|
13994
|
+
local.get $0
|
|
13995
|
+
i32.const 1
|
|
13996
|
+
i32.add
|
|
13997
|
+
f64.convert_i32_s
|
|
13998
|
+
f64.const 2
|
|
13999
|
+
f64.mul
|
|
14000
|
+
local.get $1
|
|
14001
|
+
f64.div
|
|
14002
|
+
local.get $2
|
|
14003
|
+
f64.mul
|
|
14004
|
+
local.get $3
|
|
14005
|
+
f64.sub
|
|
14006
|
+
local.get $2
|
|
14007
|
+
local.set $3
|
|
14008
|
+
local.tee $2
|
|
14009
|
+
f64.abs
|
|
14010
|
+
f64.const 1.e+200
|
|
14011
|
+
f64.gt
|
|
14012
|
+
if
|
|
14013
|
+
local.get $2
|
|
14014
|
+
f64.const 1.90109156629516e-211
|
|
14015
|
+
f64.mul
|
|
14016
|
+
local.set $2
|
|
14017
|
+
local.get $3
|
|
14018
|
+
f64.const 1.90109156629516e-211
|
|
14019
|
+
f64.mul
|
|
14020
|
+
local.set $3
|
|
14021
|
+
local.get $6
|
|
14022
|
+
f64.const 1.90109156629516e-211
|
|
14023
|
+
f64.mul
|
|
14024
|
+
local.set $6
|
|
14025
|
+
local.get $0
|
|
14026
|
+
local.get $5
|
|
14027
|
+
i32.lt_s
|
|
14028
|
+
if
|
|
14029
|
+
local.get $8
|
|
14030
|
+
i32.const 1
|
|
14031
|
+
i32.add
|
|
14032
|
+
local.tee $8
|
|
14033
|
+
i32.const 3
|
|
14034
|
+
i32.eq
|
|
14035
|
+
br_if $folding-inner0
|
|
14036
|
+
end
|
|
14037
|
+
end
|
|
14038
|
+
local.get $2
|
|
14039
|
+
local.get $9
|
|
14040
|
+
local.get $0
|
|
14041
|
+
local.get $5
|
|
14042
|
+
i32.eq
|
|
14043
|
+
select
|
|
14044
|
+
local.set $9
|
|
14045
|
+
local.get $6
|
|
14046
|
+
local.get $6
|
|
14047
|
+
local.get $2
|
|
14048
|
+
f64.add
|
|
14049
|
+
local.get $0
|
|
14050
|
+
i32.const 1
|
|
14051
|
+
i32.and
|
|
14052
|
+
select
|
|
14053
|
+
local.set $6
|
|
14054
|
+
local.get $0
|
|
14055
|
+
i32.const 1
|
|
14056
|
+
i32.sub
|
|
14057
|
+
local.set $0
|
|
14058
|
+
br $for-loop|1
|
|
14059
|
+
end
|
|
14060
|
+
end
|
|
14061
|
+
local.get $9
|
|
14062
|
+
local.get $6
|
|
14063
|
+
local.get $6
|
|
14064
|
+
f64.add
|
|
14065
|
+
local.get $2
|
|
14066
|
+
f64.sub
|
|
14067
|
+
f64.div
|
|
14068
|
+
local.set $1
|
|
14069
|
+
i32.const 0
|
|
14070
|
+
local.set $0
|
|
14071
|
+
loop $for-loop|2
|
|
13692
14072
|
local.get $0
|
|
13693
|
-
|
|
13694
|
-
i32.
|
|
13695
|
-
local.
|
|
13696
|
-
|
|
14073
|
+
local.get $8
|
|
14074
|
+
i32.lt_s
|
|
14075
|
+
local.get $1
|
|
14076
|
+
f64.const 0
|
|
14077
|
+
f64.ne
|
|
14078
|
+
i32.and
|
|
14079
|
+
if
|
|
14080
|
+
local.get $1
|
|
14081
|
+
f64.const 1.90109156629516e-211
|
|
14082
|
+
f64.mul
|
|
14083
|
+
local.set $1
|
|
14084
|
+
local.get $0
|
|
14085
|
+
i32.const 1
|
|
14086
|
+
i32.add
|
|
14087
|
+
local.set $0
|
|
14088
|
+
br $for-loop|2
|
|
14089
|
+
end
|
|
13697
14090
|
end
|
|
14091
|
+
local.get $7
|
|
14092
|
+
local.get $1
|
|
14093
|
+
f64.mul
|
|
14094
|
+
return
|
|
13698
14095
|
end
|
|
13699
|
-
local.get $5
|
|
13700
14096
|
local.get $7
|
|
13701
|
-
|
|
13702
|
-
local.get $6
|
|
13703
|
-
f64.add
|
|
13704
|
-
local.get $2
|
|
13705
|
-
f64.sub
|
|
13706
|
-
f64.div
|
|
14097
|
+
f64.const 0
|
|
13707
14098
|
f64.mul
|
|
13708
14099
|
)
|
|
13709
14100
|
(func $src/sort/sort_f64 (param $0 i32) (result i32)
|
|
@@ -16061,18 +16452,39 @@
|
|
|
16061
16452
|
(local $4 i32)
|
|
16062
16453
|
(local $5 i32)
|
|
16063
16454
|
local.get $0
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
i32.lt_s
|
|
16455
|
+
local.get $0
|
|
16456
|
+
f64.sub
|
|
16457
|
+
f64.const 0
|
|
16458
|
+
f64.ne
|
|
16069
16459
|
if
|
|
16070
16460
|
f64.const nan:0x8000000000000
|
|
16071
16461
|
return
|
|
16072
16462
|
end
|
|
16073
|
-
local.get $
|
|
16074
|
-
|
|
16075
|
-
|
|
16463
|
+
local.get $0
|
|
16464
|
+
call $~lib/math/NativeMath.round
|
|
16465
|
+
local.tee $0
|
|
16466
|
+
f64.const 0
|
|
16467
|
+
f64.lt
|
|
16468
|
+
if
|
|
16469
|
+
f64.const nan:0x8000000000000
|
|
16470
|
+
return
|
|
16471
|
+
end
|
|
16472
|
+
local.get $0
|
|
16473
|
+
f64.const 2147483646
|
|
16474
|
+
f64.gt
|
|
16475
|
+
if
|
|
16476
|
+
i32.const 2048
|
|
16477
|
+
i32.const 1760
|
|
16478
|
+
i32.const 87
|
|
16479
|
+
i32.const 28
|
|
16480
|
+
call $src/abort/trapAbort
|
|
16481
|
+
unreachable
|
|
16482
|
+
end
|
|
16483
|
+
local.get $0
|
|
16484
|
+
i32.trunc_sat_f64_s
|
|
16485
|
+
local.tee $5
|
|
16486
|
+
i32.eqz
|
|
16487
|
+
if
|
|
16076
16488
|
f64.const 1
|
|
16077
16489
|
return
|
|
16078
16490
|
end
|
|
@@ -16113,8 +16525,16 @@
|
|
|
16113
16525
|
f64.sub
|
|
16114
16526
|
local.get $3
|
|
16115
16527
|
f64.div
|
|
16528
|
+
local.tee $3
|
|
16529
|
+
local.get $3
|
|
16530
|
+
f64.ne
|
|
16531
|
+
if
|
|
16532
|
+
f64.const nan:0x8000000000000
|
|
16533
|
+
return
|
|
16534
|
+
end
|
|
16116
16535
|
local.get $0
|
|
16117
16536
|
local.set $2
|
|
16537
|
+
local.get $3
|
|
16118
16538
|
local.set $0
|
|
16119
16539
|
local.get $4
|
|
16120
16540
|
i32.const 1
|
|
@@ -16131,16 +16551,37 @@
|
|
|
16131
16551
|
(local $4 i32)
|
|
16132
16552
|
(local $5 i32)
|
|
16133
16553
|
local.get $0
|
|
16554
|
+
local.get $0
|
|
16555
|
+
f64.sub
|
|
16556
|
+
f64.const 0
|
|
16557
|
+
f64.ne
|
|
16558
|
+
if
|
|
16559
|
+
f64.const nan:0x8000000000000
|
|
16560
|
+
return
|
|
16561
|
+
end
|
|
16562
|
+
local.get $0
|
|
16134
16563
|
call $~lib/math/NativeMath.round
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
i32.lt_s
|
|
16564
|
+
local.tee $0
|
|
16565
|
+
f64.const 0
|
|
16566
|
+
f64.lt
|
|
16139
16567
|
if
|
|
16140
16568
|
f64.const nan:0x8000000000000
|
|
16141
16569
|
return
|
|
16142
16570
|
end
|
|
16143
|
-
local.get $
|
|
16571
|
+
local.get $0
|
|
16572
|
+
f64.const 1e9
|
|
16573
|
+
f64.gt
|
|
16574
|
+
if
|
|
16575
|
+
i32.const 1936
|
|
16576
|
+
i32.const 1760
|
|
16577
|
+
i32.const 66
|
|
16578
|
+
i32.const 33
|
|
16579
|
+
call $src/abort/trapAbort
|
|
16580
|
+
unreachable
|
|
16581
|
+
end
|
|
16582
|
+
local.get $0
|
|
16583
|
+
i32.trunc_sat_f64_s
|
|
16584
|
+
local.tee $5
|
|
16144
16585
|
i32.eqz
|
|
16145
16586
|
if
|
|
16146
16587
|
f64.const 1
|
|
@@ -16187,8 +16628,16 @@
|
|
|
16187
16628
|
f64.sub
|
|
16188
16629
|
local.get $3
|
|
16189
16630
|
f64.div
|
|
16631
|
+
local.tee $3
|
|
16632
|
+
local.get $3
|
|
16633
|
+
f64.ne
|
|
16634
|
+
if
|
|
16635
|
+
f64.const nan:0x8000000000000
|
|
16636
|
+
return
|
|
16637
|
+
end
|
|
16190
16638
|
local.get $0
|
|
16191
16639
|
local.set $2
|
|
16640
|
+
local.get $3
|
|
16192
16641
|
local.set $0
|
|
16193
16642
|
local.get $4
|
|
16194
16643
|
i32.const 1
|
|
@@ -16205,16 +16654,37 @@
|
|
|
16205
16654
|
(local $4 i32)
|
|
16206
16655
|
(local $5 i32)
|
|
16207
16656
|
local.get $0
|
|
16657
|
+
local.get $0
|
|
16658
|
+
f64.sub
|
|
16659
|
+
f64.const 0
|
|
16660
|
+
f64.ne
|
|
16661
|
+
if
|
|
16662
|
+
f64.const nan:0x8000000000000
|
|
16663
|
+
return
|
|
16664
|
+
end
|
|
16665
|
+
local.get $0
|
|
16208
16666
|
call $~lib/math/NativeMath.round
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
i32.lt_s
|
|
16667
|
+
local.tee $0
|
|
16668
|
+
f64.const 0
|
|
16669
|
+
f64.lt
|
|
16213
16670
|
if
|
|
16214
16671
|
f64.const nan:0x8000000000000
|
|
16215
16672
|
return
|
|
16216
16673
|
end
|
|
16217
|
-
local.get $
|
|
16674
|
+
local.get $0
|
|
16675
|
+
f64.const 2147483646
|
|
16676
|
+
f64.gt
|
|
16677
|
+
if
|
|
16678
|
+
i32.const 1824
|
|
16679
|
+
i32.const 1760
|
|
16680
|
+
i32.const 46
|
|
16681
|
+
i32.const 28
|
|
16682
|
+
call $src/abort/trapAbort
|
|
16683
|
+
unreachable
|
|
16684
|
+
end
|
|
16685
|
+
local.get $0
|
|
16686
|
+
i32.trunc_sat_f64_s
|
|
16687
|
+
local.tee $5
|
|
16218
16688
|
i32.eqz
|
|
16219
16689
|
if
|
|
16220
16690
|
f64.const 1
|
|
@@ -16256,8 +16726,16 @@
|
|
|
16256
16726
|
local.get $2
|
|
16257
16727
|
f64.mul
|
|
16258
16728
|
f64.sub
|
|
16729
|
+
local.tee $3
|
|
16730
|
+
local.get $3
|
|
16731
|
+
f64.ne
|
|
16732
|
+
if
|
|
16733
|
+
f64.const nan:0x8000000000000
|
|
16734
|
+
return
|
|
16735
|
+
end
|
|
16259
16736
|
local.get $0
|
|
16260
16737
|
local.set $2
|
|
16738
|
+
local.get $3
|
|
16261
16739
|
local.set $0
|
|
16262
16740
|
local.get $4
|
|
16263
16741
|
i32.const 1
|
|
@@ -16493,22 +16971,43 @@
|
|
|
16493
16971
|
(local $4 i32)
|
|
16494
16972
|
(local $5 i32)
|
|
16495
16973
|
local.get $0
|
|
16974
|
+
local.get $0
|
|
16975
|
+
f64.sub
|
|
16976
|
+
f64.const 0
|
|
16977
|
+
f64.ne
|
|
16978
|
+
if
|
|
16979
|
+
f64.const nan:0x8000000000000
|
|
16980
|
+
return
|
|
16981
|
+
end
|
|
16982
|
+
local.get $0
|
|
16496
16983
|
call $~lib/math/NativeMath.round
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16500
|
-
i32.lt_s
|
|
16984
|
+
local.tee $0
|
|
16985
|
+
f64.const 0
|
|
16986
|
+
f64.lt
|
|
16501
16987
|
if
|
|
16502
16988
|
f64.const nan:0x8000000000000
|
|
16503
16989
|
return
|
|
16504
16990
|
end
|
|
16505
|
-
local.get $
|
|
16991
|
+
local.get $0
|
|
16992
|
+
f64.const 2147483646
|
|
16993
|
+
f64.gt
|
|
16994
|
+
if
|
|
16995
|
+
i32.const 1632
|
|
16996
|
+
i32.const 1760
|
|
16997
|
+
i32.const 26
|
|
16998
|
+
i32.const 28
|
|
16999
|
+
call $src/abort/trapAbort
|
|
17000
|
+
unreachable
|
|
17001
|
+
end
|
|
17002
|
+
local.get $0
|
|
17003
|
+
i32.trunc_sat_f64_s
|
|
17004
|
+
local.tee $5
|
|
16506
17005
|
i32.eqz
|
|
16507
17006
|
if
|
|
16508
17007
|
f64.const 1
|
|
16509
17008
|
return
|
|
16510
17009
|
end
|
|
16511
|
-
local.get $
|
|
17010
|
+
local.get $5
|
|
16512
17011
|
i32.const 1
|
|
16513
17012
|
i32.eq
|
|
16514
17013
|
if
|
|
@@ -16520,11 +17019,11 @@
|
|
|
16520
17019
|
local.get $1
|
|
16521
17020
|
local.set $0
|
|
16522
17021
|
i32.const 2
|
|
16523
|
-
local.set $
|
|
17022
|
+
local.set $4
|
|
16524
17023
|
loop $for-loop|0
|
|
16525
17024
|
local.get $4
|
|
16526
17025
|
local.get $5
|
|
16527
|
-
i32.
|
|
17026
|
+
i32.le_s
|
|
16528
17027
|
if
|
|
16529
17028
|
local.get $1
|
|
16530
17029
|
local.get $1
|
|
@@ -16533,13 +17032,21 @@
|
|
|
16533
17032
|
f64.mul
|
|
16534
17033
|
local.get $2
|
|
16535
17034
|
f64.sub
|
|
17035
|
+
local.tee $3
|
|
17036
|
+
local.get $3
|
|
17037
|
+
f64.ne
|
|
17038
|
+
if
|
|
17039
|
+
f64.const nan:0x8000000000000
|
|
17040
|
+
return
|
|
17041
|
+
end
|
|
16536
17042
|
local.get $0
|
|
16537
17043
|
local.set $2
|
|
17044
|
+
local.get $3
|
|
16538
17045
|
local.set $0
|
|
16539
|
-
local.get $
|
|
17046
|
+
local.get $4
|
|
16540
17047
|
i32.const 1
|
|
16541
17048
|
i32.add
|
|
16542
|
-
local.set $
|
|
17049
|
+
local.set $4
|
|
16543
17050
|
br $for-loop|0
|
|
16544
17051
|
end
|
|
16545
17052
|
end
|
|
@@ -17028,8 +17535,29 @@
|
|
|
17028
17535
|
f64.const 0
|
|
17029
17536
|
)
|
|
17030
17537
|
(func $src/ops/scalar/round_f64 (param $0 f64) (result f64)
|
|
17538
|
+
(local $1 f64)
|
|
17539
|
+
local.get $0
|
|
17540
|
+
f64.const 0
|
|
17541
|
+
f64.eq
|
|
17542
|
+
if
|
|
17543
|
+
f64.const 0
|
|
17544
|
+
return
|
|
17545
|
+
end
|
|
17546
|
+
local.get $0
|
|
17547
|
+
f64.trunc
|
|
17548
|
+
local.tee $1
|
|
17549
|
+
f64.const 1
|
|
17550
|
+
local.get $0
|
|
17551
|
+
f64.copysign
|
|
17552
|
+
f64.add
|
|
17553
|
+
local.get $1
|
|
17031
17554
|
local.get $0
|
|
17032
|
-
|
|
17555
|
+
local.get $1
|
|
17556
|
+
f64.sub
|
|
17557
|
+
f64.abs
|
|
17558
|
+
f64.const 0.5
|
|
17559
|
+
f64.ge
|
|
17560
|
+
select
|
|
17033
17561
|
)
|
|
17034
17562
|
(func $src/ops/scalar/pow_f64 (param $0 f64) (param $1 f64) (result f64)
|
|
17035
17563
|
local.get $0
|
|
@@ -22392,7 +22920,10 @@
|
|
|
22392
22920
|
local.tee $1
|
|
22393
22921
|
i32.const 0
|
|
22394
22922
|
local.get $0
|
|
22395
|
-
|
|
22923
|
+
f64.load
|
|
22924
|
+
local.get $0
|
|
22925
|
+
f64.load offset=8
|
|
22926
|
+
call $~lib/math/NativeMath.hypot
|
|
22396
22927
|
call $~lib/typedarray/Float64Array#__uset
|
|
22397
22928
|
local.get $1
|
|
22398
22929
|
i32.const 1
|
|
@@ -22458,7 +22989,7 @@
|
|
|
22458
22989
|
)
|
|
22459
22990
|
(func $src/ops/complex-ops/complex_reciprocal (param $0 i32) (result i32)
|
|
22460
22991
|
(local $1 f64)
|
|
22461
|
-
block $__inlined_func$src/types/complex/Complex#reciprocal$
|
|
22992
|
+
block $__inlined_func$src/types/complex/Complex#reciprocal$268 (result i32)
|
|
22462
22993
|
local.get $0
|
|
22463
22994
|
f64.load
|
|
22464
22995
|
local.get $0
|
|
@@ -22477,7 +23008,7 @@
|
|
|
22477
23008
|
f64.const nan:0x8000000000000
|
|
22478
23009
|
f64.const nan:0x8000000000000
|
|
22479
23010
|
call $src/types/complex/Complex#constructor
|
|
22480
|
-
br $__inlined_func$src/types/complex/Complex#reciprocal$
|
|
23011
|
+
br $__inlined_func$src/types/complex/Complex#reciprocal$268
|
|
22481
23012
|
end
|
|
22482
23013
|
local.get $0
|
|
22483
23014
|
f64.load
|
|
@@ -22493,7 +23024,7 @@
|
|
|
22493
23024
|
)
|
|
22494
23025
|
(func $src/ops/complex-ops/complex_pow (param $0 i32) (param $1 f64) (result i32)
|
|
22495
23026
|
(local $2 f64)
|
|
22496
|
-
block $__inlined_func$src/types/complex/Complex#powReal$
|
|
23027
|
+
block $__inlined_func$src/types/complex/Complex#powReal$118 (result i32)
|
|
22497
23028
|
local.get $1
|
|
22498
23029
|
f64.const 0
|
|
22499
23030
|
f64.eq
|
|
@@ -22501,10 +23032,13 @@
|
|
|
22501
23032
|
f64.const 1
|
|
22502
23033
|
f64.const 0
|
|
22503
23034
|
call $src/types/complex/Complex#constructor
|
|
22504
|
-
br $__inlined_func$src/types/complex/Complex#powReal$
|
|
23035
|
+
br $__inlined_func$src/types/complex/Complex#powReal$118
|
|
22505
23036
|
end
|
|
22506
23037
|
local.get $0
|
|
22507
|
-
|
|
23038
|
+
f64.load
|
|
23039
|
+
local.get $0
|
|
23040
|
+
f64.load offset=8
|
|
23041
|
+
call $~lib/math/NativeMath.hypot
|
|
22508
23042
|
local.get $1
|
|
22509
23043
|
call $~lib/math/NativeMath.pow
|
|
22510
23044
|
local.tee $2
|
|
@@ -22677,7 +23211,11 @@
|
|
|
22677
23211
|
local.get $0
|
|
22678
23212
|
local.get $1
|
|
22679
23213
|
call $src/types/complex/Complex#sub
|
|
22680
|
-
|
|
23214
|
+
local.tee $0
|
|
23215
|
+
f64.load
|
|
23216
|
+
local.get $0
|
|
23217
|
+
f64.load offset=8
|
|
23218
|
+
call $~lib/math/NativeMath.hypot
|
|
22681
23219
|
)
|
|
22682
23220
|
(func $src/ops/complex-ops/complex_cube (param $0 i32) (result i32)
|
|
22683
23221
|
(local $1 f64)
|
|
@@ -22948,7 +23486,10 @@
|
|
|
22948
23486
|
)
|
|
22949
23487
|
(func $src/ops/complex-ops/complex_abs (param $0 i32) (result f64)
|
|
22950
23488
|
local.get $0
|
|
22951
|
-
|
|
23489
|
+
f64.load
|
|
23490
|
+
local.get $0
|
|
23491
|
+
f64.load offset=8
|
|
23492
|
+
call $~lib/math/NativeMath.hypot
|
|
22952
23493
|
)
|
|
22953
23494
|
(func $src/ops/complex-array/complex_array_zeros (param $0 i32) (result i32)
|
|
22954
23495
|
i32.const 12
|
|
@@ -23977,17 +24518,16 @@
|
|
|
23977
24518
|
)
|
|
23978
24519
|
(func $src/ops/complex-array/complex_array_abs (param $0 i32) (param $1 i32)
|
|
23979
24520
|
(local $2 i32)
|
|
23980
|
-
(local $3
|
|
24521
|
+
(local $3 i32)
|
|
23981
24522
|
(local $4 i32)
|
|
23982
|
-
(local $5 i32)
|
|
23983
24523
|
local.get $0
|
|
23984
24524
|
i32.load offset=8
|
|
23985
24525
|
i32.const 4
|
|
23986
24526
|
i32.shr_u
|
|
23987
|
-
local.set $
|
|
24527
|
+
local.set $3
|
|
23988
24528
|
loop $for-loop|0
|
|
23989
24529
|
local.get $2
|
|
23990
|
-
local.get $
|
|
24530
|
+
local.get $3
|
|
23991
24531
|
i32.lt_s
|
|
23992
24532
|
if
|
|
23993
24533
|
local.get $1
|
|
@@ -23996,21 +24536,14 @@
|
|
|
23996
24536
|
local.get $2
|
|
23997
24537
|
i32.const 1
|
|
23998
24538
|
i32.shl
|
|
23999
|
-
local.tee $
|
|
24539
|
+
local.tee $4
|
|
24000
24540
|
call $~lib/typedarray/Float64Array#__uget
|
|
24001
|
-
local.tee $3
|
|
24002
|
-
local.get $3
|
|
24003
|
-
f64.mul
|
|
24004
24541
|
local.get $0
|
|
24005
|
-
local.get $
|
|
24542
|
+
local.get $4
|
|
24006
24543
|
i32.const 1
|
|
24007
24544
|
i32.add
|
|
24008
24545
|
call $~lib/typedarray/Float64Array#__uget
|
|
24009
|
-
|
|
24010
|
-
local.get $3
|
|
24011
|
-
f64.mul
|
|
24012
|
-
f64.add
|
|
24013
|
-
f64.sqrt
|
|
24546
|
+
call $~lib/math/NativeMath.hypot
|
|
24014
24547
|
call $~lib/typedarray/Float64Array#__uset
|
|
24015
24548
|
local.get $2
|
|
24016
24549
|
i32.const 1
|
|
@@ -25196,16 +25729,12 @@
|
|
|
25196
25729
|
i32.load offset=8
|
|
25197
25730
|
i32.const 3
|
|
25198
25731
|
i32.shr_u
|
|
25732
|
+
local.tee $11
|
|
25199
25733
|
i32.const 1
|
|
25200
25734
|
i32.sub
|
|
25201
25735
|
local.tee $3
|
|
25202
25736
|
call $~lib/typedarray/Float64Array#__get
|
|
25203
25737
|
local.set $1
|
|
25204
|
-
local.get $0
|
|
25205
|
-
i32.load offset=8
|
|
25206
|
-
i32.const 3
|
|
25207
|
-
i32.shr_u
|
|
25208
|
-
local.set $11
|
|
25209
25738
|
i32.const 12
|
|
25210
25739
|
i32.const 5
|
|
25211
25740
|
call $~lib/rt/stub/__new
|
|
@@ -26262,7 +26791,7 @@
|
|
|
26262
26791
|
local.tee $7
|
|
26263
26792
|
local.get $1
|
|
26264
26793
|
i32.add
|
|
26265
|
-
block $__inlined_func$~lib/math/NativeMath.sinh$
|
|
26794
|
+
block $__inlined_func$~lib/math/NativeMath.sinh$263 (result f64)
|
|
26266
26795
|
local.get $0
|
|
26267
26796
|
local.get $7
|
|
26268
26797
|
i32.add
|
|
@@ -26297,7 +26826,7 @@
|
|
|
26297
26826
|
local.get $7
|
|
26298
26827
|
i32.const 1045430272
|
|
26299
26828
|
i32.lt_u
|
|
26300
|
-
br_if $__inlined_func$~lib/math/NativeMath.sinh$
|
|
26829
|
+
br_if $__inlined_func$~lib/math/NativeMath.sinh$263
|
|
26301
26830
|
drop
|
|
26302
26831
|
local.get $3
|
|
26303
26832
|
local.get $8
|
|
@@ -26312,7 +26841,7 @@
|
|
|
26312
26841
|
f64.div
|
|
26313
26842
|
f64.sub
|
|
26314
26843
|
f64.mul
|
|
26315
|
-
br $__inlined_func$~lib/math/NativeMath.sinh$
|
|
26844
|
+
br $__inlined_func$~lib/math/NativeMath.sinh$263
|
|
26316
26845
|
end
|
|
26317
26846
|
local.get $3
|
|
26318
26847
|
local.get $8
|
|
@@ -26323,7 +26852,7 @@
|
|
|
26323
26852
|
f64.div
|
|
26324
26853
|
f64.add
|
|
26325
26854
|
f64.mul
|
|
26326
|
-
br $__inlined_func$~lib/math/NativeMath.sinh$
|
|
26855
|
+
br $__inlined_func$~lib/math/NativeMath.sinh$263
|
|
26327
26856
|
end
|
|
26328
26857
|
local.get $8
|
|
26329
26858
|
f64.const -1416.0996898839683
|
|
@@ -26829,11 +27358,11 @@
|
|
|
26829
27358
|
)
|
|
26830
27359
|
(func $src/algebra/decomposition/matrix_qr_decompose (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (param $5 i32) (result i32)
|
|
26831
27360
|
(local $6 i32)
|
|
26832
|
-
(local $7
|
|
27361
|
+
(local $7 f64)
|
|
26833
27362
|
(local $8 f64)
|
|
26834
|
-
(local $9
|
|
26835
|
-
(local $10
|
|
26836
|
-
(local $11
|
|
27363
|
+
(local $9 f64)
|
|
27364
|
+
(local $10 i32)
|
|
27365
|
+
(local $11 i32)
|
|
26837
27366
|
(local $12 i32)
|
|
26838
27367
|
loop $for-loop|0
|
|
26839
27368
|
local.get $6
|
|
@@ -26924,16 +27453,18 @@
|
|
|
26924
27453
|
local.get $2
|
|
26925
27454
|
i32.lt_s
|
|
26926
27455
|
select
|
|
26927
|
-
local.set $
|
|
27456
|
+
local.set $10
|
|
26928
27457
|
i32.const 0
|
|
26929
27458
|
local.set $0
|
|
26930
27459
|
loop $for-loop|3
|
|
26931
27460
|
local.get $0
|
|
26932
|
-
local.get $
|
|
27461
|
+
local.get $10
|
|
26933
27462
|
i32.lt_s
|
|
26934
27463
|
if
|
|
26935
27464
|
f64.const 0
|
|
26936
|
-
local.set $
|
|
27465
|
+
local.set $9
|
|
27466
|
+
f64.const 0
|
|
27467
|
+
local.set $7
|
|
26937
27468
|
local.get $0
|
|
26938
27469
|
local.set $6
|
|
26939
27470
|
loop $for-loop|4
|
|
@@ -26941,7 +27472,7 @@
|
|
|
26941
27472
|
local.get $6
|
|
26942
27473
|
i32.gt_s
|
|
26943
27474
|
if
|
|
26944
|
-
local.get $
|
|
27475
|
+
local.get $9
|
|
26945
27476
|
local.get $4
|
|
26946
27477
|
local.get $2
|
|
26947
27478
|
local.get $6
|
|
@@ -26953,7 +27484,16 @@
|
|
|
26953
27484
|
local.get $8
|
|
26954
27485
|
f64.mul
|
|
26955
27486
|
f64.add
|
|
26956
|
-
local.set $
|
|
27487
|
+
local.set $9
|
|
27488
|
+
local.get $8
|
|
27489
|
+
f64.abs
|
|
27490
|
+
local.tee $8
|
|
27491
|
+
local.get $7
|
|
27492
|
+
f64.gt
|
|
27493
|
+
if
|
|
27494
|
+
local.get $8
|
|
27495
|
+
local.set $7
|
|
27496
|
+
end
|
|
26957
27497
|
local.get $6
|
|
26958
27498
|
i32.const 1
|
|
26959
27499
|
i32.add
|
|
@@ -26961,40 +27501,94 @@
|
|
|
26961
27501
|
br $for-loop|4
|
|
26962
27502
|
end
|
|
26963
27503
|
end
|
|
26964
|
-
local.get $
|
|
26965
|
-
f64.
|
|
26966
|
-
|
|
26967
|
-
|
|
26968
|
-
f64.
|
|
27504
|
+
local.get $9
|
|
27505
|
+
f64.const 0
|
|
27506
|
+
f64.eq
|
|
27507
|
+
local.get $7
|
|
27508
|
+
f64.const 0
|
|
27509
|
+
f64.eq
|
|
27510
|
+
i32.and
|
|
26969
27511
|
i32.eqz
|
|
26970
27512
|
if
|
|
26971
|
-
local.get $
|
|
26972
|
-
|
|
26973
|
-
|
|
26974
|
-
|
|
26975
|
-
|
|
26976
|
-
|
|
26977
|
-
|
|
26978
|
-
local.
|
|
26979
|
-
f64.const
|
|
26980
|
-
f64.
|
|
26981
|
-
|
|
26982
|
-
f64
|
|
26983
|
-
|
|
26984
|
-
|
|
26985
|
-
|
|
26986
|
-
|
|
26987
|
-
|
|
26988
|
-
|
|
27513
|
+
local.get $7
|
|
27514
|
+
f64.const 1797693134862315708145274e284
|
|
27515
|
+
f64.le
|
|
27516
|
+
local.get $7
|
|
27517
|
+
f64.const 3273390607896141870013189e126
|
|
27518
|
+
f64.gt
|
|
27519
|
+
i32.and
|
|
27520
|
+
local.get $7
|
|
27521
|
+
f64.const 3.054936363499605e-151
|
|
27522
|
+
f64.lt
|
|
27523
|
+
i32.or
|
|
27524
|
+
if (result f64)
|
|
27525
|
+
f64.const 0
|
|
27526
|
+
local.set $8
|
|
27527
|
+
local.get $0
|
|
27528
|
+
local.set $6
|
|
27529
|
+
loop $for-loop|5
|
|
27530
|
+
local.get $1
|
|
27531
|
+
local.get $6
|
|
27532
|
+
i32.gt_s
|
|
27533
|
+
if
|
|
27534
|
+
local.get $8
|
|
27535
|
+
local.get $4
|
|
27536
|
+
local.get $2
|
|
27537
|
+
local.get $6
|
|
27538
|
+
i32.mul
|
|
27539
|
+
local.get $0
|
|
27540
|
+
i32.add
|
|
27541
|
+
call $~lib/typedarray/Float64Array#__get
|
|
27542
|
+
local.get $7
|
|
27543
|
+
f64.div
|
|
27544
|
+
local.tee $8
|
|
27545
|
+
local.get $8
|
|
27546
|
+
f64.mul
|
|
27547
|
+
f64.add
|
|
27548
|
+
local.set $8
|
|
27549
|
+
local.get $6
|
|
27550
|
+
i32.const 1
|
|
27551
|
+
i32.add
|
|
27552
|
+
local.set $6
|
|
27553
|
+
br $for-loop|5
|
|
27554
|
+
end
|
|
27555
|
+
end
|
|
27556
|
+
local.get $7
|
|
27557
|
+
local.get $8
|
|
27558
|
+
f64.sqrt
|
|
27559
|
+
f64.mul
|
|
27560
|
+
else
|
|
27561
|
+
local.get $9
|
|
27562
|
+
f64.sqrt
|
|
27563
|
+
end
|
|
27564
|
+
local.set $7
|
|
27565
|
+
local.get $4
|
|
27566
|
+
local.get $0
|
|
27567
|
+
local.get $2
|
|
27568
|
+
i32.mul
|
|
27569
|
+
local.get $0
|
|
27570
|
+
i32.add
|
|
27571
|
+
call $~lib/typedarray/Float64Array#__get
|
|
27572
|
+
local.tee $8
|
|
27573
|
+
f64.const 1
|
|
27574
|
+
f64.const -1
|
|
27575
|
+
local.get $8
|
|
27576
|
+
f64.const 0
|
|
27577
|
+
f64.ge
|
|
27578
|
+
select
|
|
27579
|
+
local.get $7
|
|
27580
|
+
f64.mul
|
|
27581
|
+
f64.add
|
|
27582
|
+
local.set $8
|
|
26989
27583
|
local.get $5
|
|
26990
27584
|
i32.const 0
|
|
26991
27585
|
f64.const 1
|
|
26992
27586
|
call $~lib/typedarray/Float64Array#__set
|
|
26993
27587
|
f64.const 1
|
|
26994
|
-
local.set $
|
|
27588
|
+
local.set $7
|
|
26995
27589
|
i32.const 1
|
|
26996
27590
|
local.set $6
|
|
26997
|
-
loop $for-loop|
|
|
27591
|
+
loop $for-loop|6
|
|
26998
27592
|
local.get $6
|
|
26999
27593
|
local.get $1
|
|
27000
27594
|
local.get $0
|
|
@@ -27012,52 +27606,52 @@
|
|
|
27012
27606
|
local.get $0
|
|
27013
27607
|
i32.add
|
|
27014
27608
|
call $~lib/typedarray/Float64Array#__get
|
|
27015
|
-
local.get $
|
|
27609
|
+
local.get $8
|
|
27016
27610
|
f64.div
|
|
27017
|
-
local.tee $
|
|
27611
|
+
local.tee $9
|
|
27018
27612
|
call $~lib/typedarray/Float64Array#__set
|
|
27019
|
-
local.get $
|
|
27020
|
-
local.get $
|
|
27021
|
-
local.get $
|
|
27613
|
+
local.get $7
|
|
27614
|
+
local.get $9
|
|
27615
|
+
local.get $9
|
|
27022
27616
|
f64.mul
|
|
27023
27617
|
f64.add
|
|
27024
|
-
local.set $
|
|
27618
|
+
local.set $7
|
|
27025
27619
|
local.get $6
|
|
27026
27620
|
i32.const 1
|
|
27027
27621
|
i32.add
|
|
27028
27622
|
local.set $6
|
|
27029
|
-
br $for-loop|
|
|
27623
|
+
br $for-loop|6
|
|
27030
27624
|
end
|
|
27031
27625
|
end
|
|
27032
27626
|
f64.const 2
|
|
27033
|
-
local.get $
|
|
27627
|
+
local.get $7
|
|
27034
27628
|
f64.div
|
|
27035
|
-
local.set $
|
|
27629
|
+
local.set $8
|
|
27036
27630
|
local.get $0
|
|
27037
27631
|
local.set $6
|
|
27038
|
-
loop $for-loop|
|
|
27632
|
+
loop $for-loop|7
|
|
27039
27633
|
local.get $2
|
|
27040
27634
|
local.get $6
|
|
27041
27635
|
i32.gt_s
|
|
27042
27636
|
if
|
|
27043
27637
|
f64.const 0
|
|
27044
|
-
local.set $8
|
|
27045
|
-
i32.const 0
|
|
27046
27638
|
local.set $7
|
|
27047
|
-
|
|
27048
|
-
|
|
27639
|
+
i32.const 0
|
|
27640
|
+
local.set $11
|
|
27641
|
+
loop $for-loop|8
|
|
27642
|
+
local.get $11
|
|
27049
27643
|
local.get $1
|
|
27050
27644
|
local.get $0
|
|
27051
27645
|
i32.sub
|
|
27052
27646
|
i32.lt_s
|
|
27053
27647
|
if
|
|
27054
|
-
local.get $8
|
|
27055
|
-
local.get $5
|
|
27056
27648
|
local.get $7
|
|
27649
|
+
local.get $5
|
|
27650
|
+
local.get $11
|
|
27057
27651
|
call $~lib/typedarray/Float64Array#__get
|
|
27058
27652
|
local.get $4
|
|
27059
27653
|
local.get $0
|
|
27060
|
-
local.get $
|
|
27654
|
+
local.get $11
|
|
27061
27655
|
i32.add
|
|
27062
27656
|
local.get $2
|
|
27063
27657
|
i32.mul
|
|
@@ -27066,22 +27660,22 @@
|
|
|
27066
27660
|
call $~lib/typedarray/Float64Array#__get
|
|
27067
27661
|
f64.mul
|
|
27068
27662
|
f64.add
|
|
27069
|
-
local.set $
|
|
27070
|
-
local.get $
|
|
27663
|
+
local.set $7
|
|
27664
|
+
local.get $11
|
|
27071
27665
|
i32.const 1
|
|
27072
27666
|
i32.add
|
|
27073
|
-
local.set $
|
|
27074
|
-
br $for-loop|
|
|
27667
|
+
local.set $11
|
|
27668
|
+
br $for-loop|8
|
|
27075
27669
|
end
|
|
27076
27670
|
end
|
|
27077
|
-
local.get $10
|
|
27078
27671
|
local.get $8
|
|
27672
|
+
local.get $7
|
|
27079
27673
|
f64.mul
|
|
27080
|
-
local.set $8
|
|
27081
|
-
i32.const 0
|
|
27082
27674
|
local.set $7
|
|
27083
|
-
|
|
27084
|
-
|
|
27675
|
+
i32.const 0
|
|
27676
|
+
local.set $11
|
|
27677
|
+
loop $for-loop|9
|
|
27678
|
+
local.get $11
|
|
27085
27679
|
local.get $1
|
|
27086
27680
|
local.get $0
|
|
27087
27681
|
i32.sub
|
|
@@ -27089,7 +27683,7 @@
|
|
|
27089
27683
|
if
|
|
27090
27684
|
local.get $4
|
|
27091
27685
|
local.get $0
|
|
27092
|
-
local.get $
|
|
27686
|
+
local.get $11
|
|
27093
27687
|
i32.add
|
|
27094
27688
|
local.get $2
|
|
27095
27689
|
i32.mul
|
|
@@ -27099,52 +27693,52 @@
|
|
|
27099
27693
|
local.get $4
|
|
27100
27694
|
local.get $12
|
|
27101
27695
|
call $~lib/typedarray/Float64Array#__get
|
|
27102
|
-
local.get $8
|
|
27103
|
-
local.get $5
|
|
27104
27696
|
local.get $7
|
|
27697
|
+
local.get $5
|
|
27698
|
+
local.get $11
|
|
27105
27699
|
call $~lib/typedarray/Float64Array#__get
|
|
27106
27700
|
f64.mul
|
|
27107
27701
|
f64.sub
|
|
27108
27702
|
call $~lib/typedarray/Float64Array#__set
|
|
27109
|
-
local.get $
|
|
27703
|
+
local.get $11
|
|
27110
27704
|
i32.const 1
|
|
27111
27705
|
i32.add
|
|
27112
|
-
local.set $
|
|
27113
|
-
br $for-loop|
|
|
27706
|
+
local.set $11
|
|
27707
|
+
br $for-loop|9
|
|
27114
27708
|
end
|
|
27115
27709
|
end
|
|
27116
27710
|
local.get $6
|
|
27117
27711
|
i32.const 1
|
|
27118
27712
|
i32.add
|
|
27119
27713
|
local.set $6
|
|
27120
|
-
br $for-loop|
|
|
27714
|
+
br $for-loop|7
|
|
27121
27715
|
end
|
|
27122
27716
|
end
|
|
27123
27717
|
i32.const 0
|
|
27124
27718
|
local.set $6
|
|
27125
|
-
loop $for-loop|
|
|
27719
|
+
loop $for-loop|10
|
|
27126
27720
|
local.get $1
|
|
27127
27721
|
local.get $6
|
|
27128
27722
|
i32.gt_s
|
|
27129
27723
|
if
|
|
27130
27724
|
f64.const 0
|
|
27131
|
-
local.set $8
|
|
27132
|
-
i32.const 0
|
|
27133
27725
|
local.set $7
|
|
27134
|
-
|
|
27135
|
-
|
|
27726
|
+
i32.const 0
|
|
27727
|
+
local.set $11
|
|
27728
|
+
loop $for-loop|11
|
|
27729
|
+
local.get $11
|
|
27136
27730
|
local.get $1
|
|
27137
27731
|
local.get $0
|
|
27138
27732
|
i32.sub
|
|
27139
27733
|
i32.lt_s
|
|
27140
27734
|
if
|
|
27141
|
-
local.get $8
|
|
27142
|
-
local.get $5
|
|
27143
27735
|
local.get $7
|
|
27736
|
+
local.get $5
|
|
27737
|
+
local.get $11
|
|
27144
27738
|
call $~lib/typedarray/Float64Array#__get
|
|
27145
27739
|
local.get $3
|
|
27146
27740
|
local.get $0
|
|
27147
|
-
local.get $
|
|
27741
|
+
local.get $11
|
|
27148
27742
|
i32.add
|
|
27149
27743
|
local.get $1
|
|
27150
27744
|
i32.mul
|
|
@@ -27153,22 +27747,22 @@
|
|
|
27153
27747
|
call $~lib/typedarray/Float64Array#__get
|
|
27154
27748
|
f64.mul
|
|
27155
27749
|
f64.add
|
|
27156
|
-
local.set $
|
|
27157
|
-
local.get $
|
|
27750
|
+
local.set $7
|
|
27751
|
+
local.get $11
|
|
27158
27752
|
i32.const 1
|
|
27159
27753
|
i32.add
|
|
27160
|
-
local.set $
|
|
27161
|
-
br $for-loop|
|
|
27754
|
+
local.set $11
|
|
27755
|
+
br $for-loop|11
|
|
27162
27756
|
end
|
|
27163
27757
|
end
|
|
27164
|
-
local.get $10
|
|
27165
27758
|
local.get $8
|
|
27759
|
+
local.get $7
|
|
27166
27760
|
f64.mul
|
|
27167
|
-
local.set $8
|
|
27168
|
-
i32.const 0
|
|
27169
27761
|
local.set $7
|
|
27170
|
-
|
|
27171
|
-
|
|
27762
|
+
i32.const 0
|
|
27763
|
+
local.set $11
|
|
27764
|
+
loop $for-loop|12
|
|
27765
|
+
local.get $11
|
|
27172
27766
|
local.get $1
|
|
27173
27767
|
local.get $0
|
|
27174
27768
|
i32.sub
|
|
@@ -27176,7 +27770,7 @@
|
|
|
27176
27770
|
if
|
|
27177
27771
|
local.get $3
|
|
27178
27772
|
local.get $0
|
|
27179
|
-
local.get $
|
|
27773
|
+
local.get $11
|
|
27180
27774
|
i32.add
|
|
27181
27775
|
local.get $1
|
|
27182
27776
|
i32.mul
|
|
@@ -27186,32 +27780,32 @@
|
|
|
27186
27780
|
local.get $3
|
|
27187
27781
|
local.get $12
|
|
27188
27782
|
call $~lib/typedarray/Float64Array#__get
|
|
27189
|
-
local.get $8
|
|
27190
|
-
local.get $5
|
|
27191
27783
|
local.get $7
|
|
27784
|
+
local.get $5
|
|
27785
|
+
local.get $11
|
|
27192
27786
|
call $~lib/typedarray/Float64Array#__get
|
|
27193
27787
|
f64.mul
|
|
27194
27788
|
f64.sub
|
|
27195
27789
|
call $~lib/typedarray/Float64Array#__set
|
|
27196
|
-
local.get $
|
|
27790
|
+
local.get $11
|
|
27197
27791
|
i32.const 1
|
|
27198
27792
|
i32.add
|
|
27199
|
-
local.set $
|
|
27200
|
-
br $for-loop|
|
|
27793
|
+
local.set $11
|
|
27794
|
+
br $for-loop|12
|
|
27201
27795
|
end
|
|
27202
27796
|
end
|
|
27203
27797
|
local.get $6
|
|
27204
27798
|
i32.const 1
|
|
27205
27799
|
i32.add
|
|
27206
27800
|
local.set $6
|
|
27207
|
-
br $for-loop|
|
|
27801
|
+
br $for-loop|10
|
|
27208
27802
|
end
|
|
27209
27803
|
end
|
|
27210
27804
|
local.get $0
|
|
27211
27805
|
i32.const 1
|
|
27212
27806
|
i32.add
|
|
27213
27807
|
local.set $6
|
|
27214
|
-
loop $for-loop|
|
|
27808
|
+
loop $for-loop|13
|
|
27215
27809
|
local.get $1
|
|
27216
27810
|
local.get $6
|
|
27217
27811
|
i32.gt_s
|
|
@@ -27228,7 +27822,7 @@
|
|
|
27228
27822
|
i32.const 1
|
|
27229
27823
|
i32.add
|
|
27230
27824
|
local.set $6
|
|
27231
|
-
br $for-loop|
|
|
27825
|
+
br $for-loop|13
|
|
27232
27826
|
end
|
|
27233
27827
|
end
|
|
27234
27828
|
end
|
|
@@ -27247,46 +27841,43 @@
|
|
|
27247
27841
|
(local $7 f64)
|
|
27248
27842
|
(local $8 i32)
|
|
27249
27843
|
(local $9 i32)
|
|
27844
|
+
(local $10 i32)
|
|
27250
27845
|
loop $for-loop|0
|
|
27251
|
-
local.get $
|
|
27846
|
+
local.get $8
|
|
27252
27847
|
local.get $1
|
|
27253
27848
|
local.get $1
|
|
27254
27849
|
i32.mul
|
|
27255
27850
|
i32.lt_s
|
|
27256
27851
|
if
|
|
27257
27852
|
local.get $3
|
|
27258
|
-
local.get $
|
|
27853
|
+
local.get $8
|
|
27259
27854
|
local.get $0
|
|
27260
|
-
local.get $
|
|
27855
|
+
local.get $8
|
|
27261
27856
|
call $~lib/typedarray/Float64Array#__get
|
|
27262
27857
|
call $~lib/typedarray/Float64Array#__set
|
|
27263
|
-
local.get $
|
|
27858
|
+
local.get $8
|
|
27264
27859
|
i32.const 1
|
|
27265
27860
|
i32.add
|
|
27266
|
-
local.set $
|
|
27861
|
+
local.set $8
|
|
27267
27862
|
br $for-loop|0
|
|
27268
27863
|
end
|
|
27269
27864
|
end
|
|
27270
|
-
i32.const 0
|
|
27271
|
-
local.set $0
|
|
27272
27865
|
loop $for-loop|1
|
|
27273
|
-
local.get $0
|
|
27274
27866
|
local.get $1
|
|
27275
|
-
|
|
27867
|
+
local.get $9
|
|
27868
|
+
i32.gt_s
|
|
27276
27869
|
if
|
|
27277
27870
|
local.get $4
|
|
27278
|
-
local.get $
|
|
27279
|
-
local.get $
|
|
27871
|
+
local.get $9
|
|
27872
|
+
local.get $9
|
|
27280
27873
|
call $~lib/typedarray/Int32Array#__set
|
|
27281
|
-
local.get $
|
|
27874
|
+
local.get $9
|
|
27282
27875
|
i32.const 1
|
|
27283
27876
|
i32.add
|
|
27284
|
-
local.set $
|
|
27877
|
+
local.set $9
|
|
27285
27878
|
br $for-loop|1
|
|
27286
27879
|
end
|
|
27287
27880
|
end
|
|
27288
|
-
i32.const 0
|
|
27289
|
-
local.set $5
|
|
27290
27881
|
loop $for-loop|2
|
|
27291
27882
|
local.get $5
|
|
27292
27883
|
local.get $1
|
|
@@ -27337,9 +27928,12 @@
|
|
|
27337
27928
|
br $for-loop|3
|
|
27338
27929
|
end
|
|
27339
27930
|
end
|
|
27931
|
+
local.get $3
|
|
27932
|
+
local.get $1
|
|
27933
|
+
local.get $0
|
|
27934
|
+
local.get $5
|
|
27340
27935
|
local.get $6
|
|
27341
|
-
|
|
27342
|
-
f64.lt
|
|
27936
|
+
call $src/algebra/decomposition/pivotIsZero
|
|
27343
27937
|
if
|
|
27344
27938
|
i32.const -1
|
|
27345
27939
|
return
|
|
@@ -27486,89 +28080,90 @@
|
|
|
27486
28080
|
end
|
|
27487
28081
|
local.get $3
|
|
27488
28082
|
local.get $1
|
|
28083
|
+
local.get $1
|
|
27489
28084
|
i32.const 1
|
|
27490
28085
|
i32.sub
|
|
27491
28086
|
local.tee $0
|
|
28087
|
+
local.get $0
|
|
28088
|
+
local.get $3
|
|
28089
|
+
local.get $0
|
|
27492
28090
|
local.get $1
|
|
27493
28091
|
i32.mul
|
|
27494
28092
|
local.get $0
|
|
27495
28093
|
i32.add
|
|
27496
28094
|
call $~lib/typedarray/Float64Array#__get
|
|
27497
28095
|
f64.abs
|
|
27498
|
-
|
|
27499
|
-
f64.lt
|
|
28096
|
+
call $src/algebra/decomposition/pivotIsZero
|
|
27500
28097
|
if
|
|
27501
28098
|
i32.const -1
|
|
27502
28099
|
return
|
|
27503
28100
|
end
|
|
27504
|
-
i32.const 0
|
|
27505
|
-
local.set $0
|
|
27506
28101
|
loop $for-loop|7
|
|
27507
|
-
local.get $0
|
|
27508
28102
|
local.get $1
|
|
27509
|
-
|
|
28103
|
+
local.get $10
|
|
28104
|
+
i32.gt_s
|
|
27510
28105
|
if
|
|
27511
28106
|
i32.const 0
|
|
27512
|
-
local.set $
|
|
28107
|
+
local.set $0
|
|
27513
28108
|
loop $for-loop|8
|
|
28109
|
+
local.get $0
|
|
27514
28110
|
local.get $1
|
|
27515
|
-
|
|
27516
|
-
i32.gt_s
|
|
28111
|
+
i32.lt_s
|
|
27517
28112
|
if
|
|
27518
28113
|
local.get $0
|
|
27519
|
-
local.get $
|
|
27520
|
-
i32.
|
|
28114
|
+
local.get $10
|
|
28115
|
+
i32.lt_s
|
|
27521
28116
|
if
|
|
27522
28117
|
local.get $2
|
|
27523
|
-
local.get $0
|
|
27524
28118
|
local.get $1
|
|
28119
|
+
local.get $10
|
|
27525
28120
|
i32.mul
|
|
27526
|
-
local.get $
|
|
28121
|
+
local.get $0
|
|
27527
28122
|
i32.add
|
|
27528
|
-
local.tee $
|
|
28123
|
+
local.tee $4
|
|
27529
28124
|
local.get $3
|
|
27530
|
-
local.get $
|
|
28125
|
+
local.get $4
|
|
27531
28126
|
call $~lib/typedarray/Float64Array#__get
|
|
27532
28127
|
call $~lib/typedarray/Float64Array#__set
|
|
27533
28128
|
local.get $3
|
|
27534
|
-
local.get $
|
|
28129
|
+
local.get $4
|
|
27535
28130
|
f64.const 0
|
|
27536
28131
|
call $~lib/typedarray/Float64Array#__set
|
|
27537
28132
|
else
|
|
27538
28133
|
local.get $0
|
|
27539
|
-
local.get $
|
|
28134
|
+
local.get $10
|
|
27540
28135
|
i32.eq
|
|
27541
28136
|
if
|
|
27542
28137
|
local.get $2
|
|
27543
|
-
local.get $0
|
|
27544
28138
|
local.get $1
|
|
28139
|
+
local.get $10
|
|
27545
28140
|
i32.mul
|
|
27546
|
-
local.get $
|
|
28141
|
+
local.get $0
|
|
27547
28142
|
i32.add
|
|
27548
28143
|
f64.const 1
|
|
27549
28144
|
call $~lib/typedarray/Float64Array#__set
|
|
27550
28145
|
else
|
|
27551
28146
|
local.get $2
|
|
27552
|
-
local.get $0
|
|
27553
28147
|
local.get $1
|
|
28148
|
+
local.get $10
|
|
27554
28149
|
i32.mul
|
|
27555
|
-
local.get $
|
|
28150
|
+
local.get $0
|
|
27556
28151
|
i32.add
|
|
27557
28152
|
f64.const 0
|
|
27558
28153
|
call $~lib/typedarray/Float64Array#__set
|
|
27559
28154
|
end
|
|
27560
28155
|
end
|
|
27561
|
-
local.get $
|
|
28156
|
+
local.get $0
|
|
27562
28157
|
i32.const 1
|
|
27563
28158
|
i32.add
|
|
27564
|
-
local.set $
|
|
28159
|
+
local.set $0
|
|
27565
28160
|
br $for-loop|8
|
|
27566
28161
|
end
|
|
27567
28162
|
end
|
|
27568
|
-
local.get $
|
|
28163
|
+
local.get $10
|
|
27569
28164
|
i32.const 1
|
|
27570
28165
|
i32.add
|
|
27571
|
-
local.set $
|
|
28166
|
+
local.set $10
|
|
27572
28167
|
br $for-loop|7
|
|
27573
28168
|
end
|
|
27574
28169
|
end
|
|
@@ -27583,6 +28178,7 @@
|
|
|
27583
28178
|
(local $9 i32)
|
|
27584
28179
|
(local $10 i32)
|
|
27585
28180
|
(local $11 i32)
|
|
28181
|
+
(local $12 i32)
|
|
27586
28182
|
loop $for-loop|0
|
|
27587
28183
|
local.get $7
|
|
27588
28184
|
local.get $1
|
|
@@ -27613,7 +28209,7 @@
|
|
|
27613
28209
|
i32.const 3
|
|
27614
28210
|
i32.shr_u
|
|
27615
28211
|
i32.le_s
|
|
27616
|
-
local.tee $
|
|
28212
|
+
local.tee $12
|
|
27617
28213
|
if (result i32)
|
|
27618
28214
|
i32.const 0
|
|
27619
28215
|
else
|
|
@@ -27624,37 +28220,35 @@
|
|
|
27624
28220
|
i32.const 2
|
|
27625
28221
|
call $~lib/arraybuffer/ArrayBufferView#constructor
|
|
27626
28222
|
end
|
|
27627
|
-
local.set $
|
|
28223
|
+
local.set $10
|
|
27628
28224
|
local.get $1
|
|
27629
28225
|
local.get $1
|
|
27630
28226
|
i32.mul
|
|
27631
|
-
local.set $
|
|
27632
|
-
i32.const 0
|
|
27633
|
-
local.set $0
|
|
28227
|
+
local.set $11
|
|
27634
28228
|
loop $for-loop|1
|
|
27635
|
-
local.get $0
|
|
27636
28229
|
local.get $1
|
|
27637
|
-
|
|
28230
|
+
local.get $9
|
|
28231
|
+
i32.gt_s
|
|
27638
28232
|
if
|
|
27639
|
-
local.get $
|
|
28233
|
+
local.get $12
|
|
27640
28234
|
if
|
|
27641
28235
|
local.get $3
|
|
27642
|
-
local.get $0
|
|
27643
28236
|
local.get $9
|
|
28237
|
+
local.get $11
|
|
27644
28238
|
i32.add
|
|
27645
|
-
local.get $
|
|
28239
|
+
local.get $9
|
|
27646
28240
|
f64.convert_i32_s
|
|
27647
28241
|
call $~lib/typedarray/Float64Array#__set
|
|
27648
28242
|
else
|
|
27649
|
-
local.get $
|
|
27650
|
-
local.get $
|
|
27651
|
-
local.get $
|
|
28243
|
+
local.get $10
|
|
28244
|
+
local.get $9
|
|
28245
|
+
local.get $9
|
|
27652
28246
|
call $~lib/typedarray/Int32Array#__set
|
|
27653
28247
|
end
|
|
27654
|
-
local.get $
|
|
28248
|
+
local.get $9
|
|
27655
28249
|
i32.const 1
|
|
27656
28250
|
i32.add
|
|
27657
|
-
local.set $
|
|
28251
|
+
local.set $9
|
|
27658
28252
|
br $for-loop|1
|
|
27659
28253
|
end
|
|
27660
28254
|
end
|
|
@@ -27709,9 +28303,12 @@
|
|
|
27709
28303
|
br $for-loop|3
|
|
27710
28304
|
end
|
|
27711
28305
|
end
|
|
28306
|
+
local.get $3
|
|
28307
|
+
local.get $1
|
|
28308
|
+
local.get $0
|
|
28309
|
+
local.get $4
|
|
27712
28310
|
local.get $5
|
|
27713
|
-
|
|
27714
|
-
f64.lt
|
|
28311
|
+
call $src/algebra/decomposition/pivotIsZero
|
|
27715
28312
|
br_if $folding-inner0
|
|
27716
28313
|
local.get $0
|
|
27717
28314
|
local.get $4
|
|
@@ -27730,22 +28327,22 @@
|
|
|
27730
28327
|
i32.mul
|
|
27731
28328
|
local.get $7
|
|
27732
28329
|
i32.add
|
|
27733
|
-
local.tee $
|
|
28330
|
+
local.tee $9
|
|
27734
28331
|
call $~lib/typedarray/Float64Array#__get
|
|
27735
28332
|
local.set $5
|
|
27736
28333
|
local.get $3
|
|
27737
|
-
local.get $
|
|
28334
|
+
local.get $9
|
|
27738
28335
|
local.get $3
|
|
27739
28336
|
local.get $0
|
|
27740
28337
|
local.get $1
|
|
27741
28338
|
i32.mul
|
|
27742
28339
|
local.get $7
|
|
27743
28340
|
i32.add
|
|
27744
|
-
local.tee $
|
|
28341
|
+
local.tee $9
|
|
27745
28342
|
call $~lib/typedarray/Float64Array#__get
|
|
27746
28343
|
call $~lib/typedarray/Float64Array#__set
|
|
27747
28344
|
local.get $3
|
|
27748
|
-
local.get $
|
|
28345
|
+
local.get $9
|
|
27749
28346
|
local.get $5
|
|
27750
28347
|
call $~lib/typedarray/Float64Array#__set
|
|
27751
28348
|
local.get $7
|
|
@@ -27755,11 +28352,11 @@
|
|
|
27755
28352
|
br $for-loop|5
|
|
27756
28353
|
end
|
|
27757
28354
|
end
|
|
27758
|
-
local.get $
|
|
28355
|
+
local.get $12
|
|
27759
28356
|
if
|
|
27760
28357
|
local.get $3
|
|
27761
28358
|
local.get $4
|
|
27762
|
-
local.get $
|
|
28359
|
+
local.get $11
|
|
27763
28360
|
i32.add
|
|
27764
28361
|
local.tee $7
|
|
27765
28362
|
call $~lib/typedarray/Float64Array#__get
|
|
@@ -27768,7 +28365,7 @@
|
|
|
27768
28365
|
local.get $7
|
|
27769
28366
|
local.get $3
|
|
27770
28367
|
local.get $0
|
|
27771
|
-
local.get $
|
|
28368
|
+
local.get $11
|
|
27772
28369
|
i32.add
|
|
27773
28370
|
local.tee $0
|
|
27774
28371
|
call $~lib/typedarray/Float64Array#__get
|
|
@@ -27778,17 +28375,17 @@
|
|
|
27778
28375
|
local.get $5
|
|
27779
28376
|
call $~lib/typedarray/Float64Array#__set
|
|
27780
28377
|
else
|
|
27781
|
-
local.get $
|
|
28378
|
+
local.get $10
|
|
27782
28379
|
local.get $4
|
|
27783
28380
|
call $~lib/typedarray/Int32Array#__get
|
|
27784
28381
|
local.set $7
|
|
27785
|
-
local.get $
|
|
28382
|
+
local.get $10
|
|
27786
28383
|
local.get $4
|
|
27787
|
-
local.get $
|
|
28384
|
+
local.get $10
|
|
27788
28385
|
local.get $0
|
|
27789
28386
|
call $~lib/typedarray/Int32Array#__get
|
|
27790
28387
|
call $~lib/typedarray/Int32Array#__set
|
|
27791
|
-
local.get $
|
|
28388
|
+
local.get $10
|
|
27792
28389
|
local.get $0
|
|
27793
28390
|
local.get $7
|
|
27794
28391
|
call $~lib/typedarray/Int32Array#__set
|
|
@@ -27805,15 +28402,15 @@
|
|
|
27805
28402
|
local.get $4
|
|
27806
28403
|
i32.const 1
|
|
27807
28404
|
i32.add
|
|
27808
|
-
local.set $
|
|
28405
|
+
local.set $9
|
|
27809
28406
|
loop $for-loop|6
|
|
27810
28407
|
local.get $1
|
|
27811
|
-
local.get $
|
|
28408
|
+
local.get $9
|
|
27812
28409
|
i32.gt_s
|
|
27813
28410
|
if
|
|
27814
28411
|
local.get $3
|
|
27815
28412
|
local.get $1
|
|
27816
|
-
local.get $
|
|
28413
|
+
local.get $9
|
|
27817
28414
|
i32.mul
|
|
27818
28415
|
local.get $4
|
|
27819
28416
|
i32.add
|
|
@@ -27829,44 +28426,44 @@
|
|
|
27829
28426
|
local.get $4
|
|
27830
28427
|
i32.const 1
|
|
27831
28428
|
i32.add
|
|
27832
|
-
local.set $
|
|
28429
|
+
local.set $7
|
|
27833
28430
|
loop $for-loop|7
|
|
27834
|
-
local.get $0
|
|
27835
28431
|
local.get $1
|
|
27836
|
-
|
|
28432
|
+
local.get $7
|
|
28433
|
+
i32.gt_s
|
|
27837
28434
|
if
|
|
27838
28435
|
local.get $3
|
|
27839
28436
|
local.get $1
|
|
27840
|
-
local.get $
|
|
28437
|
+
local.get $9
|
|
27841
28438
|
i32.mul
|
|
27842
|
-
local.get $
|
|
28439
|
+
local.get $7
|
|
27843
28440
|
i32.add
|
|
27844
|
-
local.tee $
|
|
28441
|
+
local.tee $0
|
|
27845
28442
|
local.get $3
|
|
27846
|
-
local.get $
|
|
28443
|
+
local.get $0
|
|
27847
28444
|
call $~lib/typedarray/Float64Array#__get
|
|
27848
28445
|
local.get $6
|
|
27849
28446
|
local.get $3
|
|
27850
28447
|
local.get $1
|
|
27851
28448
|
local.get $4
|
|
27852
28449
|
i32.mul
|
|
27853
|
-
local.get $
|
|
28450
|
+
local.get $7
|
|
27854
28451
|
i32.add
|
|
27855
28452
|
call $~lib/typedarray/Float64Array#__get
|
|
27856
28453
|
f64.mul
|
|
27857
28454
|
f64.sub
|
|
27858
28455
|
call $~lib/typedarray/Float64Array#__set
|
|
27859
|
-
local.get $
|
|
28456
|
+
local.get $7
|
|
27860
28457
|
i32.const 1
|
|
27861
28458
|
i32.add
|
|
27862
|
-
local.set $
|
|
28459
|
+
local.set $7
|
|
27863
28460
|
br $for-loop|7
|
|
27864
28461
|
end
|
|
27865
28462
|
end
|
|
27866
|
-
local.get $
|
|
28463
|
+
local.get $9
|
|
27867
28464
|
i32.const 1
|
|
27868
28465
|
i32.add
|
|
27869
|
-
local.set $
|
|
28466
|
+
local.set $9
|
|
27870
28467
|
br $for-loop|6
|
|
27871
28468
|
end
|
|
27872
28469
|
end
|
|
@@ -27879,23 +28476,24 @@
|
|
|
27879
28476
|
end
|
|
27880
28477
|
local.get $3
|
|
27881
28478
|
local.get $1
|
|
28479
|
+
local.get $1
|
|
27882
28480
|
i32.const 1
|
|
27883
28481
|
i32.sub
|
|
27884
28482
|
local.tee $0
|
|
28483
|
+
local.get $0
|
|
28484
|
+
local.get $3
|
|
28485
|
+
local.get $0
|
|
27885
28486
|
local.get $1
|
|
27886
28487
|
i32.mul
|
|
27887
28488
|
local.get $0
|
|
27888
28489
|
i32.add
|
|
27889
28490
|
call $~lib/typedarray/Float64Array#__get
|
|
27890
28491
|
f64.abs
|
|
27891
|
-
|
|
27892
|
-
f64.lt
|
|
28492
|
+
call $src/algebra/decomposition/pivotIsZero
|
|
27893
28493
|
br_if $folding-inner0
|
|
27894
|
-
i32.const 0
|
|
27895
|
-
local.set $4
|
|
27896
28494
|
loop $for-loop|9
|
|
27897
28495
|
local.get $1
|
|
27898
|
-
local.get $
|
|
28496
|
+
local.get $8
|
|
27899
28497
|
i32.gt_s
|
|
27900
28498
|
if
|
|
27901
28499
|
i32.const 0
|
|
@@ -27907,20 +28505,20 @@
|
|
|
27907
28505
|
if
|
|
27908
28506
|
f64.const 1
|
|
27909
28507
|
f64.const 0
|
|
27910
|
-
local.get $
|
|
28508
|
+
local.get $12
|
|
27911
28509
|
if (result i32)
|
|
27912
28510
|
local.get $3
|
|
27913
28511
|
local.get $7
|
|
27914
|
-
local.get $
|
|
28512
|
+
local.get $11
|
|
27915
28513
|
i32.add
|
|
27916
28514
|
call $~lib/typedarray/Float64Array#__get
|
|
27917
28515
|
i32.trunc_sat_f64_s
|
|
27918
28516
|
else
|
|
27919
|
-
local.get $
|
|
28517
|
+
local.get $10
|
|
27920
28518
|
local.get $7
|
|
27921
28519
|
call $~lib/typedarray/Int32Array#__get
|
|
27922
28520
|
end
|
|
27923
|
-
local.get $
|
|
28521
|
+
local.get $8
|
|
27924
28522
|
i32.eq
|
|
27925
28523
|
select
|
|
27926
28524
|
local.set $5
|
|
@@ -27943,7 +28541,7 @@
|
|
|
27943
28541
|
local.get $0
|
|
27944
28542
|
local.get $1
|
|
27945
28543
|
i32.mul
|
|
27946
|
-
local.get $
|
|
28544
|
+
local.get $8
|
|
27947
28545
|
i32.add
|
|
27948
28546
|
call $~lib/typedarray/Float64Array#__get
|
|
27949
28547
|
f64.mul
|
|
@@ -27960,7 +28558,7 @@
|
|
|
27960
28558
|
local.get $1
|
|
27961
28559
|
local.get $7
|
|
27962
28560
|
i32.mul
|
|
27963
|
-
local.get $
|
|
28561
|
+
local.get $8
|
|
27964
28562
|
i32.add
|
|
27965
28563
|
local.get $5
|
|
27966
28564
|
call $~lib/typedarray/Float64Array#__set
|
|
@@ -27972,108 +28570,106 @@
|
|
|
27972
28570
|
end
|
|
27973
28571
|
end
|
|
27974
28572
|
i32.const 0
|
|
27975
|
-
local.set $
|
|
28573
|
+
local.set $7
|
|
27976
28574
|
loop $for-loop|12
|
|
27977
|
-
local.get $0
|
|
27978
28575
|
local.get $1
|
|
27979
|
-
|
|
28576
|
+
local.get $7
|
|
28577
|
+
i32.gt_s
|
|
27980
28578
|
if
|
|
27981
28579
|
local.get $2
|
|
27982
28580
|
local.get $1
|
|
27983
28581
|
i32.const 1
|
|
27984
28582
|
i32.sub
|
|
27985
|
-
local.get $
|
|
28583
|
+
local.get $7
|
|
27986
28584
|
i32.sub
|
|
27987
|
-
local.tee $
|
|
28585
|
+
local.tee $4
|
|
27988
28586
|
local.get $1
|
|
27989
28587
|
i32.mul
|
|
27990
|
-
local.get $
|
|
28588
|
+
local.get $8
|
|
27991
28589
|
i32.add
|
|
27992
28590
|
call $~lib/typedarray/Float64Array#__get
|
|
27993
28591
|
local.set $5
|
|
27994
|
-
local.get $
|
|
28592
|
+
local.get $4
|
|
27995
28593
|
i32.const 1
|
|
27996
28594
|
i32.add
|
|
27997
|
-
local.set $
|
|
28595
|
+
local.set $0
|
|
27998
28596
|
loop $for-loop|13
|
|
28597
|
+
local.get $0
|
|
27999
28598
|
local.get $1
|
|
28000
|
-
|
|
28001
|
-
i32.gt_s
|
|
28599
|
+
i32.lt_s
|
|
28002
28600
|
if
|
|
28003
28601
|
local.get $5
|
|
28004
28602
|
local.get $3
|
|
28005
28603
|
local.get $1
|
|
28006
|
-
local.get $
|
|
28604
|
+
local.get $4
|
|
28007
28605
|
i32.mul
|
|
28008
|
-
local.get $
|
|
28606
|
+
local.get $0
|
|
28009
28607
|
i32.add
|
|
28010
28608
|
call $~lib/typedarray/Float64Array#__get
|
|
28011
28609
|
local.get $2
|
|
28610
|
+
local.get $0
|
|
28012
28611
|
local.get $1
|
|
28013
|
-
local.get $7
|
|
28014
28612
|
i32.mul
|
|
28015
|
-
local.get $
|
|
28613
|
+
local.get $8
|
|
28016
28614
|
i32.add
|
|
28017
28615
|
call $~lib/typedarray/Float64Array#__get
|
|
28018
28616
|
f64.mul
|
|
28019
28617
|
f64.sub
|
|
28020
28618
|
local.set $5
|
|
28021
|
-
local.get $
|
|
28619
|
+
local.get $0
|
|
28022
28620
|
i32.const 1
|
|
28023
28621
|
i32.add
|
|
28024
|
-
local.set $
|
|
28622
|
+
local.set $0
|
|
28025
28623
|
br $for-loop|13
|
|
28026
28624
|
end
|
|
28027
28625
|
end
|
|
28028
28626
|
local.get $2
|
|
28029
28627
|
local.get $1
|
|
28030
|
-
local.get $11
|
|
28031
|
-
i32.mul
|
|
28032
|
-
local.tee $7
|
|
28033
28628
|
local.get $4
|
|
28629
|
+
i32.mul
|
|
28630
|
+
local.tee $0
|
|
28631
|
+
local.get $8
|
|
28034
28632
|
i32.add
|
|
28035
28633
|
local.get $5
|
|
28036
28634
|
local.get $3
|
|
28037
|
-
local.get $
|
|
28038
|
-
local.get $
|
|
28635
|
+
local.get $0
|
|
28636
|
+
local.get $4
|
|
28039
28637
|
i32.add
|
|
28040
28638
|
call $~lib/typedarray/Float64Array#__get
|
|
28041
28639
|
f64.div
|
|
28042
28640
|
call $~lib/typedarray/Float64Array#__set
|
|
28043
|
-
local.get $
|
|
28641
|
+
local.get $7
|
|
28044
28642
|
i32.const 1
|
|
28045
28643
|
i32.add
|
|
28046
|
-
local.set $
|
|
28644
|
+
local.set $7
|
|
28047
28645
|
br $for-loop|12
|
|
28048
28646
|
end
|
|
28049
28647
|
end
|
|
28050
|
-
local.get $
|
|
28648
|
+
local.get $8
|
|
28051
28649
|
i32.const 1
|
|
28052
28650
|
i32.add
|
|
28053
|
-
local.set $
|
|
28651
|
+
local.set $8
|
|
28054
28652
|
br $for-loop|9
|
|
28055
28653
|
end
|
|
28056
28654
|
end
|
|
28057
28655
|
i32.const 0
|
|
28058
28656
|
return
|
|
28059
28657
|
end
|
|
28060
|
-
i32.const 0
|
|
28061
|
-
local.set $0
|
|
28062
28658
|
loop $for-loop|4
|
|
28063
|
-
local.get $
|
|
28659
|
+
local.get $8
|
|
28064
28660
|
local.get $1
|
|
28065
28661
|
local.get $1
|
|
28066
28662
|
i32.mul
|
|
28067
28663
|
i32.lt_s
|
|
28068
28664
|
if
|
|
28069
28665
|
local.get $2
|
|
28070
|
-
local.get $
|
|
28666
|
+
local.get $8
|
|
28071
28667
|
f64.const 0
|
|
28072
28668
|
call $~lib/typedarray/Float64Array#__set
|
|
28073
|
-
local.get $
|
|
28669
|
+
local.get $8
|
|
28074
28670
|
i32.const 1
|
|
28075
28671
|
i32.add
|
|
28076
|
-
local.set $
|
|
28672
|
+
local.set $8
|
|
28077
28673
|
br $for-loop|4
|
|
28078
28674
|
end
|
|
28079
28675
|
end
|
|
@@ -28086,28 +28682,27 @@
|
|
|
28086
28682
|
(local $6 f64)
|
|
28087
28683
|
(local $7 i32)
|
|
28088
28684
|
(local $8 i32)
|
|
28685
|
+
(local $9 i32)
|
|
28089
28686
|
loop $for-loop|0
|
|
28090
|
-
local.get $
|
|
28687
|
+
local.get $7
|
|
28091
28688
|
local.get $1
|
|
28092
28689
|
local.get $1
|
|
28093
28690
|
i32.mul
|
|
28094
28691
|
i32.lt_s
|
|
28095
28692
|
if
|
|
28096
28693
|
local.get $2
|
|
28097
|
-
local.get $
|
|
28694
|
+
local.get $7
|
|
28098
28695
|
local.get $0
|
|
28099
|
-
local.get $
|
|
28696
|
+
local.get $7
|
|
28100
28697
|
call $~lib/typedarray/Float64Array#__get
|
|
28101
28698
|
call $~lib/typedarray/Float64Array#__set
|
|
28102
|
-
local.get $
|
|
28699
|
+
local.get $7
|
|
28103
28700
|
i32.const 1
|
|
28104
28701
|
i32.add
|
|
28105
|
-
local.set $
|
|
28702
|
+
local.set $7
|
|
28106
28703
|
br $for-loop|0
|
|
28107
28704
|
end
|
|
28108
28705
|
end
|
|
28109
|
-
i32.const 0
|
|
28110
|
-
local.set $4
|
|
28111
28706
|
loop $for-loop|1
|
|
28112
28707
|
local.get $4
|
|
28113
28708
|
local.get $1
|
|
@@ -28159,9 +28754,12 @@
|
|
|
28159
28754
|
br $for-loop|2
|
|
28160
28755
|
end
|
|
28161
28756
|
end
|
|
28757
|
+
local.get $2
|
|
28758
|
+
local.get $1
|
|
28759
|
+
local.get $0
|
|
28760
|
+
local.get $4
|
|
28162
28761
|
local.get $5
|
|
28163
|
-
|
|
28164
|
-
f64.lt
|
|
28762
|
+
call $src/algebra/decomposition/pivotIsZero
|
|
28165
28763
|
if
|
|
28166
28764
|
f64.const 0
|
|
28167
28765
|
return
|
|
@@ -28183,22 +28781,22 @@
|
|
|
28183
28781
|
i32.mul
|
|
28184
28782
|
local.get $7
|
|
28185
28783
|
i32.add
|
|
28186
|
-
local.tee $
|
|
28784
|
+
local.tee $9
|
|
28187
28785
|
call $~lib/typedarray/Float64Array#__get
|
|
28188
28786
|
local.set $5
|
|
28189
28787
|
local.get $2
|
|
28190
|
-
local.get $
|
|
28788
|
+
local.get $9
|
|
28191
28789
|
local.get $2
|
|
28192
28790
|
local.get $0
|
|
28193
28791
|
local.get $1
|
|
28194
28792
|
i32.mul
|
|
28195
28793
|
local.get $7
|
|
28196
28794
|
i32.add
|
|
28197
|
-
local.tee $
|
|
28795
|
+
local.tee $9
|
|
28198
28796
|
call $~lib/typedarray/Float64Array#__get
|
|
28199
28797
|
call $~lib/typedarray/Float64Array#__set
|
|
28200
28798
|
local.get $2
|
|
28201
|
-
local.get $
|
|
28799
|
+
local.get $9
|
|
28202
28800
|
local.get $5
|
|
28203
28801
|
call $~lib/typedarray/Float64Array#__set
|
|
28204
28802
|
local.get $7
|
|
@@ -28260,9 +28858,9 @@
|
|
|
28260
28858
|
i32.mul
|
|
28261
28859
|
local.get $7
|
|
28262
28860
|
i32.add
|
|
28263
|
-
local.tee $
|
|
28861
|
+
local.tee $9
|
|
28264
28862
|
local.get $2
|
|
28265
|
-
local.get $
|
|
28863
|
+
local.get $9
|
|
28266
28864
|
call $~lib/typedarray/Float64Array#__get
|
|
28267
28865
|
local.get $6
|
|
28268
28866
|
local.get $2
|
|
@@ -28303,27 +28901,25 @@
|
|
|
28303
28901
|
i32.and
|
|
28304
28902
|
select
|
|
28305
28903
|
local.set $5
|
|
28306
|
-
i32.const 0
|
|
28307
|
-
local.set $0
|
|
28308
28904
|
loop $for-loop|6
|
|
28309
|
-
local.get $0
|
|
28310
28905
|
local.get $1
|
|
28311
|
-
|
|
28906
|
+
local.get $8
|
|
28907
|
+
i32.gt_s
|
|
28312
28908
|
if
|
|
28313
28909
|
local.get $5
|
|
28314
28910
|
local.get $2
|
|
28315
|
-
local.get $0
|
|
28316
28911
|
local.get $1
|
|
28912
|
+
local.get $8
|
|
28317
28913
|
i32.mul
|
|
28318
|
-
local.get $
|
|
28914
|
+
local.get $8
|
|
28319
28915
|
i32.add
|
|
28320
28916
|
call $~lib/typedarray/Float64Array#__get
|
|
28321
28917
|
f64.mul
|
|
28322
28918
|
local.set $5
|
|
28323
|
-
local.get $
|
|
28919
|
+
local.get $8
|
|
28324
28920
|
i32.const 1
|
|
28325
28921
|
i32.add
|
|
28326
|
-
local.set $
|
|
28922
|
+
local.set $8
|
|
28327
28923
|
br $for-loop|6
|
|
28328
28924
|
end
|
|
28329
28925
|
end
|
|
@@ -28458,4 +29054,22 @@
|
|
|
28458
29054
|
end
|
|
28459
29055
|
i32.const 0
|
|
28460
29056
|
)
|
|
29057
|
+
(func $src/abort/abort_take (result i32)
|
|
29058
|
+
(local $0 i32)
|
|
29059
|
+
global.get $src/abort/abortPending
|
|
29060
|
+
i32.const 0
|
|
29061
|
+
global.set $src/abort/abortPending
|
|
29062
|
+
)
|
|
29063
|
+
(func $src/abort/abort_message (result i32)
|
|
29064
|
+
global.get $src/abort/abortMessage
|
|
29065
|
+
)
|
|
29066
|
+
(func $src/abort/abort_line (result i32)
|
|
29067
|
+
global.get $src/abort/abortLine
|
|
29068
|
+
)
|
|
29069
|
+
(func $src/abort/abort_file (result i32)
|
|
29070
|
+
global.get $src/abort/abortFile
|
|
29071
|
+
)
|
|
29072
|
+
(func $src/abort/abort_column (result i32)
|
|
29073
|
+
global.get $src/abort/abortColumn
|
|
29074
|
+
)
|
|
28461
29075
|
)
|