tps@sdchem.UUCP (Tom Stockfisch) (03/20/87)
In article <365@bms-at.UUCP> stuart@bms-at.UUCP (Stuart D. Gathman) writes: >In article <4804@brl-adm.ARPA>,Schauble@mit-multics.arpa(Paul Schauble) writes: >>...[claim that with float x,y, the test (x*y==x*y) can fail on many machines Every single usage of "==" for floating point can fail? What about double dflmax(); double x = dflmax(); if ( x == dflmax() ) ... or double x = 0; if ( x == 0 ) ... ? || Tom Stockfisch, UCSD Chemistry tps%chem@sdcsvax.ucsd.edu or sdcsvax!sdchem!tps