diff --git a/test/common/wasm/wasm-interpreter.cc b/test/common/wasm/wasm-interpreter.cc index 9d22fded89..cc89577cae 100644 --- a/test/common/wasm/wasm-interpreter.cc +++ b/test/common/wasm/wasm-interpreter.cc @@ -3720,10 +3720,10 @@ class WasmInterpreterInternals { PrintF("i64:%" PRId64 "", val.to()); break; case ValueType::kF32: - PrintF("f32:%f", val.to()); + PrintF("f32:%a", val.to()); break; case ValueType::kF64: - PrintF("f64:%lf", val.to()); + PrintF("f64:%la", val.to()); break; case ValueType::kS128: { // This defaults to tracing all S128 values as i32x4 values for now,