summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64/gen/infinity.c
blob: 60847ada16d59b145f08be4ec80e7b66fd4a0c30 (plain)
1
2
3
4
5
6
7
8
9
/*	$OpenBSD: infinity.c,v 1.2 2001/09/05 23:24:46 art Exp $	*/

/* infinity.c */

#include <math.h>

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