psppire-axis: Use rint() instead of nearbyint(), for portability.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 19 May 2010 04:35:05 +0000 (21:35 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 19 May 2010 04:35:24 +0000 (21:35 -0700)
commit031e760d10384ce4ad28484d1eb55e5d50496cf8
treef28b50ee67993dd9b0a2cb8b61f346d886bc244b
parent29653adc8b41d41600f70132e02244aa57ae9dbc
psppire-axis: Use rint() instead of nearbyint(), for portability.

rint() and nearbyint() are identical except that nearbyint() will not
raise the inexact result exception, which we don't care about.  OpenBSD
and probably other OSes have rint() but not nearbyint().

Perhaps a better fix would be to add a nearbyint module to Gnulib.
src/ui/gui/sheet/psppire-axis.c