diff options
Diffstat (limited to 'test/spec/f64.wast')
-rw-r--r-- | test/spec/f64.wast | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/spec/f64.wast b/test/spec/f64.wast index 26a058a25..6f6d91199 100644 --- a/test/spec/f64.wast +++ b/test/spec/f64.wast @@ -2,20 +2,20 @@ ;; values (except comparison operators, which are tested in f64_cmp.wast). (module - (func (export "add") (param $x f64) (param $y f64) (result f64) (f64.add (get_local $x) (get_local $y))) - (func (export "sub") (param $x f64) (param $y f64) (result f64) (f64.sub (get_local $x) (get_local $y))) - (func (export "mul") (param $x f64) (param $y f64) (result f64) (f64.mul (get_local $x) (get_local $y))) - (func (export "div") (param $x f64) (param $y f64) (result f64) (f64.div (get_local $x) (get_local $y))) - (func (export "sqrt") (param $x f64) (result f64) (f64.sqrt (get_local $x))) - (func (export "min") (param $x f64) (param $y f64) (result f64) (f64.min (get_local $x) (get_local $y))) - (func (export "max") (param $x f64) (param $y f64) (result f64) (f64.max (get_local $x) (get_local $y))) - (func (export "ceil") (param $x f64) (result f64) (f64.ceil (get_local $x))) - (func (export "floor") (param $x f64) (result f64) (f64.floor (get_local $x))) - (func (export "trunc") (param $x f64) (result f64) (f64.trunc (get_local $x))) - (func (export "nearest") (param $x f64) (result f64) (f64.nearest (get_local $x))) - (func (export "abs") (param $x f64) (result f64) (f64.abs (get_local $x))) - (func (export "neg") (param $x f64) (result f64) (f64.neg (get_local $x))) - (func (export "copysign") (param $x f64) (param $y f64) (result f64) (f64.copysign (get_local $x) (get_local $y))) + (func (export "add") (param $x f64) (param $y f64) (result f64) (f64.add (local.get $x) (local.get $y))) + (func (export "sub") (param $x f64) (param $y f64) (result f64) (f64.sub (local.get $x) (local.get $y))) + (func (export "mul") (param $x f64) (param $y f64) (result f64) (f64.mul (local.get $x) (local.get $y))) + (func (export "div") (param $x f64) (param $y f64) (result f64) (f64.div (local.get $x) (local.get $y))) + (func (export "sqrt") (param $x f64) (result f64) (f64.sqrt (local.get $x))) + (func (export "min") (param $x f64) (param $y f64) (result f64) (f64.min (local.get $x) (local.get $y))) + (func (export "max") (param $x f64) (param $y f64) (result f64) (f64.max (local.get $x) (local.get $y))) + (func (export "ceil") (param $x f64) (result f64) (f64.ceil (local.get $x))) + (func (export "floor") (param $x f64) (result f64) (f64.floor (local.get $x))) + (func (export "trunc") (param $x f64) (result f64) (f64.trunc (local.get $x))) + (func (export "nearest") (param $x f64) (result f64) (f64.nearest (local.get $x))) + (func (export "abs") (param $x f64) (result f64) (f64.abs (local.get $x))) + (func (export "neg") (param $x f64) (result f64) (f64.neg (local.get $x))) + (func (export "copysign") (param $x f64) (param $y f64) (result f64) (f64.copysign (local.get $x) (local.get $y))) ) (assert_return (invoke "add" (f64.const -0x0p+0) (f64.const -0x0p+0)) (f64.const -0x0p+0)) |