19 double translate_from();
24 } question_struct_type
;
34 question_struct_type qs
[3];
38 #define MVEC_START(x) one_line_type x[] = {
42 int mag_of_error (double, double);
45 #define ERROR_PERFECT 20
54 #define VECOPEN(x,f) \
57 sprintf(buffer,"%s_vec.c",x);\
58 f = fopen(buffer,"w");\
59 fprintf(f,"#include \"test.h\"\n");\
60 fprintf(f," one_line_type %s_vec[] = {\n", x);\
63 #define VECCLOSE(f,name,args)\
65 fprintf(f,"0,};\n"); \
66 fprintf(f,"test_%s(m) {run_vector_1(m,%s_vec,(char *)(%s),\"%s\",\"%s\"); } \n",\
68 name,name,name,args);\
94 int_scan_type decimal
;
97 int_scan_type alphabetical
;
124 } sprint_double_type
;
136 void test_ieee (void);
137 void test_math2 (void);
138 void test_math (void);
139 void test_string (void);
141 void test_cvt (void);
145 void test_mok (double, double, int);
146 void test_iok (int, int);
147 void test_eok (int, int);
148 void test_sok (char *, char*);
149 void test_scok (char *, char*, int);
150 void newfunc (const char *);