Better safe than clever.
Submitted by: das
This commit is contained in:
parent
537239cace
commit
a7b0d81550
@ -35,6 +35,9 @@
|
||||
long double
|
||||
fabsl(long double x)
|
||||
{
|
||||
((union IEEEl2bits *)&x)->bits.sign = 0;
|
||||
return (x);
|
||||
union IEEEl2bits u;
|
||||
|
||||
u.e = x;
|
||||
u.bits.sign = 0;
|
||||
return (u.e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user