v8/test/common/wasm
Clemens Backes 64dfb0b4ad [wasm][interpreter] Print float in hex representation
The interpreter is used for testing (including fuzzing) only, and in
these cases it's often important to see the exact value of a float. Both
decimal and scientific notation does not show the full value though, and
decimal representation can also be really long for large values, making
it hard to compare values.
This CL switches this debug output to hexadecimal float values, which
always shows the float value in full precision and is also much shorter
than decimal notation in many cases.

R=ahaas@chromium.org

Bug: chromium:1112099
Change-Id: Ia84824227fcd2f1e763ab89280a202ed44930a71
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2346646
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69323}
2020-08-11 10:12:20 +00:00
..
flag-utils.h [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-gc] Establish HeapType shorthands, rework signatures. 2020-06-19 08:43:44 +00:00
wasm-interpreter.cc [wasm][interpreter] Print float in hex representation 2020-08-11 10:12:20 +00:00
wasm-interpreter.h [wasm][fuzzer] Check result of compiled code vs interpreter 2020-08-10 14:59:46 +00:00
wasm-macro-gen.h [wasm-gc] Implement {array,struct}.new_default_with_rtt 2020-08-10 10:50:26 +00:00
wasm-module-runner.cc [wasm][fuzzer] Check result of compiled code vs interpreter 2020-08-10 14:59:46 +00:00
wasm-module-runner.h [wasm][fuzzer] Check result of compiled code vs interpreter 2020-08-10 14:59:46 +00:00