April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a | |||
|---|---|---|---|
| |||
Kagamin: I was partially wrong, thank you. If you take a look it has int... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a | |||
|---|---|---|---|
| |||
bearophile Wrote: there's no ubyte in C# It has byte, and it's unsigned... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a warning? | |||
|---|---|---|---|
| |||
There are some aliases in std.stdint | |||
April 11, 2011 Learn » Re: Why tuples? [was: Why tuple Re: Why are unsigned to signed conversions implicit...?] | |||
|---|---|---|---|
| |||
No reason. Sometimes I find a new feature in D and I like to try... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a warning? | |||
|---|---|---|---|
| |||
Agreed. Same for uint or nat. And no implicit cast, please ;-) Denis -- _________________ vita es estrany... | |||
April 11, 2011 Learn » Re: Why tuples? [was: Why tuple Re: Why are unsigned to signed conversions | |||
|---|---|---|---|
| |||
spir: Tuples are also sortable and printable on default, I think. Bye, bearophile | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a warning? | |||
|---|---|---|---|
| |||
I like the idea of removing all the different integer type names (byte, short, int... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a warning? | |||
|---|---|---|---|
| |||
...fine, we just need to get the conversions right. Yes, they aren't "theoretically correct... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a | |||
|---|---|---|---|
| |||
True for me as well. I was very surprised to discover 'byte' is /not/ unsigned... | |||
April 11, 2011 Learn » Re: Why are unsigned to signed conversions implicit and don't emit a warning? | |||
|---|---|---|---|
| |||
I think a good naming scheme would be: * signed : int8 .. int64 * unsigned : nat8 .. nat64 (since... | |||
Copyright © 1999-2021 by the D Language Foundation