summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-02-21 17:44:57 +0000
committerdas <das@FreeBSD.org>2005-02-21 17:44:57 +0000
commitc08295146276c267807ebb20abbe29853253c03c (patch)
treeb60f2aab5076ffba4c69f1a06cbbd8e47653dbcc /lib/libc/stdlib/div.c
parent3f3a242171fb1866a10ff497dfeb3e91fb6afffe (diff)
downloadFreeBSD-src-c08295146276c267807ebb20abbe29853253c03c.zip
FreeBSD-src-c08295146276c267807ebb20abbe29853253c03c.tar.gz
Use double arithmetic instead of simulating it with two floats. This
results in a performance gain on the order of 10% for amd64 (sledge), ia64 (pluto1), i386+SSE (Pentium 4), and sparc64 (panther), and a negligible improvement for i386 without SSE. (The i386 port still uses the hardware instruction, though.)
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud