SLEEF Documentation - Math library reference

Table of contents

Data types for PowerPC 64 architecture

Sleef_vector_float_2

Description

Sleef_vector_float_2 is a data type for storing two vector float values, which is defined in sleef.h as follows:

typedef struct {
  vector float x, y;
} Sleef_vector_float_2;

Sleef_vector_double_2

Description

Sleef_vector_double_2 is a data type for storing two vector double values, which is defined in sleef.h as follows:

typedef struct {
  vector double x, y;
} Sleef_vector_double_2;

Trigonometric Functions

Vectorized double precision sine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_sind1_u10purec(double a);
double Sleef_sind1_u10purecfma(double a);
double Sleef_cinz_sind1_u10purec(double a);
double Sleef_finz_sind1_u10purecfma(double a);

vector double Sleef_sind2_u10(vector double a);
vector double Sleef_sind2_u10vsx(vector double a);
vector double Sleef_sind2_u10vsxnofma(vector double a);
vector double Sleef_cinz_sind2_u10vsxnofma(vector double a);
vector double Sleef_finz_sind2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sin_u10 with the same accuracy specification.


Vectorized single precision sine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_sinf1_u10purec(float a);
float Sleef_sinf1_u10purecfma(float a);
float Sleef_cinz_sinf1_u10purec(float a);
float Sleef_finz_sinf1_u10purecfma(float a);

vector float Sleef_sinf4_u10(vector float a);
vector float Sleef_sinf4_u10vsx(vector float a);
vector float Sleef_sinf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_sinf4_u10vsxnofma(vector float a);
vector float Sleef_finz_sinf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinf_u10 with the same accuracy specification.


Vectorized double precision sine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_sind1_u35purec(double a);
double Sleef_sind1_u35purecfma(double a);
double Sleef_cinz_sind1_u35purec(double a);
double Sleef_finz_sind1_u35purecfma(double a);

vector double Sleef_sind2_u35(vector double a);
vector double Sleef_sind2_u35vsx(vector double a);
vector double Sleef_sind2_u35vsxnofma(vector double a);
vector double Sleef_cinz_sind2_u35vsxnofma(vector double a);
vector double Sleef_finz_sind2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sin_u35 with the same accuracy specification.


Vectorized single precision sine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_sinf1_u35purec(float a);
float Sleef_sinf1_u35purecfma(float a);
float Sleef_cinz_sinf1_u35purec(float a);
float Sleef_finz_sinf1_u35purecfma(float a);

vector float Sleef_sinf4_u35(vector float a);
vector float Sleef_sinf4_u35vsx(vector float a);
vector float Sleef_sinf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_sinf4_u35vsxnofma(vector float a);
vector float Sleef_finz_sinf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinf_u35 with the same accuracy specification.


Vectorized double precision cosine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_cosd1_u10purec(double a);
double Sleef_cosd1_u10purecfma(double a);
double Sleef_cinz_cosd1_u10purec(double a);
double Sleef_finz_cosd1_u10purecfma(double a);

vector double Sleef_cosd2_u10(vector double a);
vector double Sleef_cosd2_u10vsx(vector double a);
vector double Sleef_cosd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_cosd2_u10vsxnofma(vector double a);
vector double Sleef_finz_cosd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cos_u10 with the same accuracy specification.


Vectorized single precision cosine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_cosf1_u10purec(float a);
float Sleef_cosf1_u10purecfma(float a);
float Sleef_cinz_cosf1_u10purec(float a);
float Sleef_finz_cosf1_u10purecfma(float a);

vector float Sleef_cosf4_u10(vector float a);
vector float Sleef_cosf4_u10vsx(vector float a);
vector float Sleef_cosf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_cosf4_u10vsxnofma(vector float a);
vector float Sleef_finz_cosf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cosf_u10 with the same accuracy specification.


Vectorized double precision cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_cosd1_u35purec(double a);
double Sleef_cosd1_u35purecfma(double a);
double Sleef_cinz_cosd1_u35purec(double a);
double Sleef_finz_cosd1_u35purecfma(double a);

vector double Sleef_cosd2_u35(vector double a);
vector double Sleef_cosd2_u35vsx(vector double a);
vector double Sleef_cosd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_cosd2_u35vsxnofma(vector double a);
vector double Sleef_finz_cosd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cos_u35 with the same accuracy specification.


Vectorized single precision cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_cosf1_u35purec(float a);
float Sleef_cosf1_u35purecfma(float a);
float Sleef_cinz_cosf1_u35purec(float a);
float Sleef_finz_cosf1_u35purecfma(float a);

vector float Sleef_cosf4_u35(vector float a);
vector float Sleef_cosf4_u35vsx(vector float a);
vector float Sleef_cosf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_cosf4_u35vsxnofma(vector float a);
vector float Sleef_finz_cosf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cosf_u35 with the same accuracy specification.


Vectorized single precision combined sine and cosine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

Sleef_double2 Sleef_sincosd1_u10purec(double a);
Sleef_double2 Sleef_sincosd1_u10purecfma(double a);
Sleef_double2 Sleef_cinz_sincosd1_u10purec(double a);
Sleef_double2 Sleef_finz_sincosd1_u10purecfma(double a);

Sleef_vector_double_2 Sleef_sincosd2_u10(vector double a);
Sleef_vector_double_2 Sleef_sincosd2_u10vsx(vector double a);
Sleef_vector_double_2 Sleef_sincosd2_u10vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_cinz_sincosd2_u10vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_finz_sincosd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincos_u10 with the same accuracy specification.


Vectorized single precision combined sine and cosine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

Sleef_float2 Sleef_sincosf1_u10purec(float a);
Sleef_float2 Sleef_sincosf1_u10purecfma(float a);
Sleef_float2 Sleef_cinz_sincosf1_u10purec(float a);
Sleef_float2 Sleef_finz_sincosf1_u10purecfma(float a);

Sleef_vector_float_2 Sleef_sincosf4_u10(vector float a);
Sleef_vector_float_2 Sleef_sincosf4_u10vsx(vector float a);
Sleef_vector_float_2 Sleef_sincosf4_u10vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_cinz_sincosf4_u10vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_finz_sincosf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincosf_u10 with the same accuracy specification.


Vectorized double precision combined sine and cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


Sleef_double2 Sleef_sincosd1_u35purec(double a);
Sleef_double2 Sleef_sincosd1_u35purecfma(double a);
Sleef_double2 Sleef_cinz_sincosd1_u35purec(double a);
Sleef_double2 Sleef_finz_sincosd1_u35purecfma(double a);

Sleef_vector_double_2 Sleef_sincosd2_u35(vector double a);
Sleef_vector_double_2 Sleef_sincosd2_u35vsx(vector double a);
Sleef_vector_double_2 Sleef_sincosd2_u35vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_cinz_sincosd2_u35vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_finz_sincosd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincos_u35 with the same accuracy specification.


Vectorized single precision combined sine and cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


Sleef_float2 Sleef_sincosf1_u35purec(float a);
Sleef_float2 Sleef_sincosf1_u35purecfma(float a);
Sleef_float2 Sleef_cinz_sincosf1_u35purec(float a);
Sleef_float2 Sleef_finz_sincosf1_u35purecfma(float a);

Sleef_vector_float_2 Sleef_sincosf4_u35(vector float a);
Sleef_vector_float_2 Sleef_sincosf4_u35vsx(vector float a);
Sleef_vector_float_2 Sleef_sincosf4_u35vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_cinz_sincosf4_u35vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_finz_sincosf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincosf_u35 with the same accuracy specification.


Vectorized double precision sine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_sinpid1_u05purec(double a);
double Sleef_sinpid1_u05purecfma(double a);
double Sleef_cinz_sinpid1_u05purec(double a);
double Sleef_finz_sinpid1_u05purecfma(double a);

vector double Sleef_sinpid2_u05(vector double a);
vector double Sleef_sinpid2_u05vsx(vector double a);
vector double Sleef_sinpid2_u05vsxnofma(vector double a);
vector double Sleef_cinz_sinpid2_u05vsxnofma(vector double a);
vector double Sleef_finz_sinpid2_u05vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinpi_u05 with the same accuracy specification.


Vectorized single precision sine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_sinpif1_u05purec(float a);
float Sleef_sinpif1_u05purecfma(float a);
float Sleef_cinz_sinpif1_u05purec(float a);
float Sleef_finz_sinpif1_u05purecfma(float a);

vector float Sleef_sinpif4_u05(vector float a);
vector float Sleef_sinpif4_u05vsx(vector float a);
vector float Sleef_sinpif4_u05vsxnofma(vector float a);
vector float Sleef_cinz_sinpif4_u05vsxnofma(vector float a);
vector float Sleef_finz_sinpif4_u05vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinpif_u05 with the same accuracy specification.


