also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
12 lines
138 B
C
Vendored
12 lines
138 B
C
Vendored
#include "libm.h"
|
|
|
|
// FIXME: macro in math.h
|
|
int __signbitf(float x)
|
|
{
|
|
union {
|
|
float f;
|
|
uint32_t i;
|
|
} y = { x };
|
|
return y.i>>31;
|
|
}
|