If these rules are not so clear and have some exceptions (but I
don't understand why they are needed) then some documentation
needed about this. But I would prefer to have result of uint
substraction like uint, and char substraction like char. If we
will changing all the types it will be kind of mess. Using this
logic we should have some bigger type for int multiplication
operator to fit in result of multiplication of int.max*int.max. I
know that some assembler operations do this and multiplication of
two registers with byte size results in placing product into two
result register. But in context of higher level programming
language it's better to have better type consistensy. Or we will
nead a bigger type to store product for ulong.max*ulong.max
result. Is it good or not?
- Question about iteger literal... Uranuz via Digitalmars-d-learn
- Re: Question about itege... bearophile via Digitalmars-d-learn
- Re: Question about i... Uranuz via Digitalmars-d-learn
- Re: Question abo... Uranuz via Digitalmars-d-learn
- Re: Question... bearophile via Digitalmars-d-learn
- Re: Que... Uranuz via Digitalmars-d-learn
- Re:... Uranuz via Digitalmars-d-learn
- ... bearophile via Digitalmars-d-learn
- ... Uranuz via Digitalmars-d-learn
- ... bearophile via Digitalmars-d-learn
- ... Uranuz via Digitalmars-d-learn
- ... Steven Schveighoffer via Digitalmars-d-learn
- ... Uranuz via Digitalmars-d-learn
- ... bearophile via Digitalmars-d-learn
- ... Uranuz via Digitalmars-d-learn
- ... Uranuz via Digitalmars-d-learn
- Re: Question abo... bearophile via Digitalmars-d-learn