File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
quaddtype/numpy_quaddtype/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ get_sleef_constant(PyObject *self, PyObject *args)
8080 else if (strcmp (constant_name , "precision" ) == 0 ) {
8181 Py_DECREF (result );
8282 // precision = int(-log10(epsilon))
83- auto precision = Sleef_cast_to_int64q1 (Sleef_negq1 (Sleef_log10q1_u10 (SLEEF_QUAD_EPSILON )));
83+ int64_t precision = Sleef_cast_to_int64q1 (Sleef_negq1 (Sleef_log10q1_u10 (SLEEF_QUAD_EPSILON )));
8484 return PyLong_FromLong (precision );
8585 }
8686 else if (strcmp (constant_name , "resolution" ) == 0 ) {
8787 // precision = int(-log10(epsilon))
88- auto precision = Sleef_cast_to_int64q1 (Sleef_negq1 (Sleef_log10q1_u10 (SLEEF_QUAD_EPSILON )));
88+ int64_t precision = Sleef_cast_to_int64q1 (Sleef_negq1 (Sleef_log10q1_u10 (SLEEF_QUAD_EPSILON )));
8989 // resolution = 10 ** (-precision)
9090 result -> value .sleef_value = Sleef_powq1_u10 (Sleef_cast_from_int64q1 (10 ), Sleef_cast_from_int64q1 (- precision ));
9191 }
You can’t perform that action at this time.
0 commit comments