summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-04-29 17:19:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-04-29 17:19:19 +0000
commitf3fed61be561efabda79c6cefec7d71e24624162 (patch)
tree856b7aa6c6bc0b36be434e4172d18c84858135f0 /usr.bin/mg
parentc915d3265d1bd85a1d344f690c98e75550a13ffc (diff)
Clean up <machine/ieeefp.h> and make sure the rounding mode bits match the
hardware. Implement fp[gs]etround(3) and fp[gs]etsticky(3) and tweak the fp[gs]etmask(3) implementation to provide the right weak symbols. This implementation deliberately ignores the additional "round to nearest, away from zero" as this interface is derived from i386-specific code and the i387 FPU doesn't implement such a rounding mode. This is a legacy API and code should use <fenv.h> instead. ok drahn@
Diffstat (limited to 'usr.bin/mg')
0 files changed, 0 insertions, 0 deletions