summaryrefslogtreecommitdiff
path: root/libm/s_tanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_tanh.c')
-rw-r--r--libm/s_tanh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/s_tanh.c b/libm/s_tanh.c
index 60e2acfe1..6276e8971 100644
--- a/libm/s_tanh.c
+++ b/libm/s_tanh.c
@@ -5,7 +5,7 @@
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice
+ * software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
@@ -62,7 +62,7 @@ static double one=1.0, two=2.0, tiny = 1.0e-300;
ix = jx&0x7fffffff;
/* x is INF or NaN */
- if(ix>=0x7ff00000) {
+ if(ix>=0x7ff00000) {
if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */
else return one/x-one; /* tanh(NaN) = NaN */
}