@danielsimonjr/mathts-wasm 0.4.1 → 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.
@@ -12,39 +12,45 @@
12
12
  (type $10 (func (param i32 f64)))
13
13
  (type $11 (func (param f64) (result i32)))
14
14
  (type $12 (func (param i32 i32 i32 i32) (result i32)))
15
- (type $13 (func (param f64 f64) (result i32)))
16
- (type $14 (func (param f64 f64 f64) (result f64)))
17
- (type $15 (func (param i32 f64 i32)))
18
- (type $16 (func))
19
- (type $17 (func (param i32 i32 i32 i32 i32)))
20
- (type $18 (func (param i32 i32 i32 f64) (result i32)))
21
- (type $19 (func (param i64 i64) (result i64)))
22
- (type $20 (func (param i32 f64) (result f64)))
23
- (type $21 (func (param f64 i32) (result f64)))
24
- (type $22 (func (param i32)))
25
- (type $23 (func (param i32 f64 f64) (result i32)))
26
- (type $24 (func (param i32 i32 f64)))
27
- (type $25 (func (param i32 i32 f64) (result i32)))
28
- (type $26 (func (param i32 i32 i32 i32 i32) (result i32)))
29
- (type $27 (func (param i32 f64) (result i32)))
30
- (type $28 (func (param f64 f64 i32) (result f64)))
31
- (type $29 (func (param i32 i32 i32 i32 i32 i32)))
32
- (type $30 (func (param i32 i32 i32) (result f64)))
33
- (type $31 (func (param i32 i32 i32 i32 i32 i32) (result i32)))
34
- (type $32 (func (param f64 i64) (result i32)))
35
- (type $33 (func (param f64 i32 f64 i32 i32)))
36
- (type $34 (func (param i32 f64 f64)))
37
- (type $35 (func (param i32 i32 i32 i32) (result f64)))
38
- (type $36 (func (param i32 i32 i32 i32 f64)))
39
- (type $37 (func (param f64 i32 i32)))
40
- (type $38 (func (param f64 i32 i32 i32 i32 i32 f64 i32)))
41
- (type $39 (func (param f64 i32 i32 i32 i32 f64 i32)))
42
- (type $40 (func (param i32 f64 f64) (result f64)))
43
- (type $41 (func (param i32 i32 f64 f64 f64 f64) (result i32)))
44
- (type $42 (func (param f64 f64 f64 f64) (result f64)))
45
- (type $43 (func (param i32 i32 f64 f64)))
46
- (type $44 (func (param i32 f64 f64 i32)))
47
- (import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
15
+ (type $13 (func (result i32)))
16
+ (type $14 (func (param f64 f64) (result i32)))
17
+ (type $15 (func (param f64 f64 f64) (result f64)))
18
+ (type $16 (func (param i32 f64 i32)))
19
+ (type $17 (func))
20
+ (type $18 (func (param i32 i32 i32 i32 i32)))
21
+ (type $19 (func (param i32 i32 i32 f64) (result i32)))
22
+ (type $20 (func (param i64 i64) (result i64)))
23
+ (type $21 (func (param i32 f64) (result f64)))
24
+ (type $22 (func (param f64 i32) (result f64)))
25
+ (type $23 (func (param i32)))
26
+ (type $24 (func (param i32 f64 f64) (result i32)))
27
+ (type $25 (func (param i32 i32 f64)))
28
+ (type $26 (func (param i32 i32 f64) (result i32)))
29
+ (type $27 (func (param i32 i32 i32 i32 i32) (result i32)))
30
+ (type $28 (func (param i32 f64) (result i32)))
31
+ (type $29 (func (param f64 f64 i32) (result f64)))
32
+ (type $30 (func (param i32 i32 i32 i32 i32 i32)))
33
+ (type $31 (func (param i32 i32 i32) (result f64)))
34
+ (type $32 (func (param i32 i32 i32 i32 i32 i32) (result i32)))
35
+ (type $33 (func (param f64 i64) (result i32)))
36
+ (type $34 (func (param f64 i32 f64 i32 i32)))
37
+ (type $35 (func (param i32 f64 f64)))
38
+ (type $36 (func (param i32 i32 i32 i32) (result f64)))
39
+ (type $37 (func (param i32 i32 i32 i32 f64)))
40
+ (type $38 (func (param f64 i32 i32)))
41
+ (type $39 (func (param f64 i32 i32 i32 i32 i32 f64 i32)))
42
+ (type $40 (func (param f64 i32 i32 i32 i32 f64 i32)))
43
+ (type $41 (func (param i32 i32 i32 i32 f64) (result i32)))
44
+ (type $42 (func (param i32 f64 f64) (result f64)))
45
+ (type $43 (func (param i32 i32 f64 f64 f64 f64) (result i32)))
46
+ (type $44 (func (param f64 f64 f64 f64) (result f64)))
47
+ (type $45 (func (param i32 i32 f64 f64)))
48
+ (type $46 (func (param i32 f64 f64 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))
@@ -55,7 +61,9 @@
55
61
  (global $src/ops/scalar/LOG2E f64 (f64.const 1.4426950408889634))
56
62
  (global $src/ops/scalar/LOG10E f64 (f64.const 0.4342944819032518))
57
63
  (global $src/ops/scalar/EPSILON f64 (f64.const 2.220446049250313e-16))
58
- (global $src/algebra/decomposition/DECOMP_EPS f64 (f64.const 1e-14))
64
+ (global $src/algebra/decomposition/PIVOT_REL_TOL f64 (f64.const 1e-14))
65
+ (global $src/algebra/decomposition/TINY_COLUMN f64 (f64.const 3.054936363499605e-151))
66
+ (global $src/algebra/decomposition/HUGE_COLUMN f64 (f64.const 3273390607896141870013189e126))
59
67
  (global $src/ops/special/EULER f64 (f64.const 0.5772156649015329))
60
68
  (global $src/ops/special/_ORDER_MAX_I32 f64 (f64.const 2147483646))
61
69
  (global $src/ops/special/_ORDER_MAX_LAGUERRE f64 (f64.const 1e9))
@@ -93,6 +101,7 @@
93
101
  (global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
94
102
  (global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
95
103
  (global $~lib/native/ASC_RUNTIME i32 (i32.const 0))
104
+ (global $~lib/builtins/f64.MAX_VALUE f64 (f64.const 1797693134862315708145274e284))
96
105
  (global $~lib/builtins/i32.MIN_VALUE i32 (i32.const -2147483648))
97
106
  (global $~lib/rt/__rtti_base i32 (i32.const 14208))
98
107
  (global $~lib/memory/__heap_base i32 (i32.const 14252))
@@ -127,6 +136,11 @@
127
136
  (table $0 1 1 funcref)
128
137
  (elem $0 (i32.const 1))
129
138
  (export "heap_reset" (func $src/heap/heap_reset))
139
+ (export "abort_take" (func $src/abort/abort_take))
140
+ (export "abort_message" (func $src/abort/abort_message))
141
+ (export "abort_file" (func $src/abort/abort_file))
142
+ (export "abort_line" (func $src/abort/abort_line))
143
+ (export "abort_column" (func $src/abort/abort_column))
130
144
  (export "complex" (func $src/types/complex/complex))
131
145
  (export "complexFromPolar" (func $src/types/complex/complexFromPolar))
132
146
  (export "add_f64" (func $src/ops/scalar/add_f64))
@@ -461,6 +475,31 @@
461
475
  (func $src/heap/heap_reset
462
476
  call $~lib/rt/stub/__reset
463
477
  )
478
+ (func $src/abort/abort_take (result i32)
479
+ (local $pending i32)
480
+ global.get $src/abort/abortPending
481
+ local.set $pending
482
+ i32.const 0
483
+ global.set $src/abort/abortPending
484
+ local.get $pending
485
+ return
486
+ )
487
+ (func $src/abort/abort_message (result i32)
488
+ global.get $src/abort/abortMessage
489
+ return
490
+ )
491
+ (func $src/abort/abort_file (result i32)
492
+ global.get $src/abort/abortFile
493
+ return
494
+ )
495
+ (func $src/abort/abort_line (result i32)
496
+ global.get $src/abort/abortLine
497
+ return
498
+ )
499
+ (func $src/abort/abort_column (result i32)
500
+ global.get $src/abort/abortColumn
501
+ return
502
+ )
464
503
  (func $src/types/complex/Complex#set:re (param $this i32) (param $re f64)
465
504
  local.get $this
466
505
  local.get $re
@@ -471,6 +510,19 @@
471
510
  local.get $im
472
511
  f64.store offset=8
473
512
  )
513
+ (func $src/abort/trapAbort (param $message i32) (param $fileName i32) (param $line i32) (param $column i32)
514
+ local.get $message
515
+ global.set $src/abort/abortMessage
516
+ local.get $fileName
517
+ global.set $src/abort/abortFile
518
+ local.get $line
519
+ global.set $src/abort/abortLine
520
+ local.get $column
521
+ global.set $src/abort/abortColumn
522
+ i32.const 1
523
+ global.set $src/abort/abortPending
524
+ unreachable
525
+ )
474
526
  (func $~lib/rt/stub/maybeGrowMemory (param $newOffset i32)
475
527
  (local $pagesBefore i32)
476
528
  (local $maxOffset i32)
@@ -550,7 +602,7 @@
550
602
  i32.const 96
551
603
  i32.const 33
552
604
  i32.const 29
553
- call $~lib/builtins/abort
605
+ call $src/abort/trapAbort
554
606
  unreachable
555
607
  end
556
608
  global.get $~lib/rt/stub/offset
@@ -617,7 +669,7 @@
617
669
  i32.const 96
618
670
  i32.const 86
619
671
  i32.const 30
620
- call $~lib/builtins/abort
672
+ call $src/abort/trapAbort
621
673
  unreachable
622
674
  end
623
675
  i32.const 16
@@ -7100,8 +7152,32 @@
7100
7152
  return
7101
7153
  )
7102
7154
  (func $src/ops/scalar/round_f64 (param $a f64) (result f64)
7155
+ (local $t f64)
7103
7156
  local.get $a
7104
- f64.nearest
7157
+ f64.const 0
7158
+ f64.eq
7159
+ if
7160
+ f64.const 0
7161
+ return
7162
+ end
7163
+ local.get $a
7164
+ f64.trunc
7165
+ local.set $t
7166
+ local.get $a
7167
+ local.get $t
7168
+ f64.sub
7169
+ f64.abs
7170
+ f64.const 0.5
7171
+ f64.ge
7172
+ if (result f64)
7173
+ local.get $t
7174
+ f64.const 1
7175
+ local.get $a
7176
+ f64.copysign
7177
+ f64.add
7178
+ else
7179
+ local.get $t
7180
+ end
7105
7181
  return
7106
7182
  )
7107
7183
  (func $src/ops/scalar/trunc_f64 (param $a f64) (result f64)
@@ -8717,7 +8793,7 @@
8717
8793
  i32.const 12704
8718
8794
  i32.const 19
8719
8795
  i32.const 57
8720
- call $~lib/builtins/abort
8796
+ call $src/abort/trapAbort
8721
8797
  unreachable
8722
8798
  end
8723
8799
  local.get $length
@@ -10857,7 +10933,7 @@
10857
10933
  i32.const 12832
10858
10934
  i32.const 1446
10859
10935
  i32.const 64
10860
- call $~lib/builtins/abort
10936
+ call $src/abort/trapAbort
10861
10937
  unreachable
10862
10938
  end
10863
10939
  local.get $this
@@ -10881,7 +10957,7 @@
10881
10957
  i32.const 12832
10882
10958
  i32.const 1457
10883
10959
  i32.const 64
10884
- call $~lib/builtins/abort
10960
+ call $src/abort/trapAbort
10885
10961
  unreachable
10886
10962
  end
10887
10963
  local.get $this
@@ -11359,7 +11435,7 @@
11359
11435
  i32.const 12832
11360
11436
  i32.const 747
11361
11437
  i32.const 64
11362
- call $~lib/builtins/abort
11438
+ call $src/abort/trapAbort
11363
11439
  unreachable
11364
11440
  end
11365
11441
  local.get $this
@@ -11371,6 +11447,71 @@
11371
11447
  local.get $value
11372
11448
  i32.store
11373
11449
  )
11450
+ (func $src/algebra/decomposition/pivotIsZero (param $work i32) (param $n i32) (param $row i32) (param $k i32) (param $pivot f64) (result i32)
11451
+ (local $s f64)
11452
+ (local $j i32)
11453
+ (local $x f64)
11454
+ (local $x|8 f64)
11455
+ f64.const 0
11456
+ local.set $s
11457
+ i32.const 0
11458
+ local.set $j
11459
+ loop $for-loop|0
11460
+ local.get $j
11461
+ local.get $k
11462
+ i32.lt_s
11463
+ if
11464
+ local.get $s
11465
+ block $~lib/math/NativeMath.abs|inlined.2 (result f64)
11466
+ local.get $work
11467
+ local.get $row
11468
+ local.get $n
11469
+ i32.mul
11470
+ local.get $j
11471
+ i32.add
11472
+ call $~lib/typedarray/Float64Array#__get
11473
+ local.set $x
11474
+ local.get $x
11475
+ f64.abs
11476
+ br $~lib/math/NativeMath.abs|inlined.2
11477
+ end
11478
+ block $~lib/math/NativeMath.abs|inlined.3 (result f64)
11479
+ local.get $work
11480
+ local.get $j
11481
+ local.get $n
11482
+ i32.mul
11483
+ local.get $k
11484
+ i32.add
11485
+ call $~lib/typedarray/Float64Array#__get
11486
+ local.set $x|8
11487
+ local.get $x|8
11488
+ f64.abs
11489
+ br $~lib/math/NativeMath.abs|inlined.3
11490
+ end
11491
+ f64.mul
11492
+ f64.add
11493
+ local.set $s
11494
+ local.get $j
11495
+ i32.const 1
11496
+ i32.add
11497
+ local.set $j
11498
+ br $for-loop|0
11499
+ end
11500
+ end
11501
+ local.get $pivot
11502
+ f64.const inf
11503
+ f64.lt
11504
+ if (result i32)
11505
+ local.get $pivot
11506
+ global.get $src/algebra/decomposition/PIVOT_REL_TOL
11507
+ local.get $s
11508
+ f64.mul
11509
+ f64.le
11510
+ else
11511
+ i32.const 0
11512
+ end
11513
+ return
11514
+ )
11374
11515
  (func $~lib/typedarray/Int32Array#__get (param $this i32) (param $index i32) (result i32)
11375
11516
  local.get $index
11376
11517
  local.get $this
@@ -11383,7 +11524,7 @@
11383
11524
  i32.const 12832
11384
11525
  i32.const 736
11385
11526
  i32.const 64
11386
- call $~lib/builtins/abort
11527
+ call $src/abort/trapAbort
11387
11528
  unreachable
11388
11529
  end
11389
11530
  local.get $this
@@ -11522,9 +11663,12 @@
11522
11663
  br $for-loop|3
11523
11664
  end
11524
11665
  end
11666
+ local.get $work
11667
+ local.get $n
11668
+ local.get $pivotRow
11669
+ local.get $k
11525
11670
  local.get $maxVal
11526
- global.get $src/algebra/decomposition/DECOMP_EPS
11527
- f64.lt
11671
+ call $src/algebra/decomposition/pivotIsZero
11528
11672
  if
11529
11673
  i32.const -1
11530
11674
  return
@@ -11681,7 +11825,15 @@
11681
11825
  br $for-loop|2
11682
11826
  end
11683
11827
  end
11684
- block $~lib/math/NativeMath.abs|inlined.2 (result f64)
11828
+ local.get $work
11829
+ local.get $n
11830
+ local.get $n
11831
+ i32.const 1
11832
+ i32.sub
11833
+ local.get $n
11834
+ i32.const 1
11835
+ i32.sub
11836
+ block $~lib/math/NativeMath.abs|inlined.4 (result f64)
11685
11837
  local.get $work
11686
11838
  local.get $n
11687
11839
  i32.const 1
@@ -11696,10 +11848,9 @@
11696
11848
  local.set $x|22
11697
11849
  local.get $x|22
11698
11850
  f64.abs
11699
- br $~lib/math/NativeMath.abs|inlined.2
11851
+ br $~lib/math/NativeMath.abs|inlined.4
11700
11852
  end
11701
- global.get $src/algebra/decomposition/DECOMP_EPS
11702
- f64.lt
11853
+ call $src/algebra/decomposition/pivotIsZero
11703
11854
  if
11704
11855
  i32.const -1
11705
11856
  return
@@ -11793,27 +11944,34 @@
11793
11944
  (local $vBuf i32)
11794
11945
  (local $k i32)
11795
11946
  (local $norm f64)
11796
- (local $i|13 i32)
11947
+ (local $amax f64)
11948
+ (local $i|14 i32)
11797
11949
  (local $v f64)
11798
11950
  (local $x f64)
11951
+ (local $av f64)
11952
+ (local $scaled f64)
11953
+ (local $i|19 i32)
11954
+ (local $t f64)
11955
+ (local $x|21 f64)
11956
+ (local $x|22 f64)
11799
11957
  (local $akk f64)
11800
11958
  (local $sign f64)
11801
11959
  (local $u1 f64)
11802
11960
  (local $vDotV f64)
11803
- (local $i|20 i32)
11961
+ (local $i|27 i32)
11804
11962
  (local $vi f64)
11805
11963
  (local $tau f64)
11806
11964
  (local $j i32)
11807
11965
  (local $vDotCol f64)
11808
- (local $i|25 i32)
11809
- (local $factor f64)
11810
- (local $i|27 i32)
11811
- (local $j|28 i32)
11812
- (local $vDotCol|29 f64)
11813
- (local $i|30 i32)
11814
- (local $factor|31 f64)
11815
11966
  (local $i|32 i32)
11816
- (local $i|33 i32)
11967
+ (local $factor f64)
11968
+ (local $i|34 i32)
11969
+ (local $j|35 i32)
11970
+ (local $vDotCol|36 f64)
11971
+ (local $i|37 i32)
11972
+ (local $factor|38 f64)
11973
+ (local $i|39 i32)
11974
+ (local $i|40 i32)
11817
11975
  i32.const 0
11818
11976
  local.set $i
11819
11977
  loop $for-loop|0
@@ -11916,15 +12074,17 @@
11916
12074
  block $for-continue|3
11917
12075
  f64.const 0
11918
12076
  local.set $norm
12077
+ f64.const 0
12078
+ local.set $amax
11919
12079
  local.get $k
11920
- local.set $i|13
12080
+ local.set $i|14
11921
12081
  loop $for-loop|4
11922
- local.get $i|13
12082
+ local.get $i|14
11923
12083
  local.get $m
11924
12084
  i32.lt_s
11925
12085
  if
11926
12086
  local.get $r_out
11927
- local.get $i|13
12087
+ local.get $i|14
11928
12088
  local.get $n
11929
12089
  i32.mul
11930
12090
  local.get $k
@@ -11937,27 +12097,111 @@
11937
12097
  f64.mul
11938
12098
  f64.add
11939
12099
  local.set $norm
11940
- local.get $i|13
12100
+ block $~lib/math/NativeMath.abs|inlined.5 (result f64)
12101
+ local.get $v
12102
+ local.set $x
12103
+ local.get $x
12104
+ f64.abs
12105
+ br $~lib/math/NativeMath.abs|inlined.5
12106
+ end
12107
+ local.set $av
12108
+ local.get $av
12109
+ local.get $amax
12110
+ f64.gt
12111
+ if
12112
+ local.get $av
12113
+ local.set $amax
12114
+ end
12115
+ local.get $i|14
11941
12116
  i32.const 1
11942
12117
  i32.add
11943
- local.set $i|13
12118
+ local.set $i|14
11944
12119
  br $for-loop|4
11945
12120
  end
11946
12121
  end
11947
- block $~lib/math/NativeMath.sqrt|inlined.0 (result f64)
12122
+ local.get $amax
12123
+ f64.const 0
12124
+ f64.eq
12125
+ if (result i32)
11948
12126
  local.get $norm
11949
- local.set $x
11950
- local.get $x
11951
- f64.sqrt
11952
- br $~lib/math/NativeMath.sqrt|inlined.0
12127
+ f64.const 0
12128
+ f64.eq
12129
+ else
12130
+ i32.const 0
11953
12131
  end
11954
- local.set $norm
11955
- local.get $norm
11956
- global.get $src/algebra/decomposition/DECOMP_EPS
11957
- f64.lt
11958
12132
  if
11959
12133
  br $for-continue|3
11960
12134
  end
12135
+ local.get $amax
12136
+ global.get $src/algebra/decomposition/TINY_COLUMN
12137
+ f64.lt
12138
+ if (result i32)
12139
+ i32.const 1
12140
+ else
12141
+ local.get $amax
12142
+ global.get $src/algebra/decomposition/HUGE_COLUMN
12143
+ f64.gt
12144
+ if (result i32)
12145
+ local.get $amax
12146
+ global.get $~lib/builtins/f64.MAX_VALUE
12147
+ f64.le
12148
+ else
12149
+ i32.const 0
12150
+ end
12151
+ end
12152
+ if
12153
+ f64.const 0
12154
+ local.set $scaled
12155
+ local.get $k
12156
+ local.set $i|19
12157
+ loop $for-loop|5
12158
+ local.get $i|19
12159
+ local.get $m
12160
+ i32.lt_s
12161
+ if
12162
+ local.get $r_out
12163
+ local.get $i|19
12164
+ local.get $n
12165
+ i32.mul
12166
+ local.get $k
12167
+ i32.add
12168
+ call $~lib/typedarray/Float64Array#__get
12169
+ local.get $amax
12170
+ f64.div
12171
+ local.set $t
12172
+ local.get $scaled
12173
+ local.get $t
12174
+ local.get $t
12175
+ f64.mul
12176
+ f64.add
12177
+ local.set $scaled
12178
+ local.get $i|19
12179
+ i32.const 1
12180
+ i32.add
12181
+ local.set $i|19
12182
+ br $for-loop|5
12183
+ end
12184
+ end
12185
+ local.get $amax
12186
+ block $~lib/math/NativeMath.sqrt|inlined.0 (result f64)
12187
+ local.get $scaled
12188
+ local.set $x|21
12189
+ local.get $x|21
12190
+ f64.sqrt
12191
+ br $~lib/math/NativeMath.sqrt|inlined.0
12192
+ end
12193
+ f64.mul
12194
+ local.set $norm
12195
+ else
12196
+ block $~lib/math/NativeMath.sqrt|inlined.1 (result f64)
12197
+ local.get $norm
12198
+ local.set $x|22
12199
+ local.get $x|22
12200
+ f64.sqrt
12201
+ br $~lib/math/NativeMath.sqrt|inlined.1
12202
+ end
12203
+ local.set $norm
12204
+ end
11961
12205
  local.get $r_out
11962
12206
  local.get $k
11963
12207
  local.get $n
@@ -11988,9 +12232,9 @@
11988
12232
  f64.const 1
11989
12233
  local.set $vDotV
11990
12234
  i32.const 1
11991
- local.set $i|20
11992
- loop $for-loop|5
11993
- local.get $i|20
12235
+ local.set $i|27
12236
+ loop $for-loop|6
12237
+ local.get $i|27
11994
12238
  local.get $m
11995
12239
  local.get $k
11996
12240
  i32.sub
@@ -11998,7 +12242,7 @@
11998
12242
  if
11999
12243
  local.get $r_out
12000
12244
  local.get $k
12001
- local.get $i|20
12245
+ local.get $i|27
12002
12246
  i32.add
12003
12247
  local.get $n
12004
12248
  i32.mul
@@ -12009,7 +12253,7 @@
12009
12253
  f64.div
12010
12254
  local.set $vi
12011
12255
  local.get $vBuf
12012
- local.get $i|20
12256
+ local.get $i|27
12013
12257
  local.get $vi
12014
12258
  call $~lib/typedarray/Float64Array#__set
12015
12259
  local.get $vDotV
@@ -12018,11 +12262,11 @@
12018
12262
  f64.mul
12019
12263
  f64.add
12020
12264
  local.set $vDotV
12021
- local.get $i|20
12265
+ local.get $i|27
12022
12266
  i32.const 1
12023
12267
  i32.add
12024
- local.set $i|20
12025
- br $for-loop|5
12268
+ local.set $i|27
12269
+ br $for-loop|6
12026
12270
  end
12027
12271
  end
12028
12272
  f64.const 2
@@ -12031,7 +12275,7 @@
12031
12275
  local.set $tau
12032
12276
  local.get $k
12033
12277
  local.set $j
12034
- loop $for-loop|6
12278
+ loop $for-loop|7
12035
12279
  local.get $j
12036
12280
  local.get $n
12037
12281
  i32.lt_s
@@ -12039,9 +12283,9 @@
12039
12283
  f64.const 0
12040
12284
  local.set $vDotCol
12041
12285
  i32.const 0
12042
- local.set $i|25
12043
- loop $for-loop|7
12044
- local.get $i|25
12286
+ local.set $i|32
12287
+ loop $for-loop|8
12288
+ local.get $i|32
12045
12289
  local.get $m
12046
12290
  local.get $k
12047
12291
  i32.sub
@@ -12049,11 +12293,11 @@
12049
12293
  if
12050
12294
  local.get $vDotCol
12051
12295
  local.get $vBuf
12052
- local.get $i|25
12296
+ local.get $i|32
12053
12297
  call $~lib/typedarray/Float64Array#__get
12054
12298
  local.get $r_out
12055
12299
  local.get $k
12056
- local.get $i|25
12300
+ local.get $i|32
12057
12301
  i32.add
12058
12302
  local.get $n
12059
12303
  i32.mul
@@ -12063,11 +12307,11 @@
12063
12307
  f64.mul
12064
12308
  f64.add
12065
12309
  local.set $vDotCol
12066
- local.get $i|25
12310
+ local.get $i|32
12067
12311
  i32.const 1
12068
12312
  i32.add
12069
- local.set $i|25
12070
- br $for-loop|7
12313
+ local.set $i|32
12314
+ br $for-loop|8
12071
12315
  end
12072
12316
  end
12073
12317
  local.get $tau
@@ -12075,9 +12319,9 @@
12075
12319
  f64.mul
12076
12320
  local.set $factor
12077
12321
  i32.const 0
12078
- local.set $i|27
12079
- loop $for-loop|8
12080
- local.get $i|27
12322
+ local.set $i|34
12323
+ loop $for-loop|9
12324
+ local.get $i|34
12081
12325
  local.get $m
12082
12326
  local.get $k
12083
12327
  i32.sub
@@ -12085,7 +12329,7 @@
12085
12329
  if
12086
12330
  local.get $r_out
12087
12331
  local.get $k
12088
- local.get $i|27
12332
+ local.get $i|34
12089
12333
  i32.add
12090
12334
  local.get $n
12091
12335
  i32.mul
@@ -12093,7 +12337,7 @@
12093
12337
  i32.add
12094
12338
  local.get $r_out
12095
12339
  local.get $k
12096
- local.get $i|27
12340
+ local.get $i|34
12097
12341
  i32.add
12098
12342
  local.get $n
12099
12343
  i32.mul
@@ -12102,74 +12346,74 @@
12102
12346
  call $~lib/typedarray/Float64Array#__get
12103
12347
  local.get $factor
12104
12348
  local.get $vBuf
12105
- local.get $i|27
12349
+ local.get $i|34
12106
12350
  call $~lib/typedarray/Float64Array#__get
12107
12351
  f64.mul
12108
12352
  f64.sub
12109
12353
  call $~lib/typedarray/Float64Array#__set
12110
- local.get $i|27
12354
+ local.get $i|34
12111
12355
  i32.const 1
12112
12356
  i32.add
12113
- local.set $i|27
12114
- br $for-loop|8
12357
+ local.set $i|34
12358
+ br $for-loop|9
12115
12359
  end
12116
12360
  end
12117
12361
  local.get $j
12118
12362
  i32.const 1
12119
12363
  i32.add
12120
12364
  local.set $j
12121
- br $for-loop|6
12365
+ br $for-loop|7
12122
12366
  end
12123
12367
  end
12124
12368
  i32.const 0
12125
- local.set $j|28
12126
- loop $for-loop|9
12127
- local.get $j|28
12369
+ local.set $j|35
12370
+ loop $for-loop|10
12371
+ local.get $j|35
12128
12372
  local.get $m
12129
12373
  i32.lt_s
12130
12374
  if
12131
12375
  f64.const 0
12132
- local.set $vDotCol|29
12376
+ local.set $vDotCol|36
12133
12377
  i32.const 0
12134
- local.set $i|30
12135
- loop $for-loop|10
12136
- local.get $i|30
12378
+ local.set $i|37
12379
+ loop $for-loop|11
12380
+ local.get $i|37
12137
12381
  local.get $m
12138
12382
  local.get $k
12139
12383
  i32.sub
12140
12384
  i32.lt_s
12141
12385
  if
12142
- local.get $vDotCol|29
12386
+ local.get $vDotCol|36
12143
12387
  local.get $vBuf
12144
- local.get $i|30
12388
+ local.get $i|37
12145
12389
  call $~lib/typedarray/Float64Array#__get
12146
12390
  local.get $q_out
12147
12391
  local.get $k
12148
- local.get $i|30
12392
+ local.get $i|37
12149
12393
  i32.add
12150
12394
  local.get $m
12151
12395
  i32.mul
12152
- local.get $j|28
12396
+ local.get $j|35
12153
12397
  i32.add
12154
12398
  call $~lib/typedarray/Float64Array#__get
12155
12399
  f64.mul
12156
12400
  f64.add
12157
- local.set $vDotCol|29
12158
- local.get $i|30
12401
+ local.set $vDotCol|36
12402
+ local.get $i|37
12159
12403
  i32.const 1
12160
12404
  i32.add
12161
- local.set $i|30
12162
- br $for-loop|10
12405
+ local.set $i|37
12406
+ br $for-loop|11
12163
12407
  end
12164
12408
  end
12165
12409
  local.get $tau
12166
- local.get $vDotCol|29
12410
+ local.get $vDotCol|36
12167
12411
  f64.mul
12168
- local.set $factor|31
12412
+ local.set $factor|38
12169
12413
  i32.const 0
12170
- local.set $i|32
12171
- loop $for-loop|11
12172
- local.get $i|32
12414
+ local.set $i|39
12415
+ loop $for-loop|12
12416
+ local.get $i|39
12173
12417
  local.get $m
12174
12418
  local.get $k
12175
12419
  i32.sub
@@ -12177,64 +12421,64 @@
12177
12421
  if
12178
12422
  local.get $q_out
12179
12423
  local.get $k
12180
- local.get $i|32
12424
+ local.get $i|39
12181
12425
  i32.add
12182
12426
  local.get $m
12183
12427
  i32.mul
12184
- local.get $j|28
12428
+ local.get $j|35
12185
12429
  i32.add
12186
12430
  local.get $q_out
12187
12431
  local.get $k
12188
- local.get $i|32
12432
+ local.get $i|39
12189
12433
  i32.add
12190
12434
  local.get $m
12191
12435
  i32.mul
12192
- local.get $j|28
12436
+ local.get $j|35
12193
12437
  i32.add
12194
12438
  call $~lib/typedarray/Float64Array#__get
12195
- local.get $factor|31
12439
+ local.get $factor|38
12196
12440
  local.get $vBuf
12197
- local.get $i|32
12441
+ local.get $i|39
12198
12442
  call $~lib/typedarray/Float64Array#__get
12199
12443
  f64.mul
12200
12444
  f64.sub
12201
12445
  call $~lib/typedarray/Float64Array#__set
12202
- local.get $i|32
12446
+ local.get $i|39
12203
12447
  i32.const 1
12204
12448
  i32.add
12205
- local.set $i|32
12206
- br $for-loop|11
12449
+ local.set $i|39
12450
+ br $for-loop|12
12207
12451
  end
12208
12452
  end
12209
- local.get $j|28
12453
+ local.get $j|35
12210
12454
  i32.const 1
12211
12455
  i32.add
12212
- local.set $j|28
12213
- br $for-loop|9
12456
+ local.set $j|35
12457
+ br $for-loop|10
12214
12458
  end
12215
12459
  end
12216
12460
  local.get $k
12217
12461
  i32.const 1
12218
12462
  i32.add
12219
- local.set $i|33
12220
- loop $for-loop|12
12221
- local.get $i|33
12463
+ local.set $i|40
12464
+ loop $for-loop|13
12465
+ local.get $i|40
12222
12466
  local.get $m
12223
12467
  i32.lt_s
12224
12468
  if
12225
12469
  local.get $r_out
12226
- local.get $i|33
12470
+ local.get $i|40
12227
12471
  local.get $n
12228
12472
  i32.mul
12229
12473
  local.get $k
12230
12474
  i32.add
12231
12475
  f64.const 0
12232
12476
  call $~lib/typedarray/Float64Array#__set
12233
- local.get $i|33
12477
+ local.get $i|40
12234
12478
  i32.const 1
12235
12479
  i32.add
12236
- local.set $i|33
12237
- br $for-loop|12
12480
+ local.set $i|40
12481
+ br $for-loop|13
12238
12482
  end
12239
12483
  end
12240
12484
  end
@@ -12347,12 +12591,12 @@
12347
12591
  i32.mul
12348
12592
  local.get $j
12349
12593
  i32.add
12350
- block $~lib/math/NativeMath.sqrt|inlined.1 (result f64)
12594
+ block $~lib/math/NativeMath.sqrt|inlined.2 (result f64)
12351
12595
  local.get $sum
12352
12596
  local.set $x
12353
12597
  local.get $x
12354
12598
  f64.sqrt
12355
- br $~lib/math/NativeMath.sqrt|inlined.1
12599
+ br $~lib/math/NativeMath.sqrt|inlined.2
12356
12600
  end
12357
12601
  call $~lib/typedarray/Float64Array#__set
12358
12602
  else
@@ -12513,9 +12757,9 @@
12513
12757
  else
12514
12758
  i32.const 12896
12515
12759
  i32.const 13024
12516
- i32.const 290
12760
+ i32.const 357
12517
12761
  i32.const 10
12518
- call $~lib/builtins/abort
12762
+ call $src/abort/trapAbort
12519
12763
  unreachable
12520
12764
  end
12521
12765
  local.get $i|8
@@ -12538,7 +12782,7 @@
12538
12782
  i32.sub
12539
12783
  i32.lt_s
12540
12784
  if
12541
- block $~lib/math/NativeMath.abs|inlined.3 (result f64)
12785
+ block $~lib/math/NativeMath.abs|inlined.6 (result f64)
12542
12786
  local.get $work
12543
12787
  local.get $k
12544
12788
  local.get $n
@@ -12549,7 +12793,7 @@
12549
12793
  local.set $x
12550
12794
  local.get $x
12551
12795
  f64.abs
12552
- br $~lib/math/NativeMath.abs|inlined.3
12796
+ br $~lib/math/NativeMath.abs|inlined.6
12553
12797
  end
12554
12798
  local.set $maxVal
12555
12799
  local.get $k
@@ -12563,7 +12807,7 @@
12563
12807
  local.get $n
12564
12808
  i32.lt_s
12565
12809
  if
12566
- block $~lib/math/NativeMath.abs|inlined.4 (result f64)
12810
+ block $~lib/math/NativeMath.abs|inlined.7 (result f64)
12567
12811
  local.get $work
12568
12812
  local.get $i|14
12569
12813
  local.get $n
@@ -12574,7 +12818,7 @@
12574
12818
  local.set $x|15
12575
12819
  local.get $x|15
12576
12820
  f64.abs
12577
- br $~lib/math/NativeMath.abs|inlined.4
12821
+ br $~lib/math/NativeMath.abs|inlined.7
12578
12822
  end
12579
12823
  local.set $v
12580
12824
  local.get $v
@@ -12593,9 +12837,12 @@
12593
12837
  br $for-loop|3
12594
12838
  end
12595
12839
  end
12840
+ local.get $work
12841
+ local.get $n
12842
+ local.get $pivotRow
12843
+ local.get $k
12596
12844
  local.get $maxVal
12597
- global.get $src/algebra/decomposition/DECOMP_EPS
12598
- f64.lt
12845
+ call $src/algebra/decomposition/pivotIsZero
12599
12846
  if
12600
12847
  i32.const 0
12601
12848
  local.set $i|17
@@ -12700,9 +12947,9 @@
12700
12947
  else
12701
12948
  i32.const 12896
12702
12949
  i32.const 13024
12703
- i32.const 321
12950
+ i32.const 388
12704
12951
  i32.const 20
12705
- call $~lib/builtins/abort
12952
+ call $src/abort/trapAbort
12706
12953
  unreachable
12707
12954
  end
12708
12955
  local.set $fb
@@ -12811,7 +13058,15 @@
12811
13058
  br $for-loop|2
12812
13059
  end
12813
13060
  end
12814
- block $~lib/math/NativeMath.abs|inlined.5 (result f64)
13061
+ local.get $work
13062
+ local.get $n
13063
+ local.get $n
13064
+ i32.const 1
13065
+ i32.sub
13066
+ local.get $n
13067
+ i32.const 1
13068
+ i32.sub
13069
+ block $~lib/math/NativeMath.abs|inlined.8 (result f64)
12815
13070
  local.get $work
12816
13071
  local.get $n
12817
13072
  i32.const 1
@@ -12826,10 +13081,9 @@
12826
13081
  local.set $x|28
12827
13082
  local.get $x|28
12828
13083
  f64.abs
12829
- br $~lib/math/NativeMath.abs|inlined.5
13084
+ br $~lib/math/NativeMath.abs|inlined.8
12830
13085
  end
12831
- global.get $src/algebra/decomposition/DECOMP_EPS
12832
- f64.lt
13086
+ call $src/algebra/decomposition/pivotIsZero
12833
13087
  if
12834
13088
  i32.const 0
12835
13089
  local.set $i|29
@@ -12884,9 +13138,9 @@
12884
13138
  else
12885
13139
  i32.const 12896
12886
13140
  i32.const 13024
12887
- i32.const 349
13141
+ i32.const 416
12888
13142
  i32.const 61
12889
- call $~lib/builtins/abort
13143
+ call $src/abort/trapAbort
12890
13144
  unreachable
12891
13145
  end
12892
13146
  local.get $i|31
@@ -13088,7 +13342,7 @@
13088
13342
  i32.sub
13089
13343
  i32.lt_s
13090
13344
  if
13091
- block $~lib/math/NativeMath.abs|inlined.6 (result f64)
13345
+ block $~lib/math/NativeMath.abs|inlined.9 (result f64)
13092
13346
  local.get $work
13093
13347
  local.get $k
13094
13348
  local.get $n
@@ -13099,7 +13353,7 @@
13099
13353
  local.set $x
13100
13354
  local.get $x
13101
13355
  f64.abs
13102
- br $~lib/math/NativeMath.abs|inlined.6
13356
+ br $~lib/math/NativeMath.abs|inlined.9
13103
13357
  end
13104
13358
  local.set $maxVal
13105
13359
  local.get $k
@@ -13113,7 +13367,7 @@
13113
13367
  local.get $n
13114
13368
  i32.lt_s
13115
13369
  if
13116
- block $~lib/math/NativeMath.abs|inlined.7 (result f64)
13370
+ block $~lib/math/NativeMath.abs|inlined.10 (result f64)
13117
13371
  local.get $work
13118
13372
  local.get $i|9
13119
13373
  local.get $n
@@ -13124,7 +13378,7 @@
13124
13378
  local.set $x|10
13125
13379
  local.get $x|10
13126
13380
  f64.abs
13127
- br $~lib/math/NativeMath.abs|inlined.7
13381
+ br $~lib/math/NativeMath.abs|inlined.10
13128
13382
  end
13129
13383
  local.set $v
13130
13384
  local.get $v
@@ -13143,9 +13397,12 @@
13143
13397
  br $for-loop|2
13144
13398
  end
13145
13399
  end
13400
+ local.get $work
13401
+ local.get $n
13402
+ local.get $pivotRow
13403
+ local.get $k
13146
13404
  local.get $maxVal
13147
- global.get $src/algebra/decomposition/DECOMP_EPS
13148
- f64.lt
13405
+ call $src/algebra/decomposition/pivotIsZero
13149
13406
  if
13150
13407
  f64.const 0
13151
13408
  return
@@ -13386,7 +13643,7 @@
13386
13643
  i32.const 13232
13387
13644
  i32.const 26
13388
13645
  i32.const 28
13389
- call $~lib/builtins/abort
13646
+ call $src/abort/trapAbort
13390
13647
  unreachable
13391
13648
  end
13392
13649
  local.get $nr
@@ -13481,7 +13738,7 @@
13481
13738
  i32.const 13232
13482
13739
  i32.const 46
13483
13740
  i32.const 28
13484
- call $~lib/builtins/abort
13741
+ call $src/abort/trapAbort
13485
13742
  unreachable
13486
13743
  end
13487
13744
  local.get $nr
@@ -13588,7 +13845,7 @@
13588
13845
  i32.const 13232
13589
13846
  i32.const 66
13590
13847
  i32.const 33
13591
- call $~lib/builtins/abort
13848
+ call $src/abort/trapAbort
13592
13849
  unreachable
13593
13850
  end
13594
13851
  local.get $nr
@@ -13701,7 +13958,7 @@
13701
13958
  i32.const 13232
13702
13959
  i32.const 87
13703
13960
  i32.const 28
13704
- call $~lib/builtins/abort
13961
+ call $src/abort/trapAbort
13705
13962
  unreachable
13706
13963
  end
13707
13964
  local.get $nr
@@ -13784,12 +14041,12 @@
13784
14041
  (local $x|7 f64)
13785
14042
  (local $x|8 f64)
13786
14043
  f64.const 2
13787
- block $~lib/math/NativeMath.sqrt|inlined.2 (result f64)
14044
+ block $~lib/math/NativeMath.sqrt|inlined.3 (result f64)
13788
14045
  global.get $~lib/math/NativeMath.PI
13789
14046
  local.set $x|1
13790
14047
  local.get $x|1
13791
14048
  f64.sqrt
13792
- br $~lib/math/NativeMath.sqrt|inlined.2
14049
+ br $~lib/math/NativeMath.sqrt|inlined.3
13793
14050
  end
13794
14051
  f64.div
13795
14052
  local.set $c
@@ -13828,7 +14085,7 @@
13828
14085
  f64.div
13829
14086
  f64.mul
13830
14087
  local.set $term
13831
- block $~lib/math/NativeMath.abs|inlined.8 (result f64)
14088
+ block $~lib/math/NativeMath.abs|inlined.11 (result f64)
13832
14089
  local.get $term
13833
14090
  f64.const 2
13834
14091
  local.get $nf
@@ -13839,14 +14096,14 @@
13839
14096
  local.set $x|7
13840
14097
  local.get $x|7
13841
14098
  f64.abs
13842
- br $~lib/math/NativeMath.abs|inlined.8
14099
+ br $~lib/math/NativeMath.abs|inlined.11
13843
14100
  end
13844
- block $~lib/math/NativeMath.abs|inlined.9 (result f64)
14101
+ block $~lib/math/NativeMath.abs|inlined.12 (result f64)
13845
14102
  local.get $sum
13846
14103
  local.set $x|8
13847
14104
  local.get $x|8
13848
14105
  f64.abs
13849
- br $~lib/math/NativeMath.abs|inlined.9
14106
+ br $~lib/math/NativeMath.abs|inlined.12
13850
14107
  end
13851
14108
  f64.const 1e-15
13852
14109
  f64.mul
@@ -13888,12 +14145,12 @@
13888
14145
  f64.neg
13889
14146
  return
13890
14147
  end
13891
- block $~lib/math/NativeMath.abs|inlined.10 (result f64)
14148
+ block $~lib/math/NativeMath.abs|inlined.13 (result f64)
13892
14149
  local.get $x
13893
14150
  local.set $x|1
13894
14151
  local.get $x|1
13895
14152
  f64.abs
13896
- br $~lib/math/NativeMath.abs|inlined.10
14153
+ br $~lib/math/NativeMath.abs|inlined.13
13897
14154
  end
13898
14155
  f64.const 40
13899
14156
  f64.le
@@ -13925,21 +14182,21 @@
13925
14182
  f64.div
13926
14183
  f64.add
13927
14184
  local.set $sum
13928
- block $~lib/math/NativeMath.abs|inlined.11 (result f64)
14185
+ block $~lib/math/NativeMath.abs|inlined.14 (result f64)
13929
14186
  local.get $term
13930
14187
  local.get $nf
13931
14188
  f64.div
13932
14189
  local.set $x|6
13933
14190
  local.get $x|6
13934
14191
  f64.abs
13935
- br $~lib/math/NativeMath.abs|inlined.11
14192
+ br $~lib/math/NativeMath.abs|inlined.14
13936
14193
  end
13937
- block $~lib/math/NativeMath.abs|inlined.12 (result f64)
14194
+ block $~lib/math/NativeMath.abs|inlined.15 (result f64)
13938
14195
  local.get $sum
13939
14196
  local.set $x|7
13940
14197
  local.get $x|7
13941
14198
  f64.abs
13942
- br $~lib/math/NativeMath.abs|inlined.12
14199
+ br $~lib/math/NativeMath.abs|inlined.15
13943
14200
  end
13944
14201
  f64.const 1e-15
13945
14202
  f64.mul
@@ -13956,12 +14213,12 @@
13956
14213
  end
13957
14214
  end
13958
14215
  global.get $src/ops/special/EULER
13959
- block $~lib/math/NativeMath.abs|inlined.13 (result f64)
14216
+ block $~lib/math/NativeMath.abs|inlined.16 (result f64)
13960
14217
  local.get $x
13961
14218
  local.set $x|8
13962
14219
  local.get $x|8
13963
14220
  f64.abs
13964
- br $~lib/math/NativeMath.abs|inlined.13
14221
+ br $~lib/math/NativeMath.abs|inlined.16
13965
14222
  end
13966
14223
  call $~lib/math/NativeMath.log
13967
14224
  f64.add
@@ -13992,12 +14249,12 @@
13992
14249
  local.get $term|10
13993
14250
  f64.add
13994
14251
  local.set $sum|9
13995
- block $~lib/math/NativeMath.abs|inlined.14 (result f64)
14252
+ block $~lib/math/NativeMath.abs|inlined.17 (result f64)
13996
14253
  local.get $term|10
13997
14254
  local.set $x|12
13998
14255
  local.get $x|12
13999
14256
  f64.abs
14000
- br $~lib/math/NativeMath.abs|inlined.14
14257
+ br $~lib/math/NativeMath.abs|inlined.17
14001
14258
  end
14002
14259
  f64.const 1e-15
14003
14260
  f64.lt
@@ -14045,12 +14302,12 @@
14045
14302
  f64.const 1
14046
14303
  end
14047
14304
  local.set $sign
14048
- block $~lib/math/NativeMath.abs|inlined.15 (result f64)
14305
+ block $~lib/math/NativeMath.abs|inlined.18 (result f64)
14049
14306
  local.get $x
14050
14307
  local.set $x|2
14051
14308
  local.get $x|2
14052
14309
  f64.abs
14053
- br $~lib/math/NativeMath.abs|inlined.15
14310
+ br $~lib/math/NativeMath.abs|inlined.18
14054
14311
  end
14055
14312
  local.set $ax
14056
14313
  f64.const 0
@@ -14097,7 +14354,7 @@
14097
14354
  f64.div
14098
14355
  f64.mul
14099
14356
  local.set $term
14100
- block $~lib/math/NativeMath.abs|inlined.16 (result f64)
14357
+ block $~lib/math/NativeMath.abs|inlined.19 (result f64)
14101
14358
  local.get $term
14102
14359
  f64.const 2
14103
14360
  local.get $nf
@@ -14108,7 +14365,7 @@
14108
14365
  local.set $x|8
14109
14366
  local.get $x|8
14110
14367
  f64.abs
14111
- br $~lib/math/NativeMath.abs|inlined.16
14368
+ br $~lib/math/NativeMath.abs|inlined.19
14112
14369
  end
14113
14370
  f64.const 1e-15
14114
14371
  f64.lt
@@ -14194,7 +14451,7 @@
14194
14451
  f64.div
14195
14452
  f64.add
14196
14453
  local.set $sum
14197
- block $~lib/math/NativeMath.abs|inlined.17 (result f64)
14454
+ block $~lib/math/NativeMath.abs|inlined.20 (result f64)
14198
14455
  local.get $term
14199
14456
  f64.const 2
14200
14457
  local.get $nf
@@ -14203,7 +14460,7 @@
14203
14460
  local.set $x|5
14204
14461
  local.get $x|5
14205
14462
  f64.abs
14206
- br $~lib/math/NativeMath.abs|inlined.17
14463
+ br $~lib/math/NativeMath.abs|inlined.20
14207
14464
  end
14208
14465
  f64.const 1e-16
14209
14466
  f64.lt
@@ -14287,22 +14544,22 @@
14287
14544
  local.get $gTerm
14288
14545
  f64.add
14289
14546
  local.set $g
14290
- block $~lib/math/NativeMath.abs|inlined.18 (result f64)
14547
+ block $~lib/math/NativeMath.abs|inlined.21 (result f64)
14291
14548
  local.get $fTerm
14292
14549
  local.set $x|13
14293
14550
  local.get $x|13
14294
14551
  f64.abs
14295
- br $~lib/math/NativeMath.abs|inlined.18
14552
+ br $~lib/math/NativeMath.abs|inlined.21
14296
14553
  end
14297
14554
  f64.const 1e-17
14298
14555
  f64.lt
14299
14556
  if (result i32)
14300
- block $~lib/math/NativeMath.abs|inlined.19 (result f64)
14557
+ block $~lib/math/NativeMath.abs|inlined.22 (result f64)
14301
14558
  local.get $gTerm
14302
14559
  local.set $x|14
14303
14560
  local.get $x|14
14304
14561
  f64.abs
14305
- br $~lib/math/NativeMath.abs|inlined.19
14562
+ br $~lib/math/NativeMath.abs|inlined.22
14306
14563
  end
14307
14564
  f64.const 1e-17
14308
14565
  f64.lt
@@ -15745,7 +16002,7 @@
15745
16002
  i32.const 13632
15746
16003
  i32.const 70
15747
16004
  i32.const 60
15748
- call $~lib/builtins/abort
16005
+ call $src/abort/trapAbort
15749
16006
  unreachable
15750
16007
  end
15751
16008
  local.get $length
@@ -15823,7 +16080,7 @@
15823
16080
  i32.const 96
15824
16081
  i32.const 45
15825
16082
  i32.const 3
15826
- call $~lib/builtins/abort
16083
+ call $src/abort/trapAbort
15827
16084
  unreachable
15828
16085
  end
15829
16086
  local.get $ptr
@@ -15870,7 +16127,7 @@
15870
16127
  i32.const 96
15871
16128
  i32.const 52
15872
16129
  i32.const 33
15873
- call $~lib/builtins/abort
16130
+ call $src/abort/trapAbort
15874
16131
  unreachable
15875
16132
  end
15876
16133
  local.get $ptr
@@ -15928,7 +16185,7 @@
15928
16185
  i32.const 96
15929
16186
  i32.const 99
15930
16187
  i32.const 30
15931
- call $~lib/builtins/abort
16188
+ call $src/abort/trapAbort
15932
16189
  unreachable
15933
16190
  end
15934
16191
  local.get $oldPtr
@@ -15979,7 +16236,7 @@
15979
16236
  i32.const 13632
15980
16237
  i32.const 19
15981
16238
  i32.const 48
15982
- call $~lib/builtins/abort
16239
+ call $src/abort/trapAbort
15983
16240
  unreachable
15984
16241
  end
15985
16242
  local.get $array
@@ -16071,7 +16328,7 @@
16071
16328
  i32.const 13632
16072
16329
  i32.const 130
16073
16330
  i32.const 22
16074
- call $~lib/builtins/abort
16331
+ call $src/abort/trapAbort
16075
16332
  unreachable
16076
16333
  end
16077
16334
  local.get $this
@@ -16146,7 +16403,7 @@
16146
16403
  i32.const 13632
16147
16404
  i32.const 114
16148
16405
  i32.const 42
16149
- call $~lib/builtins/abort
16406
+ call $src/abort/trapAbort
16150
16407
  unreachable
16151
16408
  end
16152
16409
  local.get $this
@@ -16576,7 +16833,7 @@
16576
16833
  i32.const 13632
16577
16834
  i32.const 70
16578
16835
  i32.const 60
16579
- call $~lib/builtins/abort
16836
+ call $src/abort/trapAbort
16580
16837
  unreachable
16581
16838
  end
16582
16839
  local.get $length
@@ -16638,7 +16895,7 @@
16638
16895
  i32.const 13632
16639
16896
  i32.const 130
16640
16897
  i32.const 22
16641
- call $~lib/builtins/abort
16898
+ call $src/abort/trapAbort
16642
16899
  unreachable
16643
16900
  end
16644
16901
  local.get $this
@@ -16873,7 +17130,7 @@
16873
17130
  i32.const 13632
16874
17131
  i32.const 114
16875
17132
  i32.const 42
16876
- call $~lib/builtins/abort
17133
+ call $src/abort/trapAbort
16877
17134
  unreachable
16878
17135
  end
16879
17136
  local.get $this
@@ -16896,7 +17153,7 @@
16896
17153
  i32.const 13632
16897
17154
  i32.const 118
16898
17155
  i32.const 40
16899
- call $~lib/builtins/abort
17156
+ call $src/abort/trapAbort
16900
17157
  unreachable
16901
17158
  end
16902
17159
  local.get $value
@@ -17235,7 +17492,7 @@
17235
17492
  if
17236
17493
  local.get $col
17237
17494
  local.set $maxRow
17238
- block $~lib/math/NativeMath.abs|inlined.20 (result f64)
17495
+ block $~lib/math/NativeMath.abs|inlined.23 (result f64)
17239
17496
  local.get $m
17240
17497
  local.get $col
17241
17498
  local.get $n
@@ -17246,7 +17503,7 @@
17246
17503
  local.set $x
17247
17504
  local.get $x
17248
17505
  f64.abs
17249
- br $~lib/math/NativeMath.abs|inlined.20
17506
+ br $~lib/math/NativeMath.abs|inlined.23
17250
17507
  end
17251
17508
  local.set $maxVal
17252
17509
  local.get $col
@@ -17258,7 +17515,7 @@
17258
17515
  local.get $n
17259
17516
  i32.lt_s
17260
17517
  if
17261
- block $~lib/math/NativeMath.abs|inlined.21 (result f64)
17518
+ block $~lib/math/NativeMath.abs|inlined.24 (result f64)
17262
17519
  local.get $m
17263
17520
  local.get $row
17264
17521
  local.get $n
@@ -17269,7 +17526,7 @@
17269
17526
  local.set $x|8
17270
17527
  local.get $x|8
17271
17528
  f64.abs
17272
- br $~lib/math/NativeMath.abs|inlined.21
17529
+ br $~lib/math/NativeMath.abs|inlined.24
17273
17530
  end
17274
17531
  local.set $v
17275
17532
  local.get $v
@@ -18212,7 +18469,7 @@
18212
18469
  i32.eq
18213
18470
  if
18214
18471
  f64.const 1
18215
- block $~lib/math/NativeMath.abs|inlined.22 (result f64)
18472
+ block $~lib/math/NativeMath.abs|inlined.25 (result f64)
18216
18473
  f64.const 2
18217
18474
  local.get $fi
18218
18475
  f64.mul
@@ -18223,7 +18480,7 @@
18223
18480
  local.set $x
18224
18481
  local.get $x
18225
18482
  f64.abs
18226
- br $~lib/math/NativeMath.abs|inlined.22
18483
+ br $~lib/math/NativeMath.abs|inlined.25
18227
18484
  end
18228
18485
  f64.sub
18229
18486
  local.set $v
@@ -18780,6 +19037,19 @@
18780
19037
  return
18781
19038
  end
18782
19039
  local.get $frameLength
19040
+ local.get $frameLength
19041
+ i32.const 1
19042
+ i32.sub
19043
+ i32.and
19044
+ i32.const 0
19045
+ i32.ne
19046
+ if
19047
+ i32.const 0
19048
+ i32.const 0
19049
+ call $~lib/typedarray/Float64Array#constructor
19050
+ return
19051
+ end
19052
+ local.get $frameLength
18783
19053
  i32.const 2
18784
19054
  i32.div_s
18785
19055
  i32.const 1
@@ -19710,7 +19980,7 @@
19710
19980
  end
19711
19981
  local.get $pivotRow
19712
19982
  local.set $maxRow
19713
- block $~lib/math/NativeMath.abs|inlined.23 (result f64)
19983
+ block $~lib/math/NativeMath.abs|inlined.26 (result f64)
19714
19984
  local.get $out
19715
19985
  local.get $pivotRow
19716
19986
  local.get $n
@@ -19721,7 +19991,7 @@
19721
19991
  local.set $x
19722
19992
  local.get $x
19723
19993
  f64.abs
19724
- br $~lib/math/NativeMath.abs|inlined.23
19994
+ br $~lib/math/NativeMath.abs|inlined.26
19725
19995
  end
19726
19996
  local.set $maxVal
19727
19997
  local.get $pivotRow
@@ -19733,7 +20003,7 @@
19733
20003
  local.get $m
19734
20004
  i32.lt_s
19735
20005
  if
19736
- block $~lib/math/NativeMath.abs|inlined.24 (result f64)
20006
+ block $~lib/math/NativeMath.abs|inlined.27 (result f64)
19737
20007
  local.get $out
19738
20008
  local.get $row
19739
20009
  local.get $n
@@ -19744,7 +20014,7 @@
19744
20014
  local.set $x|12
19745
20015
  local.get $x|12
19746
20016
  f64.abs
19747
- br $~lib/math/NativeMath.abs|inlined.24
20017
+ br $~lib/math/NativeMath.abs|inlined.27
19748
20018
  end
19749
20019
  local.set $v
19750
20020
  local.get $v
@@ -19878,12 +20148,12 @@
19878
20148
  i32.add
19879
20149
  call $~lib/typedarray/Float64Array#__get
19880
20150
  local.set $factor
19881
- block $~lib/math/NativeMath.abs|inlined.25 (result f64)
20151
+ block $~lib/math/NativeMath.abs|inlined.28 (result f64)
19882
20152
  local.get $factor
19883
20153
  local.set $x|20
19884
20154
  local.get $x|20
19885
20155
  f64.abs
19886
- br $~lib/math/NativeMath.abs|inlined.25
20156
+ br $~lib/math/NativeMath.abs|inlined.28
19887
20157
  end
19888
20158
  local.get $tol
19889
20159
  f64.lt
@@ -19958,14 +20228,14 @@
19958
20228
  i32.mul
19959
20229
  i32.lt_s
19960
20230
  if
19961
- block $~lib/math/NativeMath.abs|inlined.26 (result f64)
20231
+ block $~lib/math/NativeMath.abs|inlined.29 (result f64)
19962
20232
  local.get $out
19963
20233
  local.get $i|22
19964
20234
  call $~lib/typedarray/Float64Array#__get
19965
20235
  local.set $x|23
19966
20236
  local.get $x|23
19967
20237
  f64.abs
19968
- br $~lib/math/NativeMath.abs|inlined.26
20238
+ br $~lib/math/NativeMath.abs|inlined.29
19969
20239
  end
19970
20240
  local.get $tol
19971
20241
  f64.lt
@@ -20308,14 +20578,14 @@
20308
20578
  local.get $n
20309
20579
  i32.lt_s
20310
20580
  if
20311
- block $~lib/math/NativeMath.abs|inlined.27 (result f64)
20581
+ block $~lib/math/NativeMath.abs|inlined.30 (result f64)
20312
20582
  local.get $ys
20313
20583
  local.get $i
20314
20584
  call $~lib/typedarray/Float64Array#__get
20315
20585
  local.set $x
20316
20586
  local.get $x
20317
20587
  f64.abs
20318
- br $~lib/math/NativeMath.abs|inlined.27
20588
+ br $~lib/math/NativeMath.abs|inlined.30
20319
20589
  end
20320
20590
  local.set $absy
20321
20591
  local.get $absy
@@ -20909,7 +21179,7 @@
20909
21179
  local.get $n
20910
21180
  i32.lt_s
20911
21181
  if
20912
- block $~lib/math/NativeMath.abs|inlined.28 (result f64)
21182
+ block $~lib/math/NativeMath.abs|inlined.31 (result f64)
20913
21183
  local.get $xNew
20914
21184
  local.get $i|22
20915
21185
  call $~lib/typedarray/Float64Array#__get
@@ -20920,7 +21190,7 @@
20920
21190
  local.set $x|23
20921
21191
  local.get $x|23
20922
21192
  f64.abs
20923
- br $~lib/math/NativeMath.abs|inlined.28
21193
+ br $~lib/math/NativeMath.abs|inlined.31
20924
21194
  end
20925
21195
  local.set $d
20926
21196
  local.get $d
@@ -21372,7 +21642,7 @@
21372
21642
  local.get $rows
21373
21643
  i32.lt_s
21374
21644
  if
21375
- block $~lib/math/NativeMath.abs|inlined.29 (result f64)
21645
+ block $~lib/math/NativeMath.abs|inlined.32 (result f64)
21376
21646
  local.get $t
21377
21647
  local.get $i|30
21378
21648
  local.get $cols
@@ -21385,7 +21655,7 @@
21385
21655
  local.set $x|31
21386
21656
  local.get $x|31
21387
21657
  f64.abs
21388
- br $~lib/math/NativeMath.abs|inlined.29
21658
+ br $~lib/math/NativeMath.abs|inlined.32
21389
21659
  end
21390
21660
  f64.const 1e-10
21391
21661
  f64.lt
@@ -21401,7 +21671,7 @@
21401
21671
  local.get $i|30
21402
21672
  local.set $basicRow
21403
21673
  else
21404
- block $~lib/math/NativeMath.abs|inlined.30 (result f64)
21674
+ block $~lib/math/NativeMath.abs|inlined.33 (result f64)
21405
21675
  local.get $t
21406
21676
  local.get $i|30
21407
21677
  local.get $cols
@@ -21412,7 +21682,7 @@
21412
21682
  local.set $x|32
21413
21683
  local.get $x|32
21414
21684
  f64.abs
21415
- br $~lib/math/NativeMath.abs|inlined.30
21685
+ br $~lib/math/NativeMath.abs|inlined.33
21416
21686
  end
21417
21687
  f64.const 1e-10
21418
21688
  f64.gt
@@ -21560,7 +21830,7 @@
21560
21830
  end
21561
21831
  local.get $r
21562
21832
  local.set $maxRow
21563
- block $~lib/math/NativeMath.abs|inlined.31 (result f64)
21833
+ block $~lib/math/NativeMath.abs|inlined.34 (result f64)
21564
21834
  local.get $mm
21565
21835
  local.get $r
21566
21836
  local.get $n
@@ -21571,7 +21841,7 @@
21571
21841
  local.set $x
21572
21842
  local.get $x
21573
21843
  f64.abs
21574
- br $~lib/math/NativeMath.abs|inlined.31
21844
+ br $~lib/math/NativeMath.abs|inlined.34
21575
21845
  end
21576
21846
  local.set $maxVal
21577
21847
  local.get $r
@@ -21583,7 +21853,7 @@
21583
21853
  local.get $m
21584
21854
  i32.lt_s
21585
21855
  if
21586
- block $~lib/math/NativeMath.abs|inlined.32 (result f64)
21856
+ block $~lib/math/NativeMath.abs|inlined.35 (result f64)
21587
21857
  local.get $mm
21588
21858
  local.get $row
21589
21859
  local.get $n
@@ -21594,7 +21864,7 @@
21594
21864
  local.set $x|13
21595
21865
  local.get $x|13
21596
21866
  f64.abs
21597
- br $~lib/math/NativeMath.abs|inlined.32
21867
+ br $~lib/math/NativeMath.abs|inlined.35
21598
21868
  end
21599
21869
  local.set $v
21600
21870
  local.get $v
@@ -21717,7 +21987,7 @@
21717
21987
  local.get $r
21718
21988
  i32.ne
21719
21989
  if (result i32)
21720
- block $~lib/math/NativeMath.abs|inlined.33 (result f64)
21990
+ block $~lib/math/NativeMath.abs|inlined.36 (result f64)
21721
21991
  local.get $mm
21722
21992
  local.get $row|19
21723
21993
  local.get $n
@@ -21728,7 +21998,7 @@
21728
21998
  local.set $x|20
21729
21999
  local.get $x|20
21730
22000
  f64.abs
21731
- br $~lib/math/NativeMath.abs|inlined.33
22001
+ br $~lib/math/NativeMath.abs|inlined.36
21732
22002
  end
21733
22003
  f64.const 1e-15
21734
22004
  f64.gt
@@ -22266,14 +22536,14 @@
22266
22536
  local.get $n
22267
22537
  i32.lt_s
22268
22538
  if
22269
- block $~lib/math/NativeMath.abs|inlined.34 (result f64)
22539
+ block $~lib/math/NativeMath.abs|inlined.37 (result f64)
22270
22540
  local.get $im
22271
22541
  local.get $i|25
22272
22542
  call $~lib/typedarray/Float64Array#__get
22273
22543
  local.set $x
22274
22544
  local.get $x
22275
22545
  f64.abs
22276
- br $~lib/math/NativeMath.abs|inlined.34
22546
+ br $~lib/math/NativeMath.abs|inlined.37
22277
22547
  end
22278
22548
  f64.const 1e-08
22279
22549
  f64.lt
@@ -22525,7 +22795,7 @@
22525
22795
  if
22526
22796
  local.get $col
22527
22797
  local.set $maxRow
22528
- block $~lib/math/NativeMath.abs|inlined.35 (result f64)
22798
+ block $~lib/math/NativeMath.abs|inlined.38 (result f64)
22529
22799
  local.get $m
22530
22800
  local.get $col
22531
22801
  local.get $w
@@ -22536,7 +22806,7 @@
22536
22806
  local.set $x
22537
22807
  local.get $x
22538
22808
  f64.abs
22539
- br $~lib/math/NativeMath.abs|inlined.35
22809
+ br $~lib/math/NativeMath.abs|inlined.38
22540
22810
  end
22541
22811
  local.set $maxVal
22542
22812
  local.get $col
@@ -22548,7 +22818,7 @@
22548
22818
  local.get $n
22549
22819
  i32.lt_s
22550
22820
  if
22551
- block $~lib/math/NativeMath.abs|inlined.36 (result f64)
22821
+ block $~lib/math/NativeMath.abs|inlined.39 (result f64)
22552
22822
  local.get $m
22553
22823
  local.get $row
22554
22824
  local.get $w
@@ -22559,7 +22829,7 @@
22559
22829
  local.set $x|12
22560
22830
  local.get $x|12
22561
22831
  f64.abs
22562
- br $~lib/math/NativeMath.abs|inlined.36
22832
+ br $~lib/math/NativeMath.abs|inlined.39
22563
22833
  end
22564
22834
  local.set $v
22565
22835
  local.get $v
@@ -23635,19 +23905,212 @@
23635
23905
  call $src/types/complex/Complex#reciprocal
23636
23906
  return
23637
23907
  )
23908
+ (func $~lib/math/NativeMath.hypot (param $x f64) (param $y f64) (result f64)
23909
+ (local $ux i64)
23910
+ (local $uy i64)
23911
+ (local $ut i64)
23912
+ (local $ex i32)
23913
+ (local $ey i32)
23914
+ (local $z f64)
23915
+ (local $c f64)
23916
+ (local $h f64)
23917
+ (local $l f64)
23918
+ (local $hx f64)
23919
+ (local $lx f64)
23920
+ (local $hy f64)
23921
+ (local $ly f64)
23922
+ local.get $x
23923
+ i64.reinterpret_f64
23924
+ local.set $ux
23925
+ local.get $y
23926
+ i64.reinterpret_f64
23927
+ local.set $uy
23928
+ local.get $ux
23929
+ i64.const 9223372036854775807
23930
+ i64.and
23931
+ local.set $ux
23932
+ local.get $uy
23933
+ i64.const 9223372036854775807
23934
+ i64.and
23935
+ local.set $uy
23936
+ local.get $ux
23937
+ local.get $uy
23938
+ i64.lt_u
23939
+ if
23940
+ local.get $ux
23941
+ local.set $ut
23942
+ local.get $uy
23943
+ local.set $ux
23944
+ local.get $ut
23945
+ local.set $uy
23946
+ end
23947
+ local.get $ux
23948
+ i64.const 52
23949
+ i64.shr_u
23950
+ i32.wrap_i64
23951
+ local.set $ex
23952
+ local.get $uy
23953
+ i64.const 52
23954
+ i64.shr_u
23955
+ i32.wrap_i64
23956
+ local.set $ey
23957
+ local.get $uy
23958
+ f64.reinterpret_i64
23959
+ local.set $y
23960
+ local.get $ey
23961
+ i32.const 2047
23962
+ i32.eq
23963
+ if
23964
+ local.get $y
23965
+ return
23966
+ end
23967
+ local.get $ux
23968
+ f64.reinterpret_i64
23969
+ local.set $x
23970
+ local.get $ex
23971
+ i32.const 2047
23972
+ i32.eq
23973
+ if (result i32)
23974
+ i32.const 1
23975
+ else
23976
+ local.get $uy
23977
+ i64.const 0
23978
+ i64.eq
23979
+ end
23980
+ if
23981
+ local.get $x
23982
+ return
23983
+ end
23984
+ local.get $ex
23985
+ local.get $ey
23986
+ i32.sub
23987
+ i32.const 64
23988
+ i32.gt_s
23989
+ if
23990
+ local.get $x
23991
+ local.get $y
23992
+ f64.add
23993
+ return
23994
+ end
23995
+ f64.const 1
23996
+ local.set $z
23997
+ local.get $ex
23998
+ i32.const 1023
23999
+ i32.const 510
24000
+ i32.add
24001
+ i32.gt_s
24002
+ if
24003
+ f64.const 5260135901548373507240989e186
24004
+ local.set $z
24005
+ local.get $x
24006
+ f64.const 1.90109156629516e-211
24007
+ f64.mul
24008
+ local.set $x
24009
+ local.get $y
24010
+ f64.const 1.90109156629516e-211
24011
+ f64.mul
24012
+ local.set $y
24013
+ else
24014
+ local.get $ey
24015
+ i32.const 1023
24016
+ i32.const 450
24017
+ i32.sub
24018
+ i32.lt_s
24019
+ if
24020
+ f64.const 1.90109156629516e-211
24021
+ local.set $z
24022
+ local.get $x
24023
+ f64.const 5260135901548373507240989e186
24024
+ f64.mul
24025
+ local.set $x
24026
+ local.get $y
24027
+ f64.const 5260135901548373507240989e186
24028
+ f64.mul
24029
+ local.set $y
24030
+ end
24031
+ end
24032
+ local.get $x
24033
+ f64.const 134217729
24034
+ f64.mul
24035
+ local.set $c
24036
+ local.get $x
24037
+ local.get $c
24038
+ f64.sub
24039
+ local.get $c
24040
+ f64.add
24041
+ local.set $h
24042
+ local.get $x
24043
+ local.get $h
24044
+ f64.sub
24045
+ local.set $l
24046
+ local.get $x
24047
+ local.get $x
24048
+ f64.mul
24049
+ local.set $hx
24050
+ local.get $h
24051
+ local.get $h
24052
+ f64.mul
24053
+ local.get $hx
24054
+ f64.sub
24055
+ f64.const 2
24056
+ local.get $h
24057
+ f64.mul
24058
+ local.get $l
24059
+ f64.add
24060
+ local.get $l
24061
+ f64.mul
24062
+ f64.add
24063
+ local.set $lx
24064
+ local.get $y
24065
+ f64.const 134217729
24066
+ f64.mul
24067
+ local.set $c
24068
+ local.get $y
24069
+ local.get $c
24070
+ f64.sub
24071
+ local.get $c
24072
+ f64.add
24073
+ local.set $h
24074
+ local.get $y
24075
+ local.get $h
24076
+ f64.sub
24077
+ local.set $l
24078
+ local.get $y
24079
+ local.get $y
24080
+ f64.mul
24081
+ local.set $hy
24082
+ local.get $h
24083
+ local.get $h
24084
+ f64.mul
24085
+ local.get $hy
24086
+ f64.sub
24087
+ f64.const 2
24088
+ local.get $h
24089
+ f64.mul
24090
+ local.get $l
24091
+ f64.add
24092
+ local.get $l
24093
+ f64.mul
24094
+ f64.add
24095
+ local.set $ly
24096
+ local.get $z
24097
+ local.get $ly
24098
+ local.get $lx
24099
+ f64.add
24100
+ local.get $hy
24101
+ f64.add
24102
+ local.get $hx
24103
+ f64.add
24104
+ f64.sqrt
24105
+ f64.mul
24106
+ return
24107
+ )
23638
24108
  (func $src/types/complex/Complex#abs (param $this i32) (result f64)
23639
24109
  local.get $this
23640
24110
  call $src/types/complex/Complex#get:re
23641
24111
  local.get $this
23642
- call $src/types/complex/Complex#get:re
23643
- f64.mul
23644
- local.get $this
23645
24112
  call $src/types/complex/Complex#get:im
23646
- local.get $this
23647
- call $src/types/complex/Complex#get:im
23648
- f64.mul
23649
- f64.add
23650
- f64.sqrt
24113
+ call $~lib/math/NativeMath.hypot
23651
24114
  return
23652
24115
  )
23653
24116
  (func $src/ops/complex-ops/complex_abs (param $a i32) (result f64)
@@ -25349,12 +25812,12 @@
25349
25812
  br $for-loop|1
25350
25813
  end
25351
25814
  end
25352
- block $~lib/math/NativeMath.sqrt|inlined.3 (result f64)
25815
+ block $~lib/math/NativeMath.sqrt|inlined.4 (result f64)
25353
25816
  local.get $norm2
25354
25817
  local.set $x
25355
25818
  local.get $x
25356
25819
  f64.sqrt
25357
- br $~lib/math/NativeMath.sqrt|inlined.3
25820
+ br $~lib/math/NativeMath.sqrt|inlined.4
25358
25821
  end
25359
25822
  local.set $norm
25360
25823
  local.get $norm
@@ -25730,12 +26193,12 @@
25730
26193
  i32.add
25731
26194
  call $~lib/typedarray/Float64Array#__get
25732
26195
  local.set $r_ii
25733
- block $~lib/math/NativeMath.abs|inlined.37 (result f64)
26196
+ block $~lib/math/NativeMath.abs|inlined.40 (result f64)
25734
26197
  local.get $r_ii
25735
26198
  local.set $x|27
25736
26199
  local.get $x|27
25737
26200
  f64.abs
25738
- br $~lib/math/NativeMath.abs|inlined.37
26201
+ br $~lib/math/NativeMath.abs|inlined.40
25739
26202
  end
25740
26203
  f64.const 1e-12
25741
26204
  f64.lt
@@ -26462,7 +26925,7 @@
26462
26925
  if
26463
26926
  local.get $col
26464
26927
  local.set $maxRow
26465
- block $~lib/math/NativeMath.abs|inlined.38 (result f64)
26928
+ block $~lib/math/NativeMath.abs|inlined.41 (result f64)
26466
26929
  local.get $m
26467
26930
  local.get $col
26468
26931
  local.get $n
@@ -26473,7 +26936,7 @@
26473
26936
  local.set $x
26474
26937
  local.get $x
26475
26938
  f64.abs
26476
- br $~lib/math/NativeMath.abs|inlined.38
26939
+ br $~lib/math/NativeMath.abs|inlined.41
26477
26940
  end
26478
26941
  local.set $maxVal
26479
26942
  local.get $col
@@ -26485,7 +26948,7 @@
26485
26948
  local.get $n
26486
26949
  i32.lt_s
26487
26950
  if
26488
- block $~lib/math/NativeMath.abs|inlined.39 (result f64)
26951
+ block $~lib/math/NativeMath.abs|inlined.42 (result f64)
26489
26952
  local.get $m
26490
26953
  local.get $row
26491
26954
  local.get $n
@@ -26496,7 +26959,7 @@
26496
26959
  local.set $x|10
26497
26960
  local.get $x|10
26498
26961
  f64.abs
26499
- br $~lib/math/NativeMath.abs|inlined.39
26962
+ br $~lib/math/NativeMath.abs|inlined.42
26500
26963
  end
26501
26964
  local.set $v
26502
26965
  local.get $v
@@ -27867,12 +28330,12 @@
27867
28330
  (local $x|7 f64)
27868
28331
  (local $x|8 f64)
27869
28332
  f64.const 2
27870
- block $~lib/math/NativeMath.sqrt|inlined.4 (result f64)
28333
+ block $~lib/math/NativeMath.sqrt|inlined.5 (result f64)
27871
28334
  global.get $~lib/math/NativeMath.PI
27872
28335
  local.set $x
27873
28336
  local.get $x
27874
28337
  f64.sqrt
27875
- br $~lib/math/NativeMath.sqrt|inlined.4
28338
+ br $~lib/math/NativeMath.sqrt|inlined.5
27876
28339
  end
27877
28340
  f64.div
27878
28341
  local.set $c
@@ -27911,19 +28374,19 @@
27911
28374
  local.get $inc
27912
28375
  f64.add
27913
28376
  local.set $sum
27914
- block $~lib/math/NativeMath.abs|inlined.40 (result f64)
28377
+ block $~lib/math/NativeMath.abs|inlined.43 (result f64)
27915
28378
  local.get $inc
27916
28379
  local.set $x|7
27917
28380
  local.get $x|7
27918
28381
  f64.abs
27919
- br $~lib/math/NativeMath.abs|inlined.40
28382
+ br $~lib/math/NativeMath.abs|inlined.43
27920
28383
  end
27921
- block $~lib/math/NativeMath.abs|inlined.41 (result f64)
28384
+ block $~lib/math/NativeMath.abs|inlined.44 (result f64)
27922
28385
  local.get $sum
27923
28386
  local.set $x|8
27924
28387
  local.get $x|8
27925
28388
  f64.abs
27926
- br $~lib/math/NativeMath.abs|inlined.41
28389
+ br $~lib/math/NativeMath.abs|inlined.44
27927
28390
  end
27928
28391
  f64.const 1e-17
27929
28392
  f64.mul
@@ -28017,14 +28480,14 @@
28017
28480
  local.get $delta
28018
28481
  f64.mul
28019
28482
  local.set $f
28020
- block $~lib/math/NativeMath.abs|inlined.42 (result f64)
28483
+ block $~lib/math/NativeMath.abs|inlined.45 (result f64)
28021
28484
  local.get $delta
28022
28485
  f64.const 1
28023
28486
  f64.sub
28024
28487
  local.set $x
28025
28488
  local.get $x
28026
28489
  f64.abs
28027
- br $~lib/math/NativeMath.abs|inlined.42
28490
+ br $~lib/math/NativeMath.abs|inlined.45
28028
28491
  end
28029
28492
  f64.const 1e-16
28030
28493
  f64.lt
@@ -28044,12 +28507,12 @@
28044
28507
  local.get $a
28045
28508
  f64.mul
28046
28509
  call $~lib/math/NativeMath.exp
28047
- block $~lib/math/NativeMath.sqrt|inlined.5 (result f64)
28510
+ block $~lib/math/NativeMath.sqrt|inlined.6 (result f64)
28048
28511
  global.get $~lib/math/NativeMath.PI
28049
28512
  local.set $x|8
28050
28513
  local.get $x|8
28051
28514
  f64.sqrt
28052
- br $~lib/math/NativeMath.sqrt|inlined.5
28515
+ br $~lib/math/NativeMath.sqrt|inlined.6
28053
28516
  end
28054
28517
  f64.div
28055
28518
  local.get $f
@@ -28549,19 +29012,19 @@
28549
29012
  local.get $term
28550
29013
  f64.add
28551
29014
  local.set $sum
28552
- block $~lib/math/NativeMath.abs|inlined.44 (result f64)
29015
+ block $~lib/math/NativeMath.abs|inlined.47 (result f64)
28553
29016
  local.get $term
28554
29017
  local.set $x|6
28555
29018
  local.get $x|6
28556
29019
  f64.abs
28557
- br $~lib/math/NativeMath.abs|inlined.44
29020
+ br $~lib/math/NativeMath.abs|inlined.47
28558
29021
  end
28559
- block $~lib/math/NativeMath.abs|inlined.45 (result f64)
29022
+ block $~lib/math/NativeMath.abs|inlined.48 (result f64)
28560
29023
  local.get $sum
28561
29024
  local.set $x|7
28562
29025
  local.get $x|7
28563
29026
  f64.abs
28564
- br $~lib/math/NativeMath.abs|inlined.45
29027
+ br $~lib/math/NativeMath.abs|inlined.48
28565
29028
  end
28566
29029
  f64.const 1e-17
28567
29030
  f64.mul
@@ -28649,12 +29112,12 @@
28649
29112
  local.get $xk
28650
29113
  f64.div
28651
29114
  local.set $t
28652
- block $~lib/math/NativeMath.abs|inlined.46 (result f64)
29115
+ block $~lib/math/NativeMath.abs|inlined.49 (result f64)
28653
29116
  local.get $t
28654
29117
  local.set $x|12
28655
29118
  local.get $x|12
28656
29119
  f64.abs
28657
- br $~lib/math/NativeMath.abs|inlined.46
29120
+ br $~lib/math/NativeMath.abs|inlined.49
28658
29121
  end
28659
29122
  local.set $mag
28660
29123
  local.get $mag
@@ -28723,7 +29186,7 @@
28723
29186
  f64.mul
28724
29187
  f64.sub
28725
29188
  local.set $chi
28726
- block $~lib/math/NativeMath.sqrt|inlined.6 (result f64)
29189
+ block $~lib/math/NativeMath.sqrt|inlined.7 (result f64)
28727
29190
  f64.const 2
28728
29191
  global.get $~lib/math/NativeMath.PI
28729
29192
  local.get $x
@@ -28732,7 +29195,7 @@
28732
29195
  local.set $x|17
28733
29196
  local.get $x|17
28734
29197
  f64.sqrt
28735
- br $~lib/math/NativeMath.sqrt|inlined.6
29198
+ br $~lib/math/NativeMath.sqrt|inlined.7
28736
29199
  end
28737
29200
  local.set $amp
28738
29201
  local.get $wantY
@@ -28766,12 +29229,12 @@
28766
29229
  (func $src/special/_besselJ0 (param $x f64) (result f64)
28767
29230
  (local $x|1 f64)
28768
29231
  (local $ax f64)
28769
- block $~lib/math/NativeMath.abs|inlined.43 (result f64)
29232
+ block $~lib/math/NativeMath.abs|inlined.46 (result f64)
28770
29233
  local.get $x
28771
29234
  local.set $x|1
28772
29235
  local.get $x|1
28773
29236
  f64.abs
28774
- br $~lib/math/NativeMath.abs|inlined.43
29237
+ br $~lib/math/NativeMath.abs|inlined.46
28775
29238
  end
28776
29239
  local.set $ax
28777
29240
  local.get $ax
@@ -28864,19 +29327,19 @@
28864
29327
  local.get $term
28865
29328
  f64.add
28866
29329
  local.set $sum
28867
- block $~lib/math/NativeMath.abs|inlined.48 (result f64)
29330
+ block $~lib/math/NativeMath.abs|inlined.51 (result f64)
28868
29331
  local.get $term
28869
29332
  local.set $x|6
28870
29333
  local.get $x|6
28871
29334
  f64.abs
28872
- br $~lib/math/NativeMath.abs|inlined.48
29335
+ br $~lib/math/NativeMath.abs|inlined.51
28873
29336
  end
28874
- block $~lib/math/NativeMath.abs|inlined.49 (result f64)
29337
+ block $~lib/math/NativeMath.abs|inlined.52 (result f64)
28875
29338
  local.get $sum
28876
29339
  local.set $x|7
28877
29340
  local.get $x|7
28878
29341
  f64.abs
28879
- br $~lib/math/NativeMath.abs|inlined.49
29342
+ br $~lib/math/NativeMath.abs|inlined.52
28880
29343
  end
28881
29344
  f64.const 1e-17
28882
29345
  f64.mul
@@ -28913,12 +29376,12 @@
28913
29376
  f64.const 1
28914
29377
  end
28915
29378
  local.set $sign
28916
- block $~lib/math/NativeMath.abs|inlined.47 (result f64)
29379
+ block $~lib/math/NativeMath.abs|inlined.50 (result f64)
28917
29380
  local.get $x
28918
29381
  local.set $x|2
28919
29382
  local.get $x|2
28920
29383
  f64.abs
28921
- br $~lib/math/NativeMath.abs|inlined.47
29384
+ br $~lib/math/NativeMath.abs|inlined.50
28922
29385
  end
28923
29386
  local.set $ax
28924
29387
  local.get $ax
@@ -29008,7 +29471,7 @@
29008
29471
  i32.const 13920
29009
29472
  i32.const 256
29010
29473
  i32.const 27
29011
- call $~lib/builtins/abort
29474
+ call $src/abort/trapAbort
29012
29475
  unreachable
29013
29476
  end
29014
29477
  local.get $n
@@ -29060,12 +29523,12 @@
29060
29523
  f64.mul
29061
29524
  return
29062
29525
  end
29063
- block $~lib/math/NativeMath.abs|inlined.50 (result f64)
29526
+ block $~lib/math/NativeMath.abs|inlined.53 (result f64)
29064
29527
  local.get $x
29065
29528
  local.set $x|4
29066
29529
  local.get $x|4
29067
29530
  f64.abs
29068
- br $~lib/math/NativeMath.abs|inlined.50
29531
+ br $~lib/math/NativeMath.abs|inlined.53
29069
29532
  end
29070
29533
  f64.const 1e-15
29071
29534
  f64.lt
@@ -29085,12 +29548,12 @@
29085
29548
  local.get $ni
29086
29549
  f64.convert_i32_s
29087
29550
  local.set $nf
29088
- block $~lib/math/NativeMath.abs|inlined.51 (result f64)
29551
+ block $~lib/math/NativeMath.abs|inlined.54 (result f64)
29089
29552
  local.get $x
29090
29553
  local.set $x|6
29091
29554
  local.get $x|6
29092
29555
  f64.abs
29093
- br $~lib/math/NativeMath.abs|inlined.51
29556
+ br $~lib/math/NativeMath.abs|inlined.54
29094
29557
  end
29095
29558
  local.set $ax
29096
29559
  local.get $ax
@@ -29174,14 +29637,14 @@
29174
29637
  f64.const 10
29175
29638
  local.set $value1
29176
29639
  block $~lib/math/NativeMath.ceil|inlined.0 (result f64)
29177
- block $~lib/math/NativeMath.sqrt|inlined.7 (result f64)
29640
+ block $~lib/math/NativeMath.sqrt|inlined.8 (result f64)
29178
29641
  f64.const 40
29179
29642
  local.get $nf
29180
29643
  f64.mul
29181
29644
  local.set $x|12
29182
29645
  local.get $x|12
29183
29646
  f64.sqrt
29184
- br $~lib/math/NativeMath.sqrt|inlined.7
29647
+ br $~lib/math/NativeMath.sqrt|inlined.8
29185
29648
  end
29186
29649
  local.set $x|13
29187
29650
  local.get $x|13
@@ -29209,7 +29672,7 @@
29209
29672
  i32.const 13920
29210
29673
  i32.const 287
29211
29674
  i32.const 5
29212
- call $~lib/builtins/abort
29675
+ call $src/abort/trapAbort
29213
29676
  unreachable
29214
29677
  end
29215
29678
  local.get $nStartF
@@ -29249,12 +29712,12 @@
29249
29712
  local.set $jNext|19
29250
29713
  local.get $jPrev|25
29251
29714
  local.set $jCurr|20
29252
- block $~lib/math/NativeMath.abs|inlined.52 (result f64)
29715
+ block $~lib/math/NativeMath.abs|inlined.55 (result f64)
29253
29716
  local.get $jCurr|20
29254
29717
  local.set $x|26
29255
29718
  local.get $x|26
29256
29719
  f64.abs
29257
- br $~lib/math/NativeMath.abs|inlined.52
29720
+ br $~lib/math/NativeMath.abs|inlined.55
29258
29721
  end
29259
29722
  f64.const 1.e+200
29260
29723
  f64.gt
@@ -29490,19 +29953,19 @@
29490
29953
  i32.const 2
29491
29954
  i32.gt_s
29492
29955
  if (result i32)
29493
- block $~lib/math/NativeMath.abs|inlined.53 (result f64)
29956
+ block $~lib/math/NativeMath.abs|inlined.56 (result f64)
29494
29957
  local.get $d
29495
29958
  local.set $x|9
29496
29959
  local.get $x|9
29497
29960
  f64.abs
29498
- br $~lib/math/NativeMath.abs|inlined.53
29961
+ br $~lib/math/NativeMath.abs|inlined.56
29499
29962
  end
29500
- block $~lib/math/NativeMath.abs|inlined.54 (result f64)
29963
+ block $~lib/math/NativeMath.abs|inlined.57 (result f64)
29501
29964
  local.get $s
29502
29965
  local.set $x|10
29503
29966
  local.get $x|10
29504
29967
  f64.abs
29505
- br $~lib/math/NativeMath.abs|inlined.54
29968
+ br $~lib/math/NativeMath.abs|inlined.57
29506
29969
  end
29507
29970
  f64.const 1e-17
29508
29971
  f64.mul
@@ -29671,19 +30134,19 @@
29671
30134
  i32.const 2
29672
30135
  i32.gt_s
29673
30136
  if (result i32)
29674
- block $~lib/math/NativeMath.abs|inlined.55 (result f64)
30137
+ block $~lib/math/NativeMath.abs|inlined.58 (result f64)
29675
30138
  local.get $d
29676
30139
  local.set $x|9
29677
30140
  local.get $x|9
29678
30141
  f64.abs
29679
- br $~lib/math/NativeMath.abs|inlined.55
30142
+ br $~lib/math/NativeMath.abs|inlined.58
29680
30143
  end
29681
- block $~lib/math/NativeMath.abs|inlined.56 (result f64)
30144
+ block $~lib/math/NativeMath.abs|inlined.59 (result f64)
29682
30145
  local.get $s
29683
30146
  local.set $x|10
29684
30147
  local.get $x|10
29685
30148
  f64.abs
29686
- br $~lib/math/NativeMath.abs|inlined.56
30149
+ br $~lib/math/NativeMath.abs|inlined.59
29687
30150
  end
29688
30151
  f64.const 1e-17
29689
30152
  f64.mul
@@ -29800,7 +30263,7 @@
29800
30263
  i32.const 13920
29801
30264
  i32.const 327
29802
30265
  i32.const 27
29803
- call $~lib/builtins/abort
30266
+ call $src/abort/trapAbort
29804
30267
  unreachable
29805
30268
  end
29806
30269
  local.get $n
@@ -29878,9 +30341,14 @@
29878
30341
  local.set $yNext
29879
30342
  local.get $yNext
29880
30343
  local.get $yNext
29881
- f64.ne
30344
+ f64.sub
30345
+ f64.const 0
30346
+ f64.eq
30347
+ i32.eqz
29882
30348
  if
29883
- f64.const nan:0x8000000000000
30349
+ local.get $sign
30350
+ local.get $yNext
30351
+ f64.mul
29884
30352
  return
29885
30353
  end
29886
30354
  local.get $yCurr
@@ -30026,12 +30494,12 @@
30026
30494
  f64.div
30027
30495
  local.get $x
30028
30496
  f64.mul
30029
- block $~lib/math/NativeMath.sqrt|inlined.8 (result f64)
30497
+ block $~lib/math/NativeMath.sqrt|inlined.9 (result f64)
30030
30498
  local.get $x
30031
30499
  local.set $x|3
30032
30500
  local.get $x|3
30033
30501
  f64.sqrt
30034
- br $~lib/math/NativeMath.sqrt|inlined.8
30502
+ br $~lib/math/NativeMath.sqrt|inlined.9
30035
30503
  end
30036
30504
  f64.mul
30037
30505
  local.set $zeta
@@ -30063,12 +30531,12 @@
30063
30531
  local.get $zk
30064
30532
  f64.div
30065
30533
  local.set $t
30066
- block $~lib/math/NativeMath.abs|inlined.57 (result f64)
30534
+ block $~lib/math/NativeMath.abs|inlined.60 (result f64)
30067
30535
  local.get $t
30068
30536
  local.set $x|11
30069
30537
  local.get $x|11
30070
30538
  f64.abs
30071
- br $~lib/math/NativeMath.abs|inlined.57
30539
+ br $~lib/math/NativeMath.abs|inlined.60
30072
30540
  end
30073
30541
  local.set $mag
30074
30542
  local.get $mag
@@ -30106,12 +30574,12 @@
30106
30574
  end
30107
30575
  end
30108
30576
  end
30109
- block $~lib/math/NativeMath.sqrt|inlined.9 (result f64)
30577
+ block $~lib/math/NativeMath.sqrt|inlined.10 (result f64)
30110
30578
  global.get $~lib/math/NativeMath.PI
30111
30579
  local.set $x|13
30112
30580
  local.get $x|13
30113
30581
  f64.sqrt
30114
- br $~lib/math/NativeMath.sqrt|inlined.9
30582
+ br $~lib/math/NativeMath.sqrt|inlined.10
30115
30583
  end
30116
30584
  local.set $sp
30117
30585
  local.get $isAi
@@ -30159,12 +30627,12 @@
30159
30627
  (local $theta f64)
30160
30628
  (local $x|19 f64)
30161
30629
  (local $sp f64)
30162
- block $~lib/math/NativeMath.abs|inlined.58 (result f64)
30630
+ block $~lib/math/NativeMath.abs|inlined.61 (result f64)
30163
30631
  local.get $x
30164
30632
  local.set $x|2
30165
30633
  local.get $x|2
30166
30634
  f64.abs
30167
- br $~lib/math/NativeMath.abs|inlined.58
30635
+ br $~lib/math/NativeMath.abs|inlined.61
30168
30636
  end
30169
30637
  local.set $ax
30170
30638
  local.get $ax
@@ -30176,12 +30644,12 @@
30176
30644
  f64.div
30177
30645
  local.get $ax
30178
30646
  f64.mul
30179
- block $~lib/math/NativeMath.sqrt|inlined.10 (result f64)
30647
+ block $~lib/math/NativeMath.sqrt|inlined.11 (result f64)
30180
30648
  local.get $ax
30181
30649
  local.set $x|5
30182
30650
  local.get $x|5
30183
30651
  f64.sqrt
30184
- br $~lib/math/NativeMath.sqrt|inlined.10
30652
+ br $~lib/math/NativeMath.sqrt|inlined.11
30185
30653
  end
30186
30654
  f64.mul
30187
30655
  local.set $zeta
@@ -30215,12 +30683,12 @@
30215
30683
  local.get $zk
30216
30684
  f64.div
30217
30685
  local.set $t
30218
- block $~lib/math/NativeMath.abs|inlined.59 (result f64)
30686
+ block $~lib/math/NativeMath.abs|inlined.62 (result f64)
30219
30687
  local.get $t
30220
30688
  local.set $x|14
30221
30689
  local.get $x|14
30222
30690
  f64.abs
30223
- br $~lib/math/NativeMath.abs|inlined.59
30691
+ br $~lib/math/NativeMath.abs|inlined.62
30224
30692
  end
30225
30693
  local.set $mag
30226
30694
  local.get $mag
@@ -30285,12 +30753,12 @@
30285
30753
  f64.div
30286
30754
  f64.sub
30287
30755
  local.set $theta
30288
- block $~lib/math/NativeMath.sqrt|inlined.11 (result f64)
30756
+ block $~lib/math/NativeMath.sqrt|inlined.12 (result f64)
30289
30757
  global.get $~lib/math/NativeMath.PI
30290
30758
  local.set $x|19
30291
30759
  local.get $x|19
30292
30760
  f64.sqrt
30293
- br $~lib/math/NativeMath.sqrt|inlined.11
30761
+ br $~lib/math/NativeMath.sqrt|inlined.12
30294
30762
  end
30295
30763
  local.set $sp
30296
30764
  local.get $isAi
@@ -30458,37 +30926,37 @@
30458
30926
  local.get $dg
30459
30927
  f64.add
30460
30928
  local.set $g
30461
- block $~lib/math/NativeMath.abs|inlined.60 (result f64)
30929
+ block $~lib/math/NativeMath.abs|inlined.63 (result f64)
30462
30930
  local.get $df
30463
30931
  local.set $x|15
30464
30932
  local.get $x|15
30465
30933
  f64.abs
30466
- br $~lib/math/NativeMath.abs|inlined.60
30934
+ br $~lib/math/NativeMath.abs|inlined.63
30467
30935
  end
30468
- block $~lib/math/NativeMath.abs|inlined.61 (result f64)
30936
+ block $~lib/math/NativeMath.abs|inlined.64 (result f64)
30469
30937
  local.get $f
30470
30938
  local.set $x|16
30471
30939
  local.get $x|16
30472
30940
  f64.abs
30473
- br $~lib/math/NativeMath.abs|inlined.61
30941
+ br $~lib/math/NativeMath.abs|inlined.64
30474
30942
  end
30475
30943
  f64.const 1e-16
30476
30944
  f64.mul
30477
30945
  f64.lt
30478
30946
  if (result i32)
30479
- block $~lib/math/NativeMath.abs|inlined.62 (result f64)
30947
+ block $~lib/math/NativeMath.abs|inlined.65 (result f64)
30480
30948
  local.get $dg
30481
30949
  local.set $x|17
30482
30950
  local.get $x|17
30483
30951
  f64.abs
30484
- br $~lib/math/NativeMath.abs|inlined.62
30952
+ br $~lib/math/NativeMath.abs|inlined.65
30485
30953
  end
30486
- block $~lib/math/NativeMath.abs|inlined.63 (result f64)
30954
+ block $~lib/math/NativeMath.abs|inlined.66 (result f64)
30487
30955
  local.get $g
30488
30956
  local.set $x|18
30489
30957
  local.get $x|18
30490
30958
  f64.abs
30491
- br $~lib/math/NativeMath.abs|inlined.63
30959
+ br $~lib/math/NativeMath.abs|inlined.66
30492
30960
  end
30493
30961
  f64.const 1e-16
30494
30962
  f64.mul
@@ -30520,12 +30988,12 @@
30520
30988
  f64.sub
30521
30989
  return
30522
30990
  end
30523
- block $~lib/math/NativeMath.sqrt|inlined.12 (result f64)
30991
+ block $~lib/math/NativeMath.sqrt|inlined.13 (result f64)
30524
30992
  f64.const 3
30525
30993
  local.set $x|19
30526
30994
  local.get $x|19
30527
30995
  f64.sqrt
30528
- br $~lib/math/NativeMath.sqrt|inlined.12
30996
+ br $~lib/math/NativeMath.sqrt|inlined.13
30529
30997
  end
30530
30998
  global.get $src/special/AI0
30531
30999
  local.get $f
@@ -30711,14 +31179,14 @@
30711
31179
  end
30712
31180
  f64.const 1
30713
31181
  local.set $a
30714
- block $~lib/math/NativeMath.sqrt|inlined.13 (result f64)
31182
+ block $~lib/math/NativeMath.sqrt|inlined.14 (result f64)
30715
31183
  f64.const 1
30716
31184
  local.get $m
30717
31185
  f64.sub
30718
31186
  local.set $x
30719
31187
  local.get $x
30720
31188
  f64.sqrt
30721
- br $~lib/math/NativeMath.sqrt|inlined.13
31189
+ br $~lib/math/NativeMath.sqrt|inlined.14
30722
31190
  end
30723
31191
  local.set $b
30724
31192
  i32.const 0
@@ -30735,24 +31203,24 @@
30735
31203
  f64.const 2
30736
31204
  f64.div
30737
31205
  local.set $aNew
30738
- block $~lib/math/NativeMath.sqrt|inlined.14 (result f64)
31206
+ block $~lib/math/NativeMath.sqrt|inlined.15 (result f64)
30739
31207
  local.get $a
30740
31208
  local.get $b
30741
31209
  f64.mul
30742
31210
  local.set $x|6
30743
31211
  local.get $x|6
30744
31212
  f64.sqrt
30745
- br $~lib/math/NativeMath.sqrt|inlined.14
31213
+ br $~lib/math/NativeMath.sqrt|inlined.15
30746
31214
  end
30747
31215
  local.set $bNew
30748
- block $~lib/math/NativeMath.abs|inlined.64 (result f64)
31216
+ block $~lib/math/NativeMath.abs|inlined.67 (result f64)
30749
31217
  local.get $aNew
30750
31218
  local.get $bNew
30751
31219
  f64.sub
30752
31220
  local.set $x|8
30753
31221
  local.get $x|8
30754
31222
  f64.abs
30755
- br $~lib/math/NativeMath.abs|inlined.64
31223
+ br $~lib/math/NativeMath.abs|inlined.67
30756
31224
  end
30757
31225
  f64.const 1e-16
30758
31226
  local.get $aNew
@@ -30869,22 +31337,22 @@
30869
31337
  end
30870
31338
  f64.const 1
30871
31339
  local.set $a
30872
- block $~lib/math/NativeMath.sqrt|inlined.15 (result f64)
31340
+ block $~lib/math/NativeMath.sqrt|inlined.16 (result f64)
30873
31341
  f64.const 1
30874
31342
  local.get $m
30875
31343
  f64.sub
30876
31344
  local.set $x
30877
31345
  local.get $x
30878
31346
  f64.sqrt
30879
- br $~lib/math/NativeMath.sqrt|inlined.15
31347
+ br $~lib/math/NativeMath.sqrt|inlined.16
30880
31348
  end
30881
31349
  local.set $b
30882
- block $~lib/math/NativeMath.sqrt|inlined.16 (result f64)
31350
+ block $~lib/math/NativeMath.sqrt|inlined.17 (result f64)
30883
31351
  local.get $m
30884
31352
  local.set $x|4
30885
31353
  local.get $x|4
30886
31354
  f64.sqrt
30887
- br $~lib/math/NativeMath.sqrt|inlined.16
31355
+ br $~lib/math/NativeMath.sqrt|inlined.17
30888
31356
  end
30889
31357
  local.set $c
30890
31358
  local.get $c
@@ -30907,14 +31375,14 @@
30907
31375
  f64.const 2
30908
31376
  f64.div
30909
31377
  local.set $aNew
30910
- block $~lib/math/NativeMath.sqrt|inlined.17 (result f64)
31378
+ block $~lib/math/NativeMath.sqrt|inlined.18 (result f64)
30911
31379
  local.get $a
30912
31380
  local.get $b
30913
31381
  f64.mul
30914
31382
  local.set $x|10
30915
31383
  local.get $x|10
30916
31384
  f64.sqrt
30917
- br $~lib/math/NativeMath.sqrt|inlined.17
31385
+ br $~lib/math/NativeMath.sqrt|inlined.18
30918
31386
  end
30919
31387
  local.set $bNew
30920
31388
  local.get $a
@@ -30935,12 +31403,12 @@
30935
31403
  f64.mul
30936
31404
  f64.add
30937
31405
  local.set $sum
30938
- block $~lib/math/NativeMath.abs|inlined.65 (result f64)
31406
+ block $~lib/math/NativeMath.abs|inlined.68 (result f64)
30939
31407
  local.get $cNew
30940
31408
  local.set $x|13
30941
31409
  local.get $x|13
30942
31410
  f64.abs
30943
- br $~lib/math/NativeMath.abs|inlined.65
31411
+ br $~lib/math/NativeMath.abs|inlined.68
30944
31412
  end
30945
31413
  f64.const 1e-16
30946
31414
  local.get $aNew
@@ -31044,7 +31512,7 @@
31044
31512
  f64.const 0.5
31045
31513
  f64.lt
31046
31514
  if
31047
- block $~lib/math/NativeMath.abs|inlined.66 (result f64)
31515
+ block $~lib/math/NativeMath.abs|inlined.69 (result f64)
31048
31516
  global.get $~lib/math/NativeMath.PI
31049
31517
  local.get $x
31050
31518
  f64.mul
@@ -31052,7 +31520,7 @@
31052
31520
  local.set $x|2
31053
31521
  local.get $x|2
31054
31522
  f64.abs
31055
- br $~lib/math/NativeMath.abs|inlined.66
31523
+ br $~lib/math/NativeMath.abs|inlined.69
31056
31524
  end
31057
31525
  local.set $sinPiX
31058
31526
  local.get $sinPiX
@@ -31226,14 +31694,14 @@
31226
31694
  i32.lt_s
31227
31695
  if
31228
31696
  f64.const 2
31229
- block $~lib/math/NativeMath.sqrt|inlined.18 (result f64)
31697
+ block $~lib/math/NativeMath.sqrt|inlined.19 (result f64)
31230
31698
  local.get $xx
31231
31699
  local.get $yy
31232
31700
  f64.mul
31233
31701
  local.set $x|5
31234
31702
  local.get $x|5
31235
31703
  f64.sqrt
31236
- br $~lib/math/NativeMath.sqrt|inlined.18
31704
+ br $~lib/math/NativeMath.sqrt|inlined.19
31237
31705
  end
31238
31706
  f64.mul
31239
31707
  local.get $yy
@@ -31271,22 +31739,22 @@
31271
31739
  local.get $ave
31272
31740
  f64.div
31273
31741
  local.set $dy
31274
- block $~lib/math/NativeMath.abs|inlined.67 (result f64)
31742
+ block $~lib/math/NativeMath.abs|inlined.70 (result f64)
31275
31743
  local.get $dx
31276
31744
  local.set $x|10
31277
31745
  local.get $x|10
31278
31746
  f64.abs
31279
- br $~lib/math/NativeMath.abs|inlined.67
31747
+ br $~lib/math/NativeMath.abs|inlined.70
31280
31748
  end
31281
31749
  f64.const 1e-10
31282
31750
  f64.lt
31283
31751
  if (result i32)
31284
- block $~lib/math/NativeMath.abs|inlined.68 (result f64)
31752
+ block $~lib/math/NativeMath.abs|inlined.71 (result f64)
31285
31753
  local.get $dy
31286
31754
  local.set $x|11
31287
31755
  local.get $x|11
31288
31756
  f64.abs
31289
- br $~lib/math/NativeMath.abs|inlined.68
31757
+ br $~lib/math/NativeMath.abs|inlined.71
31290
31758
  end
31291
31759
  f64.const 1e-10
31292
31760
  f64.lt
@@ -31317,12 +31785,12 @@
31317
31785
  f64.const 1
31318
31786
  local.get $s
31319
31787
  f64.add
31320
- block $~lib/math/NativeMath.sqrt|inlined.19 (result f64)
31788
+ block $~lib/math/NativeMath.sqrt|inlined.20 (result f64)
31321
31789
  local.get $ave
31322
31790
  local.set $x|13
31323
31791
  local.get $x|13
31324
31792
  f64.sqrt
31325
- br $~lib/math/NativeMath.sqrt|inlined.19
31793
+ br $~lib/math/NativeMath.sqrt|inlined.20
31326
31794
  end
31327
31795
  f64.div
31328
31796
  return
@@ -31335,12 +31803,12 @@
31335
31803
  end
31336
31804
  end
31337
31805
  f64.const 1
31338
- block $~lib/math/NativeMath.sqrt|inlined.20 (result f64)
31806
+ block $~lib/math/NativeMath.sqrt|inlined.21 (result f64)
31339
31807
  local.get $yy
31340
31808
  local.set $x|14
31341
31809
  local.get $x|14
31342
31810
  f64.sqrt
31343
- br $~lib/math/NativeMath.sqrt|inlined.20
31811
+ br $~lib/math/NativeMath.sqrt|inlined.21
31344
31812
  end
31345
31813
  f64.div
31346
31814
  return
@@ -31440,28 +31908,28 @@
31440
31908
  i32.const 50
31441
31909
  i32.lt_s
31442
31910
  if
31443
- block $~lib/math/NativeMath.sqrt|inlined.21 (result f64)
31911
+ block $~lib/math/NativeMath.sqrt|inlined.22 (result f64)
31444
31912
  local.get $xx
31445
31913
  local.set $x|7
31446
31914
  local.get $x|7
31447
31915
  f64.sqrt
31448
- br $~lib/math/NativeMath.sqrt|inlined.21
31916
+ br $~lib/math/NativeMath.sqrt|inlined.22
31449
31917
  end
31450
31918
  local.set $sx
31451
- block $~lib/math/NativeMath.sqrt|inlined.22 (result f64)
31919
+ block $~lib/math/NativeMath.sqrt|inlined.23 (result f64)
31452
31920
  local.get $yy
31453
31921
  local.set $x|9
31454
31922
  local.get $x|9
31455
31923
  f64.sqrt
31456
- br $~lib/math/NativeMath.sqrt|inlined.22
31924
+ br $~lib/math/NativeMath.sqrt|inlined.23
31457
31925
  end
31458
31926
  local.set $sy
31459
- block $~lib/math/NativeMath.sqrt|inlined.23 (result f64)
31927
+ block $~lib/math/NativeMath.sqrt|inlined.24 (result f64)
31460
31928
  local.get $zz
31461
31929
  local.set $x|11
31462
31930
  local.get $x|11
31463
31931
  f64.sqrt
31464
- br $~lib/math/NativeMath.sqrt|inlined.23
31932
+ br $~lib/math/NativeMath.sqrt|inlined.24
31465
31933
  end
31466
31934
  local.set $sz
31467
31935
  local.get $sx
@@ -31520,22 +31988,22 @@
31520
31988
  local.get $ave
31521
31989
  f64.div
31522
31990
  local.set $dz
31523
- block $~lib/math/NativeMath.abs|inlined.69 (result f64)
31991
+ block $~lib/math/NativeMath.abs|inlined.72 (result f64)
31524
31992
  local.get $dx
31525
31993
  local.set $x|18
31526
31994
  local.get $x|18
31527
31995
  f64.abs
31528
- br $~lib/math/NativeMath.abs|inlined.69
31996
+ br $~lib/math/NativeMath.abs|inlined.72
31529
31997
  end
31530
31998
  f64.const 1e-10
31531
31999
  f64.lt
31532
32000
  if (result i32)
31533
- block $~lib/math/NativeMath.abs|inlined.70 (result f64)
32001
+ block $~lib/math/NativeMath.abs|inlined.73 (result f64)
31534
32002
  local.get $dy
31535
32003
  local.set $x|19
31536
32004
  local.get $x|19
31537
32005
  f64.abs
31538
- br $~lib/math/NativeMath.abs|inlined.70
32006
+ br $~lib/math/NativeMath.abs|inlined.73
31539
32007
  end
31540
32008
  f64.const 1e-10
31541
32009
  f64.lt
@@ -31543,12 +32011,12 @@
31543
32011
  i32.const 0
31544
32012
  end
31545
32013
  if (result i32)
31546
- block $~lib/math/NativeMath.abs|inlined.71 (result f64)
32014
+ block $~lib/math/NativeMath.abs|inlined.74 (result f64)
31547
32015
  local.get $dz
31548
32016
  local.set $x|20
31549
32017
  local.get $x|20
31550
32018
  f64.abs
31551
- br $~lib/math/NativeMath.abs|inlined.71
32019
+ br $~lib/math/NativeMath.abs|inlined.74
31552
32020
  end
31553
32021
  f64.const 1e-10
31554
32022
  f64.lt
@@ -31591,12 +32059,12 @@
31591
32059
  f64.const 14
31592
32060
  f64.div
31593
32061
  f64.add
31594
- block $~lib/math/NativeMath.sqrt|inlined.24 (result f64)
32062
+ block $~lib/math/NativeMath.sqrt|inlined.25 (result f64)
31595
32063
  local.get $ave
31596
32064
  local.set $x|23
31597
32065
  local.get $x|23
31598
32066
  f64.sqrt
31599
- br $~lib/math/NativeMath.sqrt|inlined.24
32067
+ br $~lib/math/NativeMath.sqrt|inlined.25
31600
32068
  end
31601
32069
  f64.div
31602
32070
  return
@@ -31609,12 +32077,12 @@
31609
32077
  end
31610
32078
  end
31611
32079
  f64.const 1
31612
- block $~lib/math/NativeMath.sqrt|inlined.25 (result f64)
32080
+ block $~lib/math/NativeMath.sqrt|inlined.26 (result f64)
31613
32081
  local.get $zz
31614
32082
  local.set $x|24
31615
32083
  local.get $x|24
31616
32084
  f64.sqrt
31617
- br $~lib/math/NativeMath.sqrt|inlined.25
32085
+ br $~lib/math/NativeMath.sqrt|inlined.26
31618
32086
  end
31619
32087
  f64.div
31620
32088
  return
@@ -31759,28 +32227,28 @@
31759
32227
  i32.const 50
31760
32228
  i32.lt_s
31761
32229
  if
31762
- block $~lib/math/NativeMath.sqrt|inlined.26 (result f64)
32230
+ block $~lib/math/NativeMath.sqrt|inlined.27 (result f64)
31763
32231
  local.get $xx
31764
32232
  local.set $x|9
31765
32233
  local.get $x|9
31766
32234
  f64.sqrt
31767
- br $~lib/math/NativeMath.sqrt|inlined.26
32235
+ br $~lib/math/NativeMath.sqrt|inlined.27
31768
32236
  end
31769
32237
  local.set $sx
31770
- block $~lib/math/NativeMath.sqrt|inlined.27 (result f64)
32238
+ block $~lib/math/NativeMath.sqrt|inlined.28 (result f64)
31771
32239
  local.get $yy
31772
32240
  local.set $x|11
31773
32241
  local.get $x|11
31774
32242
  f64.sqrt
31775
- br $~lib/math/NativeMath.sqrt|inlined.27
32243
+ br $~lib/math/NativeMath.sqrt|inlined.28
31776
32244
  end
31777
32245
  local.set $sy
31778
- block $~lib/math/NativeMath.sqrt|inlined.28 (result f64)
32246
+ block $~lib/math/NativeMath.sqrt|inlined.29 (result f64)
31779
32247
  local.get $zz
31780
32248
  local.set $x|13
31781
32249
  local.get $x|13
31782
32250
  f64.sqrt
31783
- br $~lib/math/NativeMath.sqrt|inlined.28
32251
+ br $~lib/math/NativeMath.sqrt|inlined.29
31784
32252
  end
31785
32253
  local.set $sz
31786
32254
  local.get $sx
@@ -31855,22 +32323,22 @@
31855
32323
  local.get $ave
31856
32324
  f64.div
31857
32325
  local.set $dz
31858
- block $~lib/math/NativeMath.abs|inlined.72 (result f64)
32326
+ block $~lib/math/NativeMath.abs|inlined.75 (result f64)
31859
32327
  local.get $dx
31860
32328
  local.set $x|20
31861
32329
  local.get $x|20
31862
32330
  f64.abs
31863
- br $~lib/math/NativeMath.abs|inlined.72
32331
+ br $~lib/math/NativeMath.abs|inlined.75
31864
32332
  end
31865
32333
  f64.const 1e-10
31866
32334
  f64.lt
31867
32335
  if (result i32)
31868
- block $~lib/math/NativeMath.abs|inlined.73 (result f64)
32336
+ block $~lib/math/NativeMath.abs|inlined.76 (result f64)
31869
32337
  local.get $dy
31870
32338
  local.set $x|21
31871
32339
  local.get $x|21
31872
32340
  f64.abs
31873
- br $~lib/math/NativeMath.abs|inlined.73
32341
+ br $~lib/math/NativeMath.abs|inlined.76
31874
32342
  end
31875
32343
  f64.const 1e-10
31876
32344
  f64.lt
@@ -31878,12 +32346,12 @@
31878
32346
  i32.const 0
31879
32347
  end
31880
32348
  if (result i32)
31881
- block $~lib/math/NativeMath.abs|inlined.74 (result f64)
32349
+ block $~lib/math/NativeMath.abs|inlined.77 (result f64)
31882
32350
  local.get $dz
31883
32351
  local.set $x|22
31884
32352
  local.get $x|22
31885
32353
  f64.abs
31886
- br $~lib/math/NativeMath.abs|inlined.74
32354
+ br $~lib/math/NativeMath.abs|inlined.77
31887
32355
  end
31888
32356
  f64.const 1e-10
31889
32357
  f64.lt
@@ -31982,12 +32450,12 @@
31982
32450
  local.get $ave
31983
32451
  local.get $ave
31984
32452
  f64.mul
31985
- block $~lib/math/NativeMath.sqrt|inlined.29 (result f64)
32453
+ block $~lib/math/NativeMath.sqrt|inlined.30 (result f64)
31986
32454
  local.get $ave
31987
32455
  local.set $x|31
31988
32456
  local.get $x|31
31989
32457
  f64.sqrt
31990
- br $~lib/math/NativeMath.sqrt|inlined.29
32458
+ br $~lib/math/NativeMath.sqrt|inlined.30
31991
32459
  end
31992
32460
  f64.mul
31993
32461
  f64.div
@@ -32008,12 +32476,12 @@
32008
32476
  local.get $zz
32009
32477
  local.get $zz
32010
32478
  f64.mul
32011
- block $~lib/math/NativeMath.sqrt|inlined.30 (result f64)
32479
+ block $~lib/math/NativeMath.sqrt|inlined.31 (result f64)
32012
32480
  local.get $zz
32013
32481
  local.set $x|32
32014
32482
  local.get $x|32
32015
32483
  f64.sqrt
32016
- br $~lib/math/NativeMath.sqrt|inlined.30
32484
+ br $~lib/math/NativeMath.sqrt|inlined.31
32017
32485
  end
32018
32486
  f64.mul
32019
32487
  f64.div
@@ -32143,28 +32611,28 @@
32143
32611
  i32.const 50
32144
32612
  i32.lt_s
32145
32613
  if
32146
- block $~lib/math/NativeMath.sqrt|inlined.31 (result f64)
32614
+ block $~lib/math/NativeMath.sqrt|inlined.32 (result f64)
32147
32615
  local.get $xx
32148
32616
  local.set $x|11
32149
32617
  local.get $x|11
32150
32618
  f64.sqrt
32151
- br $~lib/math/NativeMath.sqrt|inlined.31
32619
+ br $~lib/math/NativeMath.sqrt|inlined.32
32152
32620
  end
32153
32621
  local.set $sx
32154
- block $~lib/math/NativeMath.sqrt|inlined.32 (result f64)
32622
+ block $~lib/math/NativeMath.sqrt|inlined.33 (result f64)
32155
32623
  local.get $yy
32156
32624
  local.set $x|13
32157
32625
  local.get $x|13
32158
32626
  f64.sqrt
32159
- br $~lib/math/NativeMath.sqrt|inlined.32
32627
+ br $~lib/math/NativeMath.sqrt|inlined.33
32160
32628
  end
32161
32629
  local.set $sy
32162
- block $~lib/math/NativeMath.sqrt|inlined.33 (result f64)
32630
+ block $~lib/math/NativeMath.sqrt|inlined.34 (result f64)
32163
32631
  local.get $zz
32164
32632
  local.set $x|15
32165
32633
  local.get $x|15
32166
32634
  f64.sqrt
32167
- br $~lib/math/NativeMath.sqrt|inlined.33
32635
+ br $~lib/math/NativeMath.sqrt|inlined.34
32168
32636
  end
32169
32637
  local.set $sz
32170
32638
  local.get $sx
@@ -32279,22 +32747,22 @@
32279
32747
  local.get $ave
32280
32748
  f64.div
32281
32749
  local.set $dp
32282
- block $~lib/math/NativeMath.abs|inlined.75 (result f64)
32750
+ block $~lib/math/NativeMath.abs|inlined.78 (result f64)
32283
32751
  local.get $dx
32284
32752
  local.set $x|26
32285
32753
  local.get $x|26
32286
32754
  f64.abs
32287
- br $~lib/math/NativeMath.abs|inlined.75
32755
+ br $~lib/math/NativeMath.abs|inlined.78
32288
32756
  end
32289
32757
  f64.const 1e-10
32290
32758
  f64.lt
32291
32759
  if (result i32)
32292
- block $~lib/math/NativeMath.abs|inlined.76 (result f64)
32760
+ block $~lib/math/NativeMath.abs|inlined.79 (result f64)
32293
32761
  local.get $dy
32294
32762
  local.set $x|27
32295
32763
  local.get $x|27
32296
32764
  f64.abs
32297
- br $~lib/math/NativeMath.abs|inlined.76
32765
+ br $~lib/math/NativeMath.abs|inlined.79
32298
32766
  end
32299
32767
  f64.const 1e-10
32300
32768
  f64.lt
@@ -32302,12 +32770,12 @@
32302
32770
  i32.const 0
32303
32771
  end
32304
32772
  if (result i32)
32305
- block $~lib/math/NativeMath.abs|inlined.77 (result f64)
32773
+ block $~lib/math/NativeMath.abs|inlined.80 (result f64)
32306
32774
  local.get $dz
32307
32775
  local.set $x|28
32308
32776
  local.get $x|28
32309
32777
  f64.abs
32310
- br $~lib/math/NativeMath.abs|inlined.77
32778
+ br $~lib/math/NativeMath.abs|inlined.80
32311
32779
  end
32312
32780
  f64.const 1e-10
32313
32781
  f64.lt
@@ -32315,12 +32783,12 @@
32315
32783
  i32.const 0
32316
32784
  end
32317
32785
  if (result i32)
32318
- block $~lib/math/NativeMath.abs|inlined.78 (result f64)
32786
+ block $~lib/math/NativeMath.abs|inlined.81 (result f64)
32319
32787
  local.get $dp
32320
32788
  local.set $x|29
32321
32789
  local.get $x|29
32322
32790
  f64.abs
32323
- br $~lib/math/NativeMath.abs|inlined.78
32791
+ br $~lib/math/NativeMath.abs|inlined.81
32324
32792
  end
32325
32793
  f64.const 1e-10
32326
32794
  f64.lt
@@ -32443,12 +32911,12 @@
32443
32911
  local.get $ave
32444
32912
  local.get $ave
32445
32913
  f64.mul
32446
- block $~lib/math/NativeMath.sqrt|inlined.34 (result f64)
32914
+ block $~lib/math/NativeMath.sqrt|inlined.35 (result f64)
32447
32915
  local.get $ave
32448
32916
  local.set $x|36
32449
32917
  local.get $x|36
32450
32918
  f64.sqrt
32451
- br $~lib/math/NativeMath.sqrt|inlined.34
32919
+ br $~lib/math/NativeMath.sqrt|inlined.35
32452
32920
  end
32453
32921
  f64.mul
32454
32922
  f64.div
@@ -32469,12 +32937,12 @@
32469
32937
  local.get $pp
32470
32938
  local.get $pp
32471
32939
  f64.mul
32472
- block $~lib/math/NativeMath.sqrt|inlined.35 (result f64)
32940
+ block $~lib/math/NativeMath.sqrt|inlined.36 (result f64)
32473
32941
  local.get $pp
32474
32942
  local.set $x|37
32475
32943
  local.get $x|37
32476
32944
  f64.sqrt
32477
- br $~lib/math/NativeMath.sqrt|inlined.35
32945
+ br $~lib/math/NativeMath.sqrt|inlined.36
32478
32946
  end
32479
32947
  f64.mul
32480
32948
  f64.div
@@ -34708,13 +35176,8 @@
34708
35176
  local.get $result
34709
35177
  local.get $i
34710
35178
  local.get $re
34711
- local.get $re
34712
- f64.mul
34713
- local.get $im
34714
35179
  local.get $im
34715
- f64.mul
34716
- f64.add
34717
- f64.sqrt
35180
+ call $~lib/math/NativeMath.hypot
34718
35181
  call $~lib/typedarray/Float64Array#__uset
34719
35182
  local.get $i
34720
35183
  i32.const 1