ow Integers Should Work
Walter Bright
newshound2 at digitalmars.com
Mon Dec 5 23:18:39 PST 2011
On 12/5/2011 8:48 PM, Andrei Alexandrescu wrote:
> On 12/5/11 10:15 PM, Walter Bright wrote:
>> On 12/5/2011 8:10 PM, bearophile wrote:
>>> This is not about integers but yeah, I'd like the better str<-> float
>>> conversions of Python in D too.
>>
>> Do you have any test data that they actually are better in Python (apart
>> from just being better specified)?
>
> I can tell Google's double-conversion routines (http://goo.gl/RU5g4) are faster
> than sprintf/sscanf, in addition to being better specified. We use them at
> Facebook.
This one is apparently in wide use:
http://www.netlib.org/fp/dtoa.c
More information about the Digitalmars-d
mailing list