ГОСТ Р ИСО/МЭК 10373-6—2015
break;
case ’В’:
i
ir-100*(Hmax-n)/(Ншах*Ь); // In *
break;
I
return <m);
I
II
Llsplays on screen the results of the calculations
void display(Char type, int rate, SHCQTREADER *Sh0ot.reader2, TIMES *hlmesp, douDle Umax,
double m, double mmin)
(Измененная редакция. Изм. A4:2012.)
I
double ovs-0;
double ovsbl»0;
double ovsb2-0;
(print! (staout,"\n"); // 2na set о£ functions, on debug purposes
switch (type»
case ‘A’:
fprintt(staout," RESULTS-----------\n");
(print£(staout,"Type A - Bitrate -:a\n", rate);
fprintt(Staout," Overshoot---------\n");
ovs-(((shoo*reader2->aoove)-Umax)/<Hmax-Llmesp->a))*100;
1
! (ovs>0)
(print£(staout,"Overshoot -
*1
V \n", ovs);
else
(punt£(staout,"Overshoot - Q •" \n");
switch (rate)
сазе (106):
(
forintf(stdout.,"--timings------------\n");
iprlntf(stdout,"tl - v.lirlcrosec. \n", (tiiresp->tl)*leb);
Iprlntf(stdout, "t.I - :f/fc \n", (timesp->tl)*1З.Ьбеб);
fprinti (stdout, "*.2 - .1 irlcrosec. \n", (tiiresp->t2)Meb) ,-
fprlntl{stdout,"t2 - :f/fc \n", (timesp->t2)*1З.Ьбеб);
CprInti(stdout,"t3
-
.1 irlcrosec. \n", (tiiresp->t3)Meb);
rprlntf(stdout,"*.3- :!/fc \n", (timesp->t3)*1З.Ьбеб);
fprinti(stdout,"*.4 -
.1
irlcrosec. \n", (timesp->*.4)Meb),-
fprintf(stdout,"t4 - :f/fc \n", (timesp->t4)MЗ.Ьбеб);
fprinti(stdout,"--airplltudes
--------
\n");
fprintf(stdout,"Umax - <.f volt.s \n", Umax);
(printf(stdout.,"Max.Amplitude- V£volt.s \n", (shootreaoer2->above
));
1
break;
case (212):
case (424):
case (848):
(
fprtntC(stdout,"hovs -
-.l
\n", (((shcotreader2->.ibove-Hmax)/Hmax)));
fprintf(stdout, -tImngs
-----------
\n");
fprlntl(stdout,"tl - :f microsec. \n", (tiiresp->tl)Me6);
fprintf(stdout,"LI - 7.1/fc \n", (timesp->tl)*13.Ьбеб);
fprlntl(stdout,"hb - :f microsec. \n", (tiiresp->tb)Me6);
fprintf(stdout,"t.b - v.l/fc \n", (timesp->tb)*13.Ьбеб);
fprlntl(stdout,"t6 - :f microsec. \n", (tiiresp->t6)Me6);
fprIntf(stdout,"t.6 - v.l/fc \n", (timesp->tb)*13.ЬЬеб);
fprintf(stdout,"--amplIt.udes
--------
\n");
86