Fix bug with log functions when highest two bits of number are 1.
fix_log10 implemented