Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c333 mpd_iszero(const mpd_t *dec) in mpd_iszero() function
808 if (mpd_iszero(result)) { in _mpd_cap()
1279 if (mpd_iszero(a)) { in _mpd_qget_uint()
1388 if (mpd_iszero(a)) { in _c32_qget_u64()
1855 if (mpd_adjexp(dec) < ctx->emin && !mpd_iszero(dec) && in mpd_check_underflow()
2684 else if (mpd_iszero(a)) in mpd_class()
2694 else if (mpd_iszero(a)) in mpd_class()
4119 if (!mpd_isspecial(result) && !mpd_iszero(result) && in _mpd_zeropad()
4157 assert(!mpd_iszero(r)); in _mpd_get_exp_iterations()
5713 if (mpd_iszero(b)) { in _mpd_qmul_inf()
[all …]
Dio.c535 if (mpd_iszero(dec)) { in _mpd_to_string()
1215 if (mpd_isspecial(a) || mpd_iszero(a)) { in _mpd_round()
1306 if (mpd_iszero(dec)) { in mpd_qformat_spec()
1324 if (mpd_iszero(dec) && dec->exp > 0) { in mpd_qformat_spec()
Dmpdecimal.h735 EXTINLINE int mpd_iszero(const mpd_t *dec);
/external/python/cpython3/Modules/_decimal/
D_decimal.c3257 if (mpd_isnegative(x) && !mpd_iszero(x)) { in dec_as_long()
3303 exp = mpd_iszero(MPD(tmp)) ? 0 : MPD(tmp)->exp; in dec_as_integer_ratio()
3868 return !mpd_iszero(MPD(v)); in nm_nonzero()
3993 Dec_BoolFunc(mpd_iszero) in Dec_UnaryFuncVA()
5045 DecCtx_BoolFunc_NO_CTX(mpd_iszero) in DecCtx_BoolFunc()