diff options
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index 227cf5e79..70eece97d 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -38,6 +38,7 @@ (export "conversions" (func $conversions)) (export "switcher" (func $switcher)) (export "frem" (func $frem)) + (export "frem_float" (func $legalstub$frem_float)) (export "big_uint_div_u" (func $big_uint_div_u)) (export "fr" (func $legalstub$fr)) (export "negZero" (func $negZero)) @@ -379,6 +380,20 @@ ) ) ) + (func $frem_float (result f32) + (return + (f32.demote/f64 + (call $f64-rem + (f64.promote/f32 + (f32.const 5.5) + ) + (f64.promote/f32 + (f32.const 1.2000000476837158) + ) + ) + ) + ) + ) (func $big_uint_div_u (result i32) (local $x i32) (set_local $x @@ -1990,6 +2005,11 @@ (get_local $x) ) ) + (func $legalstub$frem_float (result f64) + (f64.promote/f32 + (call $frem_float) + ) + ) (func $legalstub$fr (param $0 f64) (call $fr (f32.demote/f64 |