X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fgmprat.h;h=b92d5af85c7263081496850603b7688251a67270;hp=c19d95d4637302c5433528f146e7f4037d03689b;hb=f28146cf72fc68c8d3690814b1f89d47b8c4e7b9;hpb=5ef972c655ad9d17ac01e208c3d7bc57a4c10c7c 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;