Function

vvlogbf

Calculates the unbiased exponent of each element in an array of single-precision values.

Declaration

void vvlogbf(float *, const float *, const int *);

Parameters

parameter 1

The output array, y.

parameter 2

The input array, x.

parameter 3

The number of elements in the arrays.

Discussion

For a nonzero finite floating-point number f, logb is defined to be the integer that satisfies abs(f) = significand * 2**logb(f), with significand in [1,2).

If x is +/-0, y is set to -inf.

If x is +/-inf, y is set to +inf.

If x is NaN, y is set to NaN.

See Also

Array-Oriented Exponential and Logarithmic Functions

vvexp

Calculates e raised to the power of each element in an array of double-precision values.

vvexpf

Calculates e raised to the power of each element in an array of single-precision values.

vvexp2

Calculates 2 raised to the power of each element in an array of double-precision values.

vvexp2f

Calculates 2 raised to the power of each element in an array of single-precision values.

vvexpm1

Calculates eˣ-1 for each element in an array of double-precision values.

vvexpm1f

Calculates eˣ-1 for each element in an array of single-precision values.

vvlog

Calculates the natural logarithm for each element in an array of double-precision values.

vvlogf

Calculates the natural logarithm for each element in an array of single-precision values.

vvlog1p

Calculates log(1+x) for each element in an array of double-precision values.

vvlog1pf

Calculates log(1+x) for each element in an array of single-precision values.

vvlog2

Calculates the base 2 logarithm of each element in an array of double-precision values.

vvlog2f

Calculates the base 2 logarithm of each element in an array of single-precision values.

vvlog10

Calculates the base 10 logarithm of each element in an array of double-precision values.

vvlog10f

Calculates the base 10 logarithm of each element in an array of single-precision values.

vvlogb

Calculates the unbiased exponent of each element in an array of double-precision values.