Closed yasuharu519 closed 10 years ago
sprout::math::pow returns nan when negative value is inputted.
sprout::math::pow(-1.f, 2.f)
returns nan.
This should return 1.0f.
fixed: 5c10e4d85c50a76b8c67c1241c176be5c5e533a9 http://melpon.org/wandbox/permlink/9Ar1VTcbKpphn5ZH
Thank you for your quick reply!
sprout::math::pow returns nan when negative value is inputted.
sprout::math::pow(-1.f, 2.f)
returns nan.
This should return 1.0f.