DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: s

⟦63e43dbf5⟧

    Length: 2227 (0x8b3)
    Names: »strtod.3«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/strtod.3« 

Default Hex Dump

0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74   ┆ u_ a_ l           Library Funct┆
0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 74 6f 64 28 33 29 0a 0a 0a 0a   ┆ions               strtod(3)    ┆
0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x080…0a0 20 20 73 74 72 74 6f 64 20 2d 20 63 6f 6e 76 65 72 74 20 73 74 72 69 6e 67 20 74 6f 20 64 6f 75   ┆  strtod - convert string to dou┆
0x0a0…0c0 62 6c 65 2d 70 72 65 63 69 73 69 6f 6e 20 6e 75 6d 62 65 72 0a 0a 53 08 53 08 53 08 53 59 08 59   ┆ble-precision number  S S S SY Y┆
0x0c0…0e0 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58   ┆ Y YN N N NT T T TA A A AX X X X┆
0x0e0…100 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63   ┆      # # # #i i i in n n nc c c┆
0x100…120 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c   ┆ cl l l lu u u ud d d de e e e <┆
0x120…140 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 6c 08 6c 08 6c   ┆ < < <s s s st t t td d d dl l l┆
0x140…160 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08   ┆ li i i ib b b b. . . .h h h h> ┆
0x160…180 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08   ┆> > >       d d d do o o ou u u ┆
0x180…1a0 75 62 08 62 08 62 08 62 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 73 08 73 08 73 08 73 74 08   ┆ub b b bl l l le e e e s s s st ┆
0x1a0…1c0 74 08 74 08 74 72 08 72 08 72 08 72 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08   ┆t t tr r r rt t t to o o od d d ┆
0x1c0…1e0 64 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72   ┆d( ( ( (n n n np p p pt t t tr r┆
0x1e0…200 08 72 08 72 2c 08 2c 08 2c 08 2c 20 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08   ┆ r r, , , , e e e en n n nd d d ┆
0x200…220 64 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20   ┆dp p p pt t t tr r r r) ) ) )   ┆
0x220…240 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20   ┆   c c c ch h h ha a a ar r r r ┆
0x240…260 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e 08 6e 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08   ┆* * * *n n n np p p pt t t tr r ┆
0x260…280 72 08 72 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 2a 08 2a 08 2a 08 2a 65 08 65 08 65 08 65   ┆r r, , , , * * * ** * * *e e e e┆
0x280…2a0 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08   ┆n n n nd d d dp p p pt t t tr r ┆
0x2a0…2c0 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08   ┆r r; ; ; ;  D D D DE E E ES S S ┆
0x2c0…2e0 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54   ┆SC C C CR R R RI I I IP P P PT T┆
0x2e0…300 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f   ┆ T TI I I IO O O ON N N N      _┆
0x300…320 08 73 5f 08 74 5f 08 72 5f 08 74 5f 08 6f 5f 08 64 20 72 65 74 75 72 6e 73 20 61 73 20 61 20 64   ┆ s_ t_ r_ t_ o_ d returns as a d┆
0x320…340 6f 75 62 6c 65 2d 70 72 65 63 69 73 69 6f 6e 20 66 6c 6f 61 74 69 6e 67 2d 70 6f 69 6e 74 20 6e   ┆ouble-precision floating-point n┆
0x340…360 75 6d 62 65 72 0a 20 20 20 20 20 74 68 65 20 76 61 6c 75 65 20 72 65 70 72 65 73 65 6e 74 65 64   ┆umber      the value represented┆
0x360…380 20 62 79 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 20 70 6f 69 6e 74 65 64   ┆ by the character string pointed┆
0x380…3a0 20 74 6f 20 62 79 0a 20 20 20 20 20 5f 08 6e 5f 08 70 5f 08 74 5f 08 72 2e 20 20 54 68 65 20 73   ┆ to by      _ n_ p_ t_ r.  The s┆
0x3a0…3c0 74 72 69 6e 67 20 69 73 20 73 63 61 6e 6e 65 64 20 75 70 20 74 6f 20 74 68 65 20 66 69 72 73 74   ┆tring is scanned up to the first┆
0x3c0…3e0 20 75 6e 72 65 63 6f 67 6e 69 7a 65 64 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 2e 0a 0a 20   ┆ unrecognized      character.   ┆
0x3e0…400 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 74 5f 08 6f 5f 08 64 20 72 65 63 6f 67 6e 69 7a 65   ┆    _ s_ t_ r_ t_ o_ d recognize┆
0x400…420 73 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 73 74 72 69 6e 67 20 6f 66 20 60 60 77 68 69 74 65 2d   ┆s an optional string of ``white-┆
0x420…440 73 70 61 63 65 27 27 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73 20 28 61 73 20 64 65 66 69   ┆space''      characters (as defi┆
0x440…460 6e 65 64 20 62 79 20 5f 08 69 5f 08 73 5f 08 73 5f 08 70 5f 08 61 5f 08 63 5f 08 65 29 2c 20 74   ┆ned by _ i_ s_ s_ p_ a_ c_ e), t┆
0x460…480 68 65 6e 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 73 69 67 6e 2c 0a 20 20 20 20 20 74 68 65 6e 20   ┆hen an optional sign,      then ┆
0x480…4a0 61 20 73 74 72 69 6e 67 20 6f 66 20 64 69 67 69 74 73 20 6f 70 74 69 6f 6e 61 6c 6c 79 20 63 6f   ┆a string of digits optionally co┆
0x4a0…4c0 6e 74 61 69 6e 69 6e 67 20 61 20 64 65 63 69 6d 61 6c 0a 20 20 20 20 20 70 6f 69 6e 74 20 63 68   ┆ntaining a decimal      point ch┆
0x4c0…4e0 61 72 61 63 74 65 72 2c 20 74 68 65 6e 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 65 78 70 6f 6e 65   ┆aracter, then an optional expone┆
0x4e0…500 6e 74 20 70 61 72 74 20 69 6e 63 6c 75 64 69 6e 67 20 61 6e 0a 20 20 20 20 20 65 08 65 08 65 08   ┆nt part including an      e e e ┆
0x500…520 65 20 6f 72 20 45 08 45 08 45 08 45 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 6e 20 6f 70 74 69   ┆e or E E E E followed by an opti┆
0x520…540 6f 6e 61 6c 20 73 69 67 6e 2c 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 6e 20 69 6e 74 65 67 65   ┆onal sign, followed by an intege┆
0x540…560 72 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 65 5f 08 6e 5f   ┆r.       If the value of _ e_ n_┆
0x560…580 08 64 5f 08 70 5f 08 74 5f 08 72 20 69 73 20 6e 6f 74 20 4e 55 4c 4c 2c 20 61 20 70 6f 69 6e 74   ┆ d_ p_ t_ r is not NULL, a point┆
0x580…5a0 65 72 20 74 6f 20 74 68 65 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 74 65 72 20 74 65 72 6d 69   ┆er to the charac-      ter termi┆
0x5a0…5c0 6e 61 74 69 6e 67 20 74 68 65 20 73 63 61 6e 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 6e 20 74   ┆nating the scan is returned in t┆
0x5c0…5e0 68 65 20 6c 6f 63 61 74 69 6f 6e 20 70 6f 69 6e 74 65 64 0a 20 20 20 20 20 74 6f 20 62 79 20 5f   ┆he location pointed      to by _┆
0x5e0…600 08 65 5f 08 6e 5f 08 64 5f 08 70 5f 08 74 5f 08 72 2e 20 20 49 66 20 6e 6f 20 6e 75 6d 62 65 72   ┆ e_ n_ d_ p_ t_ r.  If no number┆
0x600…620 20 63 61 6e 20 62 65 20 66 6f 72 6d 65 64 2c 20 2a 5f 08 65 5f 08 6e 5f 08 64 5f 08 70 5f 08 74   ┆ can be formed, *_ e_ n_ d_ p_ t┆
0x620…640 5f 08 72 20 69 73 20 73 65 74 20 74 6f 0a 20 20 20 20 20 5f 08 6e 5f 08 70 5f 08 74 5f 08 72 2c   ┆_ r is set to      _ n_ p_ t_ r,┆
0x640…660 20 61 6e 64 20 7a 65 72 6f 20 69 73 20 72 65 74 75 72 6e 65 64 2e 0a 0a 53 08 53 08 53 08 53 45   ┆ and zero is returned.  S S S SE┆
0x660…680 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08   ┆ E E EE E E E A A A AL L L LS S ┆
0x680…6a0 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e   ┆S SO O O O      Library Function┆
0x6a0…6c0 73 20 28 33 29 3a 20 61 74 6f 66 2c 20 61 74 6f 6c 2c 20 69 73 73 70 61 63 65 2c 20 73 63 61 6e   ┆s (3): atof, atol, isspace, scan┆
0x6c0…6e0 66 2c 20 73 65 74 6c 6f 2d 0a 20 20 20 20 20 63 61 6c 65 2c 20 73 74 72 74 6f 6c 0a 0a 52 08 52   ┆f, setlo-      cale, strtol  R R┆
0x6e0…700 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52   ┆ R RE E E ET T T TU U U UR R R R┆
0x700…720 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55   ┆N N N N V V V VA A A AL L L LU U┆
0x720…740 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 49 66 20 74 68 65 20 63 6f 72 72 65 63 74 20   ┆ U UE E E E      If the correct ┆
0x740…760 76 61 6c 75 65 20 77 6f 75 6c 64 20 63 61 75 73 65 20 6f 76 65 72 66 6c 6f 77 2c 20 2b 08 2b 08   ┆value would cause overflow, + + ┆
0x760…780 2b 08 2b 08 5f 08 5f 08 5f 08 5f 48 08 48 08 48 08 48 55 08 55 08 55 08 55 47 08 47 08 47 08 47   ┆+ + _ _ _ _H H H HU U U UG G G G┆
0x780…7a0 45 08 45 08 45 08 45 20 69 73 20 72 65 74 75 72 6e 65 64 0a 20 20 20 20 20 28 61 63 63 6f 72 64   ┆E E E E is returned      (accord┆
0x7a0…7c0 69 6e 67 20 74 6f 20 74 68 65 20 73 69 67 6e 20 6f 66 20 74 68 65 20 76 61 6c 75 65 29 2c 20 61   ┆ing to the sign of the value), a┆
0x7c0…7e0 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 0a 20 20 20   ┆nd _ e_ r_ r_ n_ o is set to    ┆
0x7e0…800 20 20 5b 45 52 41 4e 47 45 5d 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 63 6f 72 72 65 63 74   ┆  [ERANGE].       If the correct┆
0x800…820 20 76 61 6c 75 65 20 77 6f 75 6c 64 20 63 61 75 73 65 20 75 6e 64 65 72 66 6c 6f 77 2c 20 7a 65   ┆ value would cause underflow, ze┆
0x820…840 72 6f 20 69 73 20 72 65 74 75 72 6e 65 64 0a 20 20 20 20 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08   ┆ro is returned      and _ e_ r_ ┆
0x840…860 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 5b 45 52 41 4e 47 45 5d 2e 0a 0a 44 65 63   ┆r_ n_ o is set to [ERANGE].  Dec┆
0x860…880 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ember 1990                      ┆
0x880…8a0 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a   ┆     TX Programmer's Reference  ┆
0x8a0…8b3 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                          ┆                   ┆