Branch: Tag:

2015-02-13

2015-02-13 15:40:17 by Martin Nilsson <nilsson@opera.com>

Leave upper case digits out of the API.

624:       if (   #ifdef HAVE_GMP5 -  ((base >= 2) && (base <= 62)) || ((base >= -36) && (base <= -2)) +  (base >= 2) && (base <= 62) +  /* -2..-36 is also available for upper case conversions, but +  it's just confusing together with the -256 notation, so +  let's leave that out of the Pike API. */   #else    (base >= 2) && (base <= 36)   #endif
684:    push_string(low_get_mpz_digits(THIS, 10));   }    - /*! @decl string digits(void|int(2..36)|int(256..256)|int(-256..-256) base) + /*! @decl string digits(void|int(2..62)|int(256..256)|int(-256..-256) base)    *!    *! Convert this mpz object to a string. If a @[base] is given the    *! number will be represented in that base. Valid bases are 2-36 and