X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fgmprat.h;h=b92d5af85c7263081496850603b7688251a67270;hb=c4f8f7c6c7e43fc9fd5358197ca866b4186f636c;hp=c19d95d4637302c5433528f146e7f4037d03689b;hpb=5ef972c655ad9d17ac01e208c3d7bc57a4c10c7c;p=ipdf%2Fcode.git diff --git a/src/gmprat.h b/src/gmprat.h index c19d95d..b92d5af 100644 --- a/src/gmprat.h +++ b/src/gmprat.h @@ -33,7 +33,7 @@ class Gmprat return "-" + operator-().Str(); } double p = Log10(); - if (isinf(p)) + if (std::isinf(p)) return "0"; int P = (int)p;