mirror of https://gerrit.osmocom.org/asn1c
infinity and nan defined
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@323 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
03af0f048d
commit
1d3ed28834
|
@ -12,6 +12,15 @@
|
|||
#undef INT_MAX
|
||||
#define INT_MAX ((int)(((unsigned int)-1) >> 1))
|
||||
|
||||
#ifndef INFINITY
|
||||
#define INFINITY HUGE_VAL
|
||||
#endif
|
||||
|
||||
#ifndef NAN
|
||||
static const double nan0;
|
||||
#define NAN (nan0/nan0)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* REAL basic type description.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue