Commit 9eaf277a authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

s/float_t/gnum_float/ s/int_t/gnum_int/


2001-01-30  Jody Goldberg <jgoldberg@home.com>

	s/float_t/gnum_float/
	s/int_t/gnum_int/

	* src/sheet-style.c (sheet_style_get_uniform) : implement.

	* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
	  text.

	* src/history.c (history_menu_insert_separator) : keep case
	  consistent.
	* src/workbook-control-gui.c (workbook_menu_file) : ditto.

	* configure.in : update GAL req.
	* README : ditto.
	* gnumeric.spec.in : ditto.

2001-01-29  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-style.h : decl for StyleRow.

	* src/xml-io.c : Use the Child and Root aliases to ease ease
	  transition from xml1 -> xml2.
	(xml_sheet_create) : default name for sheets that fail to specify one.

	* src/workbook.c (workbook_sheet_by_index) : improve safety.
parent 08791bd4
2001-01-30 Jody Goldberg <jgoldberg@home.com>
s/float_t/gnum_float/
s/int_t/gnum_int/
* src/sheet-style.c (sheet_style_get_uniform) : implement.
* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
text.
* src/history.c (history_menu_insert_separator) : keep case
consistent.
* src/workbook-control-gui.c (workbook_menu_file) : ditto.
* configure.in : update GAL req.
* README : ditto.
* gnumeric.spec.in : ditto.
2001-01-29 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.h : decl for StyleRow.
* src/xml-io.c : Use the Child and Root aliases to ease ease
transition from xml1 -> xml2.
(xml_sheet_create) : default name for sheets that fail to specify one.
* src/workbook.c (workbook_sheet_by_index) : improve safety.
2001-01-30 Michael Meeks <michael@helixcode.com>
* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
......
2001-01-30 Jody Goldberg <jgoldberg@home.com>
s/float_t/gnum_float/
s/int_t/gnum_int/
* src/sheet-style.c (sheet_style_get_uniform) : implement.
* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
text.
* src/history.c (history_menu_insert_separator) : keep case
consistent.
* src/workbook-control-gui.c (workbook_menu_file) : ditto.
* configure.in : update GAL req.
* README : ditto.
* gnumeric.spec.in : ditto.
2001-01-29 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.h : decl for StyleRow.
* src/xml-io.c : Use the Child and Root aliases to ease ease
transition from xml1 -> xml2.
(xml_sheet_create) : default name for sheets that fail to specify one.
* src/workbook.c (workbook_sheet_by_index) : improve safety.
2001-01-30 Michael Meeks <michael@helixcode.com>
* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
......
2001-01-30 Jody Goldberg <jgoldberg@home.com>
s/float_t/gnum_float/
s/int_t/gnum_int/
* src/sheet-style.c (sheet_style_get_uniform) : implement.
* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
text.
* src/history.c (history_menu_insert_separator) : keep case
consistent.
* src/workbook-control-gui.c (workbook_menu_file) : ditto.
* configure.in : update GAL req.
* README : ditto.
* gnumeric.spec.in : ditto.
2001-01-29 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.h : decl for StyleRow.
* src/xml-io.c : Use the Child and Root aliases to ease ease
transition from xml1 -> xml2.
(xml_sheet_create) : default name for sheets that fail to specify one.
* src/workbook.c (workbook_sheet_by_index) : improve safety.
2001-01-30 Michael Meeks <michael@helixcode.com>
* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
......
2001-01-30 Jody Goldberg <jgoldberg@home.com>
s/float_t/gnum_float/
s/int_t/gnum_int/
* src/sheet-style.c (sheet_style_get_uniform) : implement.
* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
text.
* src/history.c (history_menu_insert_separator) : keep case
consistent.
* src/workbook-control-gui.c (workbook_menu_file) : ditto.
* configure.in : update GAL req.
* README : ditto.
* gnumeric.spec.in : ditto.
2001-01-29 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.h : decl for StyleRow.
* src/xml-io.c : Use the Child and Root aliases to ease ease
transition from xml1 -> xml2.
(xml_sheet_create) : default name for sheets that fail to specify one.
* src/workbook.c (workbook_sheet_by_index) : improve safety.
2001-01-30 Michael Meeks <michael@helixcode.com>
* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
......
2001-01-30 Jody Goldberg <jgoldberg@home.com>
s/float_t/gnum_float/
s/int_t/gnum_int/
* src/sheet-style.c (sheet_style_get_uniform) : implement.
* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
text.
* src/history.c (history_menu_insert_separator) : keep case
consistent.
* src/workbook-control-gui.c (workbook_menu_file) : ditto.
* configure.in : update GAL req.
* README : ditto.
* gnumeric.spec.in : ditto.
2001-01-29 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.h : decl for StyleRow.
* src/xml-io.c : Use the Child and Root aliases to ease ease
transition from xml1 -> xml2.
(xml_sheet_create) : default name for sheets that fail to specify one.
* src/workbook.c (workbook_sheet_by_index) : improve safety.
2001-01-30 Michael Meeks <michael@helixcode.com>
* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
......
This diff is collapsed.
......@@ -10,7 +10,7 @@ typedef struct {
gboolean kth_largest;
gboolean kth_smallest;
int k_smallest, k_largest;
float_t c_level;
gnum_float c_level;
GtkWidget *entry[5];
} descriptive_stat_tool_t;
......@@ -26,40 +26,40 @@ typedef struct {
} discrete_random_tool_t;
typedef struct {
float_t lower_limit;
float_t upper_limit;
gnum_float lower_limit;
gnum_float upper_limit;
} uniform_random_tool_t;
typedef struct {
float_t mean;
float_t stdev;
gnum_float mean;
gnum_float stdev;
} normal_random_tool_t;
typedef struct {
float_t p;
gnum_float p;
} bernoulli_random_tool_t;
typedef struct {
float_t p;
gnum_float p;
int trials;
} binomial_random_tool_t;
typedef struct {
float_t p;
gnum_float p;
int f;
} negbinom_random_tool_t;
typedef struct {
float_t lambda;
gnum_float lambda;
} poisson_random_tool_t;
typedef struct {
float_t b;
gnum_float b;
} exponential_random_tool_t;
typedef struct {
float_t from, to;
float_t step;
gnum_float from, to;
gnum_float step;
int repeat_number;
int repeat_sequence;
} patterned_random_tool_t;
......@@ -95,7 +95,7 @@ void set_cell_printf (data_analysis_output_t *dao,
int col, int row, const char *fmt, ...)
G_GNUC_PRINTF (4, 5);
void set_cell_float (data_analysis_output_t *dao,
int col, int row, float_t v);
int col, int row, gnum_float v);
void set_cell_int (data_analysis_output_t *dao,
int col, int row, int v);
void set_cell_na (data_analysis_output_t *dao,
......
......@@ -15,7 +15,7 @@
typedef struct {
int alloc_count;
float_t *data;
gnum_float *data;
int count;
CollectFlags flags;
} collect_floats_t;
......@@ -23,7 +23,7 @@ typedef struct {
static Value *
callback_function_collect (const EvalPos *ep, Value *value, void *closure)
{
float_t x;
gnum_float x;
collect_floats_t *cl = (collect_floats_t *)closure;
if (value == NULL) {
......@@ -85,7 +85,7 @@ callback_function_collect (const EvalPos *ep, Value *value, void *closure)
if (cl->count == cl->alloc_count) {
cl->alloc_count *= 2;
cl->data = g_realloc (cl->data, cl->alloc_count * sizeof (float_t));
cl->data = g_realloc (cl->data, cl->alloc_count * sizeof (gnum_float));
}
cl->data[cl->count++] = x;
......@@ -112,9 +112,9 @@ callback_function_collect (const EvalPos *ep, Value *value, void *closure)
* Non-NULL in case of success. Then n will be set.
*
* Evaluate a list of expressions and return the result as an array of
* float_t.
* gnum_float.
*/
static float_t *
static gnum_float *
collect_floats (GList *exprlist, const EvalPos *ep, CollectFlags flags,
int *n, Value **error)
{
......@@ -122,7 +122,7 @@ collect_floats (GList *exprlist, const EvalPos *ep, CollectFlags flags,
collect_floats_t cl;
cl.alloc_count = 20;
cl.data = g_new (float_t, cl.alloc_count);
cl.data = g_new (gnum_float, cl.alloc_count);
cl.count = 0;
cl.flags = flags;
......@@ -146,13 +146,13 @@ collect_floats (GList *exprlist, const EvalPos *ep, CollectFlags flags,
/* Like collect_floats, but takes a value instead of an expression list.
Presumably most useful when the value is an array. */
float_t *
gnum_float *
collect_floats_value (const Value *val, const EvalPos *ep,
CollectFlags flags, int *n, Value **error)
{
GList *exprlist;
ExprTree *expr_val;
float_t *res;
gnum_float *res;
expr_val = expr_tree_new_constant (value_duplicate (val));
exprlist = g_list_prepend (NULL, expr_val);
......@@ -175,7 +175,7 @@ float_range_function (GList *exprlist, FunctionEvalInfo *ei,
char const *func_error)
{
Value *error = NULL;
float_t *vals, res;
gnum_float *vals, res;
int n, err;
vals = collect_floats (exprlist, ei->pos, flags, &n, &error);
......@@ -199,7 +199,7 @@ float_range_function2 (Value *val0, Value *val1, FunctionEvalInfo *ei,
CollectFlags flags,
char const *func_error)
{
float_t *vals0, *vals1;
gnum_float *vals0, *vals1;
int n0, n1;
Value *error = NULL;
Value *res;
......@@ -221,7 +221,7 @@ float_range_function2 (Value *val0, Value *val1, FunctionEvalInfo *ei,
if (n0 != n1 || n0 == 0)
res = value_new_error (ei->pos, func_error);
else {
float_t fres;
gnum_float fres;
if (func (vals0, vals1, n0, &fres))
res = value_new_error (ei->pos, func_error);
......
......@@ -19,10 +19,10 @@ typedef enum {
} CollectFlags;
typedef int (*float_range_function_t) (const float_t *, int, float_t *);
typedef int (*float_range_function2_t) (const float_t *, const float_t *, int, float_t *);
typedef int (*float_range_function_t) (const gnum_float *, int, gnum_float *);
typedef int (*float_range_function2_t) (const gnum_float *, const gnum_float *, int, gnum_float *);
float_t *collect_floats_value (const Value *val, const EvalPos *ep,
gnum_float *collect_floats_value (const Value *val, const EvalPos *ep,
CollectFlags flags,
int *n, Value **error);
......
......@@ -64,7 +64,7 @@ complex_to_string (const complex_t *src, const char *reformat,
/* ------------------------------------------------------------------------- */
static int
is_unit_imaginary (const char *src, float_t *im, char *imunit)
is_unit_imaginary (const char *src, gnum_float *im, char *imunit)
{
if (*src == '-') {
*im = -1.0;
......@@ -84,7 +84,7 @@ is_unit_imaginary (const char *src, float_t *im, char *imunit)
int
complex_from_string (complex_t *dst, const char *src, char *imunit)
{
float_t x, y;
gnum_float x, y;
char *end;
/* Case: "i", "+i", "-i", ... */
......
......@@ -5,7 +5,7 @@
#include <math.h>
typedef struct {
float_t re, im;
gnum_float re, im;
} complex_t;
#ifdef GNUMERIC_COMPLEX_IMPLEMENTATION
......@@ -40,7 +40,7 @@ int complex_from_string (complex_t *dst, const char *src, char *imunit);
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (void complex_init (complex_t *dst, float_t re, float_t im))
GNUMERIC_COMPLEX_PROTO (void complex_init (complex_t *dst, gnum_float re, gnum_float im))
#ifdef GNUMERIC_COMPLEX_BODY
{
dst->re = re;
......@@ -50,7 +50,7 @@ GNUMERIC_COMPLEX_PROTO (void complex_init (complex_t *dst, float_t re, float_t i
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (void complex_real (complex_t *dst, float_t re))
GNUMERIC_COMPLEX_PROTO (void complex_real (complex_t *dst, gnum_float re))
#ifdef GNUMERIC_COMPLEX_BODY
{
dst->re = re;
......@@ -78,7 +78,7 @@ GNUMERIC_COMPLEX_PROTO (int complex_zero_p (const complex_t *src))
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (float_t complex_mod (const complex_t *src))
GNUMERIC_COMPLEX_PROTO (gnum_float complex_mod (const complex_t *src))
#ifdef GNUMERIC_COMPLEX_BODY
{
return hypot (src->re, src->im);
......@@ -87,7 +87,7 @@ GNUMERIC_COMPLEX_PROTO (float_t complex_mod (const complex_t *src))
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (float_t complex_angle (const complex_t *src))
GNUMERIC_COMPLEX_PROTO (gnum_float complex_angle (const complex_t *src))
#ifdef GNUMERIC_COMPLEX_BODY
{
return atan2 (src->im, src->re);
......@@ -96,7 +96,7 @@ GNUMERIC_COMPLEX_PROTO (float_t complex_angle (const complex_t *src))
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (void complex_to_polar (float_t *mod, float_t *angle, const complex_t *src))
GNUMERIC_COMPLEX_PROTO (void complex_to_polar (gnum_float *mod, gnum_float *angle, const complex_t *src))
#ifdef GNUMERIC_COMPLEX_BODY
{
*mod = complex_mod (src);
......@@ -106,7 +106,7 @@ GNUMERIC_COMPLEX_PROTO (void complex_to_polar (float_t *mod, float_t *angle, con
/* ------------------------------------------------------------------------- */
GNUMERIC_COMPLEX_PROTO (void complex_from_polar (complex_t *dst, float_t mod, float_t angle))
GNUMERIC_COMPLEX_PROTO (void complex_from_polar (complex_t *dst, gnum_float mod, gnum_float angle))
#ifdef GNUMERIC_COMPLEX_BODY
{
complex_init (dst, mod * cos (angle), mod * sin (angle));
......@@ -156,7 +156,7 @@ GNUMERIC_COMPLEX_PROTO (void complex_mul (complex_t *dst, const complex_t *a, co
GNUMERIC_COMPLEX_PROTO (void complex_div (complex_t *dst, const complex_t *a, const complex_t *b))
#ifdef GNUMERIC_COMPLEX_BODY
{
float_t modsqr;
gnum_float modsqr;
modsqr = b->re * b->re + b->im * b->im;
complex_init (dst,
......
......@@ -68,10 +68,10 @@ datetime_serial_to_g (int serial)
/* ------------------------------------------------------------------------- */
float_t
gnum_float
datetime_value_to_serial_raw (const Value *v)
{
float_t serial;
gnum_float serial;
if (VALUE_IS_NUMBER (v))
serial = value_get_as_float (v);
......@@ -94,7 +94,7 @@ datetime_value_to_serial_raw (const Value *v)
/* ------------------------------------------------------------------------- */
float_t
gnum_float
datetime_timet_to_serial_raw (time_t t)
{
struct tm *tm = localtime (&t);
......@@ -110,7 +110,7 @@ datetime_timet_to_serial_raw (time_t t)
/* ------------------------------------------------------------------------- */
int
datetime_serial_raw_to_serial (float_t raw)
datetime_serial_raw_to_serial (gnum_float raw)
{
return (int) floor (raw + HALF_SEC);
}
......@@ -146,7 +146,7 @@ datetime_value_to_g (const Value *v)
/* days with summer time ("daylight savings") changes. */
int
datetime_serial_raw_to_seconds (float_t raw)
datetime_serial_raw_to_seconds (gnum_float raw)
{
raw += HALF_SEC;
return (raw - floor (raw)) * SECS_PER_DAY;
......
......@@ -15,8 +15,8 @@
*/
/* These do not round and produces fractional values, i.e., includes time. */
float_t datetime_value_to_serial_raw (const Value *v);
float_t datetime_timet_to_serial_raw (time_t t);
gnum_float datetime_value_to_serial_raw (const Value *v);
gnum_float datetime_timet_to_serial_raw (time_t t);
/* These are date-only, no time. */
int datetime_value_to_serial (const Value *v);
......@@ -24,13 +24,13 @@ int datetime_timet_to_serial (time_t t);
GDate* datetime_value_to_g (const Value *v);
int datetime_g_to_serial (GDate *date);
GDate* datetime_serial_to_g (int serial);
int datetime_serial_raw_to_serial (float_t raw);
int datetime_serial_raw_to_serial (gnum_float raw);
/* These are time-only assuming a 24h day. It probably loses completely on */
/* days with summer time ("daylight savings") changes. */
int datetime_value_to_seconds (const Value *v);
int datetime_timet_to_seconds (time_t t);
int datetime_serial_raw_to_seconds (float_t raw);
int datetime_serial_raw_to_seconds (gnum_float raw);
int datetime_g_days_between (GDate *date1, GDate *date2);
......
......@@ -1007,7 +1007,7 @@ dialog_ztest_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
static int labels = 0;
data_analysis_output_t dao;
float_t mean_diff, alpha, var1, var2;
gnum_float mean_diff, alpha, var1, var2;
char *text;
int selection, output;
......@@ -1131,7 +1131,7 @@ dialog_ttest_paired_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
data_analysis_output_t dao;
gboolean labels = FALSE;
float_t alpha, mean_diff;
gnum_float alpha, mean_diff;
char *text;
int selection, x1, x2, y1, y2;
Range range_input1, range_input2;
......@@ -1266,7 +1266,7 @@ dialog_ttest_eq_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
data_analysis_output_t dao;
gboolean labels = FALSE;
float_t alpha, mean_diff;
gnum_float alpha, mean_diff;
char *text;
int selection, x1, x2, y1, y2;
Range range_input1, range_input2;
......@@ -1400,7 +1400,7 @@ dialog_ttest_neq_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
data_analysis_output_t dao;
gboolean labels = FALSE;
float_t alpha, mean_diff;
gnum_float alpha, mean_diff;
char *text;
int selection, x1, x2, y1, y2;
Range range_input1, range_input2;
......@@ -1534,7 +1534,7 @@ dialog_ftest_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
data_analysis_output_t dao;
gboolean labels = FALSE;
float_t alpha;
gnum_float alpha;
char *text;
int selection, x1, x2, y1, y2;
Range range_input1, range_input2;
......@@ -1987,7 +1987,7 @@ dialog_regression_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
int err = 0;
data_analysis_output_t dao;
float_t alpha;
gnum_float alpha;
char *text;
int selection, output;
......@@ -2592,7 +2592,7 @@ dialog_anova_single_factor_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
gboolean labels = FALSE;
char *text;
float_t alpha;
gnum_float alpha;
int group, selection, x1, x2, y1, y2;
Range range;
......@@ -2705,7 +2705,7 @@ dialog_anova_two_factor_without_r_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
gboolean labels = FALSE;
char *text;
float_t alpha;
gnum_float alpha;
int selection, x1, x2, y1, y2;
Range range;
......@@ -2814,7 +2814,7 @@ dialog_anova_two_factor_with_r_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
data_analysis_output_t dao;
char *text;
float_t alpha;
gnum_float alpha;
int selection, x1, x2, y1, y2, rows, err;
Range range;
......
......@@ -95,7 +95,7 @@ typedef struct _FormatState
Sheet *sheet;
Value *value;
MStyle *style, *result;
StyleBorder *borders[STYLE_BORDER_EDGE_MAX];
StyleBorder *borders [STYLE_BORDER_EDGE_MAX];
int selection_mask;
gboolean enable_edit;
......
......@@ -39,12 +39,12 @@ focus_on_entry (GtkWidget *entry)
typedef struct {
Cell *xcell, *ycell;
float_t ytarget;
gnum_float ytarget;
} GoalEvalData;
static GoalSeekStatus
goal_seek_eval (float_t x, float_t *y, void *vevaldata)
goal_seek_eval (gnum_float x, gnum_float *y, void *vevaldata)
{
GoalEvalData *evaldata = vevaldata;
......@@ -64,14 +64,14 @@ goal_seek_eval (float_t x, float_t *y, void *vevaldata)
static GoalSeekStatus
gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
Cell *set_cell, float_t target_value,
Cell *change_cell, float_t xmin, float_t xmax)
Cell *set_cell, gnum_float target_value,
Cell *change_cell, gnum_float xmin, gnum_float xmax)
{
GoalSeekData seekdata;
GoalEvalData evaldata;
GoalSeekStatus status;
gboolean hadold;
float_t oldx;
gnum_float oldx;
goal_seek_initialise (&seekdata);
seekdata.xmin = xmin;
......@@ -86,7 +86,7 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
/* PLAN A: Newton's iterative method. */
{
float_t x0;
gnum_float x0;
if (hadold)
x0 = oldx;
......@@ -112,7 +112,7 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
/* PLAN C: Trawl normally from middle. */
{
float_t sigma, mu;
gnum_float sigma, mu;
int i;
sigma = seekdata.xmax - seekdata.xmin;
......@@ -130,7 +130,7 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
/* PLAN D: Trawl normally from left. */
{
float_t sigma, mu;
gnum_float sigma, mu;
int i;
sigma = seekdata.xmax - seekdata.xmin;
......@@ -148,7 +148,7 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
/* PLAN E: Trawl normally from right. */
{
float_t sigma, mu;
gnum_float sigma, mu;
int i;
sigma = seekdata.xmax - seekdata.xmin;
......@@ -174,10 +174,10 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
DONE:
if (status == GOAL_SEEK_OK) {
float_t yroot;
gnum_float yroot;
(void) goal_seek_eval (seekdata.root, &yroot, &evaldata);
} else if (hadold) {
float_t ydummy;
gnum_float ydummy;
(void) goal_seek_eval (oldx, &ydummy, &evaldata);
}
......@@ -191,7 +191,7 @@ gnumeric_goal_seek (WorkbookControlGUI *wbcg, Sheet *sheet,
static gboolean
dialog_found_solution (WorkbookControlGUI *wbcg,
Cell *set_cell, Cell *change_cell, float_t target_value)
Cell *set_cell, Cell *change_cell, gnum_float target_value)
{
GtkWidget *dialog;
GtkWidget *label_box;
......@@ -351,8 +351,8 @@ dialog_loop:
Value *old_value;
char *text;
float_t target_value;
float_t xmin, xmax;
gnum_float target_value;
gnum_float xmin, xmax;
GoalSeekStatus status;
/* Check that a cell entered in 'set cell' entry */
......
......@@ -711,7 +711,7 @@ dialog_solver (WorkbookControlGUI *wbcg, Sheet *sheet)
gchar *target_entry_str;
const char *text;
int selection, res;
float_t ov_target;
gnum_float ov_target;
Cell *target_cell;
CellList *input_cells;
int target_cell_col, target_cell_row;
......@@ -889,7 +889,7 @@ main_dialog:
sheet->solver_parameters.input_cells = input_cells;
if (selection == 0) {
float_t *opt_x, *sh_pr;
gnum_float *opt_x, *sh_pr;
gboolean ilp;
char *s;
GSList *ov;
......
......@@ -18,28 +18,28 @@ int sampling_tool (WorkbookControl *context, Sheet *sheet,
int size, data_analysis_output_t *dao);
int ftest_tool (WorkbookControl *context, Sheet *sheet,
Range *input_range1, Range *input_range2,
float_t alpha,
gnum_float alpha,
data_analysis_output_t *dao);
int regression_tool (WorkbookControl *context, Sheet *sheet,
Range *input_rangeys, Range *input_rangexs,
float_t alpha, data_analysis_output_t *dao,
gnum_float alpha, data_analysis_output_t *dao,
int intercept, int xdim);
int ttest_paired_tool (WorkbookControl *context, Sheet *sheet,
Range *input_range1, Range *input_range2,
float_t mean_diff, float_t alpha,
gnum_float mean_diff, gnum_float alpha,
data_analysis_output_t *dao);
int ttest_eq_var_tool (WorkbookControl *context, Sheet *sheet,
Range *input_range1, Range *input_range2,
float_t mean_diff, float_t alpha,
gnum_float mean_diff, gnum_float alpha,
data_analysis_output_t *dao);
int ttest_neq_var_tool (WorkbookControl *context, Sheet *sheet,
Range *input_range1, Range *input_range2,
float_t mean_diff, float_t alpha,
gnum_float mean_diff, gnum_float alpha,
data_analysis_output_t *dao);
int ztest_tool (WorkbookControl *context, Sheet *sheet,
Range *range_input1, Range *range_input2,
float_t mean_diff, float_t var1, float_t var2,
float_t alpha, data_analysis_output_t *dao);
gnum_float mean_diff, gnum_float var1, gnum_float var2,
gnum_float alpha, data_analysis_output_t *dao);
int random_tool (WorkbookControl *context, Sheet *sheet,
int vars, int count, random_distribution_t distribution,
random_tool_t *param, data_analysis_output_t *dao);
......@@ -52,13 +52,13 @@ int ranking_tool (WorkbookControl *context, Sheet *sheet,
int anova_single_factor_tool (WorkbookControl *context, Sheet *sheet,
Range *range, int columns_flag,
float_t alpha, data_analysis_output_t *dao);
gnum_float alpha, data_analysis_output_t *dao);
int anova_two_factor_without_r_tool (WorkbookControl *context, Sheet *sheet,
Range *range, float_t alpha,
Range *range, gnum_float alpha,
data_analysis_output_t *dao);
int anova_two_factor_with_r_tool (WorkbookControl *context, Sheet *sheet,
Range *range, int rows_per_sample,