Procedure call syntax:
#include <simdmath.h> |
vector double remquod2(vector double x, vector double y, vector signed int *pquo); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <remquod2.h> |
vector double _remquod2(vector double x, vector double y, vector signed int *pquo); |
Parameters | |
x,y | input vectors |
*pquo | pointer to quotient vector |
The remquod2 function
returns the same vector as the corresponding remainderd2 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 remquod2 returns a double vector in which each element is defined as the exact 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. The first quotient is placed in slots 0 and 1. The second quotient is placed in slots 2 and 3.
SPU only
IEC60559
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) remquo functions, IEC 60559