diff options
author | 2014-07-01 20:26:09 +0000 | |
---|---|---|
committer | 2014-07-01 20:26:09 +0000 | |
commit | 203eb91acc2ffb2009d5c59a13ca37bd2340359d (patch) | |
tree | 4ace50ead87cedcc51638c9071c49d4e3f08abdd /usr.bin/mandoc/mdoc.c | |
parent | Make normalizeRoundAndPackFloat{32,64} non-static; they will be used outside (diff) | |
download | wireguard-openbsd-203eb91acc2ffb2009d5c59a13ca37bd2340359d.tar.xz wireguard-openbsd-203eb91acc2ffb2009d5c59a13ca37bd2340359d.zip |
Replace the assembly 88100 FPU imprecise exception code (mostly triggered by
denormal results) with C code using softfloat to correctly round the inexact
results in the best possible way according to the current rounding mode.
No functional change intended, and this assembly code was surprisingly almost
non-buggy, as opposed to the precise exception code replaced a few weeks ago;
still an improvement as this replaces 900 lines of arcane assembly with 90
lines of understandable C code.
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions