Fixup fromcvs/togit conversion
[pkgsrcv2.git] / math / dcdflib.c / patches / patch-aa
1 $NetBSD: patch-aa,v 1.2 2001/01/29 21:43:14 jtb Exp $
2
3 --- src/ipmpar.c.orig   Mon Jan 29 05:01:11 2001
4 +++ src/ipmpar.c
5 @@ -1,3 +1,6 @@
6 +#include <float.h>
7 +#include <limits.h>
8 +
9  int ipmpar(int*);
10  /*
11  -----------------------------------------------------------------------
12 @@ -69,6 +72,19 @@
13  {
14  static int imach[11];
15  static int ipmpar;
16 +
17 +   imach[1] = 2;
18 +   imach[2] = sizeof(int)*(CHAR_BIT) - 1;
19 +   imach[3] = INT_MAX;
20 +   imach[4] = FLT_RADIX;
21 +   imach[5] = FLT_MANT_DIG;
22 +   imach[6] = FLT_MIN_EXP;
23 +   imach[7] = FLT_MAX_EXP;
24 +   imach[8] = DBL_MANT_DIG;
25 +   imach[9] = DBL_MIN_EXP;
26 +   imach[10] = FLT_MAX_EXP;
27 +
28 +
29  /*     MACHINE CONSTANTS FOR AMDAHL MACHINES. */
30  /*
31     imach[1] = 2;