mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
the OpenBSD tree and should be considered preliminary. They are here to facilitate building of the tree.
15 lines
408 B
C
15 lines
408 B
C
/* infinity.c */
|
|
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
|
static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 1996/08/19 08:16:01 tholo Exp $";
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#include <math.h>
|
|
#include <sys/types.h>
|
|
|
|
/* bytes for +Infinity on a MIPS */
|
|
#if BYTE_ORDER == BIG_ENDIAN
|
|
char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
|
|
#else
|
|
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
|
|
#endif
|