Procedure call syntax:
#include <simdmath.h> |
vector float log1pf4(vector float x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <log1pf4.h> |
vector float _log1pf4(vector float x); |
Parameters | |
x | input vector |
The log1pf4 function returns a vector of the natural logarithms of (1+x) for the corresponding element of x.
This function returns mathematically accurate values even when the corresponding element of x is near 0 because it uses a different algorithm from the log function in the open interval (-0.5, 0.5). Outside this range the function defaults to the standard log routine.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) log1p functions.