Searched refs:workctx (Results 1 – 2 of 2) sorted by relevance
724 mpd_workcontext(mpd_context_t *workctx, const mpd_context_t *ctx) in mpd_workcontext() argument726 workctx->prec = ctx->prec; in mpd_workcontext()727 workctx->emax = ctx->emax; in mpd_workcontext()728 workctx->emin = ctx->emin; in mpd_workcontext()729 workctx->round = ctx->round; in mpd_workcontext()730 workctx->traps = 0; in mpd_workcontext()731 workctx->status = 0; in mpd_workcontext()732 workctx->newtrap = 0; in mpd_workcontext()733 workctx->clamp = ctx->clamp; in mpd_workcontext()734 workctx->allcr = ctx->allcr; in mpd_workcontext()[all …]
3196 mpd_context_t workctx; in dec_as_long() local3216 workctx = *CTX(context); in dec_as_long()3217 workctx.round = round; in dec_as_long()3218 mpd_qround_to_int(x, MPD(dec), &workctx, &status); in dec_as_long()3372 mpd_context_t workctx; in PyDec_ToIntegralValue() local3380 workctx = *CTX(context); in PyDec_ToIntegralValue()3386 if (!mpd_qsetround(&workctx, round)) { in PyDec_ToIntegralValue()3396 mpd_qround_to_int(MPD(result), MPD(dec), &workctx, &status); in PyDec_ToIntegralValue()3413 mpd_context_t workctx; in PyDec_ToIntegralExact() local3421 workctx = *CTX(context); in PyDec_ToIntegralExact()[all …]