(module
(type (;0;) (func (param f64) (result f64)))
(type (;1;) (func (param f64 f64) (result f64)))
(type (;2;) (func))
(import "main" "foo" (global (;0;) (mut f64)))
(import "shims" "sin" (func (;0;) (type 0)))
(import "shims" "cos" (func (;1;) (type 0)))
(import "shims" "tan" (func (;2;) (type 0)))
(import "shims" "asin" (func (;3;) (type 0)))
(import "shims" "acos" (func (;4;) (type 0)))
(import "shims" "atan" (func (;5;) (type 0)))
(import "shims" "atan2" (func (;6;) (type 1)))
(import "shims" "rand" (func (;7;) (type 0)))
(import "shims" "pow" (func (;8;) (type 1)))
(import "shims" "log" (func (;9;) (type 0)))
(import "shims" "log10" (func (;10;) (type 0)))
(import "shims" "exp" (func (;11;) (type 0)))
(import "shims" "sigmoid" (func (;12;) (type 1)))
(func (;13;) (type 1) (param f64 f64) (result f64)
(local i32)
local.get 1
i32.trunc_f64_s
local.tee 2
i32.const 0
i32.ne
if (result f64) ;; label = @1
local.get 0
i32.trunc_f64_s
local.get 2
i32.rem_s
f64.convert_i32_s
else
f64.const 0x0p+0 (;=0;)
end)
(func (;14;) (type 2)