> Okay the issue seem to be that D casts the left-hand argument to the > same type as the right-hand argument.
Seems to be but not true. It's more like "anything that touches an unsigned type turns unsigned". :)
https://dlang.org/spec/type.html#integer-promotionsThe more important topic there is the second one: "Usual Arithmetic Conversions"
Ali