[Issue 10881] Support %f formatting for a std.complex.complex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 31 00:20:53 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10881


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra at gmail.com


--- Comment #12 from monarchdodra at gmail.com 2013-08-31 00:20:49 PDT ---
(In reply to comment #11)
> (In reply to comment #10)
> > Commit pushed to master at https://github.com/D-Programming-Language/phobos
> 
> Now using this formatting string, for the given matrix:
> "[%([%(%1.3f, %)],\n %)]]"
> 
> It outputs:
> 
> [[0.707+0.000i, 0.707+0.000i, 0.000+0.000i],
>  [0.000-0.707i, 0.000+0.707i, 0.000+0.000i],
>  [0.000+0.000i, 0.000+0.000i, 0.000+1.000i]]

For anybody reading this on forum.dlang.org: please view the entry on the bug
tracker: There *is* a space that prefixes those lines, and they are all
actually perfectly aligned.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list