[Issue 5231] BigInt lacks a normal toString()

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5231 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 5231] BigInt lacks a normal toString()

2010-11-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5231] BigInt lacks a normal toString()

2010-11-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #17 from bearophile_h...@eml.cc 2010-11-19 07:14:29 PST --- (In reply to comment #16) This is a bug in format. Even the partial fix I made for bug 5237, makes BigInt print correctly, without any change to the BigInt code. ***

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-18 00:24:35 PST --- void toString()? Normally, it's string toString(). The only problem that I'm aware of with regards to toString() design at the moment is the fact that it must

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #4

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #5 from nfx...@gmail.com 2010-11-18 00:57:38 PST --- (In reply to comment #4) What is worrying is that void toString is nowhere documented. Does std.format use it or what? Should be: is it supposed to use it? Of course it doesn't

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #7 from Don clugd...@yahoo.com.au 2010-11-18 05:58:20 PST --- (In reply to comment #6) (In reply to comment #2) So BigInt's aren't printable via writeln in protest? Yes. I refuse to play any part in propagating the toString()

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #8 from Steven Schveighoffer schvei...@yahoo.com 2010-11-18 06:30:23 PST --- Pardon me for saying so, but that's too short-sighted. first, it's not just a writeln/format change, it's a compiler change too. The compiler is the one

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #11 from Don clugd...@yahoo.com.au 2010-11-18 12:01:39 PST --- (In reply to comment #10) (In reply to comment #9) If it was just a question of inefficiency, I would have implemented it. The issue is that it doesn't get the

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #12 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-18 12:31:36 PST --- So, you don't want writeln(bi); or to!string(bi) to work? I would think that ideally, BigInt would work exactly the same way that integers do. to!string(i)

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #13 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-18 12:33:01 PST --- Whoops. I meant %x, not %f for hex. Sorry about that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #14 from Don clugd...@yahoo.com.au 2010-11-18 13:39:08 PST --- (In reply to comment #12) So, you don't want writeln(bi); or to!string(bi) to work? No, that's not what I meant. I would think that ideally, BigInt would work

[Issue 5231] BigInt lacks a normal toString()

2010-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 --- Comment #15 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-18 14:32:17 PST --- Well, then I think that we agree on the desired eventual functionality. But I do think that in the interim, it would be a good idea to add string toString()

[Issue 5231] BigInt lacks a normal toString()

2010-11-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5231 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---