diff options
author | Michael Forney <mforney@mforney.org> | 2021-05-02 11:52:48 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-05-02 11:56:52 -0700 |
commit | 197fc75ab9850402b47d79da2e6cde47c8deb7d4 (patch) | |
tree | fcddeb4d218a436bc11b57fc9c5caf26f8659948 /test | |
parent | 3c17cff77ccee8c90d5ffea02b7cc8f7e828a4b8 (diff) |
qbe: Use fixed precision of 17 when printing floating point constants
It appears that some operating systems don't yet support the C11
DBL_DECIMAL_DIG. In order to ensure consistent output no matter the
precision of long double (which varies from arch to arch), just use
a fixed 17, which is sufficient for IEEE 754 binary64.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions