// Mr. Minich // Computer Science Using C++ // Ch. 5 Demo Program #6 // January 30, 2000 // Purpose - to illustrate underflow
#include<iostream.h> int main() { double myDouble = 1e-308; // a really small value double mySmallerDouble = 1e-400; // an even smaller value cout << "Here is myDouble (1e-308) according to C++: " << myDouble << endl; cout << "Here is mySmallerDouble (1e-400) according to C++: " << mySmallerDouble << endl << endl; return 0; }// end of main