round14 Function (ROM Call 0x175*)

timath.h

float round14 (float x);

Rounds the floating point number to 14 significant digits.

round14 returns the value of the floating point argument x rounded to 14 significant digits. Also, arguments whose absolute values are greater or equal than 10^8192 are rounded to POSITIVE_INF or NEGATIVE_INF, and arguments whose absolute values are smaller than 10^-8192 are rounded to POSITIVE_ZERO or NEGATIVE_ZERO. TIOS always does such rounding before storing a floating point value to a variable.


Used by: cmd_drawpol, cmd_get, estack_number_to_Float, push_Float, ck_valid_float, dv_create_graph_titles, ForceFloat, GM_Derivative, GM_DistArc, GM_Inflection, GM_Integrate, GM_Intersect, GM_Math1, GM_TanLine, GT_Trace, GZ_Trig, VarRecall