Skip to content

Commit 4bca201

Browse files
committed
ld handling not needed
1 parent 61e537c commit 4bca201

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

quaddtype/numpy_quaddtype/src/scalar.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,6 @@ QuadPrecision_from_object(PyObject *value, QuadBackendType backend)
186186
self->value.sleef_value = Sleef_cast_from_doubleq1(dval);
187187
}
188188
else {
189-
// np.longdouble does not preserve sign of while nan construction`
190-
// if (isnan(dval)) {
191-
// self->value.longdouble_value = copysignl(NAN, dval);
192-
// }
193-
// else
194189
self->value.longdouble_value = (long double)dval;
195190
}
196191
}

0 commit comments

Comments
 (0)