[Numpy-discussion] Re: Unexpected return values for np.mod with x2=np.inf and similar

2024-06-10 Thread Matti Picus
What operating system? If I recall correctly, NumPy tries to be compatible with CPython for these edge cases. The actual implementation is a bit scattered. I think it would be nice if we could have an "explain" decorator to ufuncs that would return the name of the inner loop used in practi

[Numpy-discussion] Re: Unexpected return values for np.mod with x2=np.inf and similar

2024-06-10 Thread Sebastian Berg
On Mon, 2024-06-10 at 10:49 +0300, Matti Picus wrote: > What operating system? > > > If I recall correctly, NumPy tries to be compatible with CPython for > these edge cases. > Right, and there seems nothing odd here to me. Try using `divmod()` on a few numbers (not infinities) to realize that

[Numpy-discussion] Next NumPy Newcomers' Hour - June 13th, 2023 at 12 PM UTC

2024-06-10 Thread Ganesh Kathiresan
Our next Newcomers' Hour will be held this Thursday, 13th, 2023 at 12 PM UTC, Stop by to ask questions, share your progress, celebrate success, or just to say hi. To add to the meeting agenda the topics you’d like to discuss, follow the link: https://hackmd.io/3f3otyyuTte3FU9y3QzsLg?both. Join t