Michael Korb wrote:
> Beim 8Bit-Prozessor ist es ein 4Byte double (8Bit Exponent und 23Bit
> Mantisse).
Hat nix mit dem Prozessor zu tun, sondern mit dem Compiler. Viele
Embedded-C-Compiler für 8-Bit-Plattformen unterstützen keine
64-Bit-Gleitkommazahlen (und double hat im Regelfall 64 Bit, also 8
Bytes, und damit doppelt so viel {"double precision"} wie float ),
weshalb double dort genauso behandelt wird wie float , nämlich als
32-Bit-Wert.
> Weiß eigentlich jemand wie der Datentyp double im AVR-Studio 4.13 genau
> aufgebaut ist
AVRStudio kann mit dem Datentyp double und mit anderen Datentypen
nichts anfangen. Das kann nur ein C-Compiler, in diesem Fall vermutlich
der WINAVR (AVR-GCC), der sich in AVRStudio als Plugin einbauen lässt...