JuliaLang/julia — comment on commit 1253a2e8c0ba4806cf238a6278a887c6762e6bf6
File:  line 0
By StefanKarpinski:

Also, this is a little weird:

```
julia> typemin(Int)
-9223372036854775808

julia> -9223372036854775808
0x8000000000000000
```

Maybe negating an unsigned value should make it signed? Another option: since large unsigned integers can now be written in `0xffffffffffffffff` form, maybe we don't do the whole "large integer literals are unsigned" thing. That would make inputting `9223372036854775808` an error; however, we could maybe make `9223372036854775808` the literal for `-9223372036854775808`, which would make this come out right since that's a value that is its own negation. Yet another option: parse minus followed by an integer literal specially.