Home
last modified time | relevance | path

Searched refs:ldigits (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c465 mpd_ssize_t ldigits; in _mpd_to_string() local
519 * ldigits denotes the number of decimal digits to the left in _mpd_to_string()
526 * 1) ldigits := dec->digits - dec->exp in _mpd_to_string()
527 * 2) dplace := ldigits (initially) in _mpd_to_string()
528 * 3) exp := ldigits - dplace (initially exp = 0) in _mpd_to_string()
539 ldigits = dec->digits + dec->exp; in _mpd_to_string()
544 else if (flags&MPD_FMT_FIXED || (dec->exp <= 0 && ldigits > -6)) { in _mpd_to_string()
548 dplace = ldigits; in _mpd_to_string()
557 else { /* ldigits-1 is the adjusted exponent, which in _mpd_to_string()
560 dplace += mod_mpd_ssize_t(ldigits in _mpd_to_string()
[all...]

Completed in 2 milliseconds