|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Results from timing floating point operations
I got these results by performing the operations on the fast loop increasing numberse of times and counting the number of fast loops per slow loop, then doing a linear regression. I have nothing to compare this method with to judge its accuracy, and I'd be interested if anyone else has different data.
Operation Time (in slow loops) blank 2.33e-10 + 8.71e-04 - 9.60e-04 * 8.35e-04 / 3.92e-03 fabs 2.75e-04 ldexp 2.34e-03 exp 2.50e-02 sqrt 2.86e-02 asin 4.76e-02 acos 4.76e-02 atan2 3.12e-02 atan 1.82e-02 sin 2.04e-02 cos 2.22e-02 tan 2.27e-02 sinh 3.57e-02 cosh 3.33e-02 tanh 3.57e-02 frexp 2.41e-03 log10 2.56e-02 log 2.50e-02 pow 1.00e-01 ceil 4.39e-03 floor 3.58e-03 modf 4.74e-03 fmod 2.79e-03 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OI Operations | AmitCarmeli | Control System | 1 | 08-01-2008 08:39 |
| Floating point math zero | flippo | Programming | 3 | 09-02-2007 09:00 |
| Floating point math in PBASIC | John Gutmann | Programming | 2 | 26-12-2005 20:07 |
| Converting floating point to integers | logicalhippo | Programming | 3 | 29-01-2005 12:10 |
| Results from Drexel, thanks from 365. | archiver | 2001 | 1 | 24-06-2002 02:44 |