Vectorized double precision cosine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_cospid1_u05purec(double a);
double Sleef_cospid1_u05purecfma(double a);
double Sleef_cinz_cospid1_u05purec(double a);
double Sleef_finz_cospid1_u05purecfma(double a);

vector double Sleef_cospid2_u05(vector double a);
vector double Sleef_cospid2_u05vsx(vector double a);
vector double Sleef_cospid2_u05vsxnofma(vector double a);
vector double Sleef_cinz_cospid2_u05vsxnofma(vector double a);
vector double Sleef_finz_cospid2_u05vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cospi_u05 with the same accuracy specification.


Vectorized single precision cosine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_cospif1_u05purec(float a);
float Sleef_cospif1_u05purecfma(float a);
float Sleef_cinz_cospif1_u05purec(float a);
float Sleef_finz_cospif1_u05purecfma(float a);

vector float Sleef_cospif4_u05(vector float a);
vector float Sleef_cospif4_u05vsx(vector float a);
vector float Sleef_cospif4_u05vsxnofma(vector float a);
vector float Sleef_cinz_cospif4_u05vsxnofma(vector float a);
vector float Sleef_finz_cospif4_u05vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cospif_u05 with the same accuracy specification.


Vectorized double precision combined sine and cosine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

Sleef_double2 Sleef_sincospid1_u05purec(double a);
Sleef_double2 Sleef_sincospid1_u05purecfma(double a);
Sleef_double2 Sleef_cinz_sincospid1_u05purec(double a);
Sleef_double2 Sleef_finz_sincospid1_u05purecfma(double a);

Sleef_vector_double_2 Sleef_sincospid2_u05(vector double a);
Sleef_vector_double_2 Sleef_sincospid2_u05vsx(vector double a);
Sleef_vector_double_2 Sleef_sincospid2_u05vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_cinz_sincospid2_u05vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_finz_sincospid2_u05vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincospi_u05 with the same accuracy specification.


Vectorized single precision combined sine and cosine function with 0.506 ULP error bound

Synopsis

#include <sleef.h>

Sleef_float2 Sleef_sincospif1_u05purec(float a);
Sleef_float2 Sleef_sincospif1_u05purecfma(float a);
Sleef_float2 Sleef_cinz_sincospif1_u05purec(float a);
Sleef_float2 Sleef_finz_sincospif1_u05purecfma(float a);

Sleef_vector_float_2 Sleef_sincospif4_u05(vector float a);
Sleef_vector_float_2 Sleef_sincospif4_u05vsx(vector float a);
Sleef_vector_float_2 Sleef_sincospif4_u05vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_cinz_sincospif4_u05vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_finz_sincospif4_u05vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincospif_u05 with the same accuracy specification.


Vectorized double precision combined sine and cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


Sleef_double2 Sleef_sincospid1_u35purec(double a);
Sleef_double2 Sleef_sincospid1_u35purecfma(double a);
Sleef_double2 Sleef_cinz_sincospid1_u35purec(double a);
Sleef_double2 Sleef_finz_sincospid1_u35purecfma(double a);

Sleef_vector_double_2 Sleef_sincospid2_u35(vector double a);
Sleef_vector_double_2 Sleef_sincospid2_u35vsx(vector double a);
Sleef_vector_double_2 Sleef_sincospid2_u35vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_cinz_sincospid2_u35vsxnofma(vector double a);
Sleef_vector_double_2 Sleef_finz_sincospid2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincospi_u35 with the same accuracy specification.


Vectorized single precision combined sine and cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


Sleef_float2 Sleef_sincospif1_u35purec(float a);
Sleef_float2 Sleef_sincospif1_u35purecfma(float a);
Sleef_float2 Sleef_cinz_sincospif1_u35purec(float a);
Sleef_float2 Sleef_finz_sincospif1_u35purecfma(float a);

Sleef_vector_float_2 Sleef_sincospif4_u35(vector float a);
Sleef_vector_float_2 Sleef_sincospif4_u35vsx(vector float a);
Sleef_vector_float_2 Sleef_sincospif4_u35vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_cinz_sincospif4_u35vsxnofma(vector float a);
Sleef_vector_float_2 Sleef_finz_sincospif4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sincospif_u35 with the same accuracy specification.


Vectorized double precision tangent function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_tand1_u10purec(double a);
double Sleef_tand1_u10purecfma(double a);
double Sleef_cinz_tand1_u10purec(double a);
double Sleef_finz_tand1_u10purecfma(double a);

vector double Sleef_tand2_u10(vector double a);
vector double Sleef_tand2_u10vsx(vector double a);
vector double Sleef_tand2_u10vsxnofma(vector double a);
vector double Sleef_cinz_tand2_u10vsxnofma(vector double a);
vector double Sleef_finz_tand2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tan_u10 with the same accuracy specification.


Vectorized single precision tangent function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_tanf1_u10purec(float a);
float Sleef_tanf1_u10purecfma(float a);
float Sleef_cinz_tanf1_u10purec(float a);
float Sleef_finz_tanf1_u10purecfma(float a);

vector float Sleef_tanf4_u10(vector float a);
vector float Sleef_tanf4_u10vsx(vector float a);
vector float Sleef_tanf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_tanf4_u10vsxnofma(vector float a);
vector float Sleef_finz_tanf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanf_u10 with the same accuracy specification.


Vectorized double precision tangent function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_tand1_u35purec(double a);
double Sleef_tand1_u35purecfma(double a);
double Sleef_cinz_tand1_u35purec(double a);
double Sleef_finz_tand1_u35purecfma(double a);

vector double Sleef_tand2_u35(vector double a);
vector double Sleef_tand2_u35vsx(vector double a);
vector double Sleef_tand2_u35vsxnofma(vector double a);
vector double Sleef_cinz_tand2_u35vsxnofma(vector double a);
vector double Sleef_finz_tand2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tan_u35 with the same accuracy specification.


Vectorized single precision tangent function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_tanf1_u35purec(float a);
float Sleef_tanf1_u35purecfma(float a);
float Sleef_cinz_tanf1_u35purec(float a);
float Sleef_finz_tanf1_u35purecfma(float a);

vector float Sleef_tanf4_u35(vector float a);
vector float Sleef_tanf4_u35vsx(vector float a);
vector float Sleef_tanf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_tanf4_u35vsxnofma(vector float a);
vector float Sleef_finz_tanf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanf_u35 with the same accuracy specification.

Power, exponential, and logarithmic function

Vectorized double precision power function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_powd1_u10purec(double a, double b);
double Sleef_powd1_u10purecfma(double a, double b);
double Sleef_cinz_powd1_u10purec(double a, double b);
double Sleef_finz_powd1_u10purecfma(double a, double b);

vector double Sleef_powd2_u10(vector double a, vector double b);
vector double Sleef_powd2_u10vsx(vector double a, vector double b);
vector double Sleef_powd2_u10vsxnofma(vector double a, vector double b);
vector double Sleef_cinz_powd2_u10vsxnofma(vector double a, vector double b);
vector double Sleef_finz_powd2_u10vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_pow_u10 with the same accuracy specification.


Vectorized single precision power function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_powf1_u10purec(float a, float b);
float Sleef_powf1_u10purecfma(float a, float b);
float Sleef_cinz_powf1_u10purec(float a, float b);
float Sleef_finz_powf1_u10purecfma(float a, float b);

vector float Sleef_powf4_u10(vector float a, vector float b);
vector float Sleef_powf4_u10vsx(vector float a, vector float b);
vector float Sleef_powf4_u10vsxnofma(vector float a, vector float b);
vector float Sleef_cinz_powf4_u10vsxnofma(vector float a, vector float b);
vector float Sleef_finz_powf4_u10vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_powf_u10 with the same accuracy specification.


Vectorized double precision natural logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_logd1_u10purec(double a);
double Sleef_logd1_u10purecfma(double a);
double Sleef_cinz_logd1_u10purec(double a);
double Sleef_finz_logd1_u10purecfma(double a);

vector double Sleef_logd2_u10(vector double a);
vector double Sleef_logd2_u10vsx(vector double a);
vector double Sleef_logd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_logd2_u10vsxnofma(vector double a);
vector double Sleef_finz_logd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log_u10 with the same accuracy specification.


Vectorized single precision natural logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_logf1_u10purec(float a);
float Sleef_logf1_u10purecfma(float a);
float Sleef_cinz_logf1_u10purec(float a);
float Sleef_finz_logf1_u10purecfma(float a);

vector float Sleef_logf4_u10(vector float a);
vector float Sleef_logf4_u10vsx(vector float a);
vector float Sleef_logf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_logf4_u10vsxnofma(vector float a);
vector float Sleef_finz_logf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_logf_u10 with the same accuracy specification.


Vectorized double precision natural logarithmic function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_logd1_u35purec(double a);
double Sleef_logd1_u35purecfma(double a);
double Sleef_cinz_logd1_u35purec(double a);
double Sleef_finz_logd1_u35purecfma(double a);

vector double Sleef_logd2_u35(vector double a);
vector double Sleef_logd2_u35vsx(vector double a);
vector double Sleef_logd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_logd2_u35vsxnofma(vector double a);
vector double Sleef_finz_logd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log_u35 with the same accuracy specification.


Vectorized single precision natural logarithmic function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_logf1_u35purec(float a);
float Sleef_logf1_u35purecfma(float a);
float Sleef_cinz_logf1_u35purec(float a);
float Sleef_finz_logf1_u35purecfma(float a);

vector float Sleef_logf4_u35(vector float a);
vector float Sleef_logf4_u35vsx(vector float a);
vector float Sleef_logf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_logf4_u35vsxnofma(vector float a);
vector float Sleef_finz_logf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_logf_u35 with the same accuracy specification.


Vectorized double precision base-10 logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_log10d1_u10purec(double a);
double Sleef_log10d1_u10purecfma(double a);
double Sleef_cinz_log10d1_u10purec(double a);
double Sleef_finz_log10d1_u10purecfma(double a);

vector double Sleef_log10d2_u10(vector double a);
vector double Sleef_log10d2_u10vsx(vector double a);
vector double Sleef_log10d2_u10vsxnofma(vector double a);
vector double Sleef_cinz_log10d2_u10vsxnofma(vector double a);
vector double Sleef_finz_log10d2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log10_u10 with the same accuracy specification.


Vectorized single precision base-10 logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_log10f1_u10purec(float a);
float Sleef_log10f1_u10purecfma(float a);
float Sleef_cinz_log10f1_u10purec(float a);
float Sleef_finz_log10f1_u10purecfma(float a);

vector float Sleef_log10f4_u10(vector float a);
vector float Sleef_log10f4_u10vsx(vector float a);
vector float Sleef_log10f4_u10vsxnofma(vector float a);
vector float Sleef_cinz_log10f4_u10vsxnofma(vector float a);
vector float Sleef_finz_log10f4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log10f_u10 with the same accuracy specification.


Vectorized double precision base-2 logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_log2d1_u10purec(double a);
double Sleef_log2d1_u10purecfma(double a);
double Sleef_cinz_log2d1_u10purec(double a);
double Sleef_finz_log2d1_u10purecfma(double a);

vector double Sleef_log2d2_u10(vector double a);
vector double Sleef_log2d2_u10vsx(vector double a);
vector double Sleef_log2d2_u10vsxnofma(vector double a);
vector double Sleef_cinz_log2d2_u10vsxnofma(vector double a);
vector double Sleef_finz_log2d2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log2_u10 with the same accuracy specification.


Vectorized single precision base-2 logarithmic function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_log2f1_u10purec(float a);
float Sleef_log2f1_u10purecfma(float a);
float Sleef_cinz_log2f1_u10purec(float a);
float Sleef_finz_log2f1_u10purecfma(float a);

vector float Sleef_log2f4_u10(vector float a);
vector float Sleef_log2f4_u10vsx(vector float a);
vector float Sleef_log2f4_u10vsxnofma(vector float a);
vector float Sleef_cinz_log2f4_u10vsxnofma(vector float a);
vector float Sleef_finz_log2f4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log2f_u10 with the same accuracy specification.


Vectorized double precision logarithm of one plus argument with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_log1pd1_u10purec(double a);
double Sleef_log1pd1_u10purecfma(double a);
double Sleef_cinz_log1pd1_u10purec(double a);
double Sleef_finz_log1pd1_u10purecfma(double a);

vector double Sleef_log1pd2_u10(vector double a);
vector double Sleef_log1pd2_u10vsx(vector double a);
vector double Sleef_log1pd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_log1pd2_u10vsxnofma(vector double a);
vector double Sleef_finz_log1pd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log1p_u10 with the same accuracy specification.


Vectorized single precision logarithm of one plus argument with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_log1pf1_u10purec(float a);
float Sleef_log1pf1_u10purecfma(float a);
float Sleef_cinz_log1pf1_u10purec(float a);
float Sleef_finz_log1pf1_u10purecfma(float a);

vector float Sleef_log1pf4_u10(vector float a);
vector float Sleef_log1pf4_u10vsx(vector float a);
vector float Sleef_log1pf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_log1pf4_u10vsxnofma(vector float a);
vector float Sleef_finz_log1pf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_log1pf_u10 with the same accuracy specification.


Vectorized double precision base-e exponential function function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_expd1_u10purec(double a);
double Sleef_expd1_u10purecfma(double a);
double Sleef_cinz_expd1_u10purec(double a);
double Sleef_finz_expd1_u10purecfma(double a);

vector double Sleef_expd2_u10(vector double a);
vector double Sleef_expd2_u10vsx(vector double a);
vector double Sleef_expd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_expd2_u10vsxnofma(vector double a);
vector double Sleef_finz_expd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_exp_u10 with the same accuracy specification.


Vectorized single precision base-e exponential function function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_expf1_u10purec(float a);
float Sleef_expf1_u10purecfma(float a);
float Sleef_cinz_expf1_u10purec(float a);
float Sleef_finz_expf1_u10purecfma(float a);

vector float Sleef_expf4_u10(vector float a);
vector float Sleef_expf4_u10vsx(vector float a);
vector float Sleef_expf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_expf4_u10vsxnofma(vector float a);
vector float Sleef_finz_expf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_expf_u10 with the same accuracy specification.


Vectorized double precision base-2 exponential function function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_exp2d1_u10purec(double a);
double Sleef_exp2d1_u10purecfma(double a);
double Sleef_cinz_exp2d1_u10purec(double a);
double Sleef_finz_exp2d1_u10purecfma(double a);

vector double Sleef_exp2d2_u10(vector double a);
vector double Sleef_exp2d2_u10vsx(vector double a);
vector double Sleef_exp2d2_u10vsxnofma(vector double a);
vector double Sleef_cinz_exp2d2_u10vsxnofma(vector double a);
vector double Sleef_finz_exp2d2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_exp2_u10 with the same accuracy specification.


Vectorized single precision base-2 exponential function function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_exp2f1_u10purec(float a);
float Sleef_exp2f1_u10purecfma(float a);
float Sleef_cinz_exp2f1_u10purec(float a);
float Sleef_finz_exp2f1_u10purecfma(float a);

vector float Sleef_exp2f4_u10(vector float a);
vector float Sleef_exp2f4_u10vsx(vector float a);
vector float Sleef_exp2f4_u10vsxnofma(vector float a);
vector float Sleef_cinz_exp2f4_u10vsxnofma(vector float a);
vector float Sleef_finz_exp2f4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_exp2f_u10 with the same accuracy specification.


Vectorized double precision base-10 exponential function function with 1.09 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_exp10d1_u10purec(double a);
double Sleef_exp10d1_u10purecfma(double a);
double Sleef_cinz_exp10d1_u10purec(double a);
double Sleef_finz_exp10d1_u10purecfma(double a);

vector double Sleef_exp10d2_u10(vector double a);
vector double Sleef_exp10d2_u10vsx(vector double a);
vector double Sleef_exp10d2_u10vsxnofma(vector double a);
vector double Sleef_cinz_exp10d2_u10vsxnofma(vector double a);
vector double Sleef_finz_exp10d2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_exp10_u10 with the same accuracy specification.


Vectorized single precision base-10 exponential function function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_exp10f1_u10purec(float a);
float Sleef_exp10f1_u10purecfma(float a);
float Sleef_cinz_exp10f1_u10purec(float a);
float Sleef_finz_exp10f1_u10purecfma(float a);

vector float Sleef_exp10f4_u10(vector float a);
vector float Sleef_exp10f4_u10vsx(vector float a);
vector float Sleef_exp10f4_u10vsxnofma(vector float a);
vector float Sleef_cinz_exp10f4_u10vsxnofma(vector float a);
vector float Sleef_finz_exp10f4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_exp10f_u10 with the same accuracy specification.


