Commit 9fa2059e authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Kill. All users fixed.

2002-10-11  Morten Welinder  <terra@diku.dk>

	* src/numbers.h (gnum_int): Kill.  All users fixed.
parent c5485fa4
2002-10-11 Morten Welinder <terra@diku.dk> 2002-10-11 Morten Welinder <terra@diku.dk>
* src/numbers.h (gnum_int): Kill. All users fixed.
* src/numbers.h (finitegnum): Attempt a solution for the * src/numbers.h (finitegnum): Attempt a solution for the
finite/isfinite/FINITE circus. (All callers should just use finite/isfinite/FINITE circus. (All callers should just use
finitegnum.) finitegnum.)
......
2002-10-11 Morten Welinder <terra@diku.dk> 2002-10-11 Morten Welinder <terra@diku.dk>
* src/numbers.h (gnum_int): Kill. All users fixed.
* src/numbers.h (finitegnum): Attempt a solution for the * src/numbers.h (finitegnum): Attempt a solution for the
finite/isfinite/FINITE circus. (All callers should just use finite/isfinite/FINITE circus. (All callers should just use
finitegnum.) finitegnum.)
......
2002-10-11 Morten Welinder <terra@diku.dk> 2002-10-11 Morten Welinder <terra@diku.dk>
* src/numbers.h (gnum_int): Kill. All users fixed.
* src/numbers.h (finitegnum): Attempt a solution for the * src/numbers.h (finitegnum): Attempt a solution for the
finite/isfinite/FINITE circus. (All callers should just use finite/isfinite/FINITE circus. (All callers should just use
finitegnum.) finitegnum.)
......
...@@ -2319,7 +2319,7 @@ write_value (BiffPut *bp, Value *v, MsBiffVersion ver, ...@@ -2319,7 +2319,7 @@ write_value (BiffPut *bp, Value *v, MsBiffVersion ver,
break; break;
} }
case VALUE_INTEGER: { case VALUE_INTEGER: {
gnum_int vint = v->v_int.val; int vint = v->v_int.val;
guint8 *data; guint8 *data;
d (3, printf ("Writing %d %d\n", vint, v->v_int.val);); d (3, printf ("Writing %d %d\n", vint, v->v_int.val););
......
...@@ -1568,7 +1568,7 @@ format_value (StyleFormat const *format, Value const *value, StyleColor **color, ...@@ -1568,7 +1568,7 @@ format_value (StyleFormat const *format, Value const *value, StyleColor **color,
case VALUE_BOOLEAN: case VALUE_BOOLEAN:
return g_strdup (value->v_bool.val ? _("TRUE"):_("FALSE")); return g_strdup (value->v_bool.val ? _("TRUE"):_("FALSE"));
case VALUE_INTEGER: { case VALUE_INTEGER: {
gnum_int val = value->v_int.val; int val = value->v_int.val;
if (need_abs) if (need_abs)
val = ABS (val); val = ABS (val);
......
#ifndef GNUMERIC_NUMBERS_H #ifndef GNUMERIC_NUMBERS_H
#define GNUMERIC_NUMBERS_H #define GNUMERIC_NUMBERS_H
typedef int gnum_int; #include <math.h>
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif
#ifdef HAVE_IEEE754_H
#include <ieee754.h>
#endif
#ifdef WITH_LONG_DOUBLE #ifdef WITH_LONG_DOUBLE
......
...@@ -34,7 +34,7 @@ struct _ValueBool { ...@@ -34,7 +34,7 @@ struct _ValueBool {
struct _ValueInt { struct _ValueInt {
ValueType const type; ValueType const type;
StyleFormat *fmt; StyleFormat *fmt;
gnum_int val; int val;
}; };
struct _ValueFloat { struct _ValueFloat {
ValueType const type; ValueType const type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment