Lines Matching refs:log
84 FILE *log, *logb, *logc, *logd;
108 log = fopen("logs/add.log", "w");
124 fprintf(log, "%d %9llu\n", cnt * DIGIT_BIT, tt);
125 fflush(log);
127 fclose(log);
129 log = fopen("logs/sub.log", "w");
146 fprintf(log, "%d %9llu\n", cnt * DIGIT_BIT, tt);
147 fflush(log);
149 fclose(log);
161 log = fopen((ix == 0) ? "logs/mult.log" : "logs/mult_kara.log", "w");
177 fprintf(log, "%d %9llu\n", mp_count_bits(&a), tt);
178 fflush(log);
180 fclose(log);
182 log = fopen((ix == 0) ? "logs/sqr.log" : "logs/sqr_kara.log", "w");
197 fprintf(log, "%d %9llu\n", mp_count_bits(&a), tt);
198 fflush(log);
200 fclose(log);
238 log = fopen("logs/expt.log", "w");
239 logb = fopen("logs/expt_dr.log", "w");
240 logc = fopen("logs/expt_2k.log", "w");
241 logd = fopen("logs/expt_2kl.log", "w");
274 fprintf(n < 4 ? logd : (n < 9) ? logc : (n < 16) ? logb : log,
278 fclose(log);
283 log = fopen("logs/invmod.log", "w");
310 fprintf(log, "%d %9llu\n", cnt * DIGIT_BIT, tt);
312 fclose(log);