#include <80c517.h>
float log517 (
float val); /* value to take natural logarithm of */
Description
The log517 function calculates the natural logarithm for
the floating-point number val. The logarithm is
the exponent to which the base (e or 2.718282... in the case
of natural logs) must be raised to equal val.
Or,
logeex
= val
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 log517 function returns the floating-point natural
logarithm of val.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.