On Friday, 13 April 2012 at 09:10:37 UTC, James Miller wrote:
So I made the pull request, the documentation you need to read
is here:
https://github.com/Aatch/phobos/commit/cda3c079ee32d98a017f88949c10097840baa075
Hopefully it helps.
--
James Miller
Thanks. That did the trick.
Paul
* James Miller [2012-04-13 19:16:48 +1200]:
> * Paul D. Anderson
> [2012-04-13 07:50:31 +0200]:
> > I'm trying to add formatted output to my decimal arithmetic module.
> > Decimals should format like floating point, using 'E', 'F' and 'G',
> > etc.
> >
> > I would expect a format string like "%
ot;%9.6e" to parse as width = 9,
> precision = 6, using exponential notation.
>
> In std.format there is a FormatSpec struct that looks as if it will
> do the parsing for me. As far as I can tell the usage is:
>
> auto spec = std.format.FormatSpec!char("9.6e");
I'm trying to add formatted output to my decimal arithmetic
module. Decimals should format like floating point, using 'E',
'F' and 'G', etc.
I would expect a format string like "%9.6e" to parse as width =
9, precision = 6, using exponential no