Procedure call syntax:
#include <simdmath.h> |
vector double fmodd2(vector double x, vector double y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <fmodd2.h> |
vector double _fmodd2(vector double x, vector double y); |
Parameters | |
x,y | input vectors |
The fmodd2 function computes the remainders of dividing x by y. The return values are x - n*y, where n are the quotients of x/y, rounded towards zero.
The function fmodd2 returns a double vector in which each element is defined as the remainder of x/y for the corresponding elements of x and y.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) fmod functions.