NAME
ilogbd2
- return integer exponents of double elements
SYNOPSIS
Procedure call
syntax:
#include <simdmath.h> |
#include <math.h> |
vector signed long long ilogbd2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <ilogbd2.h> |
vector signed long long _ilogbd2(vector double x); |
Parameters |
|
x |
input vector |
DESCRIPTION
The ilogbd2 function
extracts the exponents of the input vector as signed integers.
RETURN VALUE
The function
ilogbd2 returns
a signed long long vector in which each element is defined as:
- the macro FP_ILOGBNAN if the corresponding element of x is
not a number (NaN),
- the macro FP_ILOGB0 if the corresponding element of x is equal
to 0 or Inf, or
- the value of (long long)logb(x) for the corresponding
element of x otherwise.
CONFORMING TO
SIMD Math library
specification for the Cell Broadband Engineā¢ Architecture.
NOTES
Basis
ISO9899
(C99) ilogb functions.
SEE ALSO
ilogb(3),
ilogbf4(3), logb(3),
logbf4(3), cbrt(3),
cbrtd2(3),
cbrtf4(3), exp(3),
expd2(3),
expf4(3), exp2(3),
exp2d2(3),
exp2f4(3), frexp(3),
frexpd2(3),
frexpf4(3), hypot(3),
hypotd2(3), ldexp(3),
ldexpd2(3),
ldexpf4(3), log(3),
logd2(3),
logf4(3),
log2(3),
log2d2(3),
log2f4(3), log10(3),
log10d2(3),
log10f4(3), log1p(3),
log1pd2(3),
log1pf4(3),
scalbn(3),
scalbnf4(3),
sqrt(3),
sqrtd2(3),
sqrtf4(3)