Closed yakir12 closed 6 years ago
I don't think that's possible.
julia> typeof(111222333444555666.01)
Float64
Not sure what you mean. Is there a valid reason for that behavior? If so, maybe there should be some error or warning message?
The number you entered IS actually 111222333444555664
so no it's impossible to give an error or warning.
julia> eps(111222333444555666.01)
16.0
Lo and behold:
julia> 111222333444555666.01 == 111222333444555664
true
Ok, thank you.
If this has an explanation I guess it should throw an error: