Re: Graphing - axis tick autospacing



The biggest problem with current heuristic was that there was a typo/
thinko -- it used gnumeric_fake_trunc (round towards 0) for rounding
the range exponent.  It should have used gnumeric_fake_floor.

That explains the silly behaviour with range < 1.  Fixed in cvs.

Unrelatedly...

1. There is a sinful mess of "gnm_float" vs. "double" in there.

2. "finite" always causes portability trouble -- see finitegnum's
   defintion.  Avoid if possible.

3. Why the fabs?

Morten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]