xref: /openbsd/lib/libc/arch/mips64/gen/infinity.c (revision e5dd7070)
1 /*	$OpenBSD: infinity.c,v 1.3 2014/07/21 01:51:10 guenther Exp $ */
2 /* infinity.c */
3 
4 #include <endian.h>
5 #include <math.h>
6 
7 /* bytes for +Infinity on a MIPS */
8 #if BYTE_ORDER == BIG_ENDIAN
9 char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
10 #else
11 char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
12 #endif
13