Vectorized double precision base-e exponential function minus 1 with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_expm1d1_u10purec(double a);
double Sleef_expm1d1_u10purecfma(double a);
double Sleef_cinz_expm1d1_u10purec(double a);
double Sleef_finz_expm1d1_u10purecfma(double a);

vector double Sleef_expm1d2_u10(vector double a);
vector double Sleef_expm1d2_u10vsx(vector double a);
vector double Sleef_expm1d2_u10vsxnofma(vector double a);
vector double Sleef_cinz_expm1d2_u10vsxnofma(vector double a);
vector double Sleef_finz_expm1d2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_expm1_u10 with the same accuracy specification.


Vectorized single precision base-e exponential function minus 1 with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_expm1f1_u10purec(float a);
float Sleef_expm1f1_u10purecfma(float a);
float Sleef_cinz_expm1f1_u10purec(float a);
float Sleef_finz_expm1f1_u10purecfma(float a);

vector float Sleef_expm1f4_u10(vector float a);
vector float Sleef_expm1f4_u10vsx(vector float a);
vector float Sleef_expm1f4_u10vsxnofma(vector float a);
vector float Sleef_cinz_expm1f4_u10vsxnofma(vector float a);
vector float Sleef_finz_expm1f4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_expm1f_u10 with the same accuracy specification.


Vectorized double precision square root function with 0.5001 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_sqrtd1_u05purec(double a);
double Sleef_sqrtd1_u05purecfma(double a);
double Sleef_cinz_sqrtd1_u05purec(double a);
double Sleef_finz_sqrtd1_u05purecfma(double a);

vector double Sleef_sqrtd2_u05(vector double a);
vector double Sleef_sqrtd2_u05vsx(vector double a);
vector double Sleef_sqrtd2_u05vsxnofma(vector double a);
vector double Sleef_cinz_sqrtd2_u05vsxnofma(vector double a);
vector double Sleef_finz_sqrtd2_u05vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sqrt_u05 with the same accuracy specification.


Vectorized single precision square root function with 0.5001 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_sqrtf1_u05purec(float a);
float Sleef_sqrtf1_u05purecfma(float a);
float Sleef_cinz_sqrtf1_u05purec(float a);
float Sleef_finz_sqrtf1_u05purecfma(float a);

vector float Sleef_sqrtf4_u05(vector float a);
vector float Sleef_sqrtf4_u05vsx(vector float a);
vector float Sleef_sqrtf4_u05vsxnofma(vector float a);
vector float Sleef_cinz_sqrtf4_u05vsxnofma(vector float a);
vector float Sleef_finz_sqrtf4_u05vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sqrtf_u05 with the same accuracy specification.


Vectorized double precision square root function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_sqrtd1_u35purec(double a);
double Sleef_sqrtd1_u35purecfma(double a);
double Sleef_cinz_sqrtd1_u35purec(double a);
double Sleef_finz_sqrtd1_u35purecfma(double a);

vector double Sleef_sqrtd2_u35(vector double a);
vector double Sleef_sqrtd2_u35vsx(vector double a);
vector double Sleef_sqrtd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_sqrtd2_u35vsxnofma(vector double a);
vector double Sleef_finz_sqrtd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sqrt_u35 with the same accuracy specification.


Vectorized single precision square root function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_sqrtf1_u35purec(float a);
float Sleef_sqrtf1_u35purecfma(float a);
float Sleef_cinz_sqrtf1_u35purec(float a);
float Sleef_finz_sqrtf1_u35purecfma(float a);

vector float Sleef_sqrtf4_u35(vector float a);
vector float Sleef_sqrtf4_u35vsx(vector float a);
vector float Sleef_sqrtf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_sqrtf4_u35vsxnofma(vector float a);
vector float Sleef_finz_sqrtf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sqrtf_u35 with the same accuracy specification.


Vectorized double precision cubic root function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_cbrtd1_u10purec(double a);
double Sleef_cbrtd1_u10purecfma(double a);
double Sleef_cinz_cbrtd1_u10purec(double a);
double Sleef_finz_cbrtd1_u10purecfma(double a);

vector double Sleef_cbrtd2_u10(vector double a);
vector double Sleef_cbrtd2_u10vsx(vector double a);
vector double Sleef_cbrtd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_cbrtd2_u10vsxnofma(vector double a);
vector double Sleef_finz_cbrtd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cbrt_u10 with the same accuracy specification.


Vectorized single precision cubic root function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_cbrtf1_u10purec(float a);
float Sleef_cbrtf1_u10purecfma(float a);
float Sleef_cinz_cbrtf1_u10purec(float a);
float Sleef_finz_cbrtf1_u10purecfma(float a);

vector float Sleef_cbrtf4_u10(vector float a);
vector float Sleef_cbrtf4_u10vsx(vector float a);
vector float Sleef_cbrtf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_cbrtf4_u10vsxnofma(vector float a);
vector float Sleef_finz_cbrtf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cbrtf_u10 with the same accuracy specification.


Vectorized double precision cubic root function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_cbrtd1_u35purec(double a);
double Sleef_cbrtd1_u35purecfma(double a);
double Sleef_cinz_cbrtd1_u35purec(double a);
double Sleef_finz_cbrtd1_u35purecfma(double a);

vector double Sleef_cbrtd2_u35(vector double a);
vector double Sleef_cbrtd2_u35vsx(vector double a);
vector double Sleef_cbrtd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_cbrtd2_u35vsxnofma(vector double a);
vector double Sleef_finz_cbrtd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cbrt_u35 with the same accuracy specification.


Vectorized single precision cubic root function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_cbrtf1_u35purec(float a);
float Sleef_cbrtf1_u35purecfma(float a);
float Sleef_cinz_cbrtf1_u35purec(float a);
float Sleef_finz_cbrtf1_u35purecfma(float a);

vector float Sleef_cbrtf4_u35(vector float a);
vector float Sleef_cbrtf4_u35vsx(vector float a);
vector float Sleef_cbrtf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_cbrtf4_u35vsxnofma(vector float a);
vector float Sleef_finz_cbrtf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cbrtf_u35 with the same accuracy specification.


Vectorized double precision 2D Euclidian distance function with 0.5 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_hypotd1_u05purec(double a, double b);
double Sleef_hypotd1_u05purecfma(double a, double b);
double Sleef_cinz_hypotd1_u05purec(double a, double b);
double Sleef_finz_hypotd1_u05purecfma(double a, double b);

vector double Sleef_hypotd2_u05(vector double a, vector double b);
vector double Sleef_hypotd2_u05vsx(vector double a, vector double b);
vector double Sleef_hypotd2_u05vsxnofma(vector double a, vector double b);
vector double Sleef_cinz_hypotd2_u05vsxnofma(vector double a, vector double b);
vector double Sleef_finz_hypotd2_u05vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_hypot_u05 with the same accuracy specification.


Vectorized single precision 2D Euclidian distance function with 0.5 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_hypotf1_u05purec(float a, float b);
float Sleef_hypotf1_u05purecfma(float a, float b);
float Sleef_cinz_hypotf1_u05purec(float a, float b);
float Sleef_finz_hypotf1_u05purecfma(float a, float b);

vector float Sleef_hypotf4_u05(vector float a, vector float b);
vector float Sleef_hypotf4_u05vsx(vector float a, vector float b);
vector float Sleef_hypotf4_u05vsxnofma(vector float a, vector float b);
vector float Sleef_cinz_hypotf4_u05vsxnofma(vector float a, vector float b);
vector float Sleef_finz_hypotf4_u05vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_hypotf_u05 with the same accuracy specification.


Vectorized double precision 2D Euclidian distance function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_hypotd1_u35purec(double a, double b);
double Sleef_hypotd1_u35purecfma(double a, double b);
double Sleef_cinz_hypotd1_u35purec(double a, double b);
double Sleef_finz_hypotd1_u35purecfma(double a, double b);

vector double Sleef_hypotd2_u35(vector double a, vector double b);
vector double Sleef_hypotd2_u35vsx(vector double a, vector double b);
vector double Sleef_hypotd2_u35vsxnofma(vector double a, vector double b);
vector double Sleef_cinz_hypotd2_u35vsxnofma(vector double a, vector double b);
vector double Sleef_finz_hypotd2_u35vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_hypot_u35 with the same accuracy specification.


Vectorized single precision 2D Euclidian distance function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_hypotf1_u35purec(float a, float b);
float Sleef_hypotf1_u35purecfma(float a, float b);
float Sleef_cinz_hypotf1_u35purec(float a, float b);
float Sleef_finz_hypotf1_u35purecfma(float a, float b);

vector float Sleef_hypotf4_u35(vector float a, vector float b);
vector float Sleef_hypotf4_u35vsx(vector float a, vector float b);
vector float Sleef_hypotf4_u35vsxnofma(vector float a, vector float b);
vector float Sleef_cinz_hypotf4_u35vsxnofma(vector float a, vector float b);
vector float Sleef_finz_hypotf4_u35vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_hypotf_u35 with the same accuracy specification.

Inverse Trigonometric Functions

Vectorized double precision arc sine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_asind1_u10purec(double a);
double Sleef_asind1_u10purecfma(double a);
double Sleef_cinz_asind1_u10purec(double a);
double Sleef_finz_asind1_u10purecfma(double a);

vector double Sleef_asind2_u10(vector double a);
vector double Sleef_asind2_u10vsx(vector double a);
vector double Sleef_asind2_u10vsxnofma(vector double a);
vector double Sleef_cinz_asind2_u10vsxnofma(vector double a);
vector double Sleef_finz_asind2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asin_u10 with the same accuracy specification.


Vectorized single precision arc sine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_asinf1_u10purec(float a);
float Sleef_asinf1_u10purecfma(float a);
float Sleef_cinz_asinf1_u10purec(float a);
float Sleef_finz_asinf1_u10purecfma(float a);

vector float Sleef_asinf4_u10(vector float a);
vector float Sleef_asinf4_u10vsx(vector float a);
vector float Sleef_asinf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_asinf4_u10vsxnofma(vector float a);
vector float Sleef_finz_asinf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asinf_u10 with the same accuracy specification.


Vectorized double precision arc sine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_asind1_u35purec(double a);
double Sleef_asind1_u35purecfma(double a);
double Sleef_cinz_asind1_u35purec(double a);
double Sleef_finz_asind1_u35purecfma(double a);

vector double Sleef_asind2_u35(vector double a);
vector double Sleef_asind2_u35vsx(vector double a);
vector double Sleef_asind2_u35vsxnofma(vector double a);
vector double Sleef_cinz_asind2_u35vsxnofma(vector double a);
vector double Sleef_finz_asind2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asin_u35 with the same accuracy specification.


Vectorized single precision arc sine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_asinf1_u35purec(float a);
float Sleef_asinf1_u35purecfma(float a);
float Sleef_cinz_asinf1_u35purec(float a);
float Sleef_finz_asinf1_u35purecfma(float a);

vector float Sleef_asinf4_u35(vector float a);
vector float Sleef_asinf4_u35vsx(vector float a);
vector float Sleef_asinf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_asinf4_u35vsxnofma(vector float a);
vector float Sleef_finz_asinf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asinf_u35 with the same accuracy specification.


Vectorized double precision arc cosine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_acosd1_u10purec(double a);
double Sleef_acosd1_u10purecfma(double a);
double Sleef_cinz_acosd1_u10purec(double a);
double Sleef_finz_acosd1_u10purecfma(double a);

vector double Sleef_acosd2_u10(vector double a);
vector double Sleef_acosd2_u10vsx(vector double a);
vector double Sleef_acosd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_acosd2_u10vsxnofma(vector double a);
vector double Sleef_finz_acosd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acos_u10 with the same accuracy specification.


Vectorized single precision arc cosine function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_acosf1_u10purec(float a);
float Sleef_acosf1_u10purecfma(float a);
float Sleef_cinz_acosf1_u10purec(float a);
float Sleef_finz_acosf1_u10purecfma(float a);

vector float Sleef_acosf4_u10(vector float a);
vector float Sleef_acosf4_u10vsx(vector float a);
vector float Sleef_acosf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_acosf4_u10vsxnofma(vector float a);
vector float Sleef_finz_acosf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acosf_u10 with the same accuracy specification.


Vectorized double precision arc cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_acosd1_u35purec(double a);
double Sleef_acosd1_u35purecfma(double a);
double Sleef_cinz_acosd1_u35purec(double a);
double Sleef_finz_acosd1_u35purecfma(double a);

vector double Sleef_acosd2_u35(vector double a);
vector double Sleef_acosd2_u35vsx(vector double a);
vector double Sleef_acosd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_acosd2_u35vsxnofma(vector double a);
vector double Sleef_finz_acosd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acos_u35 with the same accuracy specification.


Vectorized single precision arc cosine function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_acosf1_u35purec(float a);
float Sleef_acosf1_u35purecfma(float a);
float Sleef_cinz_acosf1_u35purec(float a);
float Sleef_finz_acosf1_u35purecfma(float a);

vector float Sleef_acosf4_u35(vector float a);
vector float Sleef_acosf4_u35vsx(vector float a);
vector float Sleef_acosf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_acosf4_u35vsxnofma(vector float a);
vector float Sleef_finz_acosf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acosf_u35 with the same accuracy specification.


Vectorized double precision arc tangent function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_atand1_u10purec(double a);
double Sleef_atand1_u10purecfma(double a);
double Sleef_cinz_atand1_u10purec(double a);
double Sleef_finz_atand1_u10purecfma(double a);

vector double Sleef_atand2_u10(vector double a);
vector double Sleef_atand2_u10vsx(vector double a);
vector double Sleef_atand2_u10vsxnofma(vector double a);
vector double Sleef_cinz_atand2_u10vsxnofma(vector double a);
vector double Sleef_finz_atand2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan_u10 with the same accuracy specification.


Vectorized single precision arc tangent function with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_atanf1_u10purec(float a);
float Sleef_atanf1_u10purecfma(float a);
float Sleef_cinz_atanf1_u10purec(float a);
float Sleef_finz_atanf1_u10purecfma(float a);

vector float Sleef_atanf4_u10(vector float a);
vector float Sleef_atanf4_u10vsx(vector float a);
vector float Sleef_atanf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_atanf4_u10vsxnofma(vector float a);
vector float Sleef_finz_atanf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atanf_u10 with the same accuracy specification.


Vectorized double precision arc tangent function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_atand1_u35purec(double a);
double Sleef_atand1_u35purecfma(double a);
double Sleef_cinz_atand1_u35purec(double a);
double Sleef_finz_atand1_u35purecfma(double a);

vector double Sleef_atand2_u35(vector double a);
vector double Sleef_atand2_u35vsx(vector double a);
vector double Sleef_atand2_u35vsxnofma(vector double a);
vector double Sleef_cinz_atand2_u35vsxnofma(vector double a);
vector double Sleef_finz_atand2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan_u35 with the same accuracy specification.


Vectorized single precision arc tangent function with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_atanf1_u35purec(float a);
float Sleef_atanf1_u35purecfma(float a);
float Sleef_cinz_atanf1_u35purec(float a);
float Sleef_finz_atanf1_u35purecfma(float a);

vector float Sleef_atanf4_u35(vector float a);
vector float Sleef_atanf4_u35vsx(vector float a);
vector float Sleef_atanf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_atanf4_u35vsxnofma(vector float a);
vector float Sleef_finz_atanf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atanf_u35 with the same accuracy specification.


Vectorized double precision arc tangent function of two variables with 1.0 ULP error bound

Synopsis

#include <sleef.h>

double Sleef_atan2d1_u10purec(double a, double b);
double Sleef_atan2d1_u10purecfma(double a, double b);
double Sleef_cinz_atan2d1_u10purec(double a, double b);
double Sleef_finz_atan2d1_u10purecfma(double a, double b);

vector double Sleef_atan2d2_u10(vector double a, vector double b);
vector double Sleef_atan2d2_u10vsx(vector double a, vector double b);
vector double Sleef_atan2d2_u10vsxnofma(vector double a, vector double b);
vector double Sleef_cinz_atan2d2_u10vsxnofma(vector double a, vector double b);
vector double Sleef_finz_atan2d2_u10vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan2_u10 with the same accuracy specification.


Vectorized single precision arc tangent function of two variables with 1.0 ULP error bound

Synopsis

#include <sleef.h>

float Sleef_atan2f1_u10purec(float a, float b);
float Sleef_atan2f1_u10purecfma(float a, float b);
float Sleef_cinz_atan2f1_u10purec(float a, float b);
float Sleef_finz_atan2f1_u10purecfma(float a, float b);

vector float Sleef_atan2f4_u10(vector float a, vector float b);
vector float Sleef_atan2f4_u10vsx(vector float a, vector float b);
vector float Sleef_atan2f4_u10vsxnofma(vector float a, vector float b);
vector float Sleef_cinz_atan2f4_u10vsxnofma(vector float a, vector float b);
vector float Sleef_finz_atan2f4_u10vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan2f_u10 with the same accuracy specification.


Vectorized double precision arc tangent function of two variables with 3.5 ULP error bound

Synopsis

#include <sleef.h>


