NetBSD/lib
wennmach cf92bf760d Reimplement s_log1p.S and s_log1pf.S to use the fyl2xp1 instruction
where necessary.

The log1p() function is provided to compute an accurate value of
log(1 + x), even for tiny values of x. The i387 FPU provides the
fyl2xp1 instruction for this purpose.

However, since the range of the fyl2xp1 function is limited to
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
          (-0.292893 <= x <= 0.414214)
we need to check if the argument is in the valid range.

In order to reduce the cost for testing the range, we only use
fyl2xp1 if the argument is in the range
               -0.25 <= x <= 0.25
which can be checked with just one conditional branch.

Fixes PR lib/22599 by Ray Brownrigg.
2003-09-10 16:45:43 +00:00
..
csu Allow platforms to define __EH_FRAME_CONST. Currently "const" for x86_64, 2003-09-07 22:27:54 +00:00
i18n_module add iconv_t cache. 2003-07-01 09:42:15 +00:00
libarch Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libasn1 Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
libbsdmalloc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libbz2
libc Add semicolons when enumerating variables (looks more natural); 2003-09-10 14:27:22 +00:00
libcdk
libcom_err The config.h we get when building as a host tool is the libnbcompat 2002-09-13 18:30:43 +00:00
libcompat Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libcrypt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libcrypto upgrade openssl to 0.9.7b. (AES is now supported) 2003-07-24 14:16:30 +00:00
libcrypto_idea
libcrypto_mdc2 MDC2 is a patented algorithm; don't ship it in default libcrypto. 2002-09-26 13:05:54 +00:00
libcrypto_rc5
libcurses Revert most of rev 1.27 of addbytes.c and associated changes. 2003-08-10 07:37:11 +00:00
libdes Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of 2003-08-03 09:23:14 +00:00
libedit Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libevent Various fixes; add LIBRARY section. 2003-07-04 12:29:38 +00:00
libform netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
libgssapi install more man pages 2003-05-26 09:22:29 +00:00
libhdb Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
libintl Use 2003-04-16 13:34:34 +00:00
libipsec deal with policy without selector. sync w/ kame 2003-09-08 10:16:31 +00:00
libkadm Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
libkadm5clnt Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
libkadm5srv Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
libkafs split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
libkdb
libkrb upgrade openssl to 0.9.7b. (AES is now supported) 2003-07-24 14:16:30 +00:00
libkrb5 Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
libkstream no longer need to -I/usr/include first (yes, it's still confusing, i admit) 2003-07-23 13:35:13 +00:00
libkvm Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libl
libm Reimplement s_log1p.S and s_log1pf.S to use the fyl2xp1 instruction 2003-09-10 16:45:43 +00:00
libmagic lint should pass "empty translation unit" now 2003-05-25 21:51:14 +00:00
libmenu Remove the resetting of top_row, cur_item and the pattern buffer from 2003-04-19 12:52:39 +00:00
libossaudio Use 2003-04-16 13:34:34 +00:00
libpcap Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
libpci Use 2003-04-16 13:34:34 +00:00
libpmc Include string.h for strcmp. 2003-05-21 20:29:51 +00:00
libposix Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
libpthread Remove possible race condition in upcall recycling. 2003-09-07 14:47:44 +00:00
libpthread_dbg Adapt to structure name changes. 2003-07-17 21:14:49 +00:00
libresolv
librmt Use 2003-04-16 13:34:34 +00:00
libroken version 12.3 2002-09-12 13:39:53 +00:00
librpcsvc netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
librt use __RCSID() 2003-03-09 00:42:56 +00:00
libskey Grammar, spelling, markup fixes from jmc@openbsd. 2003-06-06 13:42:49 +00:00
libsl
libss
libssl switch to openssl 0.9.7b 2003-07-24 14:28:57 +00:00
libtelnet Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libterm Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libusbhid netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
libutil initialize 'res' to NULL 2003-09-08 20:54:48 +00:00
libvers
libwrap Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'. 2003-09-07 16:22:20 +00:00
liby Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
libz remove parameter names to avoid shadowing of globals. 2003-03-22 17:23:09 +00:00
bumpversion netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
checkoldver yet another check version script. 2002-11-15 16:15:20 +00:00
checkver
checkvers
Makefile libkafs is needed for both krb4 and krb5. lha 2003-07-23 20:48:51 +00:00
Makefile.inc