Hello,
The expression "(1 >> 12)" in the f32toint() macro evaluates to zero and causes a division by zero. Should be "(1U << 12)" instead.
Cheers...
Bug: f32toint() macro causes division by zero
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Bug: f32toint() macro causes division by zero
oops, sorry. I messed up fixing a warning in that.
https://github.com/devkitPro/libnds/com ... 93f7a621fa
Thanks for letting us know.
https://github.com/devkitPro/libnds/com ... 93f7a621fa
Thanks for letting us know.
Who is online
Users browsing this forum: No registered users and 1 guest