Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dio.c462 _mpd_to_string(char **result, const mpd_t *dec, int flags, mpd_ssize_t dplace) in _mpd_to_string() argument
548 dplace = ldigits; in _mpd_to_string()
555 dplace = -1 + mod_mpd_ssize_t(dec->exp+2, 3); in _mpd_to_string()
560 dplace += mod_mpd_ssize_t(ldigits-1, 3); in _mpd_to_string()
572 if (dplace <= 0) { in _mpd_to_string()
573 mem = -dplace + dec->digits + 2; in _mpd_to_string()
575 else if (dplace >= dec->digits) { in _mpd_to_string()
576 mem = dplace; in _mpd_to_string()
600 if (dplace <= 0) { in _mpd_to_string()
604 for (k = 0; k < -dplace; k++) { in _mpd_to_string()
[all …]