Commit 40319a1a authored by Lev Walkin's avatar Lev Walkin

infinity and nan defined

parent 99301895
......@@ -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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment