Skip to content

Floating Point Division #96

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
aileks opened this issue Apr 21, 2024 · 4 comments
Closed

Floating Point Division #96

aileks opened this issue Apr 21, 2024 · 4 comments

Comments

@aileks
Copy link

aileks commented Apr 21, 2024

(I forgot to report this when going through through the problems and it just occurred to me.)

The test spec doesn't account for the quirk behind floating point division for the compute exponent problem.
image

This isn't an edge case to account for but rather the specification for floating point division by IEE. The relevant specification is IEE-754.

@mybrainishuge
Copy link
Contributor

How would making this change aid you in practicing recursion?

@aileks
Copy link
Author

aileks commented Apr 21, 2024

Because the result of the division within the test case is expected? I don't see the point in your question. Flawed test specs hinder learning in general.

@aileks aileks closed this as completed Apr 21, 2024
@mybrainishuge
Copy link
Contributor

How would you implement this so the test would pass as you expect?

@mybrainishuge
Copy link
Contributor

My question was sincere. If I can understand what about the implementation will aid in practicing recursion, I'm more than willing to update the test accordingly. Understanding how you would implement this would provide valuable insight that will help me know how to improve this. It's clear that you have a passion for improving your environment which I greatly respect and I want to figure out a way that we can do that that satisfies both of our goals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants