OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libm/] [math/] [s_infconst.c] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* Infinity as a constant value.   This is used for HUGE_VAL.
2
 * Added by Cygnus Support.
3
 */
4
 
5
#include "fdlibm.h"
6
 
7
#ifndef _DOUBLE_IS_32BITS
8
#ifdef __IEEE_BIG_ENDIAN
9
const union __dmath __infinity = { 0x7ff00000, 0 };
10
#else
11
const union __dmath __infinity = { 0, 0x7ff00000 };
12
#endif
13
#else /* defined (_DOUBLE_IS_32BITS) */
14
const union __dmath __infinity = { 0x7f800000, 0 };
15
#endif /* defined (_DOUBLE_IS_32BITS) */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.