summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sh/gen/infinity.c
blob: a8006550db2fc3b8fd269df14454b37c8bb13119 (plain)
1
2
3
4
5
6
7
8
9
/*	$OpenBSD: infinity.c,v 1.1 2006/10/10 22:07:10 miod Exp $	*/

/* infinity.c */

#include <math.h>

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