fmodd2

NAME

fmodd2 - return remainder from division of double elements

SYNOPSIS

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

DESCRIPTION

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.

RETURN VALUE

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.

ENVIRONMENT

SPU only

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) fmod functions.

SEE ALSO

fmod(3), fmodf4(3), fmodf4_fast(3), div(3), divf4(3), divi4(3), divu4(3), divd2(3), lldivi2(3), lldivu2(3), fma(3), fmaf4(3), fmad2(3), modf(3), modff4(3), modfd2(3), remainder(3), remainderf4(3), remainderd2(3), remquo(3) , remquof4(3), remquod2(3), recip(3), recipf4(3), recipd2(3), rsqrt(3), rsqrtf4(3), rsqrtd2(3)