Home / Docs / Diagnostics

U6006: The floating-point environment of the platform is not the default one

Release v0.4.0

A self-test finds that the floating-point environment of the platform is not the default one. When a probe gives other bits, the run stops before the program starts, with U6006 and the name of the probe, exit code 1 and no source location.

Why Una rejects it

Every F64 result is the same, bit for bit, in both engines and on every machine (spec/29, ADR 0114). That holds only under the default floating-point environment: rounding to nearest, ties to even, with subnormal numbers neither flushed to zero nor read as zero.

How to fix it

The cause is the platform, not the program, so there is no failing example to show here: an emulator setting, a preloaded library or other foreign code left a mode the language cannot run under as specified. Run on a supported platform, and remove what changes the environment.