My D book is now officially coming soon

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Mar 4 10:57:56 PST 2014


On 3/4/14, 10:57 AM, Andrei Alexandrescu wrote:
> On 3/4/14, 10:41 AM, Adam D. Ruppe wrote:
>> On Tuesday, 4 March 2014 at 18:39:01 UTC, Andrei Alexandrescu wrote:
>>> Announced:
>>
>> Ah, cool, I almost forgot!
>>
>>
>> BTW my brain is currently on something that might be of interest: I'm
>> writing a little float to string function. Phobos currently uses sprintf
>> which can't be run at compile time and isn't pure/@safe, so my new D
>> implementation.... if I get it right on all the cases, it is close now
>> tho... might be a nice replacement there.
>
> It's a much harder problem than one might anticipate.
>
> http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/
>
>
> (article by my manager!)
>
>
> Andrei

That said I really wish we had CTFE-able parsing and formatting for FP 
numbers. The opportunities for function tabulation, interpolation etc. 
are fantastic.

Andrei



More information about the Digitalmars-d-announce mailing list