avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] 'dtostre' speed up


From: Dmitry K.
Subject: [avr-libc-dev] 'dtostre' speed up
Date: Sun, 10 Apr 2005 17:07:57 +1100
User-agent: KMail/1.5

Hi all.

(See avr-libc patch #3851).

Performance:
~~~~~~~~~~~
                        speed, clocks    flash, bytes
                        8515    mega8    8515   mega8
    From avr-libc:
        dtostre         10867   10866    2004   1988
        dtostrf         17357   17109    1780   1750
    New functions:
        dtostre          1071     965    1082   1026
        dtoa_prf         1357    1231    1526   1414
        dtoa_lim         1355    1231    1492   1416
        dtoa_cln         1113    1008    1222   1166

    val is 1.2345, format is "%4e"/"%6.4f", see 'tests' directory.

Dmitry.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]