home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
borland
/
jnfb88.arc
/
CFLOAT.ARC
/
DENORMAL.C
next >
Wrap
Text File
|
1987-06-23
|
195b
|
10 lines
/* Listing 1: */
double x,y;
main(){
x = 1.e-300;
y = x *(1. + 1.e-15);
if (x == y) puts("x == y"); else puts("x != y");
if (x - y == 0.) puts("x - y = 0"); else puts("x - y != 0");
}