X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Ftests%2Ffecalculator.cpp;h=c16265c00aeb5116402fb37d141bea5c9d44955a;hb=03cc1b0a0d0705e0b1d92e13fdb18608c7a00272;hp=2ae39d986bae790adacbd83cd7a940c2c19247b6;hpb=6472d20ee58d2ecc0aee8bc1a12a071b2afc8a27;p=ipdf%2Fcode.git diff --git a/src/tests/fecalculator.cpp b/src/tests/fecalculator.cpp index 2ae39d9..c16265c 100644 --- a/src/tests/fecalculator.cpp +++ b/src/tests/fecalculator.cpp @@ -17,7 +17,7 @@ int main(int argc, char ** argv) Debug("FLT_MIN = %.40f", FLT_MIN); Debug("FLT_EPSILON = %.40f", FLT_EPSILON); - while (true) + while (cin.good()) { float a; float b; char op;