Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c100 static const mpd_t minus_one = {MPD_NEG|MPD_STATIC|MPD_CONST_DATA, 0, 1, 1, 1,
297 return dec->flags & MPD_NEG; in mpd_isnegative()
304 return !(dec->flags & MPD_NEG); in mpd_ispositive()
318 return dec->flags & MPD_NEG; in mpd_issigned()
387 return dec->flags & MPD_NEG; in mpd_sign()
627 result->flags &= ~MPD_NEG; in mpd_set_sign()
635 uint8_t sign = a->flags&MPD_NEG; in mpd_signcpy()
637 result->flags &= ~MPD_NEG; in mpd_signcpy()
669 result->flags |= MPD_NEG; in mpd_set_negative()
676 result->flags &= ~MPD_NEG; in mpd_set_positive()
[all …]
Dio.c218 sign = MPD_NEG; in mpd_qset_string()
Dmpdecimal.h349 #define MPD_NEG ((uint8_t)1) macro
/external/python/cpython3/Modules/_decimal/
D_decimal.c2138 sign = MPD_NEG; in dec_from_long()