On Tuesday, 15 February 2022 at 22:24:53 UTC, bachmeier wrote:
[snip]

After looking at the documentation and seeing CommonType!(int, uint) is uint, I have to say that iota's behavior doesn't make much sense.

What do you propose as an alternative? What about the narrowest type that fits both int and uint? That would be a long.

Reply via email to