diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-11 14:11:47 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-11 14:11:47 -0400 |
commit | 1bdd5c8b9868ebc092074e078604acb80546e43f (patch) | |
tree | a9d2120c543db826cc9c30c902b62bd23267c10a /src/misc | |
parent | 7ef1a9bba56aa756d8166c4c93cf4a178d6c0c0c (diff) | |
download | musl-1bdd5c8b9868ebc092074e078604acb80546e43f.tar.gz musl-1bdd5c8b9868ebc092074e078604acb80546e43f.tar.xz musl-1bdd5c8b9868ebc092074e078604acb80546e43f.zip |
optimize floatscan: avoid excessive upscaling
upscaling by even one step too much creates 3-29 extra iterations for the next loop. this is still suboptimal since it always goes by 2^29 rather than using a smaller upscale factor when nearing the target, but performance on common, small-magnitude, few-digit values has already more than doubled with this change. more optimizations on the way...
Diffstat (limited to 'src/misc')
0 files changed, 0 insertions, 0 deletions