double Sleef_atan2d1_u35purec(double a, double b);
double Sleef_atan2d1_u35purecfma(double a, double b);
double Sleef_cinz_atan2d1_u35purec(double a, double b);
double Sleef_finz_atan2d1_u35purecfma(double a, double b);

vector double Sleef_atan2d2_u35(vector double a, vector double b);
vector double Sleef_atan2d2_u35vsx(vector double a, vector double b);
vector double Sleef_atan2d2_u35vsxnofma(vector double a, vector double b);
vector double Sleef_cinz_atan2d2_u35vsxnofma(vector double a, vector double b);
vector double Sleef_finz_atan2d2_u35vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan2_u35 with the same accuracy specification.


Vectorized single precision arc tangent function of two variables with 3.5 ULP error bound

Synopsis

#include <sleef.h>


float Sleef_atan2f1_u35purec(float a, float b);
float Sleef_atan2f1_u35purecfma(float a, float b);
float Sleef_cinz_atan2f1_u35purec(float a, float b);
float Sleef_finz_atan2f1_u35purecfma(float a, float b);

vector float Sleef_atan2f4_u35(vector float a, vector float b);
vector float Sleef_atan2f4_u35vsx(vector float a, vector float b);
vector float Sleef_atan2f4_u35vsxnofma(vector float a, vector float b);
vector float Sleef_cinz_atan2f4_u35vsxnofma(vector float a, vector float b);
vector float Sleef_finz_atan2f4_u35vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atan2f_u35 with the same accuracy specification.

Hyperbolic function and inverse hyperbolic function

Vectorized double precision hyperbolic sine function

Synopsis

#include <sleef.h>

double Sleef_sinhd1_u10purec(double a);
double Sleef_sinhd1_u10purecfma(double a);
double Sleef_cinz_sinhd1_u10purec(double a);
double Sleef_finz_sinhd1_u10purecfma(double a);

vector double Sleef_sinhd2_u10(vector double a);
vector double Sleef_sinhd2_u10vsx(vector double a);
vector double Sleef_sinhd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_sinhd2_u10vsxnofma(vector double a);
vector double Sleef_finz_sinhd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinh_u10 with the same accuracy specification.


Vectorized single precision hyperbolic sine function

Synopsis

#include <sleef.h>

float Sleef_sinhf1_u10purec(float a);
float Sleef_sinhf1_u10purecfma(float a);
float Sleef_cinz_sinhf1_u10purec(float a);
float Sleef_finz_sinhf1_u10purecfma(float a);

vector float Sleef_sinhf4_u10(vector float a);
vector float Sleef_sinhf4_u10vsx(vector float a);
vector float Sleef_sinhf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_sinhf4_u10vsxnofma(vector float a);
vector float Sleef_finz_sinhf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinhf_u10 with the same accuracy specification.


Vectorized double precision hyperbolic sine function

Synopsis

#include <sleef.h>


double Sleef_sinhd1_u35purec(double a);
double Sleef_sinhd1_u35purecfma(double a);
double Sleef_cinz_sinhd1_u35purec(double a);
double Sleef_finz_sinhd1_u35purecfma(double a);

vector double Sleef_sinhd2_u35(vector double a);
vector double Sleef_sinhd2_u35vsx(vector double a);
vector double Sleef_sinhd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_sinhd2_u35vsxnofma(vector double a);
vector double Sleef_finz_sinhd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinh_u35 with the same accuracy specification.


Vectorized single precision hyperbolic sine function

Synopsis

#include <sleef.h>


float Sleef_sinhf1_u35purec(float a);
float Sleef_sinhf1_u35purecfma(float a);
float Sleef_cinz_sinhf1_u35purec(float a);
float Sleef_finz_sinhf1_u35purecfma(float a);

vector float Sleef_sinhf4_u35(vector float a);
vector float Sleef_sinhf4_u35vsx(vector float a);
vector float Sleef_sinhf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_sinhf4_u35vsxnofma(vector float a);
vector float Sleef_finz_sinhf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_sinhf_u35 with the same accuracy specification.


Vectorized double precision hyperbolic cosine function

Synopsis

#include <sleef.h>

double Sleef_coshd1_u10purec(double a);
double Sleef_coshd1_u10purecfma(double a);
double Sleef_cinz_coshd1_u10purec(double a);
double Sleef_finz_coshd1_u10purecfma(double a);

vector double Sleef_coshd2_u10(vector double a);
vector double Sleef_coshd2_u10vsx(vector double a);
vector double Sleef_coshd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_coshd2_u10vsxnofma(vector double a);
vector double Sleef_finz_coshd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cosh_u10 with the same accuracy specification.


Vectorized single precision hyperbolic cosine function

Synopsis

#include <sleef.h>

float Sleef_coshf1_u10purec(float a);
float Sleef_coshf1_u10purecfma(float a);
float Sleef_cinz_coshf1_u10purec(float a);
float Sleef_finz_coshf1_u10purecfma(float a);

vector float Sleef_coshf4_u10(vector float a);
vector float Sleef_coshf4_u10vsx(vector float a);
vector float Sleef_coshf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_coshf4_u10vsxnofma(vector float a);
vector float Sleef_finz_coshf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_coshf_u10 with the same accuracy specification.


Vectorized double precision hyperbolic cosine function

Synopsis

#include <sleef.h>


double Sleef_coshd1_u35purec(double a);
double Sleef_coshd1_u35purecfma(double a);
double Sleef_cinz_coshd1_u35purec(double a);
double Sleef_finz_coshd1_u35purecfma(double a);

vector double Sleef_coshd2_u35(vector double a);
vector double Sleef_coshd2_u35vsx(vector double a);
vector double Sleef_coshd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_coshd2_u35vsxnofma(vector double a);
vector double Sleef_finz_coshd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_cosh_u35 with the same accuracy specification.


Vectorized single precision hyperbolic cosine function

Synopsis

#include <sleef.h>


float Sleef_coshf1_u35purec(float a);
float Sleef_coshf1_u35purecfma(float a);
float Sleef_cinz_coshf1_u35purec(float a);
float Sleef_finz_coshf1_u35purecfma(float a);

vector float Sleef_coshf4_u35(vector float a);
vector float Sleef_coshf4_u35vsx(vector float a);
vector float Sleef_coshf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_coshf4_u35vsxnofma(vector float a);
vector float Sleef_finz_coshf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_coshf_u35 with the same accuracy specification.


Vectorized double precision hyperbolic tangent function

Synopsis

#include <sleef.h>

double Sleef_tanhd1_u10purec(double a);
double Sleef_tanhd1_u10purecfma(double a);
double Sleef_cinz_tanhd1_u10purec(double a);
double Sleef_finz_tanhd1_u10purecfma(double a);

vector double Sleef_tanhd2_u10(vector double a);
vector double Sleef_tanhd2_u10vsx(vector double a);
vector double Sleef_tanhd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_tanhd2_u10vsxnofma(vector double a);
vector double Sleef_finz_tanhd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanh_u10 with the same accuracy specification.


Vectorized single precision hyperbolic tangent function

Synopsis

#include <sleef.h>

float Sleef_tanhf1_u10purec(float a);
float Sleef_tanhf1_u10purecfma(float a);
float Sleef_cinz_tanhf1_u10purec(float a);
float Sleef_finz_tanhf1_u10purecfma(float a);

vector float Sleef_tanhf4_u10(vector float a);
vector float Sleef_tanhf4_u10vsx(vector float a);
vector float Sleef_tanhf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_tanhf4_u10vsxnofma(vector float a);
vector float Sleef_finz_tanhf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanhf_u10 with the same accuracy specification.


Vectorized double precision hyperbolic tangent function

Synopsis

#include <sleef.h>


double Sleef_tanhd1_u35purec(double a);
double Sleef_tanhd1_u35purecfma(double a);
double Sleef_cinz_tanhd1_u35purec(double a);
double Sleef_finz_tanhd1_u35purecfma(double a);

vector double Sleef_tanhd2_u35(vector double a);
vector double Sleef_tanhd2_u35vsx(vector double a);
vector double Sleef_tanhd2_u35vsxnofma(vector double a);
vector double Sleef_cinz_tanhd2_u35vsxnofma(vector double a);
vector double Sleef_finz_tanhd2_u35vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanh_u35 with the same accuracy specification.


Vectorized single precision hyperbolic tangent function

Synopsis

#include <sleef.h>


float Sleef_tanhf1_u35purec(float a);
float Sleef_tanhf1_u35purecfma(float a);
float Sleef_cinz_tanhf1_u35purec(float a);
float Sleef_finz_tanhf1_u35purecfma(float a);

