Home
last modified time | relevance | path

Searched refs:dplace (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dio.c446 _mpd_to_string(char **result, const mpd_t *dec, int flags, mpd_ssize_t dplace) in _mpd_to_string() argument
532 dplace = ldigits; in _mpd_to_string()
539 dplace = -1 + mod_mpd_ssize_t(dec->exp+2, 3); in _mpd_to_string()
544 dplace += mod_mpd_ssize_t(ldigits-1, 3); in _mpd_to_string()
556 if (dplace <= 0) { in _mpd_to_string()
557 mem = -dplace + dec->digits + 2; in _mpd_to_string()
559 else if (dplace >= dec->digits) { in _mpd_to_string()
560 mem = dplace; in _mpd_to_string()
584 if (dplace <= 0) { in _mpd_to_string()
588 for (k = 0; k < -dplace; k++) { in _mpd_to_string()
[all …]