Date: Tue, 10 Apr 2012 09:02:00 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: float scanner status, upcoming release On Tue, Apr 10, 2012 at 02:15:15PM +0200, Szabolcs Nagy wrote: > * Rich Felker <dalias@...ifal.cx> [2012-04-09 20:48:19 -0400]: > > Revised version of the code, in preparation to integrate with musl. > > Still needs hex float support, and I want to eliminate the fscanf > > dependency. Comments welcome. > > > > this one fails if the number starts with a . > ../floatscan .3 This is a bug in the wrapper code before it gets to decfloat() and it's easily fixed. > large exponent is slow: > ../floatscan 1e+1000000 > ../floatscan 1e-1000000 I added code that collapses large and tiny exponents to infinity and zero, but the max LD exponent is still rather slow... > subnormal tests still fail > > here are some test cases where many digits are needed for correct rounding: Indeed. Thanks for the tests. I'll see what I can make of it. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.