recipd2

NAME

recipd2 - return reciprocals of double elements

SYNOPSIS

Procedure call syntax:

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

Inline call syntax:

#include <simdmath.h>
#include <recipd2.h>
vector double _recipd2(vector double x);
Parameters  
x input vector

DESCRIPTION

The recipd2 function returns a vector of the reciprocals of the corresponding elements of x.

RETURN VALUE

The function recipd2 returns a float vector in which each element is defined as:
  • the reciprocals of the corresponding element of x.
  • When an element of x is Inf the result is 0 with the sign of x.
  • When an element of x is 0 the result is Inf with the sign of x.
  • When an element of x is NaN the result is NaN.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) recip functions.

SEE ALSO

recip(3), recipf4(3), recipf4_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), fmod(3), fmodf4(3), fmodd2(3), remainder(3), remainderf4(3), remainderd2(3), remquo(3) , remquof4(3), remquod2(3), rsqrt(3), rsqrtf4(3), rsqrtd2(3)