JuliaLang/julia — comment on commit 05f486e9906b8f406fefff4512174fd79667997d
File: j/floatfuncs.j line 37
By StefanKarpinski:

Should this maybe be something like

```
trunc(x) == x && abs(x) <= $float64(typemax(Uint64))
```

instead? Speaking of which, I was trying to figure out which integer type to compare with and cast to for the `hash` business. Is `Uint64` correct? `Int64` might make sense too. I figured there would be a hash collision between some positive and negative floating-point values, but that's probably ok. Maybe we should just yank this function entirely since it's not really very clear what it even means, really.