diff options
author | 2019-04-01 04:39:55 +0000 | |
---|---|---|
committer | 2019-04-01 04:39:55 +0000 | |
commit | 37dcc47f52ae9206c8370e1a51d72d72ffd26313 (patch) | |
tree | ce10ee5eed568a0756439fd822cb3690a730b824 /lib/libm/src | |
parent | repair confusing "} if"; from florian@ (diff) | |
download | wireguard-openbsd-37dcc47f52ae9206c8370e1a51d72d72ffd26313.tar.xz wireguard-openbsd-37dcc47f52ae9206c8370e1a51d72d72ffd26313.zip |
repair confusing "} if" indentation as suggested by deraadt@
Diffstat (limited to 'lib/libm/src')
-rw-r--r-- | lib/libm/src/s_atan.c | 3 | ||||
-rw-r--r-- | lib/libm/src/s_atanf.c | 3 |
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 */ } |