summaryrefslogblamecommitdiff
path: root/src/math/__signbitf.c
blob: ff3e81ffd7113d699a8931e08babee7ffc30829f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                           
#include "libm.h"

// FIXME
int __signbitf(float x)
{
	union {
		float f;
		uint32_t i;
	} y = { x };
	return y.i>>31;
}