nan.c 280 B

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