Annotation of coherent/a/usr/man/ALL/atof, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: atof()                   General Function                  atof()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Convert ASCII strings to floating point
                      9: 
                     10: ddoouubbllee aattooff(_s_t_r_i_n_g) cchhaarr * _s_t_r_i_n_g;
                     11: 
                     12: atof converts string  into the binary representation of a double-
                     13: precision  floating  point  number.   string  must be  the  ASCII
                     14: representation  of a  floating-point  number.  It  can contain  a
                     15: leading sign, any number  of decimal digits, and a decimal point.
                     16: It can be terminated with an exponent, which consists of the let-
                     17: ter `e' or `E' followed by  an optional leading sign and any num-
                     18: ber of decimal digits.  For example,
                     19: 
                     20: 
                     21:         123e-2
                     22: 
                     23: 
                     24: is a string that can be converted by atof.
                     25: 
                     26: atof ignores  leading blanks and tabs; it  stops scanning when it
                     27: encounters any unrecognized character.
                     28: 
                     29: ***** Example *****
                     30: 
                     31: For an example of this function, see the entry for acos.
                     32: 
                     33: ***** See Also *****
                     34: 
                     35: atoi(), atol(), float, general functions, long, printf(), scanf()
                     36: 
                     37: ***** Notes *****
                     38: 
                     39: atof does  not check  to see if  the value represented  by string
                     40: fits into a ddoouubbllee.  It returns zero if you hand it a string that
                     41: it cannot interpret.
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.