divd2

NAME

divd2 - return quotients of double elements

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector double divd2(vector double x, vector double y);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <divd2.h>
vector double _divd2(vector double x, vector double y);
Parameters  
x,y input vectors

DESCRIPTION

The divd2 function divides each element of x by the corresponding element of y and return a vector of the quotients.

Special Cases:
  • If either input is NaN the result is NaN.
  • For Inf/Inf or 0/0 the result is NaN.
  • For finite/Inf the result is 0 with sign = sign(x)/sign(y).
  • "For finite/0, the result is Inf with sign = sign(x)/sign(y)."

RETURN VALUE

The function divd2 returns a vector containing the quotients produced by dividing each element of x by the corresponding element of y.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) div function

SEE ALSO

div(3), divf4(3), divf4_fast(3), divi4(3), divu4(3), lldivi2(3), lldivu2(3), fma(3), fmaf4(3), fmad2(3), modf(3), modff4(3), modfd2(3), fmod(3), fmodf4(3), fmodd2(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)