Closed helehex closed 5 months ago
Thanks for filing the bug report. I confirmed the repro and it's indeed a bug. BTW, in the third example, the function (__floordiv__
) actually got removed in v0.6.1 release (coming next week) due to the recursive call (someone else ran into this internally while doing something else). We'll fix that separately and revive that function.
@JoeLoser Testing on mojo 2024.5.622 (d9dc4c21)
and this appears to have been resolved
yup looks good to me
Great, thanks for closing it! I haven't looked closely at this one specifically, but the community has been filling in a lot of missing methods and fixing them, so I'm sure this was one of them 🎉🎉🎉
Bug description
floor divide always return zero if any of the operands are negative
Steps to reproduce
System information