clear sign bit, instead of comparing to zero and setting x=-x.
authormartynas <martynas@openbsd.org>
Wed, 23 Jul 2008 18:11:13 +0000 (18:11 +0000)
committermartynas <martynas@openbsd.org>
Wed, 23 Jul 2008 18:11:13 +0000 (18:11 +0000)
commit67ed3a45ca7d949909c464480b330eaae034c6ac
treee0eb8a810f10c9dbc2e6f7b02c4e64001d0eb161
parent99c7fa6d1743204b97cd67dca2736882feaedfd7
clear sign bit, instead of comparing to zero and setting x=-x.
fixes special cases, such as neg. zero, and makes C99 conformant
ok miod@, millert@
since there's nothing else in arm's fabs.c, replace 4-clause license
w/ the one at /usr/share/misc/license.template
lib/libc/arch/arm/gen/fabs.c
lib/libc/arch/sh/gen/fabs.c