Gnumeric 1.8.2 Hans de Goede: * Fix broken xls issues. [#505330] Jean: * Fix corrupted-xls-file problems. [#514513] [#515343] [#515873] [#515876] [#518939] Morten: * Fix loading of solver constraints. * Fix solver issue. [#512500] * Fix corrupted-xls-file problems. [#512984] [#513005] [#513313] [#513317] [#513361] [#513364] [#513551] [#513605] [#513608] [#513790] [#513787] [#513835] [#513963] [#514229] [#514230] [#514295] [#514435] [#514436] [#514437] [#514506] [#514510] [#514630] [#514637] [#515155] [#515269] [#515275] [#515335] [#515336] [#515339] [#517106] [#518939] * Fix non-ascii export problem. [#511135] * Band-aid evaluation problem with broken xls. [#513559] * Fix circular array formula problem. * Work around Qt theme bug. [#512752] * Fix paste-as-text bug. [#514438] * Fix corrupted-mps-bug. [#517141] * Fix corrupted-qpro-bugs. [#517144] [#517376] [#517591] * Fix corrupted-sylk-bug. * Make <control>KP_Subtract work as <control>minus. [#516358] * Make <control>KP_Add work as <control>plus. * Fix corrupted-applix-bugs. [#517778] [#520873] * Fix sylk importer's format handling. * Fix memory allocation failure for huge .gnumeric files. [#519319] * Fix mstyle problem. [#519451] * Fix auto-fill problem. [#519680] * Fix corrupted-gnumeric-bug. [#519761] * Fix insert-time problem.
18 lines
651 B
Text
18 lines
651 B
Text
$NetBSD: patch-aa,v 1.20 2008/03/07 21:33:33 wiz Exp $
|
|
|
|
Sunpro doesn't like floating point comparisons in constant expressions.
|
|
|
|
--- plugins/numtheory/numtheory.c.orig 2007-01-01 03:40:18.000000000 +0100
|
|
+++ plugins/numtheory/numtheory.c 2007-11-23 16:17:34.395473000 +0100
|
|
@@ -33,7 +33,10 @@ GNM_PLUGIN_MODULE_HEADER;
|
|
|
|
#define OUT_OF_BOUNDS "#LIMIT!"
|
|
|
|
-static const double bit_max = MIN (1 / GNM_EPSILON, (gnm_float)G_MAXUINT64);
|
|
+static inline double bit_max_fn(void) {
|
|
+ return MIN (1 / GNM_EPSILON, (gnm_float)G_MAXUINT64);
|
|
+}
|
|
+#define bit_max (bit_max_fn())
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|