Andrey A. Chernov
db0e25eeb9
Whitespace/style tweaking of prev. commit.
...
Noted by: bde
2005-01-21 13:31:02 +00:00
Ruslan Ermilov
720e293ae7
Reflect the reality; only crypt(3) uses /etc/auth.conf
...
for the time being.
2005-01-21 12:07:46 +00:00
Ruslan Ermilov
3ac17feb8a
Fixed xref.
2005-01-21 10:48:35 +00:00
Ruslan Ermilov
5c8e5f2462
Fixed xrefs.
2005-01-21 10:35:40 +00:00
Andrey A. Chernov
2571c7f720
POSIX says that 0[xX] prefix is _optional_ even in base 16 case, make it
...
really so.
"If the value of base is 16, the characters 0x or 0X may optionally
precede the sequence of letters and digits, following the sign if
present."
Found by: joerg
2005-01-21 00:42:13 +00:00
Ruslan Ermilov
24a0682c64
Sort sections.
2005-01-20 09:17:07 +00:00
Tim Kientzle
e01b596372
Support 'CE' records in Rockridge extensions
...
(specifies that record is extended elsewhere on
the disk).
2005-01-20 04:16:55 +00:00
David Schultz
9fd7a48db0
Cut out the gordian handling of subnormals by bit fiddling, and
...
instead use the FPU to convert subnormals to normals. (NB: Further
simplification is possible, such as using the FPU for the rounding
step.)
This fixes a bug reported by stefanf where long double subnormals in
the Intel 80-bit format would be output with one fewer digit than
necessary when the default precision was used.
2005-01-18 18:44:07 +00:00
David Schultz
929ab920ae
Correct the values of FLT_ROUNDS for the FE_UPWARD and FE_DOWNWARD cases.
2005-01-18 15:29:28 +00:00
Tim Kientzle
c47a0d494c
Implement a custom print formatter (archive_string_vsprintf)
...
for libarchive error messages. Mostly, this
avoids a portability headache related to
copying va_list arguments (some FreeBSD 5
platforms require va_copy; FreeBSD 4 doesn't
support va_copy at all). It also dramatically reduces the
size of libarchive for embedded applications:
a minimal "untar" program using libarchive can now be
under 64k statically linked (as opposed to ~100k
using library *printf() functions).
MFC after: 14 days
2005-01-16 22:13:51 +00:00
Ruslan Ermilov
5391441c05
Use the \*(If string provided by mdoc(7), to represent infinity.
2005-01-16 16:49:10 +00:00
Ruslan Ermilov
1fbb01b7f0
Removed redundant .br call.
2005-01-16 16:46:14 +00:00
Philippe Charnier
dab342e9ad
Standardize 2 error messages: start with lowercase letter.
2005-01-16 11:22:42 +00:00
Ruslan Ermilov
c2c7551561
Removed empty line.
2005-01-15 12:45:24 +00:00
Ruslan Ermilov
6a5796e734
Eliminate macro calls inside literal displays.
2005-01-15 12:28:01 +00:00
Ruslan Ermilov
f4bff75eb3
Fixed markup bug.
2005-01-15 12:21:03 +00:00
Ruslan Ermilov
3382f529ff
Markup: convert a display to a list.
2005-01-15 11:40:33 +00:00
Ruslan Ermilov
e8fbc77632
Markup style.
2005-01-15 11:22:13 +00:00
David Schultz
851e420fba
Add a file missed in the previous commit:
...
Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.
The purpose of having a separate file involved an abandoned scheme that
would have kept contrib/gdtoa out of the include path for the rest of libc.
2005-01-15 05:26:32 +00:00
David Schultz
bd15659f64
Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.
...
The purpose of having a separate file involved an abandoned scheme that
would have kept contrib/gdtoa out of the include path for the rest of libc.
2005-01-15 05:23:58 +00:00
David Schultz
cd3cc47033
amd64 assembly versions of sqrt(), lrint(), and llrint() using SSE2.
2005-01-15 03:32:28 +00:00
David Schultz
b6e65225a6
Most libm routines depend on the rounding mode and/or set exception
...
flags, so they are not pure. Remove the __pure2 annotation from them.
I believe that the following routines and their float and long double
counterparts are the only ones here that can be __pure2:
copysign is* fabs finite fmax fmin fpclassify ilogb nan signbit
When gcc supports FENV_ACCESS, perhaps there will be a new annotation
that allows the other functions to be considered pure when FENV_ACCESS
is off.
Discussed with: bde
2005-01-15 02:55:10 +00:00
David Schultz
71936f351e
Braino. Revert rev 1.50.
...
Pointy hat to: das
2005-01-15 00:37:31 +00:00
David Schultz
8e26469445
Remove numerous references to VAX floating-point and the setting of
...
errno, replacing them with a discussion of IEEE exceptions where
appropriate. Cross-reference fenv(3) whenever exceptions are
mentioned.
2005-01-14 23:28:28 +00:00
David Schultz
ce4e53c460
Set math_errhandling to MATH_ERREXCEPT. Now that we have fenv.h, we
...
basically support this, subject to gcc's lack of FENV_ACCESS support.
In any case, the previous setting of math_errhandling to 0 is not
allowed by POSIX.
2005-01-14 22:03:27 +00:00
David Schultz
c165c4b9aa
Remove some #if 0'd code.
2005-01-14 21:51:46 +00:00
Ruslan Ermilov
629a7369d7
Markup fixes.
2005-01-14 21:07:56 +00:00
Ruslan Ermilov
e880667b92
Tiny markup nits.
2005-01-14 09:12:05 +00:00
David Schultz
f365db00e5
Mark all inline asms that read the floating-point control or status
...
registers as volatile. Instructions that *wrote* to FP state were
already marked volatile, but apparently gcc has license to move
non-volatile asms past volatile asms. This broke amd64's feupdateenv
at -O2 due to a WAR conflict between fnstsw and fldenv there.
2005-01-14 07:09:23 +00:00
Stefan Farfeleder
749f5f532e
Fixed too many of "the", and enclose multi-word argument in double quotes.
...
Obtained from: ru
2005-01-13 20:33:42 +00:00
David Schultz
fe69257da2
Import the subset of J.T. Conklin's single-precision x86-optimized
...
math routines that appear to be (a) correct and (b) faster than their
MI counterparts on my Pentium 4.
Obtained from: NetBSD
2005-01-13 18:58:25 +00:00
Jonathan Chen
6920b9cc54
remember to reset nextgrp in getnetgrent(), so that subsequent calls to getnetgrent() doesn't return bogus information.
...
MFC after: 3 days
2005-01-13 18:33:01 +00:00
David Schultz
0d8f9eca28
The isnormal() in rev 1.2 should have been isfinite() so subnormals
...
round correctly.
Noticed by: stefanf
2005-01-13 15:43:41 +00:00
David Schultz
3cdb8115d7
Things that are broken, unneeded, and unused since 1997 belong in the attic.
2005-01-13 15:43:22 +00:00
Ruslan Ermilov
83e0359d53
Markup nits.
2005-01-13 10:43:01 +00:00
Ruslan Ermilov
113ed1bb1d
Fixed too many of "the", and enclose multi-word argument in double quotes.
2005-01-13 09:35:47 +00:00
Stefan Farfeleder
43295fac79
Implement and document ceill().
2005-01-13 09:11:41 +00:00
Stefan Farfeleder
4067ee86a5
Bump .Dd for the last commit.
2005-01-13 09:08:16 +00:00
Ruslan Ermilov
9448d36c69
Revert last delta. The ASCII code 0 character is "NUL",
...
not "NULL", see ascii(7).
2005-01-13 08:49:45 +00:00
Stefan Farfeleder
7e2ee1f065
Hook up and document floorl().
2005-01-12 22:16:26 +00:00
Stefan Farfeleder
17f418f9f4
Implement floorl().
2005-01-12 22:10:46 +00:00
Stefan Farfeleder
a7d82b7150
Whitespace nit.
2005-01-12 22:05:41 +00:00
Tim Kientzle
972d9bed42
Bring some file descriptions in line with reality.
...
Also, add some hints to help people understand which
functions are most appropriate for typical uses.
2005-01-12 05:56:49 +00:00
Brian Somers
41843e7135
Fix some signed/unsigned comparisons. Fix prototypes while I'm here.
...
PR: 28890
Submitted by: matthias.andree at web dot de
MFC after: 7 days
2005-01-12 03:39:34 +00:00
David Schultz
10c9ffa425
Add MI implementations of [l]lrint[f]() and [l]lround[f]().
...
Discussed with: bde
2005-01-11 23:12:55 +00:00
David Schultz
2aac156d2e
Document [l]lrint[f]() and [l]lround[f]().
2005-01-11 23:12:17 +00:00
David Schultz
439e59cf85
Faster lrint() and llrint() implementations for x86.
2005-01-11 23:10:53 +00:00
David Schultz
c1b70ced4f
Mark inline stmxcsr instructions as volatile, since this appears to be
...
the only way to convince gcc that they read the MXCSR. The volatile
annotation may be needed elsewhere as well.
2005-01-11 22:10:43 +00:00
Ruslan Ermilov
2d82ac3110
Scheduled mdoc(7) sweep.
2005-01-11 20:50:51 +00:00
Ruslan Ermilov
4e05ab77a8
Sanitize the markup, as prompted.
2005-01-11 20:16:03 +00:00