Commit 8087c363 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Attemp better defs.

2001-11-02  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
	defs.

	* src/analysis-tools.c (random_tool): Localise variables.  Don't
	allow negative probabilities.  Plug leaks.
parent 5fa07dad
2001-11-02 Morten Welinder <terra@diku.dk>
* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
defs.
* src/analysis-tools.c (random_tool): Localise variables. Don't
allow negative probabilities. Plug leaks.
2001-11-02 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_unlink) : new.
......
......@@ -29,6 +29,7 @@ Jukka:
Morten:
* Cleanup various functions' improper access to internal strings.
* Plug leaks.
--------------------------------------------------------------------------
Gnumeric 0.74
......
2001-11-02 Morten Welinder <terra@diku.dk>
* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
defs.
* src/analysis-tools.c (random_tool): Localise variables. Don't
allow negative probabilities. Plug leaks.
2001-11-02 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_unlink) : new.
......
2001-11-02 Morten Welinder <terra@diku.dk>
* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
defs.
* src/analysis-tools.c (random_tool): Localise variables. Don't
allow negative probabilities. Plug leaks.
2001-11-02 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_unlink) : new.
......
2001-11-02 Morten Welinder <terra@diku.dk>
* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
defs.
* src/analysis-tools.c (random_tool): Localise variables. Don't
allow negative probabilities. Plug leaks.
2001-11-02 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_unlink) : new.
......
This diff is collapsed.
......@@ -43,9 +43,9 @@
#endif
/* Any better idea for a quick hack? */
#define ML_NAN (0.0 / 0.0)
#define ML_NEGINF (-1.0 / 0.0)
#define ML_POSINF (+1.0 / 0.0)
#define ML_NAN (-HUGE_VAL * 0.0)
#define ML_NEGINF (-HUGE_VAL)
#define ML_POSINF (HUGE_VAL)
#define ML_UNDERFLOW (DBL_EPSILON * DBL_EPSILON)
#define ML_VALID(_x) (!ISNAN (_x))
#define ML_ERROR(cause) /* Nothing */
......
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