We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2f7c3 commit 9c8a50cCopy full SHA for 9c8a50c
quaddtype/numpy_quaddtype/src/ops.hpp
@@ -247,7 +247,7 @@ static inline Sleef_quad
247
quad_radians(const Sleef_quad *op)
248
{
249
// radians = degrees * π / 180
250
- static const Sleef_quad one_eighty = Sleef_strtoq("180.0", NULL);
+ static const Sleef_quad one_eighty = sleef_q(+0x1680000000000LL, 0x0000000000000000ULL, 7);
251
Sleef_quad ratio = Sleef_divq1_u05(SLEEF_M_PIq, one_eighty);
252
return Sleef_mulq1_u05(*op, ratio);
253
}
0 commit comments