floatprobe

command
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Command floatprobe is a throwaway js/wasm entrypoint used only by the E5-S2 float-parity test. It is NOT part of the shipping wasm bundle (that is cmd/prismwasm); it exists so render.FormatFloat can be exercised inside a real wasm module built by BOTH the standard Go toolchain AND TinyGo, and the two outputs diffed against the host.

It publishes the render.FormatFloat rendering of the shared floatcorpus.Values() corpus as a plain string on globalThis.prismFloatProbe, then parks so the module stays live while the Node runner reads the value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL