File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ HFILES=misc.h strings.h line.h float.h floatrep.h tol.h command.h comment.h toke
79
79
OTHER =README Makefile Sample.1 Sample.2 Sample.3 Sample.4 paper.ms paper.out
80
80
MANPAGE =spiff.1
81
81
82
- CFLAGS = $(OSFLAG ) $(TFLAG ) $(VISFLAG ) -DNOCHATTER
82
+ CFLAGS =$(OSFLAG ) $(TFLAG ) $(VISFLAG ) -DNOCHATTER
83
83
84
84
default : spiff
85
85
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ F_floatsub(p1,p2)
367
367
F_float p1 ,p2 ;
368
368
{
369
369
static F_float result ;
370
- static needinit = 1 ;
370
+ static int needinit = 1 ;
371
371
static char man1 [R_MANMAX ],man2 [R_MANMAX ],diff [R_MANMAX ];
372
372
int exp1 ,exp2 ;
373
373
char * diffptr ,* big ,* small ;
Original file line number Diff line number Diff line change 18
18
** when evaluated to a string, the fractional part will
19
19
** not exceed this length
20
20
*/
21
- #define R_MANMAX 200
21
+ #define R_MANMAX 330 //accommodates max exponent of a double
22
22
23
23
#define R_POSITIVE 0
24
24
#define R_NEGATIVE 1
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ typedef struct _T_tstr{
26
26
#define _T_TOLMAX 10 /* number of tolerances that can
27
27
be in effect at one time */
28
28
29
- #define _T_ADEF "1e-10 " /* default absolute tolerance */
30
- #define _T_RDEF "1e-10 " /* default relative tolerance */
29
+ #define _T_ADEF "1e-9 " /* default absolute tolerance */
30
+ #define _T_RDEF "1e-9 " /* default relative tolerance */
31
31
32
32
extern T_tol T_gettol ();
33
33
extern void T_clear_tols ();
You can’t perform that action at this time.
0 commit comments