julia> reverse(0:UInt(2)) ERROR: InexactError() in reverse at ./range.jl:674
julia> reverse(0:1:UInt(2)) 0x0000000000000002:0xffffffffffffffff:0x0000000000000001 julia> length(reverse(0:1:UInt(2))) 0x0000000000000000 julia> length(0:1:UInt(2)) 0x0000000000000003 I know it cannot be worked within unsigned numbers but at least it should return correct range with signed int. There are many functions that accept Integer as argument type then one may not work if a range reversed based on this argument.