| 1 |
(module |
| 2 |
(type (;0;) (func (param f32 f32) (result f32))) |
| 3 |
(type (;1;) (func (param f32) (result f32))) |
| 4 |
(export "add" (func 0)) |
| 5 |
(export "sub" (func 1)) |
| 6 |
(export "mul" (func 2)) |
| 7 |
(export "div" (func 3)) |
| 8 |
(export "sqrt" (func 4)) |
| 9 |
(export "min" (func 5)) |
| 10 |
(export "max" (func 6)) |
| 11 |
(export "ceil" (func 7)) |
| 12 |
(export "floor" (func 8)) |
| 13 |
(export "trunc" (func 9)) |
| 14 |
(export "nearest" (func 10)) |
| 15 |
(func (;0;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 16 |
local.get $x |
| 17 |
local.get $y |
| 18 |
f32.add |
| 19 |
) |
| 20 |
(func (;1;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 21 |
local.get $x |
| 22 |
local.get $y |
| 23 |
f32.sub |
| 24 |
) |
| 25 |
(func (;2;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 26 |
local.get $x |
| 27 |
local.get $y |
| 28 |
f32.mul |
| 29 |
) |
| 30 |
(func (;3;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 31 |
local.get $x |
| 32 |
local.get $y |
| 33 |
f32.div |
| 34 |
) |
| 35 |
(func (;4;) (type 1) (param $x f32) (result f32) |
| 36 |
local.get $x |
| 37 |
f32.sqrt |
| 38 |
) |
| 39 |
(func (;5;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 40 |
local.get $x |
| 41 |
local.get $y |
| 42 |
f32.min |
| 43 |
) |
| 44 |
(func (;6;) (type 0) (param $x f32) (param $y f32) (result f32) |
| 45 |
local.get $x |
| 46 |
local.get $y |
| 47 |
f32.max |
| 48 |
) |
| 49 |
(func (;7;) (type 1) (param $x f32) (result f32) |
| 50 |
local.get $x |
| 51 |
f32.ceil |
| 52 |
) |
| 53 |
(func (;8;) (type 1) (param $x f32) (result f32) |
| 54 |
local.get $x |
| 55 |
f32.floor |
| 56 |
) |
| 57 |
(func (;9;) (type 1) (param $x f32) (result f32) |
| 58 |
local.get $x |
| 59 |
f32.trunc |
| 60 |
) |
| 61 |
(func (;10;) (type 1) (param $x f32) (result f32) |
| 62 |
local.get $x |
| 63 |
f32.nearest |
| 64 |
) |
| 65 |
) |