aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/bits/mathinline.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-04 16:11:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-04 16:11:43 +0000
commitcc46c92d6b7d03aedb6c06364376c17dc9e0feb3 (patch)
treec524a647f8ae31ada681de005b2af89b74f91cf7 /sysdeps/powerpc/fpu/bits/mathinline.h
parentec880cc71ab5aa7000ba88e74d7882c3dd4f4a0e (diff)
downloadglibc-cc46c92d6b7d03aedb6c06364376c17dc9e0feb3.tar
glibc-cc46c92d6b7d03aedb6c06364376c17dc9e0feb3.tar.gz
glibc-cc46c92d6b7d03aedb6c06364376c17dc9e0feb3.tar.bz2
glibc-cc46c92d6b7d03aedb6c06364376c17dc9e0feb3.zip
Update.
2000-06-01 Jakub Jelinek <jakub@redhat.com> * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all inlines to match prototypes in mathcalls.h. * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/dl-start.S: Close open comment.
Diffstat (limited to 'sysdeps/powerpc/fpu/bits/mathinline.h')
-rw-r--r--sysdeps/powerpc/fpu/bits/mathinline.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/sysdeps/powerpc/fpu/bits/mathinline.h b/sysdeps/powerpc/fpu/bits/mathinline.h
index 7798ad3467..e4f208cd41 100644
--- a/sysdeps/powerpc/fpu/bits/mathinline.h
+++ b/sysdeps/powerpc/fpu/bits/mathinline.h
@@ -1,5 +1,6 @@
/* Inline math functions for powerpc.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -45,9 +46,9 @@
#endif /* __cplusplus */
#ifdef __USE_ISOC99
-__MATH_INLINE long int lrint (double __x);
+__MATH_INLINE long int lrint (double __x) __THROW;
__MATH_INLINE long int
-lrint (double __x)
+lrint (double __x) __THROW
{
union {
double __d;
@@ -57,9 +58,9 @@ lrint (double __x)
return __u.__ll[1];
}
-__MATH_INLINE long int lrintf (float __x);
+__MATH_INLINE long int lrintf (float __x) __THROW;
__MATH_INLINE long int
-lrintf (float __x)
+lrintf (float __x) __THROW
{
union {
double __d;
@@ -69,16 +70,16 @@ lrintf (float __x)
return __u.__ll[1];
}
-__MATH_INLINE double fdim (double __x, double __y);
+__MATH_INLINE double fdim (double __x, double __y) __THROW;
__MATH_INLINE double
-fdim (double __x, double __y)
+fdim (double __x, double __y) __THROW
{
return __x < __y ? 0 : __x - __y;
}
-__MATH_INLINE float fdimf (float __x, float __y);
+__MATH_INLINE float fdimf (float __x, float __y) __THROW;
__MATH_INLINE float
-fdimf (float __x, float __y)
+fdimf (float __x, float __y) __THROW
{
return __x < __y ? 0 : __x - __y;
}