November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 ------- Comment #20 from deewiant@gmail.com 2006-11-18 06:44 ------- Created an attachment (id=63) --> (http://d.puremagic.com/issues/attachment.cgi?id=63&action=view) Listing for www.digitalmars.com/d/exception-safe.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 ------- Comment #21 from smjg@iname.com 2006-11-18 07:04 ------- (In reply to comment #11) > Created an attachment (id=54) --> (http://d.puremagic.com/issues/attachment.cgi?id=54&action=view) [edit] > Listing for www.digitalmars.com/d/ctod.html `PROBLEM: Under "Formatted printing", the D code uses "import stdio;" which hasn't compiled for a very long time: use "import std.stdio".` I don't think "import stdio;" has ever worked. The std package was established long before std.stdio was invented. Moreover, it should be pointed out that printf shouldn't be mentioned at all under "The D way". To repeat the C way before giving the real D solution is inconsistent with the format of the rest of the page and the other conversion pages. -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 ------- Comment #22 from deewiant@gmail.com 2006-11-18 07:08 ------- Created an attachment (id=64) --> (http://d.puremagic.com/issues/attachment.cgi?id=64&action=view) Listing for www.digitalmars.com/d/expression.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 ------- Comment #23 from smjg@iname.com 2006-11-18 07:09 ------- (In reply to comment #12) > Created an attachment (id=55) --> (http://d.puremagic.com/issues/attachment.cgi?id=55&action=view) [edit] > Listing for www.digitalmars.com/d/dbc.html "SOLUTION: Replace long with float, double, or real, or use casts." Using casts won't help the out contract to succeed. However, what will help is to change it to out (result) { assert(result * result <= x); assert((result + 1) * (result + 1) > x); } -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 ------- Comment #24 from smjg@iname.com 2006-11-18 07:12 ------- The http:// has disappeared from your attachment descriptions. It is nice to be able to get to the pages of the spec straight from the comments here. -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52|Listing for |Listing for description|www.digitalmars.com/d/cppstr|http://www.digitalmars.com/d |ings.html |/cppstrings.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53|Listing for |Listing for description|www.digitalmars.com/d/cpptod|http://www.digitalmars.com/d |.html |/cpptod.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #54|Listing for |Listing for description|www.digitalmars.com/d/ctod.h|http://www.digitalmars.com/d |tml |/ctod.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55|Listing for |Listing for description|www.digitalmars.com/d/dbc.ht|http://www.digitalmars.com/d |ml |/dbc.html -- |
November 18, 2006 [Issue 511] Various problems in the documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=511 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56|Listing for |Listing for description|www.digitalmars.com/d/dcompi|http://www.digitalmars.com/d |ler.html |/dcompiler.html -- |
Copyright © 1999-2021 by the D Language Foundation