Skip to content

Float Unary Ops

(module
(func (export "rounding") (param $x f32) (result f32)
(f32.ceil (local.get $x)))
)

Also: f32.floor, f32.trunc, f32.nearest, f32.abs, f32.neg, f32.sqrt, f32.min, f32.max, f32.copysign and all f64.* variants.