projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TODO update
[libm]
/
src
/
math
/
sqrt.c
diff --git
a/src/math/sqrt.c
b/src/math/sqrt.c
index
e4b166d
..
2ebd022
100644
(file)
--- a/
src/math/sqrt.c
+++ b/
src/math/sqrt.c
@@
-95,7
+95,7
@@
double sqrt(double x)
}
/* take care of zero */
if (ix0 <= 0) {
- if (((ix0&
(~sign)
)|ix1) == 0)
+ if (((ix0&
~sign
)|ix1) == 0)
return x; /* sqrt(+-0) = +-0 */
if (ix0 < 0)
return (x-x)/(x-x); /* sqrt(-ve) = sNaN */