Skip to content

[Issue 68] add test to check for floating point rounding errors #69

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

Closed
wants to merge 1 commit into from

Conversation

defel
Copy link

@defel defel commented Nov 27, 2014

Add Test for #68

@fge
Copy link
Contributor

fge commented Nov 27, 2014

The problem with such a test is that it depends on the language's fp arithemtic precision; it should be an extra test...

This or argue that most languages use IEEE 754 base 2 and use numbers known to be exacty represented in such a format (ie 0.5, 0.25, 0.125 etc)

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

Successfully merging this pull request may close these issues.

3 participants