Sign in to follow this  
shirsoft

0 1 ???

Recommended Posts

shirsoft    106
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
CJM    454
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
joanusdmentia    1060
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this