summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2008-02-19 15:42:46 +0000
committerbde <bde@FreeBSD.org>2008-02-19 15:42:46 +0000
commitf0e3007ba6c803b0059b0b4cc08cfad75951b3c6 (patch)
tree4f47eabb216bf8cddb757d3480e05af477f60260 /lib/msun
parent30565c600e032f4ffa87a25756cc0bef6e9f2f0d (diff)
downloadFreeBSD-src-f0e3007ba6c803b0059b0b4cc08cfad75951b3c6.zip
FreeBSD-src-f0e3007ba6c803b0059b0b4cc08cfad75951b3c6.tar.gz
Merge cosmetic changes from e_rem_pio2.c 1.10 (convert to __FBSDID();
fix indentation and return type of __ieee754_rem_pio2()). Remove unused variables.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/e_rem_pio2f.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/msun/src/e_rem_pio2f.c b/lib/msun/src/e_rem_pio2f.c
index 22f48e0..83a7eaa 100644
--- a/lib/msun/src/e_rem_pio2f.c
+++ b/lib/msun/src/e_rem_pio2f.c
@@ -14,9 +14,8 @@
* ====================================================
*/
-#ifndef lint
-static char rcsid[] = "$FreeBSD$";
-#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/* __ieee754_rem_pio2f(x,y)
*
@@ -35,14 +34,13 @@ static char rcsid[] = "$FreeBSD$";
*/
static const double
-zero = 0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
-two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
invpio2 = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */
pio2_1 = 1.57079632673412561417e+00, /* 0x3FF921FB, 0x54400000 */
pio2_1t = 6.07710050650619224932e-11; /* 0x3DD0B461, 0x1A626331 */
- int32_t __ieee754_rem_pio2f(float x, float *y)
+int
+__ieee754_rem_pio2f(float x, float *y)
{
double w,t,r,fn;
double tx[1],ty[2];
OpenPOWER on IntegriCloud