| round12 | Function (ROM Call 0x174*)

timath.h

float round12 (float x);

Rounds the floating point number to 12 significant digits.

round12 returns the value of the floating point argument x rounded to 12 significant digits. TIOS sometimes does such rounding, for example when TIOS updates coordinate values (xc, yc, etc.), during printing approximate results, or when TIOS stores a value to system variables like xmin, xmax etc. (strictly speaking, TIOS calls round12_err instead of round12 in such cases).

Used by: round12_err, push_round, GR3_paint3d, CptIndep, CptLastIndepDE, FuncLineFlt, GR3_addContours, GrAxes, GrClipLine, GrLineFlt, GT_Trace, GZ_Stat, InitDEAxesRng