date and time created 83/02/11 15:44:43 by rrh
[unix-history] / usr / src / usr.bin / spline / spline.c
index e7f1d36..df361ee 100644 (file)
@@ -1,8 +1,9 @@
-static char *sccsid = "@(#)spline.c    4.1 (Berkeley) %G%";
+static char *sccsid = "@(#)spline.c    4.2 (Berkeley) %G%";
 #include <stdio.h>
 #include <stdio.h>
+#include <math.h>
 
 #define NP 1000
 
 #define NP 1000
-#define INF 1.e37
+#define INF HUGE
 
 struct proj { int lbf,ubf; float a,b,lb,ub,quant,mult,val[NP]; } x,y;
 float *diag, *r;
 
 struct proj { int lbf,ubf; float a,b,lb,ub,quant,mult,val[NP]; } x,y;
 float *diag, *r;