Commit f1dea4c
authored
Fix precision bug for LONGREAL literal.
Emit enough significant digits for the C compiler to re-parse the exact binary value: a 64-bit LONGREAL needs 17 (DBL_DECIMAL_DIG). The old 13 truncated the literal, so C parsed a rounded, different double — a C-backend float-literal precision bug.1 parent e4ba87a commit f1dea4c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments