Skip to content
Snippets Groups Projects
Commit 2c1bbbe3 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

(cast)mpz documented

Rev: src/modules/gmpmod/doc/mpz:1.2
parent 404e713b
No related branches found
No related tags found
No related merge requests found
...@@ -74,3 +74,25 @@ DESCRIPTION ...@@ -74,3 +74,25 @@ DESCRIPTION
This function returns the greatest common divisor for arg and mpz. This function returns the greatest common divisor for arg and mpz.
============================================================================ ============================================================================
NAME
cast - cast to other type
SYNTAX
object mpz->gcd( "string" | "int" | "float" );
or
(string) mpz
or
(int) mpz
or
(float) mpz
DESCRIPTION
This function converts an mpz to a string, int or float. This is
nessesary when you want to view, store or use the result of an mpz
calculation.
SEE ALSO
cast
============================================================================
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment