~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to libm/fplib/readme.dtostre

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2008-04-04 17:05:32 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20080404170532-t84huz4qk2928pt3
Tags: upstream-1.6.2
ImportĀ upstreamĀ versionĀ 1.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  dtostre.s
3
 
 
4
 
  addition to Floating point library for Atmel AVR uC
5
 
 
6
 
  function
7
 
  char * dtostre( double f, char * s, byte ndig )
8
 
 
9
 
  converts a double to a string ( = float) in the printf 'e' format
10
 
 
11
 
  Author : Michael Stumpf
12
 
           mistumpf@de.pepperl-fuchs.com
13
 
 
14
 
  Version : 0.1.0
15
 
 
16
 
  Date : 24.09.1999
17
 
 
18
 
*/
19
 
 
20
 
/*
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
 
----------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
37
 
*/
38
 
 
39