Math :: bigrat Classement & Résumé
- Licence:
- Perl Artistic License
- Site Internet de l'éditeur:
- http://search.cpan.org/~tels/
Math :: bigrat Mots clés
Math :: bigrat La description
Math :: Bigrat Forfait Big rationnel arbitraire. Math :: Forfait Bigrat Arbitraire Big Rational Nombres.Synopsis Utilisez Math :: Bigrat; mon $ x = math :: bigrat-> nouveau ('3/7'); $ x + = '5/9'; imprimer $ x-> bstr (), "n"; Imprimer $ x ** 2, "n"; Mon $ Y = Math :: Bigrat-> Nouveau ('Inf'); Imprimer "$ y", ($ y-> is_inf? 'est': 'n'est pas'), "Infintinyn"; mon $ z = math :: bigrat-> nouveau (144); $ z-> BSQRT (); Math :: Bigrat Complements Math :: Bigint et Math :: Bigfloat en fournissant un soutien aux grands numéros rationnels arbitraires.Math LibraryVous pouvez modifier le module sous-jacent qui effectue les opérations de mathématiques de bas niveau en utilisant: Math :: bigrat try => 'GMP'; Note: Cela nécessite des mathématiques :: Bigint :: GMP installé .Les suivants essaient d'abord de trouver Math :: Bigint :: FOO, puis Math :: Bigint :: Barre, et quand Cela échoue également, revenir aux mathématiques :: Calmint :: Calcul: Utilisez Math :: Bigrat Essay => 'Foo, Math :: Bigint :: Bar'; si vous voulez vous faire avertir lorsque la fuite se produit, remplacez-le. "LIB": UTILISER MATH :: BIGRAT LIB => 'FOO, MATH :: BIGINT :: BAR'; si vous voulez que le code meure plutôt, remplacez «Essayez» avec «seulement»: Utilisez Math :: Bigrat uniquement => 'Foo, Math :: Bigint :: Bar'; Exigences: · Conditions requises par PERL: · Perl
Math :: bigrat Logiciels associés