Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>
*** 31,41 ****
#include "libm.h"
LIBM_ANSI_PRAGMA_WEAK(isnanf,function)
.weak _isnanf
.type _isnanf,@function
_isnanf = __isnanf
- #include "libm_synonyms.h"
ENTRY(isnanf)
movl 4(%esp),%eax / eax <-- x
andl $0x7fffffff,%eax / eax <-- abs(x)
subl $0x7f800000,%eax / ZF <-- 1 iff x is infinite
--- 31,40 ----