Fix printing float results from the CLI (#2797)
Previously their bit patterns were printed interpreted as decimals, now they're printed as floats.
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
(func (export "simple") (param i32) (result i32)
|
||||
local.get 0
|
||||
)
|
||||
)
|
||||
(func (export "get_f32") (result f32) f32.const 100)
|
||||
(func (export "get_f64") (result f64) f64.const 100)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user