Searched refs:workctx (Results 1 – 2 of 2) sorted by relevance
750 mpd_workcontext(mpd_context_t *workctx, const mpd_context_t *ctx) in mpd_workcontext() argument752 workctx->prec = ctx->prec; in mpd_workcontext()753 workctx->emax = ctx->emax; in mpd_workcontext()754 workctx->emin = ctx->emin; in mpd_workcontext()755 workctx->round = ctx->round; in mpd_workcontext()756 workctx->traps = 0; in mpd_workcontext()757 workctx->status = 0; in mpd_workcontext()758 workctx->newtrap = 0; in mpd_workcontext()759 workctx->clamp = ctx->clamp; in mpd_workcontext()760 workctx->allcr = ctx->allcr; in mpd_workcontext()[all …]
3341 mpd_context_t workctx; in dec_as_long() local3361 workctx = *CTX(context); in dec_as_long()3362 workctx.round = round; in dec_as_long()3363 mpd_qround_to_int(x, MPD(dec), &workctx, &status); in dec_as_long()3517 mpd_context_t workctx; in PyDec_ToIntegralValue() local3525 workctx = *CTX(context); in PyDec_ToIntegralValue()3531 if (!mpd_qsetround(&workctx, round)) { in PyDec_ToIntegralValue()3541 mpd_qround_to_int(MPD(result), MPD(dec), &workctx, &status); in PyDec_ToIntegralValue()3558 mpd_context_t workctx; in PyDec_ToIntegralExact() local3566 workctx = *CTX(context); in PyDec_ToIntegralExact()[all …]