Closed icm7216 closed 3 years ago
Currently, numpy.sinc(0.0) returns 1.0, while Numo::NMath.sinc(0.0) returns NAN. In this patch allows to return 1.0 in Numo::NMath.sinc(0.0), just like numpy.sinc(0.0).
numpy.sinc(0.0)
Numo::NMath.sinc(0.0)
Currently,
numpy.sinc(0.0)
returns 1.0, whileNumo::NMath.sinc(0.0)
returns NAN. In this patch allows to return 1.0 inNumo::NMath.sinc(0.0)
, just likenumpy.sinc(0.0)
.