Skip to content

Commit 1ced8a6

Browse files
committed
remvoing redundant SLEEF_QUAD compile check
1 parent 0a9d1e3 commit 1ced8a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

quaddtype/numpy_quaddtype/src/quaddtype_main.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,7 @@ get_sleef_constant(PyObject *self, PyObject *args)
9494
result->value.sleef_value = SLEEF_QUAD_MIN;
9595
}
9696
else if (strcmp(constant_name, "smallest_subnormal") == 0) {
97-
#ifdef SLEEF_QUAD_C
98-
// On platforms with native __float128 support, use the correct literal
99-
result->value.sleef_value = SLEEF_QUAD_DENORM_MIN;
100-
#else
10197
result->value.sleef_value = SMALLEST_SUBNORMAL_VALUE;
102-
#endif
10398
}
10499
else if (strcmp(constant_name, "bits") == 0) {
105100
Py_DECREF(result);

0 commit comments

Comments
 (0)