Procedure call syntax:
#include <simdmath.h> |
vector float remquof4(vector float x, vector float y, vector signed int *pquo); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <remquof4.h> |
vector float _remquof4(vector float x, vector float y, vector signed int *pquo); |
Parameters | |
x,y | input vectors |
*pquo | pointer to quotient vector |
The remquof4 function returns the same vector as the corresponding remainderf4 function. In addition it places into *pquo a vector of values of which the sign of each is the sign of x/y, and the magnitude of each is the congruent modulo to the magnitude of the integral quotient of the corresponding element of x/y (where n is an implementation-defined integer greater than or equal to 3).
The function remquof4 returns a float vector in which each element is defined as the remainder of x/y.
The integral quotient of the corresponding element of x/y mod n is placed in the corresponding element of the vector pointed to by *pquo.
SPU and PPU
IEC60559
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) remquo functions, IEC 60559