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

Add hexadecimal float literals (closes #2863) #2925

Merged
merged 4 commits into from
Apr 26, 2013

Conversation

andrioni
Copy link
Member

These commits add hexadecimal floating-point literals to femtolisp and to Julia, using the standard C99 notation.
Currently only Float64 is supported in Julia (both float and double are supported in femtolisp), as I ran into some parsing issues with Float32.
Should close #2863.

@StefanKarpinski
Copy link
Sponsor Member

Awesome! I'm gonna let @JeffBezanson review, but this looks great. Might want to add some test cases for particularly nasty edge-values like realmax() and realmin() and eps(0.0) and values around there.

@andrioni
Copy link
Member Author

dca8f0a rewrites the tests and now supports #\P.

JeffBezanson added a commit that referenced this pull request Apr 26, 2013
Add hexadecimal float literals (closes #2863)
@JeffBezanson JeffBezanson merged commit c8b99d9 into JuliaLang:master Apr 26, 2013
@andrioni andrioni deleted the hexliteral branch April 26, 2013 23:27
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.

Hexadecimal floating-point literals
3 participants