summaryrefslogtreecommitdiff
path: root/lib/libc/arch/vax/gen/infinity.c
blob: 7a9eabf337e6d2452f72bb3073233415d9a00a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 1996/08/19 08:18:25 tholo Exp $";
#endif /* LIBC_SCCS and not lint */

/*
 * XXX - THIS IS (probably) COMPLETELY WRONG ON VAX!!!
 */

/* infinity.c */

#include <math.h>

/* bytes for +Infinity on a 387 */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };