summaryrefslogtreecommitdiff
path: root/lib/libm/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-09-11 15:16:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-09-11 15:16:53 +0000
commit2b739e4041f36376d5799ec49af7c66768fb647e (patch)
tree8f7b871d8904ba5ad464ec89eaab205d989117dd /lib/libm/arch/hppa
parent0c6b3a1636d2cca3e4d98337382995ed29bc90fa (diff)
these are not libm private and fix the rintf pasting error
Diffstat (limited to 'lib/libm/arch/hppa')
-rw-r--r--lib/libm/arch/hppa/s_ceil.c4
-rw-r--r--lib/libm/arch/hppa/s_ceilf.c4
-rw-r--r--lib/libm/arch/hppa/s_floor.c4
-rw-r--r--lib/libm/arch/hppa/s_floorf.c4
-rw-r--r--lib/libm/arch/hppa/s_rint.c4
-rw-r--r--lib/libm/arch/hppa/s_rintf.c6
6 files changed, 13 insertions, 13 deletions
diff --git a/lib/libm/arch/hppa/s_ceil.c b/lib/libm/arch/hppa/s_ceil.c
index c85f3533492..da87f4a6041 100644
--- a/lib/libm/arch/hppa/s_ceil.c
+++ b/lib/libm/arch/hppa/s_ceil.c
@@ -3,7 +3,7 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_ceil.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_ceil.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include <sys/types.h>
@@ -11,7 +11,7 @@ static char rcsid[] = "$OpenBSD: s_ceil.c,v 1.1 2002/05/22 21:34:56 mickey Exp $
#include "math.h"
double
-__ieee754_ceil(double x)
+ceil(double x)
{
u_int32_t ofpsr, fpsr;
diff --git a/lib/libm/arch/hppa/s_ceilf.c b/lib/libm/arch/hppa/s_ceilf.c
index 9c363ae1ce4..63f16f1d2fc 100644
--- a/lib/libm/arch/hppa/s_ceilf.c
+++ b/lib/libm/arch/hppa/s_ceilf.c
@@ -3,7 +3,7 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_ceilf.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_ceilf.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include <sys/types.h>
@@ -11,7 +11,7 @@ static char rcsid[] = "$OpenBSD: s_ceilf.c,v 1.1 2002/05/22 21:34:56 mickey Exp
#include "math.h"
float
-__ieee754_ceil(float x)
+ceilf(float x)
{
u_int32_t ofpsr, fpsr;
diff --git a/lib/libm/arch/hppa/s_floor.c b/lib/libm/arch/hppa/s_floor.c
index 8064793c2bf..e4b8502de9c 100644
--- a/lib/libm/arch/hppa/s_floor.c
+++ b/lib/libm/arch/hppa/s_floor.c
@@ -3,7 +3,7 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_floor.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_floor.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include <sys/types.h>
@@ -11,7 +11,7 @@ static char rcsid[] = "$OpenBSD: s_floor.c,v 1.1 2002/05/22 21:34:56 mickey Exp
#include "math.h"
double
-__ieee754_floor(double x)
+floor(double x)
{
u_int32_t ofpsr, fpsr;
diff --git a/lib/libm/arch/hppa/s_floorf.c b/lib/libm/arch/hppa/s_floorf.c
index feff01f6fbf..b318eb055d1 100644
--- a/lib/libm/arch/hppa/s_floorf.c
+++ b/lib/libm/arch/hppa/s_floorf.c
@@ -3,7 +3,7 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_floorf.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_floorf.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include <sys/types.h>
@@ -11,7 +11,7 @@ static char rcsid[] = "$OpenBSD: s_floorf.c,v 1.1 2002/05/22 21:34:56 mickey Exp
#include "math.h"
float
-__ieee754_floorf(float x)
+floorf(float x)
{
u_int32_t ofpsr, fpsr;
diff --git a/lib/libm/arch/hppa/s_rint.c b/lib/libm/arch/hppa/s_rint.c
index 101b62c9db0..e25f7291e6b 100644
--- a/lib/libm/arch/hppa/s_rint.c
+++ b/lib/libm/arch/hppa/s_rint.c
@@ -3,13 +3,13 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_rint.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_rint.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include "math.h"
double
-__ieee754_rint(double x)
+rint(double x)
{
__asm__ __volatile__("frnd,dbl %0,%0" : "+f" (x));
diff --git a/lib/libm/arch/hppa/s_rintf.c b/lib/libm/arch/hppa/s_rintf.c
index f3d0a60235c..637845d6550 100644
--- a/lib/libm/arch/hppa/s_rintf.c
+++ b/lib/libm/arch/hppa/s_rintf.c
@@ -3,15 +3,15 @@
*/
#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: s_rintf.c,v 1.1 2002/05/22 21:34:56 mickey Exp $";
+static char rcsid[] = "$OpenBSD: s_rintf.c,v 1.2 2002/09/11 15:16:52 mickey Exp $";
#endif
#include "math.h"
float
-__ieee754_rint(float x)
+rintf(float x)
{
- __asm__ __volatile__("frnd,dbl %0,%0" : "+f" (x));
+ __asm__ __volatile__("frnd,sgl %0,%0" : "+f" (x));
return (x);
}