Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute value platform sensitivity #11

Closed
dtarb opened this issue May 30, 2015 · 1 comment
Closed

Absolute value platform sensitivity #11

dtarb opened this issue May 30, 2015 · 1 comment

Comments

@dtarb
Copy link
Owner

dtarb commented May 30, 2015

In testing on linux (not sure which compiler) @nazmussazib found errors due to abs returning an integer. The following posts discusses

this http://stackoverflow.com/questions/3118165/when-do-i-use-fabs-and-when-is-it-sufficient-to-use-stdabs.

http://stackoverflow.com/questions/20956352/how-to-get-absolute-value-from-double-c-language

The resolution is to use fabs or std::abs.

@dtarb
Copy link
Owner Author

dtarb commented Oct 4, 2015

This is fixed.

@dtarb dtarb closed this as completed Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant