dd5d7c86d2
This can be enforced by pre-commit, but correct it separately to make it easier to review.
11 lines
114 B
C
11 lines
114 B
C
#include "libm.h"
|
|
|
|
int __signbitd(double x)
|
|
{
|
|
union {
|
|
double d;
|
|
uint64_t i;
|
|
} y = { x };
|
|
return y.i>>63;
|
|
}
|