1 /* s_isnanf.c -- float version of s_isnan.c.
5 * ====================================================
6 * Copyright (C) 1993, 2011 by Sun Microsystems, Inc. All rights reserved.
8 * Developed at SunPro, a Sun Microsystems, Inc. business.
9 * Permission to use, copy, modify, and distribute this
10 * software is freely granted, provided that this notice
12 * ====================================================
15 #if defined(LIBM_SCCS) && !defined(lint)
16 static char rcsid
[] = "$NetBSD: s_isnanf.c,v 1.4 1995/05/10 20:47:38 jtc Exp $";
20 * isnanf(x) returns 1 is x is nan, else 0;
25 #include <math_private.h>
34 return (int)(((uint32_t)(ix
))>>31);
37 weak_alias (__isnanf
, isnanf
)