home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
LIMITS.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
298b
|
17 lines
#include <limits>
using namespace std;
int main()
{
numeric_limits<float> float_info;
if (float_info.is_specialized && float_info.has_infinity)
{
//
// Get value of infinity.
//
float finfinity=float_info.infinity();
}
return 0;
}