Commit e00a790
[PARKED] FASTFLOAT_ASSUME_ROUNDS_TO_NEAREST: compile-time bypass of the rounds_to_nearest() probe
Opt-in macro folding rounds_to_nearest() to true, eliding the volatile-FCMP probe
on the Clinger fast path (parity with ffc's FFC_ROUNDS_TO_NEAREST / EXP-030).
Correctness: bit-identical to default over 200k values in round-to-nearest env
(default build #ifdef-guarded => unchanged). Benchmark (4 Intel gens, c++17+20):
marginal — mesh ~+2.6%, canada ~+1.5%, random neutral/noisy (random uses
Eisel-Lemire, not the Clinger fast path, so no probe to elide). Per-cell noise
incl. small regressions. PARKED: real but below the clean accept bar.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent e0b53ea commit e00a790
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
0 commit comments