Procedure call syntax:
#include <simdmath.h> |
vector double expm1f4(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <expm1f4.h> |
vector double _expm1f4(vector double x); |
Parameters | |
x | input vector |
The expm1d2 function returns a vector of the exponential minus one for each element in x.
The purpose of this function is to return mathematically accurate values, even when an element is close to 0 (zero) so the exponent is close to 1 (one) leading to floating-point cancellation errors.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) exp function