|
| exp517| Summary | |
#include <80c517.h>
float exp517 (
float x); /* power to use for ex function */
| | Description | | The exp517 function calculates the exponential function for the floating-point value x. Note - This routine uses the arithmetic unit of the Infineon C517x/C509 to provide accelerated execution speed. Do not use this routine with a CPU that does not support this feature.
| | Return Value | | The exp517 function returns the floating-point value ex. | | See Also | | exp, log, log10, log10517, log517 | | Example | |
#include <80c517.h>
#include <stdio.h> /* for printf */
void tst_exp (void) {
float x;
float y;
x = 4.605170186;
y = exp517 (x); /* y = 100 */
printf ("EXP517(%f) = %f\n", x, y);
}
|
|
|