home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTccccllll____PPPPrrrriiiinnnnttttDDDDoooouuuubbbblllleeee((((3333)))) TTTTccccllll ((((7777....0000)))) TTTTccccllll____PPPPrrrriiiinnnnttttDDDDoooouuuubbbblllleeee((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tcl_PrintDouble - Convert floating value to string
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
-
- TTTTccccllll____PPPPrrrriiiinnnnttttDDDDoooouuuubbbblllleeee(_i_n_t_e_r_p, _v_a_l_u_e, _d_s_t)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tcl_Interp *_i_n_t_e_r_p (in) Interpreter that controls
- the conversion.
-
- double _v_a_l_u_e (in) Floating-point value to be
- converted.
-
- char *_d_s_t (out) Where to store string
- representing _v_a_l_u_e. Must
- have at least
- TCL_DOUBLE_SPACE characters
- of storage.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTccccllll____PPPPrrrriiiinnnnttttDDDDoooouuuubbbblllleeee generates a string that represents the value
- of _v_a_l_u_e and stores it in memory at the location given by
- _d_s_t. It uses %g format to generate the string, with two
- special twists. First, the string is guaranteed to contain
- either a ``.'' or an ``e'' so that it doesn't look like an
- integer (where %g would generate an integer with no decimal
- point, TTTTccccllll____PPPPrrrriiiinnnnttttDDDDoooouuuubbbblllleeee adds ``.0''). Second, the number of
- significant digits printed at _d_s_t is controlled by the
- ttttccccllll____pppprrrreeeecccciiiissssiiiioooonnnn variable in _i_n_t_e_r_p; if ttttccccllll____pppprrrreeeecccciiiissssiiiioooonnnn is
- undefined then 6 significant digits are printed.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- conversion, double-precision, floating-point, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/10/95)
-
-
-
-