1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib
David Schultz 8862f666ad Fix some problems with asinf(), acosf(), atanf(), and atan2f():
- Adjust several constants for float precision. Some thresholds
  that were appropriate for double precision were never changed
  when these routines were converted to float precision. This
  has an impact on performance but not accuracy. (Submitted by bde.)

- Reduce the degrees of the polynomials used. A smaller degree
  suffices for float precision.

- In asinf(), use double arithmetic in part of the calculation to
  avoid a corner case and some complicated arithmetic involving a
  division and some buggy constants. This improves performance and
  accuracy.

Max error (ulps):
         asinf  acosf  atanf
before   0.925  0.782  0.852
after    0.743  0.804  0.852

As bde points out, it's cheaper for asin*() and acos*() to use
polynomials instead of rational functions, but that's a task for
another day.
2008-08-01 01:24:25 +00:00
..
bind
csu Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00
libalias -Don't pass down the entire pkt to ProtoAliasIn, ProtoAliasOut, FragmentIn 2008-03-12 11:58:29 +00:00
libarchive Garbage collect a variable which is assigned a value once but otherwise 2008-07-10 09:50:55 +00:00
libautofs
libbegemot
libbluetooth
libbsm
libbsnmp
libbz2
libc Convert popen()'s `pidlist' to a SLIST, for consistency. 2008-07-29 16:29:59 +00:00
libc_r Call the fcntl compatiblity wrapper from the thread library fcntl wrappers 2008-05-30 14:47:42 +00:00
libcalendar
libcam
libcom_err
libcompat Turn sgtty into a binary-only compatibility interface. 2008-06-14 10:42:18 +00:00
libcrypt
libdevinfo
libdevstat The devstat(3) manpage claims that only <devstat.h> is needed as a 2008-01-31 16:55:12 +00:00
libdisk Add MIPS support to libdisk 2008-05-04 22:24:40 +00:00
libdwarf Add a BSD licensed DWARF library for use by the DTrace clients. 2008-05-22 02:14:23 +00:00
libedit
libelf Relax the strict type check because gcc as distributed doesn't create 2008-05-23 07:35:36 +00:00
libexpat Update the lib/expat tree for the new v2.0.1 expat import. The bsdxml.h 2008-05-08 14:01:42 +00:00
libfetch Fix one-byte buffer overflow: NUL gets written to the buffer, but isn't 2008-04-15 23:29:51 +00:00
libftpio Don't set the _file member of the FILE when opening a FTP connection. 2008-05-08 20:05:30 +00:00
libgeom - Simplify the procedure of retrieving XML-data from the kernel. 2008-07-08 17:34:50 +00:00
libgpib
libgssapi Fix conflicts after heimdal-1.1 import and add build infrastructure. Import 2008-05-07 13:53:12 +00:00
libipsec
libipx
libkiconv
libkse Call the fcntl compatiblity wrapper from the thread library fcntl wrappers 2008-05-30 14:47:42 +00:00
libkvm First cut at doing the kvm file needed for mips. 2008-07-23 07:24:55 +00:00
libmagic
libmd
libmemstat
libmilter Switch libmilter from select(2) to poll(2) so milters are not limited 2008-02-17 05:14:47 +00:00
libmp
libncp
libnetgraph
libngatm
libopie
libpam Add new heimdal-1.1 library. 2008-05-15 15:28:18 +00:00
libpcap
libpmc - Document Pentium and Pentium MMX events. 2008-03-14 06:22:03 +00:00
libproc Add the Makefile for the process library which was missed in the previous 2008-05-22 02:10:14 +00:00
libradius
librpcsvc set WARNS to 1: with WARNS=2 an aliasing error in a file generated by 2008-02-05 20:03:45 +00:00
librt
libsbuf
libsdp Add mandatory "security description" SDP parameter to the PANU profile 2008-03-19 00:06:30 +00:00
libsm
libsmb
libsmdb
libsmutil
libstand Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00
libtacplus
libtelnet
libthr In function pthread_condattr_getpshared, store result correctly. 2008-08-01 01:21:49 +00:00
libthread_db Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} to 2008-07-31 20:25:52 +00:00
libufs
libugidfw
libusbhid
libutil Add support for a new login capability, cpumask which allows login 2008-07-25 19:58:14 +00:00
libvgl
libwrap
liby
libypclnt
libz
msun Fix some problems with asinf(), acosf(), atanf(), and atan2f(): 2008-08-01 01:24:25 +00:00
ncurses - Update for ncurses 5.6-20080509 2008-05-09 02:28:52 +00:00
Makefile Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 2008-05-25 22:11:40 +00:00
Makefile.inc