kleink
2ddae9dc8a
Add manual pages for fpclassify and isfinite.
2003-10-29 22:59:23 +00:00
kleink
26198324b4
Merge tzcode2003d.
2003-10-29 20:43:27 +00:00
kleink
dc2bc4a89d
Import tzcode2003d.
2003-10-29 20:19:13 +00:00
kleink
0a97d0875b
C99 7.12.3.2: add library portions of isfinite, but don't build these just
...
yet.
2003-10-29 20:03:51 +00:00
kleink
3991bf60bc
Fix the exponent value we're comparing with.
2003-10-29 19:34:11 +00:00
cl
812a254c5d
remove incorrect assert:
...
regular threads can block in the kernel while holding (libpthread) locks
and have to be continued
XXX if the blocked upcall is preempted, the blocked threads syscall
XXX return value can get lost
2003-10-29 18:53:34 +00:00
pooka
70d2e11feb
caps "Jonathan STone" in comment less dramatically
2003-10-29 12:28:33 +00:00
kleink
6bffe7fb50
Upon rereading the implementation suggestions in the standard, rename the
...
double-precision version to __fpclassifyd(). No need to diverge, here.
2003-10-28 22:50:42 +00:00
kleink
75327729a2
C99 7.12.3.1: add IEEE library portions of fpclassify. Don't build these
...
yet as the VAX implementation is still subject to discussion.
2003-10-28 22:05:37 +00:00
kleink
72f016b386
Retire FPA support from this file at last; suggested by Richard Earnshaw
...
and not objected to by port-arm.
2003-10-28 21:44:04 +00:00
jmc
782579c57a
SUSE3 says htonl and friends come in via arpa/inet.h. This will actually not
...
hurt on NetBSD and makes hosting on non-native for tools/ work correctly
2003-10-28 04:00:51 +00:00
matt
a54bd8931a
Fix tpyo. (ieee854 -> ieee754)
2003-10-28 01:24:06 +00:00
kleink
fdb80dd054
Ignore the explicit integer bit here, too; otherwise an infinity with the
...
explicit integer bit set could be classified as NaN.
2003-10-28 00:13:22 +00:00
christos
8b40dcaecf
Make readline csh-like history work.
...
From Gerry Swislow <gerry at certif dot com>.
2003-10-27 22:26:35 +00:00
pooka
114cac461f
magic_errno() was added -> bump minor
2003-10-27 17:09:43 +00:00
skrll
f81f06350d
One ';' is enough.
2003-10-27 09:27:03 +00:00
mrg
dcce429e93
fix a typo that caused the build to fail. mmm commit before compile
2003-10-27 03:09:43 +00:00
christos
5f4474073a
Explain the stack layout correctly now that that I understand it :-)
2003-10-27 02:33:06 +00:00
lukem
477697b1f2
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 02:17:18 +00:00
kleink
964d6747b5
Err, rename some members added in previous to make them reflect their
...
semantics better.
2003-10-27 01:11:46 +00:00
christos
6664eb5f2d
Add __sigtramp2
2003-10-27 00:46:05 +00:00
christos
d9676dda89
Signal trampoline stuff for siginfo.
...
XXX: I don't understand why I am off by 48 bytes.
2003-10-27 00:45:36 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
kleink
5976f8aa56
Retire local union { floating-type; struct ieee_prec; } in favor of those
...
available from <machine/ieee.h>
2003-10-27 00:05:46 +00:00
kleink
55337d2d6f
On FPA, switch back `long double' to double-precision. According to
...
Richard Earnshaw, extended-precision was never supported by the compiler.
2003-10-26 16:00:17 +00:00
kleink
be5cd162d0
Use the generic long double' ==
double' versions on m68000.
2003-10-26 10:03:11 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
kleink
a98b4bac65
Add __infinityf and __infinityl, float respectively long double analogs
...
of __infinity.
2003-10-26 00:48:14 +00:00
kleink
e9788d63be
Whitespace cosmetics.
2003-10-25 22:43:26 +00:00
kleink
142c4159e8
libc.so.12.106: __infinityf, __infinityl.
2003-10-25 22:33:14 +00:00
kleink
9f3dbee22c
Add __infinityf and __infinityl, float respectively long double analogs
...
of __infinity.
2003-10-25 22:31:20 +00:00
kleink
8e2428c2c6
Remove an unnecessary line continuation backslash from previous.
2003-10-25 21:54:30 +00:00
kleink
c6126e1095
Sync with i386:
...
Update to account for separate handling of the explicit integer bit;
simplifies a little.
2003-10-25 21:48:34 +00:00
kleink
044354301a
Update to account for separate handling of the explicit integer bit;
...
simplifies a little.
2003-10-25 21:42:07 +00:00
kleink
72315d3199
Update for FPA 80-bit extended-precision format.
2003-10-25 18:37:43 +00:00
kleink
25de9f5e2a
Swap VFP and FPA sections to match the style of most other code;
...
no functional change.
2003-10-25 17:57:15 +00:00
cl
342cbd284f
replace __longjmp14 asm-implementation with __longjmp14 C-implementation
...
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
2003-10-25 17:13:57 +00:00
kleink
bb5e0820bc
Redo the VFP/endianness conditional logic of this file, making it easier
...
to read. No functional change except for the side-effect of fixing the
ARMEB FPA case, which wasn't supported anyway.
2003-10-25 16:17:44 +00:00
he
6afbde6005
Correct another typo.
2003-10-25 14:51:16 +00:00
kleink
15e03bd18f
Pasto in previous.
2003-10-25 14:31:21 +00:00
christos
075b83474e
add a pair of double quotes.
2003-10-25 07:53:12 +00:00
christos
5028fe3e04
delint pointer casts.
2003-10-25 07:31:27 +00:00
christos
ad96bb0dec
remove unused variable
2003-10-25 07:31:12 +00:00
christos
9ee15c697a
Another fix for incremental search prev.
2003-10-25 06:42:41 +00:00
kleink
661f76699f
POSIX: when attempting to fdatasync(2) a file which is not open for
...
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
kleink
17bcc01b65
Oops, re-add line continuation.
2003-10-24 19:50:13 +00:00
yamt
2016949b00
update a comment.
2003-10-24 17:35:22 +00:00
kleink
4ca4f9f41a
Add an error check to ensure these are used on platforms without a
...
distinct long doble type only.
2003-10-24 10:30:36 +00:00
uwe
d469976b59
In PIC code "braf" to cerror, not "bsrf" to it!
2003-10-24 04:41:28 +00:00
kleink
712c8de209
* Since there is no single portable IEEE 754 format for a long double,
...
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
2003-10-24 00:58:01 +00:00