4
addition to Floating point library for Atmel AVR uC
7
char * dtostre( double f, char * s, byte ndig )
9
converts a double to a string ( = float) in the printf 'e' format
11
Author : Michael Stumpf
12
mistumpf@de.pepperl-fuchs.com
21
registers |0|0|0|0|0|0|0|0|0|0|1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
22
|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|T|C|Z|
23
----------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24
|t|z|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r| | | |
25
CtoASM |m|e|S|S|S|S|S|S|S|S|S|S|S|S|S|S|S|S|P|P|P|P|P|P|P|P|T|T|S|S|T|T| | | |
26
nick names |p|r|1|1|1|1|9|8|7|6|5|4|3|2|1|0|I|I|7|6|5|4|3|2|1|0|I|I|I|I|I|I| | | |
27
| |o|3|2|1|0| | | | | | | | | | |1|0| | | | | | | | |3|2|3|2|1|0| | | |
28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
29
| | | | | | | | | | | | | | | | | | | | | | | | | | |X|X|Y|Y|Z|Z| | | |
30
| | | | | | | | | | | | | | | | | | | | | | | | | | |L|H|L|H|L|H| | | |
31
----------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
32
| | | | | | | | | | | | | | | | | | |r|r|r|r|r|r|r|r| | | | | | | | | |
33
FPlib/strtod | | | | | | | | | | | | | | | | | | |B|B|B|B|A|A|A|A| | | | | | | | | |
34
nick names | | | | | | | | | | | | | | | | | | |0|1|2|3|0|1|2|3| | | | | | | | | |
35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
36
----------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+