digitalmars.D.bugs - std.format bug
- Ilya Zaitseff (9/9) Nov 03 2004 // DMD 0.105
// DMD 0.105 import std.stdio; void main() { writefln("%o", 9); // BUG - outputs 9, should be 10 writefln("%o", 10); // OK - outputs 12, should be 12 writefln("%b", 9); // BUG - outputs 9, should be 1001 writefln("%b", 10); // OK - outputs 1010, should be 1010 }
Nov 03 2004