diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-24 09:40:17 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-24 09:40:17 +0000 |
commit | 2ec7cce2cd45879c42ccb64e6e1af0ac00821881 (patch) | |
tree | 62f03fe09f9cd848de938d1a21bba012b95b5c98 /lib/libm/noieee_src | |
parent | 810ecdd990549c84c64bdf821064fbac3ca0712f (diff) |
- remove isinff, isnanf. this has been moved to libc
- remove never-enabled signbit. libc has is now
- add C99 implementations, from freebsd, for nan(), nanf() (needed
to write _digittoint for it), exp2(), exp2f(), remquo(), remquof(),
needed STRICT_ASSIGN macro for math_private.h
- bump major
man pages will follow
exp2{,f} has been requested by chl@
ok millert@
Diffstat (limited to 'lib/libm/noieee_src')
-rw-r--r-- | lib/libm/noieee_src/n_support.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/lib/libm/noieee_src/n_support.c b/lib/libm/noieee_src/n_support.c index c0aa3dc6573..63c6706d588 100644 --- a/lib/libm/noieee_src/n_support.c +++ b/lib/libm/noieee_src/n_support.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.c,v 1.14 2008/07/18 13:08:58 martynas Exp $ */ +/* $OpenBSD: n_support.c,v 1.15 2008/07/24 09:40:16 martynas Exp $ */ /* $NetBSD: n_support.c,v 1.1 1995/10/10 23:37:06 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -137,30 +137,6 @@ copysign(double x, double y) return(x); } -int -__signbitf(float x) -{ - unsigned short *px = (unsigned short *)&x; - - return (*px & ~msign); -} - -int -__signbit(double x) -{ - unsigned short *px = (unsigned short *)&x; - - return (*px & ~msign); -} - -int -__signbitl(long double x) -{ - unsigned short *px = (unsigned short *)&x; - - return (*px & ~msign); -} - double logb(double x) { |