NetBSD/lib/libc/arch/powerpc/gen/nanf.c
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00

14 lines
376 B
C

/* $NetBSD: nanf.c,v 1.1 1999/12/23 10:15:09 kleink Exp $ */
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: nanf.c,v 1.1 1999/12/23 10:15:09 kleink Exp $");
#endif /* LIBC_SCCS and not lint */
/* nanf.c */
#include <math.h>
/* bytes for quiet NaN on a PowerPC (IEEE single precision) */
const char __nanf[] = { 0x7f, (char)0xc0, 0, 0 };