xref: /dragonfly/lib/libc/x86_64/gen/nan.c (revision 335b9e93)
1 /*	$OpenBSD: nan.c,v 1.1 2008/07/24 09:31:06 martynas Exp $	*/
2 
3 /* Written by Martynas Venckus.  Public Domain. */
4 
5 #include <math.h>
6 
7 /* bytes for qNaN on an amd64 (IEEE single format) */
8 char __nan[] __attribute__((__aligned__(sizeof(float)))) =
9 					{ 0, 0, 0xc0, 0x7f };
10