vector float Sleef_tanhf4_u35(vector float a);
vector float Sleef_tanhf4_u35vsx(vector float a);
vector float Sleef_tanhf4_u35vsxnofma(vector float a);
vector float Sleef_cinz_tanhf4_u35vsxnofma(vector float a);
vector float Sleef_finz_tanhf4_u35vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tanhf_u35 with the same accuracy specification.


Vectorized double precision inverse hyperbolic sine function

Synopsis

#include <sleef.h>

double Sleef_asinhd1_u10purec(double a);
double Sleef_asinhd1_u10purecfma(double a);
double Sleef_cinz_asinhd1_u10purec(double a);
double Sleef_finz_asinhd1_u10purecfma(double a);

vector double Sleef_asinhd2_u10(vector double a);
vector double Sleef_asinhd2_u10vsx(vector double a);
vector double Sleef_asinhd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_asinhd2_u10vsxnofma(vector double a);
vector double Sleef_finz_asinhd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asinh_u10 with the same accuracy specification.


Vectorized single precision inverse hyperbolic sine function

Synopsis

#include <sleef.h>

float Sleef_asinhf1_u10purec(float a);
float Sleef_asinhf1_u10purecfma(float a);
float Sleef_cinz_asinhf1_u10purec(float a);
float Sleef_finz_asinhf1_u10purecfma(float a);

vector float Sleef_asinhf4_u10(vector float a);
vector float Sleef_asinhf4_u10vsx(vector float a);
vector float Sleef_asinhf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_asinhf4_u10vsxnofma(vector float a);
vector float Sleef_finz_asinhf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_asinhf_u10 with the same accuracy specification.


Vectorized double precision inverse hyperbolic cosine function

Synopsis

#include <sleef.h>

double Sleef_acoshd1_u10purec(double a);
double Sleef_acoshd1_u10purecfma(double a);
double Sleef_cinz_acoshd1_u10purec(double a);
double Sleef_finz_acoshd1_u10purecfma(double a);

vector double Sleef_acoshd2_u10(vector double a);
vector double Sleef_acoshd2_u10vsx(vector double a);
vector double Sleef_acoshd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_acoshd2_u10vsxnofma(vector double a);
vector double Sleef_finz_acoshd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acosh_u10 with the same accuracy specification.


Vectorized single precision inverse hyperbolic cosine function

Synopsis

#include <sleef.h>

float Sleef_acoshf1_u10purec(float a);
float Sleef_acoshf1_u10purecfma(float a);
float Sleef_cinz_acoshf1_u10purec(float a);
float Sleef_finz_acoshf1_u10purecfma(float a);

vector float Sleef_acoshf4_u10(vector float a);
vector float Sleef_acoshf4_u10vsx(vector float a);
vector float Sleef_acoshf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_acoshf4_u10vsxnofma(vector float a);
vector float Sleef_finz_acoshf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_acoshf_u10 with the same accuracy specification.


Vectorized double precision inverse hyperbolic tangent function

Synopsis

#include <sleef.h>

double Sleef_atanhd1_u10purec(double a);
double Sleef_atanhd1_u10purecfma(double a);
double Sleef_cinz_atanhd1_u10purec(double a);
double Sleef_finz_atanhd1_u10purecfma(double a);

vector double Sleef_atanhd2_u10(vector double a);
vector double Sleef_atanhd2_u10vsx(vector double a);
vector double Sleef_atanhd2_u10vsxnofma(vector double a);
vector double Sleef_cinz_atanhd2_u10vsxnofma(vector double a);
vector double Sleef_finz_atanhd2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atanh_u10 with the same accuracy specification.


Vectorized single precision inverse hyperbolic tangent function

Synopsis

#include <sleef.h>

float Sleef_atanhf1_u10purec(float a);
float Sleef_atanhf1_u10purecfma(float a);
float Sleef_cinz_atanhf1_u10purec(float a);
float Sleef_finz_atanhf1_u10purecfma(float a);

vector float Sleef_atanhf4_u10(vector float a);
vector float Sleef_atanhf4_u10vsx(vector float a);
vector float Sleef_atanhf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_atanhf4_u10vsxnofma(vector float a);
vector float Sleef_finz_atanhf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_atanhf_u10 with the same accuracy specification.

Error and gamma function

Vectorized double precision error function

Synopsis

#include <sleef.h>

float Sleef_erfd1_u10purec(float a);
float Sleef_erfd1_u10purecfma(float a);
float Sleef_cinz_erfd1_u10purec(float a);
float Sleef_finz_erfd1_u10purecfma(float a);

