/* $OpenBSD: infinity.c,v 1.1 2021/04/27 04:36:00 drahn Exp $ */ /* * IEEE-compatible infinity.c -- public domain. */ #include #include char __infinity[] __attribute__((__aligned__(sizeof(double)))) = #if BYTE_ORDER == BIG_ENDIAN { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0}; #else { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f}; #endif