Add MPFRC++ mpreal type
[ipdf/code.git] / src / tests / fecalculator.cpp
index 2ae39d9..c16265c 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au