(SP2) Sleef_erfd2_u10((SP2) a);
(SP2) Sleef_erfd2_u10vsx((SP2) a);
(SP2) Sleef_erfd2_u10vsxnofma((SP2) a);
(SP2) Sleef_cinz_erfd2_u10vsxnofma((SP2) a);
(SP2) Sleef_finz_erfd2_u10vsx((SP2) a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_erf_u10 with the same accuracy specification.


Vectorized single precision error function

Synopsis

#include <sleef.h>

float Sleef_erff1_u10purec(float a);
float Sleef_erff1_u10purecfma(float a);
float Sleef_cinz_erff1_u10purec(float a);
float Sleef_finz_erff1_u10purecfma(float a);

vector float Sleef_erff4_u10(vector float a);
vector float Sleef_erff4_u10vsx(vector float a);
vector float Sleef_erff4_u10vsxnofma(vector float a);
vector float Sleef_cinz_erff4_u10vsxnofma(vector float a);
vector float Sleef_finz_erff4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_erff_u10 with the same accuracy specification.


Vectorized double precision complementary error function

Synopsis

#include <sleef.h>

double Sleef_erfcd1_u15purec(double a);
double Sleef_erfcd1_u15purecfma(double a);
double Sleef_cinz_erfcd1_u15purec(double a);
double Sleef_finz_erfcd1_u15purecfma(double a);

vector double Sleef_erfcd2_u15(vector double a);
vector double Sleef_erfcd2_u15vsx(vector double a);
vector double Sleef_erfcd2_u15vsxnofma(vector double a);
vector double Sleef_cinz_erfcd2_u15vsxnofma(vector double a);
vector double Sleef_finz_erfcd2_u15vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_erfc_u15 with the same accuracy specification.


Vectorized single precision complementary error function

Synopsis

#include <sleef.h>

float Sleef_erfcf1_u15purec(float a);
float Sleef_erfcf1_u15purecfma(float a);
float Sleef_cinz_erfcf1_u15purec(float a);
float Sleef_finz_erfcf1_u15purecfma(float a);

vector float Sleef_erfcf4_u15(vector float a);
vector float Sleef_erfcf4_u15vsx(vector float a);
vector float Sleef_erfcf4_u15vsxnofma(vector float a);
vector float Sleef_cinz_erfcf4_u15vsxnofma(vector float a);
vector float Sleef_finz_erfcf4_u15vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_erfcf_u15 with the same accuracy specification.


Vectorized double precision gamma function

Synopsis

#include <sleef.h>

double Sleef_tgammad1_u10purec(double a);
double Sleef_tgammad1_u10purecfma(double a);
double Sleef_cinz_tgammad1_u10purec(double a);
double Sleef_finz_tgammad1_u10purecfma(double a);

vector double Sleef_tgammad2_u10(vector double a);
vector double Sleef_tgammad2_u10vsx(vector double a);
vector double Sleef_tgammad2_u10vsxnofma(vector double a);
vector double Sleef_cinz_tgammad2_u10vsxnofma(vector double a);
vector double Sleef_finz_tgammad2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tgamma_u10 with the same accuracy specification.


Vectorized single precision gamma function

Synopsis

#include <sleef.h>

float Sleef_tgammaf1_u10purec(float a);
float Sleef_tgammaf1_u10purecfma(float a);
float Sleef_cinz_tgammaf1_u10purec(float a);
float Sleef_finz_tgammaf1_u10purecfma(float a);

vector float Sleef_tgammaf4_u10(vector float a);
vector float Sleef_tgammaf4_u10vsx(vector float a);
vector float Sleef_tgammaf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_tgammaf4_u10vsxnofma(vector float a);
vector float Sleef_finz_tgammaf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_tgammaf_u10 with the same accuracy specification.


Vectorized double precision log gamma function

Synopsis

#include <sleef.h>

double Sleef_lgammad1_u10purec(double a);
double Sleef_lgammad1_u10purecfma(double a);
double Sleef_cinz_lgammad1_u10purec(double a);
double Sleef_finz_lgammad1_u10purecfma(double a);

vector double Sleef_lgammad2_u10(vector double a);
vector double Sleef_lgammad2_u10vsx(vector double a);
vector double Sleef_lgammad2_u10vsxnofma(vector double a);
vector double Sleef_cinz_lgammad2_u10vsxnofma(vector double a);
vector double Sleef_finz_lgammad2_u10vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_lgamma_u10 with the same accuracy specification.


Vectorized single precision log gamma function

Synopsis

#include <sleef.h>

float Sleef_lgammaf1_u10purec(float a);
float Sleef_lgammaf1_u10purecfma(float a);
float Sleef_cinz_lgammaf1_u10purec(float a);
float Sleef_finz_lgammaf1_u10purecfma(float a);

vector float Sleef_lgammaf4_u10(vector float a);
vector float Sleef_lgammaf4_u10vsx(vector float a);
vector float Sleef_lgammaf4_u10vsxnofma(vector float a);
vector float Sleef_cinz_lgammaf4_u10vsxnofma(vector float a);
vector float Sleef_finz_lgammaf4_u10vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_lgammaf_u10 with the same accuracy specification.

Nearest integer function

Vectorized double precision function for rounding to integer towards zero

Synopsis

#include <sleef.h>

vector double Sleef_truncd2(vector double a);
vector double Sleef_truncd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_trunc with the same accuracy specification.


Vectorized single precision function for rounding to integer towards zero

Synopsis

#include <sleef.h>

vector float Sleef_truncf4(vector float a);
vector float Sleef_truncf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_truncf with the same accuracy specification.


Vectorized double precision function for rounding to integer towards negative infinity

Synopsis

#include <sleef.h>

vector double Sleef_floord2(vector double a);
vector double Sleef_floord2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_floor with the same accuracy specification.


Vectorized single precision function for rounding to integer towards negative infinity

Synopsis

#include <sleef.h>

vector float Sleef_floorf4(vector float a);
vector float Sleef_floorf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_floorf with the same accuracy specification.


Vectorized double precision function for rounding to integer towards positive infinity

Synopsis

#include <sleef.h>

vector double Sleef_ceild2(vector double a);
vector double Sleef_ceild2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_ceil with the same accuracy specification.


Vectorized single precision function for rounding to integer towards positive infinity

Synopsis

#include <sleef.h>

vector float Sleef_ceilf4(vector float a);
vector float Sleef_ceilf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_ceilf with the same accuracy specification.


Vectorized double precision function for rounding to nearest integer

Synopsis

#include <sleef.h>

vector double Sleef_roundd2(vector double a);
vector double Sleef_roundd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_round with the same accuracy specification.


Vectorized single precision function for rounding to nearest integer

Synopsis

#include <sleef.h>

vector float Sleef_roundf4(vector float a);
vector float Sleef_roundf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_roundf with the same accuracy specification.


Vectorized double precision function for rounding to nearest integer

Synopsis

#include <sleef.h>

vector double Sleef_rintd2(vector double a);
vector double Sleef_rintd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_rint with the same accuracy specification.


Vectorized single precision function for rounding to nearest integer

Synopsis

#include <sleef.h>

vector float Sleef_rintf4(vector float a);
vector float Sleef_rintf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_rintf with the same accuracy specification.

Other function

Vectorized double precision function for fused multiply-accumulation

Synopsis

#include <sleef.h>

vector double Sleef_fmad2(vector double a, vector double b, vector double c);
vector double Sleef_fmad2_vsx(vector double a, vector double b, vector double c);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fma with the same accuracy specification.


Vectorized single precision function for fused multiply-accumulation

Synopsis

#include <sleef.h>

vector float Sleef_fmaf4(vector float a, vector float b, vector float c);
vector float Sleef_fmaf4_vsx(vector float a, vector float b, vector float c);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmaf with the same accuracy specification.


Vectorized double precision FP remainder

Synopsis

#include <sleef.h>

vector double Sleef_fmodd2(vector double a, vector double b);
vector double Sleef_fmodd2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmod with the same accuracy specification.


Vectorized single precision FP remainder

Synopsis

#include <sleef.h>

vector float Sleef_fmodf4(vector float a, vector float b);
vector float Sleef_fmodf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmodf with the same accuracy specification.


Vectorized double precision function for multiplying by integral power of 2

Synopsis

#include <sleef.h>

vector double Sleef_ldexpd2(vector double a, vector int b);
vector double Sleef_ldexpd2_vsx(vector double a, vector int b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_ldexp with the same accuracy specification.


Vectorized double precision function for obtaining fractional component of an FP number

Synopsis

#include <sleef.h>

vector double Sleef_frfrexpd2(vector double a);
vector double Sleef_frfrexpd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_frfrexp with the same accuracy specification.


Vectorized single precision function for obtaining fractional component of an FP number

Synopsis

#include <sleef.h>

vector float Sleef_frfrexpf4(vector float a);
vector float Sleef_frfrexpf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_frfrexpf with the same accuracy specification.


Vectorized double precision function for obtaining integral component of an FP number

Synopsis

#include <sleef.h>

vector int Sleef_expfrexpd2(vector double a);
vector int Sleef_expfrexpd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_expfrexp with the same accuracy specification.


Vectorized double precision function for getting integer exponent

Synopsis

#include <sleef.h>

vector int Sleef_ilogbd2(vector double a);
vector int Sleef_ilogbd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_ilogb with the same accuracy specification.


Vectorized double precision signed integral and fractional values

Synopsis

#include <sleef.h>

Sleef_vector_double_2 Sleef_modfd2(vector double a);
Sleef_vector_double_2 Sleef_modfd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_modf with the same accuracy specification.


Vectorized single precision signed integral and fractional values

Synopsis

#include <sleef.h>

Sleef_vector_float_2 Sleef_modff4(vector float a);
Sleef_vector_float_2 Sleef_modff4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_modff with the same accuracy specification.


Vectorized double precision function for calculating the absolute value

Synopsis

#include <sleef.h>

vector double Sleef_fabsd2(vector double a);
vector double Sleef_fabsd2_vsx(vector double a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fabs with the same accuracy specification.


Vectorized single precision function for calculating the absolute value

Synopsis

#include <sleef.h>

vector float Sleef_fabsf4(vector float a);
vector float Sleef_fabsf4_vsx(vector float a);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fabsf with the same accuracy specification.


Vectorized double precision function for copying signs

Synopsis

#include <sleef.h>

vector double Sleef_copysignd2(vector double a, vector double b);
vector double Sleef_copysignd2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_copysign with the same accuracy specification.


Vectorized single precision function for copying signs

Synopsis

#include <sleef.h>

vector float Sleef_copysignf4(vector float a, vector float b);
vector float Sleef_copysignf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_copysignf with the same accuracy specification.


Vectorized double precision function for determining maximum of two values

Synopsis

#include <sleef.h>

vector double Sleef_fmaxd2(vector double a, vector double b);
vector double Sleef_fmaxd2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmax with the same accuracy specification.


Vectorized single precision function for determining maximum of two values

Synopsis

#include <sleef.h>

vector float Sleef_fmaxf4(vector float a, vector float b);
vector float Sleef_fmaxf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmaxf with the same accuracy specification.


Vectorized double precision function for determining minimum of two values

Synopsis

#include <sleef.h>

vector double Sleef_fmind2(vector double a, vector double b);
vector double Sleef_fmind2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fmin with the same accuracy specification.


Vectorized single precision function for determining minimum of two values

Synopsis

#include <sleef.h>

vector float Sleef_fminf4(vector float a, vector float b);
vector float Sleef_fminf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fminf with the same accuracy specification.


Vectorized double precision function to calculate positive difference of two values

Synopsis

#include <sleef.h>

vector double Sleef_fdimd2(vector double a, vector double b);
vector double Sleef_fdimd2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fdim with the same accuracy specification.


Vectorized single precision function to calculate positive difference of two values

Synopsis

#include <sleef.h>

vector float Sleef_fdimf4(vector float a, vector float b);
vector float Sleef_fdimf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_fdimf with the same accuracy specification.


Vectorized double precision function for obtaining the next representable FP value

Synopsis

#include <sleef.h>

vector double Sleef_nextafterd2(vector double a, vector double b);
vector double Sleef_nextafterd2_vsx(vector double a, vector double b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_nextafter with the same accuracy specification.


Vectorized single precision function for obtaining the next representable FP value

Synopsis

#include <sleef.h>

vector float Sleef_nextafterf4(vector float a, vector float b);
vector float Sleef_nextafterf4_vsx(vector float a, vector float b);

Link with -lsleef.

Description

This is the vectorized function of Sleef_nextafterf with the same accuracy specification.