Math::MPFIA Perl interface to the MPFI (interval arithmetic) library | |
Download |
Math::MPFI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Sisyphus
- Publisher web site:
- http://search.cpan.org/~sisyphus/
Math::MPFI Tags
Math::MPFI Description
A Perl interface to the MPFI (interval arithmetic) library Math::MPFI is a Perl module that needs the MPFI, MPFR and GMP C libraries. (Install GMP first, then MPFR, then MPFI.)SYNOPSIS use warnings; use Math::MPFI qw(:mpfi); Rmpfi_set_default_prec(100); # Set default precision to 100 bits my $mpfi1 = Math::MPFI->new(2); $mpfi2 = sqrt($mpfi1); print "Square root of $mpfi1 lies in the interval $mpfi2\n";See also the Math::MPFI test suite for some (simplistic) examples of usage. Requirements: · Perl
Math::MPFI Related Software