| Matemáticas :: Bigrat Matemáticas :: Bigrat Paquete ARBITRARY BIG RACIONES NÚMEROS. |
Descargar ahora |
Matemáticas :: Bigrat Clasificación y resumen
- Licencia:
- Perl Artistic License
- Sitio web del editor:
- http://search.cpan.org/~tels/
Matemáticas :: Bigrat Etiquetas
Matemáticas :: Bigrat Descripción
Matemáticas :: Bigrat paquete arbitrary grandes números racionales. Matemáticas :: Bigrat Paquete Arbitrary Big Rational Números.Synopsis Use Matemáticas :: Bigrat; My $ X = Matemáticas :: Bigrat-> Nuevo ('3/7'); $ x + = '5/9'; Imprimir $ X-> BSTR (), "N"; Imprimir $ x ** 2, "n"; My $ Y = Matemáticas :: Bigrat-> Nuevo ('inf'); Imprimir "$ y", ($ y-> is_inf? 'es': 'no es') ", infinito"; My $ Z = Matemáticas :: Bigrat-> Nuevo (144); $ z-> BSQRT (); Matemáticas :: Bigrat complementa Matemáticas :: Bigint y Matemáticas :: Bigfloat al brindar apoyo a los grandes números de Racional Arbitrarios. Path Library, puede cambiar el módulo subyacente que realiza las operaciones matemáticas de bajo nivel utilizando: usar Matemáticas :: Bigrat intentar => 'GMP'; Nota: Esto necesita matemáticas :: BIGINT :: GMP instalado. El siguiente primero intentaría encontrar matemáticas :: BIGINT :: FOO, LUEGO MATH :: BIGINT :: BAR, Y CUANDO Esto también falla, vuelve a Matemáticas :: BIGINT :: Calc: use mathath :: bigrat intente => 'foo, matemáticas :: BIGINT :: Bar'; Si desea advertirse cuando se produce el Baldo, reemplace "intente" con "Lib": Usa Matemáticas :: Bigrat Lib => 'Foo, Matemáticas :: Bigint :: Bar'; Si desea que el código muera en su lugar, reemplace "intente" con "SOLO": use Math :: Bigrat Only => 'Foo, Matemáticas :: Bigint :: Bar'; Requisitos: · Requisitos de Perl: · Perl
Matemáticas :: Bigrat Software relacionado