This should fix the test failures on ARM systems observed in #1070 (I finally got access to an ARM system for testing). The problem was simple; the function that is supposed to detect the number of leading zeros in a floating point number fractional part wasn't properly protected against a value of 0 being passed to log10(). On ARM systems this failure lead to bad precision values which in turn gave bad output to ASCII data files. This PR fixes the behavior.
Version 6.28.0.
This should fix the test failures on ARM systems observed in #1070 (I finally got access to an ARM system for testing). The problem was simple; the function that is supposed to detect the number of leading zeros in a floating point number fractional part wasn't properly protected against a value of 0 being passed to
log10()
. On ARM systems this failure lead to bad precision values which in turn gave bad output to ASCII data files. This PR fixes the behavior.