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

It should be possible to write fully precise reals using mach.text.numeric.floats.writefloat #11

Open
pineapplemachine opened this issue Jan 21, 2017 · 1 comment

Comments

@pineapplemachine
Copy link
Owner

Right now the implementation of Burger's algorithm used to serialize floats only accepts doubles. To make it also accept reals should only mean changing some constants depending on the floating point type being serialized.

As part of this addition, it should also be possible to make the implementation more optimal for the float type.

@pineapplemachine
Copy link
Owner Author

This issue partially addressed by the addition of mach.text.numeric.hexfloats which, though it outputs data in a different format, does not suffer from any such limitation.

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

No branches or pull requests

1 participant