log10f4

NAME

log10f4 - return base-10 logarithms of float elements

SYNOPSIS

Procedure call syntax:

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

Inline call syntax:

#include <simdmath.h>
#include <log10f4.h>
vector float _log10f4(vector float x);
Parameters  
x input vector

DESCRIPTION

The log10f4 function returns the base 10 logarithms for each x.

RETURN VALUE

The function log10f4 returns a float vector in which each element is defined as:
  • the base 10 logarithm for the corresponding element of x if the element is not 0, or
  • -HUGE_VALF if the value of the corresponding element of x is 0.
  • If an element of x is negative, the corresponding element of the result is undefined.

ENVIRONMENT

SPU and PPU

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) log10 functions.

SEE ALSO

log10(3), log10d2(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), ilogb(3), ilogbd2(3), ilogbf4(3), ldexp(3), ldexpd2(3), ldexpf4(3), log(3), logd2(3), logf4(3), log2(3), log2d2(3), log2f4(3), log1p(3), log1pd2(3), log1pf4(3), logb(3), logbf4(3), scalbn(3), scalbnf4(3), sqrt(3), sqrtd2(3), sqrtf4(3)