| ||||||
|
|
Timings for the Math Library--libm:
|
| Function call | Number of Instructions Executed |
Execution Time in Microseconds |
|---|---|---|
| acos (0.5) | 64 |
401 |
| asin (0.5) | 55 |
377 |
| atan (0.5) | 66 |
438 |
| atan2 (1.0, 2.0) | 98 |
491 |
| ceil (1.5) | 40 |
56 |
| cos (1.0) | 144 |
540 |
| cosh (1.0) | 170 |
574 |
| exp (1.0) | 149 |
460 |
| fabs (1.0) | 0 |
0 |
| floor (1.5) | 27 |
26 |
| fmod (100.0, 3.0) | 55 |
128 |
| frexp (1024.0, &itmp) | 12 |
16 |
| ldexp (1.0, 10) | 19 |
18 |
| log (100.0) | 70 |
415 |
| log10 (100.0) | 77 |
441 |
| modf (1.5, &xtmp) | 47 |
61 |
| pow (10.0, 10.0) | 357 |
1066 |
| sin (1.0) | 131 |
469 |
| sinh (1.0) | 39 |
233 |
| sqrt (2.0) | 72 |
317 |
| tan (1.0) | 191 |
556 |
| tanh (1.0) | 180 |
575 |
|