diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-04-07 11:19:51 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-04-07 11:38:45 -0700 |
commit | c4029e5079126585e4616f1d511d94318e1f1700 (patch) | |
tree | aec6bf2e02566892ad3f4e21bb33c3dcf3fcf7b5 /py/mpz.h | |
parent | 6827f9fc55e748a069a44f4e3681c26518e1dbca (diff) |
Add string formatting support for longlong and mpz.
Diffstat (limited to 'py/mpz.h')
-rw-r--r-- | py/mpz.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -76,5 +76,6 @@ bool mpz_as_int_checked(const mpz_t *z, machine_int_t *value); mp_float_t mpz_as_float(const mpz_t *z); #endif uint mpz_as_str_size(const mpz_t *z, uint base); +uint mpz_as_str_size_formatted(const mpz_t *i, uint base, const char *prefix, char comma); char *mpz_as_str(const mpz_t *z, uint base); -uint mpz_as_str_inpl(const mpz_t *z, uint base, char *str); +uint mpz_as_str_inpl(const mpz_t *z, uint base, const char *prefix, char base_char, char comma, char *str); |