Procedure call syntax:
#include <simdmath.h> |
vector float expm1f4(vector float x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <expm1f4.h> |
vector float _expm1f4(vector float x); |
Parameters | |
x | input vector |
The expm1f4 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 and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) exp function