projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm]
/
src
/
math
/
copysign.c
diff --git
a/src/math/copysign.c
b/src/math/copysign.c
index
814d80c
..
04e1869
100644
(file)
--- a/
src/math/copysign.c
+++ b/
src/math/copysign.c
@@
-5,7
+5,7
@@
double copysign(double x, double y) {
ux.value = x;
uy.value = y;
- ux.bits &= ~(
uint64_t)1<<63
;
+ ux.bits &= ~(
(uint64_t)1<<63)
;
ux.bits |= uy.bits & (uint64_t)1<<63;
return ux.value;
}