ow Integers Should Work

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Dec 5 20:47:12 PST 2011

On 12/5/11 9:57 PM, Walter Bright wrote:
> http://www.cs.washington.edu/education/courses/cse590p/590k_02au/print-fp.pdf
> http://www.cs.washington.edu/education/courses/cse590p/590k_02au/read-fp.pdf

In fact there's more recent work on that, see http://goo.gl/H6VZD. It's 
been on reddit, too: http://goo.gl/teyDy. That work is implemented in 
Google's double-conversion library: http://goo.gl/RU5g4.

I wanted for a long time to have double->string and string->double 
routines in native D that are CTFE-able. Those would make it possible to 
generate function tables and other awesome applications. If someone 
could find the time to e.g. take dmc's floating point formatting/parsing 
routines and translate them to D, that would be great.


More information about the Digitalmars-d mailing list