summaryrefslogtreecommitdiff
path: root/lib/libc/arch/amd64/gen/infinity.c
blob: 5308d91333c38cf2e32ff544a73e5c0d037150a5 (plain)
1
2
3
4
5
6
7
8
9
/*	$OpenBSD: infinity.c,v 1.3 2005/08/07 16:40:13 espie Exp $ */
/* infinity.c */

#include <math.h>

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