xref: /haiku/src/system/libroot/posix/glibc/arch/x86/s_finitef.S (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
1/*
2 * Written by Joe Keane <jgk@jgk.org>.
3 */
4
5#include <machine/asm.h>
6
7ENTRY(__finitef)
8	movl	4(%esp),%eax
9	movl    $0xFF7FFFFF,%ecx
10	subl    %eax,%ecx
11	xorl    %ecx,%eax
12	shrl    $31,%eax
13	ret
14END (__finitef)
15weak_alias (__finitef, finitef)
16hidden_def (__finitef)
17