Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dcontext.c121 ctx->traps=MPD_Traps|MPD_Clamped; in mpd_basiccontext()
Dmpdecimal.c1286 if (*status & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in mpd_qset_i64_exact()
1318 if (*status & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in mpd_qset_u64_exact()
1831 *status |= MPD_Clamped; in _mpd_check_exp()
1879 *status |= MPD_Clamped; in _mpd_check_exp()
1894 *status |= MPD_Clamped; in _mpd_check_exp()
1914 *status |= MPD_Clamped; in _mpd_check_exp()
3516 if (workstatus & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in _mpd_qadd_exact()
3547 if (workstatus & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in _mpd_qsub_exact()
3748 *status |= MPD_Clamped; in _mpd_qdiv_inf()
4426 MPD_Underflow|MPD_Clamped); in _mpd_qexp()
[all …]
Dio.c338 if (*status & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in mpd_qset_string_exact()
Dmpdecimal.h263 #define MPD_Clamped 0x00000001U macro
/external/python/cpython3/Modules/_decimal/
D_decimal.c174 {"Clamped", "decimal.Clamped", MPD_Clamped, NULL},
1358 ctx.traps |= (MPD_Underflow|MPD_Clamped); in init_basic_context()
1998 if (status & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in PyDecType_FromCStringExact()
2211 if (status & (MPD_Inexact|MPD_Rounded|MPD_Clamped)) { in PyDecType_FromLongExact()
5599 {"DecClamped", MPD_Clamped},