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/arch/vax/n_support.S | |
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/arch/vax/n_support.S')
-rw-r--r-- | lib/libm/arch/vax/n_support.S | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/lib/libm/arch/vax/n_support.S b/lib/libm/arch/vax/n_support.S index 7b1ef8446e6..7c3dcda1620 100644 --- a/lib/libm/arch/vax/n_support.S +++ b/lib/libm/arch/vax/n_support.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.S,v 1.11 2008/06/21 08:26:19 martynas Exp $ */ +/* $OpenBSD: n_support.S,v 1.12 2008/07/24 09:40:16 martynas Exp $ */ /* $NetBSD: n_support.S,v 1.1 1995/10/10 23:40:30 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -40,8 +40,6 @@ * scalbn(x,N), * finite(x), * remainder(x,y), - * isinff(x), - * isnanf(x), * Coded in vax assembly language by K.C. Ng, 3/14/85. * Revised by K.C. Ng on 4/9/85. */ @@ -209,34 +207,3 @@ Rop: #Reserved operand Ret: movq $0x8000,r0 #propagate reserved op ret - -/* - * int - * isinff(float x) - */ - -ENTRY(isinff, 0) - clrl r0 - ret - -/* - * int - * isnanf(float x) - */ - -ENTRY(isnanf, 0) - clrl r0 - ret - -/* - * signbit(x), signbitl(x), signbitf(x) -- returns zero if x is - * non-negative. - */ - _ALIGN_TEXT -ALTENTRY(__signbitf) -ALTENTRY(__signbitl) -ENTRY(__signbit, 0) - movw 4(ap), r0 - bicl2 $-32769,r0 - ret - |