JuliaLang/julia — Issue #257: fix comparisons between Float64 and Int64
Author: JeffBezanson
Created: 2011-11-11 05:11:20+00:00
State: open
Labels: bugs

We currently promote to Float64, which gives the wrong answer in cases like these:

```
julia> float64(2^60) == (2^60+1)
true

julia> float64(2^60) < (2^60+1)
false
```