|
|
@@ -1,8 +1,8 @@
|
|
|
-Index: mathomatic-12.5.20/am.h
|
|
|
---- am.h.orig 2006-07-05 23:31:47 +0200
|
|
|
-+++ am.h 2006-07-09 23:31:00 +0200
|
|
|
-@@ -23,6 +23,11 @@
|
|
|
- #define isfinite(d) finite(d)
|
|
|
+Index: am.h
|
|
|
+--- am.h.orig 2008-02-01 14:35:55 +0100
|
|
|
++++ am.h 2008-02-02 10:56:36 +0100
|
|
|
+@@ -18,6 +18,11 @@
|
|
|
+ #define min(a, b) (((a) < (b)) ? (a) : (b)) /* return the minimum of two values */
|
|
|
#endif
|
|
|
|
|
|
+#if defined(__STDC__) && __STDC__+0 < 199901L
|
|
|
@@ -10,6 +10,6 @@ Index: mathomatic-12.5.20/am.h
|
|
|
+#define isinf(x) 0
|
|
|
+#endif
|
|
|
+
|
|
|
- #define ARR_CNT(a) (sizeof(a)/sizeof(a[0])) /* returns the number of elements in an array */
|
|
|
-
|
|
|
- #define MAX_K_INTEGER 1.0e14 /* maximum representable integer, 14 digits for doubles */
|
|
|
+ #ifndef INFINITY
|
|
|
+ #define INFINITY HUGE_VAL /* the floating point, positive infinity constant */
|
|
|
+ #endif
|