|
|
@@ -270,7 +270,7 @@ local_copysignf(float x, float y)
|
|
|
{
|
|
|
union {
|
|
|
float f;
|
|
|
- uint32_t i;
|
|
|
+ uint32 i;
|
|
|
} ux = { x }, uy = { y };
|
|
|
ux.i &= 0x7fffffff;
|
|
|
ux.i |= uy.i & 0x80000000;
|
|
|
@@ -282,9 +282,9 @@ local_copysign(double x, double y)
|
|
|
{
|
|
|
union {
|
|
|
double f;
|
|
|
- uint64_t i;
|
|
|
+ uint64 i;
|
|
|
} ux = { x }, uy = { y };
|
|
|
- ux.i &= -1ULL / 2;
|
|
|
+ ux.i &= UINT64_MAX / 2;
|
|
|
ux.i |= uy.i & 1ULL << 63;
|
|
|
return ux.f;
|
|
|
}
|