Jump to content
  • Advertisement
Sign in to follow this  
shirsoft

0 1 ???

This topic is 4616 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, I just got this result http://www.geocities.com/shirsoft/0_gr8er_1.JPG dummy_tot is double while xxFxx is float; their value requires 6 digits Enjoy!

Share this post


Link to post
Share on other sites
Advertisement
Hmmm

If you can't trust fabs, why not write your own inline?

Something like if ((a-b)>1.0f || (b-a)>1.0f)...

that way, if something is amiss you know it's amiss, and not just because some badness happened with the fabs function or something...

--CJM

Share this post


Link to post
Share on other sites
You wouldn't happen to be running in release mode? Even though you can link in debugging symbols the debugger will sometimes (often) look in the wrong place for a variable's value because of optimisations performed by the compiler.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!