Re: Graphing - axis tick autospacing
- From: mortenw gnome org (Morten Welinder)
- To: gnumeric-list gnome org
- Subject: Re: Graphing - axis tick autospacing
- Date: Tue, 7 Oct 2003 15:34:10 -0400 (EDT)
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]