Procedure call syntax:
#include <simdmath.h> |
vector float sqrtf4(vector float x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <sqrtf4.h> |
vector float _sqrtf4(vector float x); |
Parameters | |
x | input vector |
The sqrtf4 function computes the square roots of the elements of the input vectors.
On the SPU this is a fully compliant IEEE implementation guaranteeing the correct truncated result for all valid inputs.
Note: The PPU implementation does not produce IEEE accuracy.
The function sqrtf4 returns a float vector in which each element is defined as .
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) sqrt functions.