hello
taken from:
dinkumware
INFINITY
#define INFINITY <float rvalue> [added with C99]
The macro yields a float value that represents positive infinity.
isfinite
#define isfinite(x) <int rvalue> [added with C99, bool functions in C++]
This is a discussion on tan(pi/2) = infinity; now try to do this is C within the C Programming forums, part of the General Programming Boards category; hello taken from: dinkumware INFINITY #define INFINITY <float rvalue> [added with C99] The macro yields a float value that represents ...
hello
taken from:
dinkumware
INFINITY
#define INFINITY <float rvalue> [added with C99]
The macro yields a float value that represents positive infinity.
isfinite
#define isfinite(x) <int rvalue> [added with C99, bool functions in C++]
Sure. I'm not sure what the significance is to this thread though.Originally Posted by cdalten
Incorrect. THe specification of floating point is in terms of sign*mantissa*10^exponent. The individual fields in the floating point variable (mantissa and exponent) will be represented in binary, but that doesn't mean floating point formats are specified as you have stated here.Originally Posted by cdalten