summaryrefslogtreecommitdiff
path: root/libc/sysdeps/powerpc/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/powerpc/fpu')
-rw-r--r--libc/sysdeps/powerpc/fpu/bits/fenvinline.h3
-rw-r--r--libc/sysdeps/powerpc/fpu/bits/mathinline.h3
-rw-r--r--libc/sysdeps/powerpc/fpu/e_hypot.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/e_hypotf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/e_rem_pio2f.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/e_sqrt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/e_sqrtf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fclrexcpt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fe_mask.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fe_nomask.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fedisblxcpt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/feenablxcpt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fegetenv.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fegetexcept.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fegetround.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/feholdexcpt.c4
-rw-r--r--libc/sysdeps/powerpc/fpu/fenv_const.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fenv_libc.h2
-rw-r--r--libc/sysdeps/powerpc/fpu/fesetenv.c3
-rw-r--r--libc/sysdeps/powerpc/fpu/fesetround.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/feupdateenv.c7
-rw-r--r--libc/sysdeps/powerpc/fpu/fgetexcptflg.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fpu_control.h2
-rw-r--r--libc/sysdeps/powerpc/fpu/fraiseexcpt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/fsetexcptflg.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/ftestexcept.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/k_cosf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/k_rem_pio2f.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/k_sinf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/libm-test-ulps97
-rw-r--r--libc/sysdeps/powerpc/fpu/math_ldbl.h2
-rw-r--r--libc/sysdeps/powerpc/fpu/math_private.h3
-rw-r--r--libc/sysdeps/powerpc/fpu/s_cosf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fabs.S2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fdim.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fdimf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_float_bitwise.h2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fma.S2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fmaf.S2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fmax.S2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_fmin.S2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_isnan.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_llround.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_llroundf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_rint.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_rintf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/s_sinf.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/test-powerpc-snan.c7
-rw-r--r--libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/w_sqrt.c2
-rw-r--r--libc/sysdeps/powerpc/fpu/w_sqrtf.c2
51 files changed, 116 insertions, 97 deletions
diff --git a/libc/sysdeps/powerpc/fpu/bits/fenvinline.h b/libc/sysdeps/powerpc/fpu/bits/fenvinline.h
index 3a440abe1..1bab7d64d 100644
--- a/libc/sysdeps/powerpc/fpu/bits/fenvinline.h
+++ b/libc/sysdeps/powerpc/fpu/bits/fenvinline.h
@@ -1,6 +1,5 @@
/* Inline floating-point environment handling functions for powerpc.
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2006
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/bits/mathinline.h b/libc/sysdeps/powerpc/fpu/bits/mathinline.h
index 3e44640c3..75f2983f7 100644
--- a/libc/sysdeps/powerpc/fpu/bits/mathinline.h
+++ b/libc/sysdeps/powerpc/fpu/bits/mathinline.h
@@ -1,6 +1,5 @@
/* Inline math functions for powerpc.
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004, 2006, 2007, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/e_hypot.c b/libc/sysdeps/powerpc/fpu/e_hypot.c
index cfadd5c85..f23633946 100644
--- a/libc/sysdeps/powerpc/fpu/e_hypot.c
+++ b/libc/sysdeps/powerpc/fpu/e_hypot.c
@@ -1,5 +1,5 @@
/* Pythagorean addition using doubles
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/e_hypotf.c b/libc/sysdeps/powerpc/fpu/e_hypotf.c
index 92e824daf..e97f0c35e 100644
--- a/libc/sysdeps/powerpc/fpu/e_hypotf.c
+++ b/libc/sysdeps/powerpc/fpu/e_hypotf.c
@@ -1,5 +1,5 @@
/* Pythagorean addition using floats
- Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/e_rem_pio2f.c b/libc/sysdeps/powerpc/fpu/e_rem_pio2f.c
index 8dfbdaf6d..3d4694b45 100644
--- a/libc/sysdeps/powerpc/fpu/e_rem_pio2f.c
+++ b/libc/sysdeps/powerpc/fpu/e_rem_pio2f.c
@@ -1,5 +1,5 @@
/* e_rem_pio2f.c -- float version of e_rem_pio2.c
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/e_sqrt.c b/libc/sysdeps/powerpc/fpu/e_sqrt.c
index 270415c03..97bb87036 100644
--- a/libc/sysdeps/powerpc/fpu/e_sqrt.c
+++ b/libc/sysdeps/powerpc/fpu/e_sqrt.c
@@ -1,5 +1,5 @@
/* Double-precision floating point square root.
- Copyright (C) 1997, 2002-2004, 2008, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/e_sqrtf.c b/libc/sysdeps/powerpc/fpu/e_sqrtf.c
index 7c32afb2b..3b2e243bb 100644
--- a/libc/sysdeps/powerpc/fpu/e_sqrtf.c
+++ b/libc/sysdeps/powerpc/fpu/e_sqrtf.c
@@ -1,5 +1,5 @@
/* Single-precision floating point square root.
- Copyright (C) 1997, 2003, 2004, 2008, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fclrexcpt.c b/libc/sysdeps/powerpc/fpu/fclrexcpt.c
index e99cc58ac..86575dba6 100644
--- a/libc/sysdeps/powerpc/fpu/fclrexcpt.c
+++ b/libc/sysdeps/powerpc/fpu/fclrexcpt.c
@@ -1,5 +1,5 @@
/* Clear given exceptions in current floating-point environment.
- Copyright (C) 1997-2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fe_mask.c b/libc/sysdeps/powerpc/fpu/fe_mask.c
index 3bc5e8c49..a313b06e8 100644
--- a/libc/sysdeps/powerpc/fpu/fe_mask.c
+++ b/libc/sysdeps/powerpc/fpu/fe_mask.c
@@ -1,5 +1,5 @@
/* Procedure definition for FE_MASK_ENV.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fe_nomask.c b/libc/sysdeps/powerpc/fpu/fe_nomask.c
index 858ee4343..5127000c2 100644
--- a/libc/sysdeps/powerpc/fpu/fe_nomask.c
+++ b/libc/sysdeps/powerpc/fpu/fe_nomask.c
@@ -1,5 +1,5 @@
/* Procedure definition for FE_NOMASK_ENV.
- Copyright (C) 1997, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fedisblxcpt.c b/libc/sysdeps/powerpc/fpu/fedisblxcpt.c
index c76a8e90b..659566b67 100644
--- a/libc/sysdeps/powerpc/fpu/fedisblxcpt.c
+++ b/libc/sysdeps/powerpc/fpu/fedisblxcpt.c
@@ -1,5 +1,5 @@
/* Disable floating-point exceptions.
- Copyright (C) 2000, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <geoffk@geoffk.org>, 2000.
diff --git a/libc/sysdeps/powerpc/fpu/feenablxcpt.c b/libc/sysdeps/powerpc/fpu/feenablxcpt.c
index e92932524..fc4bfffad 100644
--- a/libc/sysdeps/powerpc/fpu/feenablxcpt.c
+++ b/libc/sysdeps/powerpc/fpu/feenablxcpt.c
@@ -1,5 +1,5 @@
/* Enable floating-point exceptions.
- Copyright (C) 2000, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <geoffk@geoffk.org>, 2000.
diff --git a/libc/sysdeps/powerpc/fpu/fegetenv.c b/libc/sysdeps/powerpc/fpu/fegetenv.c
index 77a8b2aa7..ee60e6df1 100644
--- a/libc/sysdeps/powerpc/fpu/fegetenv.c
+++ b/libc/sysdeps/powerpc/fpu/fegetenv.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment.
- Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fegetexcept.c b/libc/sysdeps/powerpc/fpu/fegetexcept.c
index 1666de698..f3d5724e9 100644
--- a/libc/sysdeps/powerpc/fpu/fegetexcept.c
+++ b/libc/sysdeps/powerpc/fpu/fegetexcept.c
@@ -1,5 +1,5 @@
/* Get floating-point exceptions.
- Copyright (C) 2000, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Geoffrey Keating <geoffk@geoffk.org>, 2000.
diff --git a/libc/sysdeps/powerpc/fpu/fegetround.c b/libc/sysdeps/powerpc/fpu/fegetround.c
index 76feb1694..bcb6caab9 100644
--- a/libc/sysdeps/powerpc/fpu/fegetround.c
+++ b/libc/sysdeps/powerpc/fpu/fegetround.c
@@ -1,5 +1,5 @@
/* Return current rounding direction.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/feholdexcpt.c b/libc/sysdeps/powerpc/fpu/feholdexcpt.c
index 88dbf59fc..671724b28 100644
--- a/libc/sysdeps/powerpc/fpu/feholdexcpt.c
+++ b/libc/sysdeps/powerpc/fpu/feholdexcpt.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment and clear exceptions.
- Copyright (C) 1997, 2005, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
@@ -33,7 +33,7 @@ feholdexcept (fenv_t *envp)
new.l[1] = old.l[1] & 7;
new.l[0] = old.l[0];
- /* If the old env had any eabled exceptions, then mask SIGFPE in the
+ /* If the old env had any enabled exceptions, then mask SIGFPE in the
MSR FE0/FE1 bits. This may allow the FPU to run faster because it
always takes the default action and can not generate SIGFPE. */
if ((old.l[1] & _FPU_MASK_ALL) != 0)
diff --git a/libc/sysdeps/powerpc/fpu/fenv_const.c b/libc/sysdeps/powerpc/fpu/fenv_const.c
index c74979065..d7bb79c74 100644
--- a/libc/sysdeps/powerpc/fpu/fenv_const.c
+++ b/libc/sysdeps/powerpc/fpu/fenv_const.c
@@ -1,5 +1,5 @@
/* Constants for fenv_bits.h.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fenv_libc.h b/libc/sysdeps/powerpc/fpu/fenv_libc.h
index 9b2656fc3..abae2f3df 100644
--- a/libc/sysdeps/powerpc/fpu/fenv_libc.h
+++ b/libc/sysdeps/powerpc/fpu/fenv_libc.h
@@ -1,5 +1,5 @@
/* Internal libc stuff for floating point environment routines.
- Copyright (C) 1997, 2006, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fesetenv.c b/libc/sysdeps/powerpc/fpu/fesetenv.c
index 71f1a8561..72989c476 100644
--- a/libc/sysdeps/powerpc/fpu/fesetenv.c
+++ b/libc/sysdeps/powerpc/fpu/fesetenv.c
@@ -1,6 +1,5 @@
/* Install given floating-point environment.
- Copyright (C) 1997, 1999, 2000, 2001, 2007, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fesetround.c b/libc/sysdeps/powerpc/fpu/fesetround.c
index e8942f83c..970f12c4f 100644
--- a/libc/sysdeps/powerpc/fpu/fesetround.c
+++ b/libc/sysdeps/powerpc/fpu/fesetround.c
@@ -1,5 +1,5 @@
/* Set current rounding direction.
- Copyright (C) 1997, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
diff --git a/libc/sysdeps/powerpc/fpu/feupdateenv.c b/libc/sysdeps/powerpc/fpu/feupdateenv.c
index 567cc6228..66f282639 100644
--- a/libc/sysdeps/powerpc/fpu/feupdateenv.c
+++ b/libc/sysdeps/powerpc/fpu/feupdateenv.c
@@ -1,6 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- Copyright (C) 1997, 1999, 2000, 2001, 2007, 2008, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -38,14 +37,14 @@ __feupdateenv (const fenv_t *envp)
unchanged. */
new.l[1] = (old.l[1] & 0x1FFFFF00) | (new.l[1] & 0x1FF80FFF);
- /* If the old env has no eabled exceptions and the new env has any enabled
+ /* If the old env has no enabled exceptions and the new env has any enabled
exceptions, then unmask SIGFPE in the MSR FE0/FE1 bits. This will put
the hardware into "precise mode" and may cause the FPU to run slower on
some hardware. */
if ((old.l[1] & _FPU_MASK_ALL) == 0 && (new.l[1] & _FPU_MASK_ALL) != 0)
(void)__fe_nomask_env ();
- /* If the old env had any eabled exceptions and the new env has no enabled
+ /* If the old env had any enabled exceptions and the new env has no enabled
exceptions, then mask SIGFPE in the MSR FE0/FE1 bits. This may allow the
FPU to run faster because it always takes the default action and can not
generate SIGFPE. */
diff --git a/libc/sysdeps/powerpc/fpu/fgetexcptflg.c b/libc/sysdeps/powerpc/fpu/fgetexcptflg.c
index 8da786521..987a20547 100644
--- a/libc/sysdeps/powerpc/fpu/fgetexcptflg.c
+++ b/libc/sysdeps/powerpc/fpu/fgetexcptflg.c
@@ -1,5 +1,5 @@
/* Store current representation for exceptions.
- Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fpu_control.h b/libc/sysdeps/powerpc/fpu/fpu_control.h
index f8051c10b..bb8375ab8 100644
--- a/libc/sysdeps/powerpc/fpu/fpu_control.h
+++ b/libc/sysdeps/powerpc/fpu/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word definitions. PowerPC version.
- Copyright (C) 1996, 1997, 1998, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fraiseexcpt.c b/libc/sysdeps/powerpc/fpu/fraiseexcpt.c
index a2b9e04d1..88d184476 100644
--- a/libc/sysdeps/powerpc/fpu/fraiseexcpt.c
+++ b/libc/sysdeps/powerpc/fpu/fraiseexcpt.c
@@ -1,5 +1,5 @@
/* Raise given exceptions.
- Copyright (C) 1997,1999-2002, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/fsetexcptflg.c b/libc/sysdeps/powerpc/fpu/fsetexcptflg.c
index b2d675d9f..588fb6a0d 100644
--- a/libc/sysdeps/powerpc/fpu/fsetexcptflg.c
+++ b/libc/sysdeps/powerpc/fpu/fsetexcptflg.c
@@ -1,5 +1,5 @@
/* Set floating-point environment exception handling.
- Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/ftestexcept.c b/libc/sysdeps/powerpc/fpu/ftestexcept.c
index f9b6d4977..0dbc3befb 100644
--- a/libc/sysdeps/powerpc/fpu/ftestexcept.c
+++ b/libc/sysdeps/powerpc/fpu/ftestexcept.c
@@ -1,5 +1,5 @@
/* Test exception in current environment.
- Copyright (C) 1997, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/k_cosf.c b/libc/sysdeps/powerpc/fpu/k_cosf.c
index d5668e312..f6ec25524 100644
--- a/libc/sysdeps/powerpc/fpu/k_cosf.c
+++ b/libc/sysdeps/powerpc/fpu/k_cosf.c
@@ -1,5 +1,5 @@
/* k_cosf.c -- float version of k_cos.c
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/k_rem_pio2f.c b/libc/sysdeps/powerpc/fpu/k_rem_pio2f.c
index c388f25b0..568e10670 100644
--- a/libc/sysdeps/powerpc/fpu/k_rem_pio2f.c
+++ b/libc/sysdeps/powerpc/fpu/k_rem_pio2f.c
@@ -1,5 +1,5 @@
/* k_rem_pio2f.c -- float version of e_rem_pio2.c
- Copyright (C) 2011-2012 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/k_sinf.c b/libc/sysdeps/powerpc/fpu/k_sinf.c
index c8fb8ef81..bb8c679b7 100644
--- a/libc/sysdeps/powerpc/fpu/k_sinf.c
+++ b/libc/sysdeps/powerpc/fpu/k_sinf.c
@@ -1,5 +1,5 @@
/* k_sinf.c -- float version of k_sin.c
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/libm-test-ulps b/libc/sysdeps/powerpc/fpu/libm-test-ulps
index 9c21f6e66..4221967c4 100644
--- a/libc/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/libc/sysdeps/powerpc/fpu/libm-test-ulps
@@ -257,6 +257,9 @@ idouble: 1
Test "Real part of: cacos (0.5 - 0 i) == 1.047197551196597746154214461093167628066 + +0 i":
double: 1
idouble: 1
+Test "Real part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i":
+float: 1
+ifloat: 1
Test "Imaginary part of: cacos (1.5 + +0 i) == +0 - 0.9624236501192068949955178268487368462704 i":
double: 1
float: 1
@@ -445,6 +448,16 @@ double: 1
float: 1
idouble: 1
ifloat: 1
+Test "Imaginary part of: casin (0x1.fp1023 + 0x1.fp1023 i) == 7.853981633974483096156608458198757210493e-1 + 7.107906849659093345062145442726115449315e2 i":
+double: 1
+idouble: 1
+ildouble: 1
+ldouble: 1
+Test "Imaginary part of: casin (0x1.fp127 + 0x1.fp127 i) == 7.853981633974483096156608458198757210493e-1 + 8.973081118419833726837456344608533993585e1 i":
+double: 1
+idouble: 1
+ildouble: 1
+ldouble: 1
Test "Imaginary part of: casin (1.5 + +0 i) == pi/2 + 0.9624236501192068949955178268487368462704 i":
double: 1
float: 1
@@ -552,6 +565,16 @@ double: 1
float: 1
idouble: 1
ifloat: 1
+Test "Real part of: casinh (0x1.fp1023 + 0x1.fp1023 i) == 7.107906849659093345062145442726115449315e2 + 7.853981633974483096156608458198757210493e-1 i":
+double: 1
+idouble: 1
+ildouble: 1
+ldouble: 1
+Test "Real part of: casinh (0x1.fp127 + 0x1.fp127 i) == 8.973081118419833726837456344608533993585e1 + 7.853981633974483096156608458198757210493e-1 i":
+double: 1
+idouble: 1
+ildouble: 1
+ldouble: 1
Test "Real part of: casinh (1.0 + +0 i) == 0.8813735870195430252326093249797923090282 + +0 i":
double: 1
float: 1
@@ -1301,8 +1324,8 @@ ifloat: 1
Test "cos_downward (1) == 0.5403023058681397174009366074429766037323":
float: 1
ifloat: 1
-ildouble: 4
-ldouble: 4
+ildouble: 1
+ldouble: 1
Test "cos_downward (10) == -0.8390715290764524522588639478240648345199":
ildouble: 1
ldouble: 1
@@ -1340,8 +1363,8 @@ ifloat: 1
# cos_towardzero
Test "cos_towardzero (1) == 0.5403023058681397174009366074429766037323":
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "cos_towardzero (10) == -0.8390715290764524522588639478240648345199":
ildouble: 1
ldouble: 1
@@ -1701,8 +1724,8 @@ ifloat: 1
ildouble: 2
ldouble: 2
Test "Real part of: ctan (1 + 47 i) == 2.729321264492904590777293425576722354636e-41 + 1.0 i":
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
# ctan_downward
Test "Real part of: ctan_downward (0x1.921fb54442d18p+0 + 0x1p-1074 i) == 1.633123935319536975596773704152891653086e16 + 1.317719414943508315995636961402669067843e-291 i":
@@ -1765,8 +1788,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-ildouble: 6
-ldouble: 6
+ildouble: 3
+ldouble: 3
Test "Imaginary part of: ctan_upward (0x1.921fb6p+0 + 0x1p-149 i) == -2.287733242885645987394874673945769518150e7 + 7.334008549954377778731880988481078535821e-31 i":
double: 1
float: 2
@@ -1801,8 +1824,8 @@ ifloat: 1
Test "Real part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
double: 1
idouble: 1
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
float: 1
ifloat: 1
@@ -1828,8 +1851,8 @@ ifloat: 1
ildouble: 1
ldouble: 1
Test "Imaginary part of: ctanh (47 + 1 i) == 1.0 + 2.729321264492904590777293425576722354636e-41 i":
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
# ctanh_downward
Test "Imaginary part of: ctanh_downward (0x1p-1074 + 0x1.921fb54442d18p+0 i) == 1.317719414943508315995636961402669067843e-291 + 1.633123935319536975596773704152891653086e16 i":
@@ -2830,8 +2853,8 @@ double: 1
float: 2
idouble: 1
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
# yn
Test "yn (0, 0.125) == -1.38968062514384052915582277745018693":
@@ -2845,8 +2868,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "yn (0, 1.5) == 0.382448923797758843955068554978089862":
double: 2
float: 1
@@ -2867,8 +2890,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "yn (1, 0.125) == -5.19993611253477499595928744876579921":
double: 1
idouble: 1
@@ -2892,8 +2915,8 @@ double: 1
float: 2
idouble: 1
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "yn (10, 0.125) == -127057845771019398.252538486899753195":
double: 1
idouble: 1
@@ -2917,8 +2940,8 @@ double: 3
float: 1
idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "yn (3, 0.125) == -2612.69757350066712600220955744091741":
double: 1
idouble: 1
@@ -2930,8 +2953,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Test "yn (3, 2.0) == -1.12778377684042778608158395773179238":
double: 1
idouble: 1
@@ -3021,7 +3044,9 @@ ldouble: 1
Function: Real part of "cacos":
double: 1
+float: 1
idouble: 1
+ifloat: 1
ildouble: 1
ldouble: 1
@@ -3030,8 +3055,8 @@ double: 3
float: 1
idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Function: Real part of "cacosh":
double: 1
@@ -3062,16 +3087,16 @@ double: 3
float: 1
idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Function: Real part of "casinh":
double: 5
float: 1
idouble: 5
ifloat: 1
-ildouble: 4
-ldouble: 4
+ildouble: 1
+ldouble: 1
Function: Imaginary part of "casinh":
double: 3
@@ -3200,8 +3225,8 @@ ldouble: 1
Function: "cos_downward":
float: 1
ifloat: 1
-ildouble: 4
-ldouble: 4
+ildouble: 2
+ldouble: 2
Function: "cos_tonearest":
float: 1
@@ -3218,8 +3243,8 @@ ldouble: 2
Function: "cos_upward":
float: 2
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Function: "cosh":
ildouble: 1
@@ -3382,8 +3407,8 @@ double: 1
float: 2
idouble: 1
ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
Function: Imaginary part of "ctanh":
double: 1
diff --git a/libc/sysdeps/powerpc/fpu/math_ldbl.h b/libc/sysdeps/powerpc/fpu/math_ldbl.h
index 6cd6d0bdf..20224e664 100644
--- a/libc/sysdeps/powerpc/fpu/math_ldbl.h
+++ b/libc/sysdeps/powerpc/fpu/math_ldbl.h
@@ -27,7 +27,7 @@ ldbl_extract_mantissa (int64_t *hi64, u_int64_t *lo64, int *exp, long double x)
lo |= (1ULL << 52);
lo = lo << 7; /* pre-shift lo to match ieee854. */
/* The lower double is normalized separately from the upper. We
- may need to adjust the lower manitissa to reflect this. */
+ may need to adjust the lower mantissa to reflect this. */
ediff = eldbl.ieee.exponent - eldbl.ieee.exponent2;
if (ediff > 53)
lo = lo >> (ediff-53);
diff --git a/libc/sysdeps/powerpc/fpu/math_private.h b/libc/sysdeps/powerpc/fpu/math_private.h
index a916be31e..6c0078563 100644
--- a/libc/sysdeps/powerpc/fpu/math_private.h
+++ b/libc/sysdeps/powerpc/fpu/math_private.h
@@ -1,6 +1,5 @@
/* Private inline math functions for powerpc.
- Copyright (C) 2006, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2006-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_cosf.c b/libc/sysdeps/powerpc/fpu/s_cosf.c
index 631415552..d785e7ee4 100644
--- a/libc/sysdeps/powerpc/fpu/s_cosf.c
+++ b/libc/sysdeps/powerpc/fpu/s_cosf.c
@@ -1,5 +1,5 @@
/* s_cosf.c -- float version of s_cos.c.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/s_fabs.S b/libc/sysdeps/powerpc/fpu/s_fabs.S
index 1dc9f9465..66d3ff335 100644
--- a/libc/sysdeps/powerpc/fpu/s_fabs.S
+++ b/libc/sysdeps/powerpc/fpu/s_fabs.S
@@ -1,5 +1,5 @@
/* Floating-point absolute value. PowerPC version.
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_fdim.c b/libc/sysdeps/powerpc/fpu/s_fdim.c
index 18d15c6ba..f77bb193b 100644
--- a/libc/sysdeps/powerpc/fpu/s_fdim.c
+++ b/libc/sysdeps/powerpc/fpu/s_fdim.c
@@ -1,5 +1,5 @@
/* Return positive difference between arguments.
- Copyright (C) 1997, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_fdimf.c b/libc/sysdeps/powerpc/fpu/s_fdimf.c
index 6636b2fc0..947100356 100644
--- a/libc/sysdeps/powerpc/fpu/s_fdimf.c
+++ b/libc/sysdeps/powerpc/fpu/s_fdimf.c
@@ -1,5 +1,5 @@
/* Return positive difference between arguments.
- Copyright (C) 1997, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_float_bitwise.h b/libc/sysdeps/powerpc/fpu/s_float_bitwise.h
index d01a0e00e..8e4adca86 100644
--- a/libc/sysdeps/powerpc/fpu/s_float_bitwise.h
+++ b/libc/sysdeps/powerpc/fpu/s_float_bitwise.h
@@ -1,5 +1,5 @@
/* Bitwise manipulation over float. Function prototypes.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/s_fma.S b/libc/sysdeps/powerpc/fpu/s_fma.S
index 855cae514..81383d7bb 100644
--- a/libc/sysdeps/powerpc/fpu/s_fma.S
+++ b/libc/sysdeps/powerpc/fpu/s_fma.S
@@ -1,5 +1,5 @@
/* Compute x * y + z as ternary operation. PowerPC version.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_fmaf.S b/libc/sysdeps/powerpc/fpu/s_fmaf.S
index 9a53b43f3..e0464fa34 100644
--- a/libc/sysdeps/powerpc/fpu/s_fmaf.S
+++ b/libc/sysdeps/powerpc/fpu/s_fmaf.S
@@ -1,5 +1,5 @@
/* Compute x * y + z as ternary operation. PowerPC version.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_fmax.S b/libc/sysdeps/powerpc/fpu/s_fmax.S
index 50cec4f5f..ec656d616 100644
--- a/libc/sysdeps/powerpc/fpu/s_fmax.S
+++ b/libc/sysdeps/powerpc/fpu/s_fmax.S
@@ -1,5 +1,5 @@
/* Floating-point maximum. PowerPC version.
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_fmin.S b/libc/sysdeps/powerpc/fpu/s_fmin.S
index 512aeecd1..e139c6c8f 100644
--- a/libc/sysdeps/powerpc/fpu/s_fmin.S
+++ b/libc/sysdeps/powerpc/fpu/s_fmin.S
@@ -1,5 +1,5 @@
/* Floating-point minimum. PowerPC version.
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_isnan.c b/libc/sysdeps/powerpc/fpu/s_isnan.c
index 777d3518f..472b6d03e 100644
--- a/libc/sysdeps/powerpc/fpu/s_isnan.c
+++ b/libc/sysdeps/powerpc/fpu/s_isnan.c
@@ -1,5 +1,5 @@
/* Return 1 if argument is a NaN, else 0.
- Copyright (C) 1997, 2000, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_llround.c b/libc/sysdeps/powerpc/fpu/s_llround.c
index c30400b3e..b53d6eed8 100644
--- a/libc/sysdeps/powerpc/fpu/s_llround.c
+++ b/libc/sysdeps/powerpc/fpu/s_llround.c
@@ -1,5 +1,5 @@
/* Round double value to long long int.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_llroundf.c b/libc/sysdeps/powerpc/fpu/s_llroundf.c
index ece172d58..07d12adbf 100644
--- a/libc/sysdeps/powerpc/fpu/s_llroundf.c
+++ b/libc/sysdeps/powerpc/fpu/s_llroundf.c
@@ -1,5 +1,5 @@
/* Round float value to long long int.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_rint.c b/libc/sysdeps/powerpc/fpu/s_rint.c
index 388800967..f0024c9b3 100644
--- a/libc/sysdeps/powerpc/fpu/s_rint.c
+++ b/libc/sysdeps/powerpc/fpu/s_rint.c
@@ -1,5 +1,5 @@
/* Round a 64-bit floating point value to the nearest integer.
- Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_rintf.c b/libc/sysdeps/powerpc/fpu/s_rintf.c
index de584e5f6..7b1476780 100644
--- a/libc/sysdeps/powerpc/fpu/s_rintf.c
+++ b/libc/sysdeps/powerpc/fpu/s_rintf.c
@@ -1,5 +1,5 @@
/* Round a 32-bit floating point value to the nearest integer.
- Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/s_sinf.c b/libc/sysdeps/powerpc/fpu/s_sinf.c
index 3440b862d..efb4e00a9 100644
--- a/libc/sysdeps/powerpc/fpu/s_sinf.c
+++ b/libc/sysdeps/powerpc/fpu/s_sinf.c
@@ -1,5 +1,5 @@
/* s_sinf.c -- float version of s_sin.c.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011
diff --git a/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c b/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
index b90f0264b..e3bd47aba 100644
--- a/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
+++ b/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
@@ -1,5 +1,5 @@
/* Test Signalling NaN in isnan, isinf etc functions.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2005.
@@ -17,8 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#define _GNU_SOURCE
-#define __USE_GNU
+#define _GNU_SOURCE 1
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
@@ -42,7 +41,7 @@ long double SNANl;
static sigjmp_buf sigfpe_buf;
void
-init_signaling_nan()
+init_signaling_nan (void)
{
union {
double _ld16;
diff --git a/libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c b/libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
index ddc22a45e..feffa6b4f 100644
--- a/libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
+++ b/libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001,2002,2004,2006-2008,2009 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ryan S. Arnold <rsa@us.ibm.com>
Sean Curry <spcurry@us.ibm.com>
diff --git a/libc/sysdeps/powerpc/fpu/w_sqrt.c b/libc/sysdeps/powerpc/fpu/w_sqrt.c
index c8ee010b7..2488ad9b9 100644
--- a/libc/sysdeps/powerpc/fpu/w_sqrt.c
+++ b/libc/sysdeps/powerpc/fpu/w_sqrt.c
@@ -1,5 +1,5 @@
/* Double-precision floating point square root wrapper.
- Copyright (C) 2004, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2004-2013 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
diff --git a/libc/sysdeps/powerpc/fpu/w_sqrtf.c b/libc/sysdeps/powerpc/fpu/w_sqrtf.c
index 39b5b20a0..aef8267f0 100644
--- a/libc/sysdeps/powerpc/fpu/w_sqrtf.c
+++ b/libc/sysdeps/powerpc/fpu/w_sqrtf.c
@@ -1,5 +1,5 @@
/* Single-precision floating point square root wrapper.
- Copyright (C) 2004, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2004-2013 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