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
Defining the float 3.4028235E38F gives the error "floating point number too large" #10148
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10148?orig=1 |
@som-snytt said:
|
Malte Limmeroth (molty) said (edited on Jan 16, 2017 8:33:14 AM UTC):
|
@som-snytt said (edited on Jan 16, 2017 8:42:26 AM UTC):
|
@som-snytt said: |
@SethTisue said: |
@adriaanm said: |
@som-snytt said: |
When you try to define a float with the value 3.4028235E38F you get "error: floating point number too large":
whereas in java everything is fine:
you can even define it in scala with java methods:
The text was updated successfully, but these errors were encountered: