summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa/gen/infinity.c
blob: e0d028d6d9fb65ee2792afc833dba3b9927fc756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*	$OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $	*/

/* infinity.c */

#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $";
#endif /* LIBC_SCCS and not lint */

#include <math.h>

/* bytes for +Infinity on a hppa */
char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
    { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };