nanf.c revision 1.1
1/*	$NetBSD: nanf.c,v 1.1 2000/01/17 16:27:53 kleink Exp $	*/
2
3#include <sys/cdefs.h>
4#if defined(LIBC_SCCS) && !defined(lint)
5__RCSID("$NetBSD: nanf.c,v 1.1 2000/01/17 16:27:53 kleink Exp $");
6#endif /* LIBC_SCCS and not lint */
7
8/* nanf.c */
9
10#include <math.h>
11#include <machine/endian.h>
12
13/* bytes for quiet NaN on a SH3 (IEEE single precision) */
14#if BYTE_ORDER == LITTLE_ENDIAN
15const char __nanf[] = { 0, 0, (char)0xc0, 0x7f };
16#else
17const char __nanf[] = { 0x7f, (char)0xc0, 0, 0 };
18#endif
19