Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
use a faster log2 > log10 conversion without floats #1555
so I replaced the floating point multiplication with a 32bit fixed point approximation, which should have the biggest gains in CPUs without FPU (without double precision).
I tested the range
Results from dtoa-benchmark,
Old vs new code on a CPU without FPU via Godbolt