summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Split up the Bessel function wrapper files so that most wrapper functionsBruce Evans1997-02-2013-177/+315
| | | | | | | are in their own file. Notes: svn path=/head/; revision=22948
* Removed misplaced duplicate of comment about implementation details.Bruce Evans1997-02-201-22/+0
| | | | Notes: svn path=/head/; revision=22947
* Compute (1 - x^2) as ((1 - x) * (1 + x)) instead of as (1 - x * x) toBruce Evans1997-02-202-11/+23
| | | | | | | | | | | | | | | | | | avoid easily avoidable loss of precision when |x| is nearly 1. Extended (64-bit) precision only moves the meaning of "nearly" here. This probably could be done better by splitting up the range into |x| <= 0.5 and |x| > 0.5 like the C version. However, ucbtest does't report any errors in this version. Perhaps the C version should be used anyway. It's only 25% slower now on a P5, provided the C version of sqrt() isn't used, and the C version could be optimized better. Errors checked by: ucbtest Notes: svn path=/head/; revision=22946
* Typogrammatical error 'with' -> 'when'.Daniel O'Callaghan1997-02-201-1/+1
| | | | | | | This could be put into 2.2. Notes: svn path=/head/; revision=22942
* Add forgotten man page link fts_set.3 -> fts.3Wolfram Schneider1997-02-161-1/+1
| | | | Notes: svn path=/head/; revision=22812
* Select between the generic math functions and the i387-specific onesBruce Evans1997-02-1625-56/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | at runtime. etc/make.conf: Nuked HAVE_FPU option. lib/msun/Makefile: Always build the i387 objects. Copy the i387 source files at build time so that the i387 objects have different names. This is simpler than renaming the files in the cvs repository or repeating half of bsd.lib.mk to add explicit rules. lib/msun/src/*.c: Renamed all functions that have an i387-specific version by adding `__generic_' to their names. lib/msun/src/get_hw_float.c: New file for getting machdep.hw_float from the kernel. sys/i386/include/asmacros.h: Abuse the ENTRY() macro to generate jump vectors and associated code. This works much like PIC PLT dynamic initialization. The PIC case is messy. The old i387 entry points are renamed. Renaming is easier here because the names are given by macro expansions. Notes: svn path=/head/; revision=22808
* Use the C library version of log10() instead of the inaccurate formulaBruce Evans1997-02-161-3/+1
| | | | | | | | | | | | log10(x) = log10e * log(x). The formula would work if the RHS were evaluated in extended precision with an extended precision log(). This actually happened with the i387 log() because it returns excess precision. Found by: ucbtest Notes: svn path=/head/; revision=22804
* Fixed the i87 version of exp(). It returned NaN for args +-Inf. It hadBruce Evans1997-02-161-0/+42
| | | | | | | | | some small (one or two ULP) inaccuracies. Found by: ucbtest Notes: svn path=/head/; revision=22802
* Put back .endif clobbered by the previous commit, breaking theJordan K. Hubbard1997-02-151-0/+1
| | | | | | | build. Notes: svn path=/head/; revision=22748
* Reviewed by: Bruce Evans <bde@freebsd.org>Daniel O'Callaghan1997-02-151-0/+6
| | | | | | | | Guard against possible buffer overrun in filename passed. Another candidate for 2.2. Notes: svn path=/head/; revision=22736
* Allow commonly-used "insecure" as a valid keyword in /etc/ttys.David Nugent1997-02-151-0/+2
| | | | | | | | This prevents keywords after "insecure" occurs being errnoeously parsed as comments. Notes: svn path=/head/; revision=22734
* Disabled the i387 version if log1p(). It just evaluates log(1 + x).Bruce Evans1997-02-151-2/+4
| | | | | | | | | | | | This defeats the point of log1p(). ucbtest reports errors of +-5e+15 ULPs. A correct version would use the i387 fyl2xp1 instruction for small x and maybe scale to small x. The C version does the scaling reasonably efficiently, and fyl2px1 is slow (at least on P5s), so not much is lost by always using the C version (only 25% for small x even with the broken i387 version; 50% for large x). Notes: svn path=/head/; revision=22731
* Moved definitions of PIC macros from SYS.h to DEFS.h so that SYS.hBruce Evans1997-02-143-41/+21
| | | | | | | | | | | doesn't need to be included in files that have nothing to do with syscalls. Added missing `.text' to START_ENTRY so that ENTRY() works when invoked in the data section. Notes: svn path=/head/; revision=22715
* lite2 remame: vfc_index --> vfc_typenumAdam David1997-02-121-1/+1
| | | | Notes: svn path=/head/; revision=22576
* Obsolete fgetline() -> fgetln(); and chop off newline if necessary.David Nugent1997-02-101-4/+5
| | | | Notes: svn path=/head/; revision=22541
* Update to reflect new Lite2 mount.h and friends.Mike Pritchard1997-02-101-50/+53
| | | | Notes: svn path=/head/; revision=22527
* Update to reflect new Lite2 mount.h.Mike Pritchard1997-02-102-6/+16
| | | | Notes: svn path=/head/; revision=22526
* Move _PathLocale to data-only file, so setrunelocale() not pick upAndrey A. Chernov1997-02-092-2/+2
| | | | | | | | | whole setlocale.c module now. Should go into 2.2 Notes: svn path=/head/; revision=22478
* Fix PR2579: potential security hole in rcmd.cWarner Losh1997-02-091-2/+2
| | | | | | | Submitted by: Julian Assange Notes: svn path=/head/; revision=22469
* Do Andrey's homework :) before merging this into 2.2:Joerg Wunsch1997-02-082-1/+6
| | | | | | | | . add idempotency #ifdef . avoid sloppy common-style external declaration. Notes: svn path=/head/; revision=22428
* Include "setlocale.h" for _PathLocale like other parts already didAndrey A. Chernov1997-02-071-3/+2
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22402
* Activate libopiePaul Traina1997-02-071-2/+2
| | | | Notes: svn path=/head/; revision=22385
* Build libopie from contrib_opie module.Paul Traina1997-02-071-0/+27
| | | | Notes: svn path=/cvs2svn/branches/PST/; revision=22375
* Config information for FreeBSDPaul Traina1997-02-071-0/+322
| | | | Notes: svn path=/head/; revision=22373
* Comment out PATH_LOCALE referenceAndrey A. Chernov1997-02-062-2/+2
| | | | | | | Should go into 2.2 Notes: svn path=/head/; revision=22331
* Use symbolic constants instead of hardcoded digitsAndrey A. Chernov1997-02-064-32/+51
| | | | | | | | | | | Add range check for setrunelocale since it can be called directly. Remove _startup_setlocale compatibility function Should go into 2.2 Notes: svn path=/head/; revision=22330
* Fix yet another setlocale() bug.Paul Traina1997-02-061-1/+1
| | | | | | | Submitted by: Wojtek Pilorz <wpilorz@celebris.bdk.lublin.pl> Notes: svn path=/head/; revision=22328
* Submitted by: John BirrellJulian Elischer1997-02-05127-558/+3037
| | | | | | | uthreads update from the author. Notes: svn path=/head/; revision=22315
* Add XXX comment describing potential memset non-portable issueAndrey A. Chernov1997-02-051-0/+3
| | | | | | | Nitpicked-by: joerg Notes: svn path=/head/; revision=22308
* Update the comment why range checking is not neededAndrey A. Chernov1997-02-051-1/+1
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22305
* Update the comment why range checking not neededAndrey A. Chernov1997-02-053-4/+4
| | | | | | | | | | Fix setrunelocale fail if called directly without prior setlocale call Should go in 2.2 Notes: svn path=/head/; revision=22304
* Killed getenv of PATH_LOCALE per Andrey's suggestion. It was intendedDavid Greenman1997-02-051-11/+2
| | | | | | | | for debugging locale stuff, but was rarely if ever used...and of course just bit a big chunk out of our collective hind-ends. Notes: svn path=/head/; revision=22288
* 1MB is 1048576 bytes, not 1038476 bytes. (I can see that the originalSatoshi Asami1997-02-051-1/+1
| | | | | | | committer wasn't using the MicroSlop Natural keyboard though! :) Notes: svn path=/head/; revision=22280
* Add yet one comment saying that range checking already doneAndrey A. Chernov1997-02-031-0/+1
| | | | | | | to stop people "fixing" it by snprintf Notes: svn path=/head/; revision=22237
* Cruft cleanup to eliminate useless warningsPaul Traina1997-02-021-3/+6
| | | | Notes: svn path=/head/; revision=22230
* Make this texinfo file info-aware.Joerg Wunsch1997-02-012-5/+69
| | | | | | | | | | I notice info(1) has some problems moving back and forth through the resulting info file, but emacs doesn't, so i figure it's rather a problem with info(1) itself. To the least, this file installs now finally. Notes: svn path=/head/; revision=22176
* Don't use hardcoded *roff font change requests.Mike Pritchard1997-01-312-3/+5
| | | | Notes: svn path=/head/; revision=22150
* Don't use hardcoded *roff font change requests. Do itMike Pritchard1997-01-317-18/+56
| | | | | | | via mdoc macros instead. Notes: svn path=/head/; revision=22149
* Very minor mdoc cleanup.Mike Pritchard1997-01-3119-36/+36
| | | | Notes: svn path=/head/; revision=22147
* Update to reflect current include files.Mike Pritchard1997-01-301-3/+12
| | | | Notes: svn path=/head/; revision=22140
* Update to reflect current include files.Mike Pritchard1997-01-305-32/+41
| | | | Notes: svn path=/head/; revision=22139
* Dont' mlink getgrent.3 to setgrfile.3, since there is noMike Pritchard1997-01-301-1/+1
| | | | | | | setgrfile() function. Notes: svn path=/head/; revision=22138
* Update to reflect current include files.Mike Pritchard1997-01-307-47/+172
| | | | Notes: svn path=/head/; revision=22134
* Update to reflect current include files.Mike Pritchard1997-01-301-2/+2
| | | | Notes: svn path=/head/; revision=22132
* Correct "Chflags() will fail it:" to read "Chflags() will fail if:".Joshua Peck Macdonald1997-01-301-1/+1
| | | | Notes: svn path=/head/; revision=22117
* Fix free()ing block twice, remove unused function.David Nugent1997-01-301-15/+1
| | | | Notes: svn path=/head/; revision=22111
* Fix typo .->, for default separators in login_getcaplist().David Nugent1997-01-291-1/+2
| | | | Notes: svn path=/head/; revision=22088
* Completed fixes with login_getcapsize().David Nugent1997-01-291-1/+2
| | | | Notes: svn path=/head/; revision=22087
* Added -Wall to CFLAGS, cleaned up (all avoidable) warnings.David Nugent1997-01-292-2/+3
| | | | Notes: svn path=/head/; revision=22086
* 1) Fixed bug in free()ing internal string/array whereDavid Nugent1997-01-291-24/+32
| | | | | | | | | | allocated size not reset to 0 causing NULL dereference on call after login_close(). 2) Modify login_capsize() behaviour to match manpage, allow concatenated sizes; ie. 10m500k Notes: svn path=/head/; revision=22085