digitalmars.D - Value Range Propagation
- Walter Bright (1/1) Feb 22 2011 http://ddj.com/blog/archives/2011/02/value_range_pro.html
- Vladimir Panteleev (7/8) Feb 22 2011 http://www.digitalmars.com/d/2.0/ctod.html#types , which is linked from ...
- Robert Clipsham (7/12) Feb 23 2011 I just flicked through that page, there's dozens of pre-D1 inaccuracies,...
- Michal Minich (5/6) Feb 23 2011 This case is missed. The result must be always in range of ubyte.
- Don (3/12) Feb 23 2011 It's not fully implemented yet. That one is bug 3147.
- Simen kjaeraas (5/6) Feb 23 2011 Now on Reddit:
- Andrei Alexandrescu (4/8) Feb 23 2011 The article never made it on reddit's programming page. I sent a
- Walter Bright (2/14) Feb 23 2011 It's up now. The moderators fixed it.
- =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= (8/9) Feb 23 2011 The max value for an unsigned char is 255, not 256. Other than
http://ddj.com/blog/archives/2011/02/value_range_pro.html
Feb 22 2011
On Wed, 23 Feb 2011 08:23:32 +0200, Walter Bright <newshound2 digitalmars.com> wrote:http://ddj.com/blog/archives/2011/02/value_range_pro.htmlhttp://www.digitalmars.com/d/2.0/ctod.html#types , which is linked from the article, still mentions the bit type. -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Feb 22 2011
On 23/02/11 07:22, Vladimir Panteleev wrote:On Wed, 23 Feb 2011 08:23:32 +0200, Walter Bright <newshound2 digitalmars.com> wrote:I just flicked through that page, there's dozens of pre-D1 inaccuracies, not to mention all the inaccuracies if you're meaning D2. Someone should probably go through and clean this up. -- Robert http://octarineparrot.com/http://ddj.com/blog/archives/2011/02/value_range_pro.htmlhttp://www.digitalmars.com/d/2.0/ctod.html#types , which is linked from the article, still mentions the bit type.
Feb 23 2011
V Tue, 22 Feb 2011 22:23:32 -0800, Walter Bright wrote:http://ddj.com/blog/archives/2011/02/value_range_pro.htmlThis case is missed. The result must be always in range of ubyte. ubyte ub; ubyte a = 255 - ub; // Error: cannot implicitly convert expression // (255 - cast(int)ub) of type int to ubyte
Feb 23 2011
Michal Minich wrote:V Tue, 22 Feb 2011 22:23:32 -0800, Walter Bright wrote:It's not fully implemented yet. That one is bug 3147. Bug 4887 and 5225 are other parts that aren't implemented.http://ddj.com/blog/archives/2011/02/value_range_pro.htmlThis case is missed. The result must be always in range of ubyte. ubyte ub; ubyte a = 255 - ub; // Error: cannot implicitly convert expression // (255 - cast(int)ub) of type int to ubyte
Feb 23 2011
Walter Bright <newshound2 digitalmars.com> wrote:http://ddj.com/blog/archives/2011/02/value_range_pro.htmlNow on Reddit: http://www.reddit.com/r/programming/comments/fr6ba/value_range_propagation_or_how_to_fit_those_two/ -- Simen
Feb 23 2011
On 2/23/11 12:03 PM, Simen kjaeraas wrote:Walter Bright <newshound2 digitalmars.com> wrote:The article never made it on reddit's programming page. I sent a question to moderators. Andreihttp://ddj.com/blog/archives/2011/02/value_range_pro.htmlNow on Reddit: http://www.reddit.com/r/programming/comments/fr6ba/value_range_propagation_or_how_to_fit_those_two/
Feb 23 2011
Andrei Alexandrescu wrote:On 2/23/11 12:03 PM, Simen kjaeraas wrote:It's up now. The moderators fixed it.Walter Bright <newshound2 digitalmars.com> wrote:The article never made it on reddit's programming page. I sent a question to moderators.http://ddj.com/blog/archives/2011/02/value_range_pro.htmlNow on Reddit: http://www.reddit.com/r/programming/comments/fr6ba/value_range_propagation_or_h w_to_fit_those_two/
Feb 23 2011
Walter Bright wrote:http://ddj.com/blog/archives/2011/02/value_range_pro.htmlThe max value for an unsigned char is 255, not 256. Other than that, a pretty interesting article, thanks. Jerome --=20 mailto:jeberger free.fr http://jeberger.free.fr Jabber: jeberger jabber.fr
Feb 23 2011