stage3 now builds.
Non-hex float output now correctly supports upper-case inf/nan.
- `1.00001e5` - should have rounded down to even - `0x0.0p0` - should not print the unnecessary decimal part - `0x0.004p-14` - printed unnormalized form. Not strictly wrong, but normalized form is better for fixed-precision output. - `0.01563` - should have rounded down to even - `18014400656965632` - what I think happens here is the result is actually considered in exponent form as 1.801440065696563e16 as shortest form. When emitting as decimal in std, it would 0-pad to get the trailing 0 when the exact repr is actually ...632 which can easily be calculated from 2^54 + 2^31. Both however still round-trip. - `3.1415` - this is not exact. The exact value is 3.14149996, thus we should round down and not up to even.
This should be just as quick if not quicker and makes the mental model simpler for the caller.
Sign in to join this conversation.
No description provided.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?