Lines Matching defs:rounding

220 "valid values for rounding are:\n\
1160 context_setattrs(PyObject *self, PyObject *prec, PyObject *rounding,
1168 if (rounding != Py_None && context_setround(self, rounding, NULL) < 0) {
1308 "prec", "rounding", "Emin", "Emax", "capitals", "clamp",
1312 PyObject *rounding = Py_None;
1325 &prec, &rounding, &emin, &emax, &capitals, &clamp, &status, &traps
1331 self, prec, rounding,
1360 "Context(prec=%zd, rounding=%s, Emin=%zd, Emax=%zd, "
1483 { "rounding", (getter)context_getround, (setter)context_setround, NULL, NULL},
1737 "ctx", "prec", "rounding",
1747 PyObject *rounding = Py_None;
1757 &prec, &rounding, &Emin, &Emax, &capitals, &clamp, &flags, &traps)) {
1785 self->local, prec, rounding,
3428 /* Round into a temporary (carefully mirroring the rounding
3456 PyErr_SetString(PyExc_ValueError, "unexpected error when rounding");
3493 /* Return a PyLongObject from a PyDecObject, using the specified rounding
3620 /* context and rounding are unused here: the conversion is exact */
3681 static char *kwlist[] = {"rounding", "context", NULL};
3683 PyObject *rounding = Py_None;
3689 &rounding, &context)) {
3695 if (rounding != Py_None) {
3696 int round = getround(rounding);
3722 static char *kwlist[] = {"rounding", "context", NULL};
3724 PyObject *rounding = Py_None;
3730 &rounding, &context)) {
3736 if (rounding != Py_None) {
3737 int round = getround(rounding);
4519 static char *kwlist[] = {"exp", "rounding", "context", NULL};
4520 PyObject *rounding = Py_None;
4528 &w, &rounding, &context)) {
4534 if (rounding != Py_None) {
4535 int round = getround(rounding);