summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2019-04-01 04:39:56 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2019-04-01 04:39:56 +0000
commit58019f37df6aa5b1d230f9dd3940a0c57b72d16f (patch)
tree7025ee1192b40bfb8b1f194e77b0ad1a0636974c
parent489c34a28e09c7cf8c302050e35703e1511e1a46 (diff)
repair confusing "} if" indentation as suggested by deraadt@
-rw-r--r--lib/libm/src/s_atan.c3
-rw-r--r--lib/libm/src/s_atanf.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libm/src/s_atan.c b/lib/libm/src/s_atan.c
index 65cfd9d13e3..3a56b95d3ec 100644
--- a/lib/libm/src/s_atan.c
+++ b/lib/libm/src/s_atan.c
@@ -83,7 +83,8 @@ atan(double x)
return x+x; /* NaN */
if(hx>0) return atanhi[3]+atanlo[3];
else return -atanhi[3]-atanlo[3];
- } if (ix < 0x3fdc0000) { /* |x| < 0.4375 */
+ }
+ if (ix < 0x3fdc0000) { /* |x| < 0.4375 */
if (ix < 0x3e200000) { /* |x| < 2^-29 */
if(huge+x>one) return x; /* raise inexact */
}
diff --git a/lib/libm/src/s_atanf.c b/lib/libm/src/s_atanf.c
index 423d8791124..97541fb5312 100644
--- a/lib/libm/src/s_atanf.c
+++ b/lib/libm/src/s_atanf.c
@@ -61,7 +61,8 @@ atanf(float x)
return x+x; /* NaN */
if(hx>0) return atanhi[3]+atanlo[3];
else return -atanhi[3]-atanlo[3];
- } if (ix < 0x3ee00000) { /* |x| < 0.4375 */
+ }
+ if (ix < 0x3ee00000) { /* |x| < 0.4375 */
if (ix < 0x31000000) { /* |x| < 2^-29 */
if(huge+x>one) return x; /* raise inexact */
}