rsqrtd2

NAME

rsqrtd2 - return the reciprocals of the square roots of double elements

SYNOPSIS

Procedure call syntax:

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

Inline call syntax:

#include <simdmath.h>
#include <rsqrtd2.h>
vector double _rsqrtd2(vector double x);
Parameters  
x input vector

DESCRIPTION

The rsqrtd2 function returns a vector of the reciprocals of the square roots of the corresponding elements of x.

RETURN VALUE

The function rsqrtd2 returns a float vector in which each element is defined as:
  • the reciprocal of the square root of the corresponding element of x.
  • When an element of x is less than 0 the result isNaN.
  • When an element of x is +Inf the result is +0.
  • When an element of x is 0 the result is Inf with the sign of the corresponding element 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.

SEE ALSO

rsqrt(3), rsqrtf4(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), recip(3), recipf4(3), recipd2(3)