🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Modulus bug ?
Hi,
First of All, All my best for this new year ! (and keep up the good work, of course :))
It seems there's a small mistake in as_context.cpp line 1948 (in 2.5.0 WIP2), in the ExecuteNext() function for the BC_MODi operator (%).
I think the line :
if( *l_sp == 0 )
Should be replaced with :
if( divider == 0 )
In fact, using % operator, I always got "Error: Divide by 0" message while right operand was != 0.
Happy new year and regards,
Lbas
You're right! Well spotted.
Good thing I didn't release the final version yet. ;)
Thanks,
Andreas
Good thing I didn't release the final version yet. ;)
Thanks,
Andreas
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement