[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] more accuracy...
From: |
Björn Haase |
Subject: |
Re: [avr-libc-dev] more accuracy... |
Date: |
Mon, 24 Apr 2006 00:25:32 +0200 |
User-agent: |
KMail/1.7.1 |
David Carr wrote on Montag, 24. April 2006 09:37 :
> Just as a point of reference:
> Execution times for the aforementioned benchmark
>
> 386 (with 387 co-processor) @ 33MHz
> .67s
>
> 486DX2 66MHz
> .121s
>
> Considering that the AVR is 8bit and has no hardware floating point, being
> only 12x slower than the 386 is impressive especially considering it runs
> at 1/5 the clock speed.
>
you are sure that the two PC results were obtained with true float
calculations? Otherwise the comparison would not be fair :.). I'd assume that
probably the tan/log/sqrt functions operate on doubles.?
Never the less: the FP emulation for AVR *is* quite efficient.
Bjoern.