simplify/debloat radix point alignment code in floatscan
authorRich Felker <dalias@aerifal.cx>
Wed, 11 Apr 2012 18:20:45 +0000 (14:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 11 Apr 2012 18:20:45 +0000 (14:20 -0400)
now that this is the first operation, it can rely on the circular
buffer contents not being wrapped when it begins. we limit the number
of digits read slightly in the initial parsing loops too so that this
code does not have to consider the case where it might cause the
circular buffer to wrap; this is perfectly fine because KMAX is chosen
as a power of two for circular-buffer purposes and is much larger than
it otherwise needs to be, anyway.

these changes should not affect performance at all.


No differences found