Debian Codegraph @

tests/snapshots/testsuite/float_exprs.wast/844.print

raw
1 (module
2 (type (;0;) (func (result f32)))
3 (type (;1;) (func (result f64)))
4 (export "f32.epsilon" (func 0))
5 (export "f64.epsilon" (func 1))
6 (func (;0;) (type 0) (result f32)
7 (local $x f32) (local $result f32)
8 f32.const 0x1p+0 (;=1;)
9 local.set $x
10 loop $loop
11 local.get $x
12 local.tee $result
13 f32.const 0x1p-1 (;=0.5;)
14 f32.mul
15 local.tee $x
16 f32.const 0x1p+0 (;=1;)
17 f32.add
18 f32.const 0x1p+0 (;=1;)
19 f32.gt
20 br_if $loop
21 end
22 local.get $result
23 )
24 (func (;1;) (type 1) (result f64)
25 (local $x f64) (local $result f64)
26 f64.const 0x1p+0 (;=1;)
27 local.set $x
28 loop $loop
29 local.get $x
30 local.tee $result
31 f64.const 0x1p-1 (;=0.5;)
32 f64.mul
33 local.tee $x
34 f64.const 0x1p+0 (;=1;)
35 f64.add
36 f64.const 0x1p+0 (;=1;)
37 f64.gt
38 br_if $loop
39 end
40 local.get $result
41 )
42 )