PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gmp_jacobi> <gmp_intval
Last updated: Fri, 22 Aug 2008

view this page in

gmp_invert

(PHP 4 >= 4.0.4, PHP 5)

gmp_invertInvierte según el módulo

Descripción

resource gmp_invert ( resource $a , resource $b )

Calcula el inverso de a módulo b . Devuelve FALSE si no existe el inverso según ese módulo.

Example #1 Ejemplo de gmp_invert()

<?php
echo gmp_invert("5""10"); // no existe inverso, por lo que devuelve FALSE y no se muestra nada
$invert gmp_invert("5""11");
echo 
gmp_strval($invert) . "\n";
?>

La salida del anterior programa es:

9


add a note add a note User Contributed Notes
gmp_invert
There are no user contributed notes for this page.

gmp_jacobi> <gmp_intval
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites