exp — Calculates the exponent of e
fix32 exp(fix32 num);
Returns e raised to the power of num.
Note: e is the base of the natural system of logarithms, approximately 2.718282 |
e raised to the power of num.
init { printf("%.6f", exp(0.5)); // ~1.6487212707 printf("%.6f", exp(5.7)); // ~298.87 }