X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fgmprat.h;h=b92d5af85c7263081496850603b7688251a67270;hb=63e9d774c858dfe79264a24ae8daa3dde3c7bb6e;hp=c19d95d4637302c5433528f146e7f4037d03689b;hpb=80c609660b049d1bf62d98acfb0c1aa893278123;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;