in reply to Re^2: enumerating values for slopes
in thread enumerating values for slopes

Both Math::Trig and Math::BigFloat provide a pi constant
$ perl -MMath::Trig -MMath::BigFloat=bpi -le " print for pi(), bpi(15) + " 3.14159265358979 3.14159265358979

Replies are listed 'Best First'.
Re^4: enumerating values for slopes
by Laurent_R (Canon) on Sep 21, 2014 at 10:34 UTC
    Yes, right, I was just commenting on the part of the code suggested by trippledubs not using these modules. And frankly, the BigFloat module is probably not very useful in the context, because bare Perl can make the slope calculations much more accurately than the measurements on which they are or seem to be based.