API

crlibm

This module provides access to the correctly-rounded mathematical functions defined by the CRlibm library.

crlibm.acos_rd()

acos(x) rounded toward -inf.

crlibm.acos_rn()

acos(x) rounded to nearest.

crlibm.acos_ru()

acos(x) rounded toward +inf.

crlibm.acos_rz()

acos(x) rounded toward zero.

crlibm.acospi_rd()

acos(x)/pi rounded toward -inf.

crlibm.acospi_rn()

acos(x)/pi rounded to nearest.

crlibm.acospi_ru()

acos(x)/pi rounded toward +inf.

crlibm.acospi_rz()

acos(x)/pi rounded toward zero.

crlibm.asin_rd()

asin(x) rounded toward -inf.

crlibm.asin_rn()

asin(x) rounded to nearest.

crlibm.asin_ru()

asin(x) rounded toward +inf.

crlibm.asin_rz()

asin(x) rounded toward zero.

crlibm.asinpi_rd()

asin(x)/pi rounded toward -inf.

crlibm.asinpi_rn()

asin(x)/pi rounded to nearest.

crlibm.asinpi_ru()

asin(x)/pi rounded toward +inf.

crlibm.asinpi_rz()

asin(x)/pi rounded toward zero.

crlibm.atan_rd()

atan(x) rounded toward -inf.

crlibm.atan_rn()

atan(x) rounded to nearest.

crlibm.atan_ru()

atan(x) rounded toward +inf.

crlibm.atan_rz()

atan(x) rounded toward zero.

crlibm.atanpi_rd()

atan(x)/pi rounded toward -inf.

crlibm.atanpi_rn()

atan(x)/pi rounded to nearest.

crlibm.atanpi_ru()

atan(x)/pi rounded toward +inf.

crlibm.atanpi_rz()

atan(x)/pi rounded toward zero.

crlibm.cos_rd()

cos(x) rounded toward -inf.

crlibm.cos_rn()

cos(x) rounded to nearest.

crlibm.cos_ru()

cos(x) rounded toward +inf.

crlibm.cos_rz()

cos(x) rounded toward zero.

crlibm.cosh_rd()

cosh(x) rounded toward -inf.

crlibm.cosh_rn()

cosh(x) rounded to nearest.

crlibm.cosh_ru()

cosh(x) rounded toward +inf.

crlibm.cosh_rz()

cosh(x) rounded toward zero.

crlibm.cospi_rd()

cos(pi * x) rounded toward -inf.

crlibm.cospi_rn()

cos(pi * x) rounded to nearest.

crlibm.cospi_ru()

cos(pi * x) rounded toward +inf.

crlibm.cospi_rz()

cos(pi * x) rounded toward zero.

crlibm.exp_rd()

exp(x) rounded toward -inf.

crlibm.exp_rn()

exp(x) rounded to nearest.

crlibm.exp_ru()

exp(x) rounded toward +inf.

crlibm.exp_rz()

exp(x) rounded toward zero.

crlibm.expm1_rd()

exp(x)-1 rounded toward -inf.

crlibm.expm1_rn()

exp(x)-1 rounded to nearest.

crlibm.expm1_ru()

exp(x)-1 rounded toward +inf.

crlibm.expm1_rz()

exp(x)-1 rounded toward zero.

crlibm.log10_rd()

log(x)/log(10) rounded toward -inf.

crlibm.log10_rn()

log(x)/log(10) rounded to nearest.

crlibm.log10_ru()

log(x)/log(10) rounded toward +inf.

crlibm.log10_rz()

log(x)/log(10) rounded toward zero.

crlibm.log1p_rd()

log(1+x) rounded toward -inf.

crlibm.log1p_rn()

log(1+x) rounded to nearest.

crlibm.log1p_ru()

log(1+x) rounded toward +inf.

crlibm.log1p_rz()

log(1+x) rounded toward zero.

crlibm.log2_rd()

log(x)/log(2) rounded toward -inf.

crlibm.log2_rn()

log(x)/log(2) rounded to nearest.

crlibm.log2_ru()

log(x)/log(2) rounded toward +inf.

crlibm.log2_rz()

log(x)/log(2) rounded toward zero.

crlibm.log_rd()

log(x) rounded toward -inf.

crlibm.log_rn()

log(x) rounded to nearest.

crlibm.log_ru()

log(x) rounded toward +inf.

crlibm.log_rz()

log(x) rounded toward zero.

crlibm.sin_rd()

sin(x) rounded toward -inf.

crlibm.sin_rn()

sin(x) rounded to nearest.

crlibm.sin_ru()

sin(x) rounded toward +inf.

crlibm.sin_rz()

sin(x) rounded toward zero.

crlibm.sinh_rd()

sinh(x) rounded toward -inf.

crlibm.sinh_rn()

sinh(x) rounded to nearest.

crlibm.sinh_ru()

sinh(x) rounded toward +inf.

crlibm.sinh_rz()

sinh(x) rounded toward zero.

crlibm.sinpi_rd()

sin(pi * x) rounded toward -inf.

crlibm.sinpi_rn()

sin(pi * x) rounded to nearest.

crlibm.sinpi_ru()

sin(pi * x) rounded toward +inf.

crlibm.sinpi_rz()

sin(pi * x) rounded toward zero.

crlibm.tan_rd()

tan(x) rounded toward -inf.

crlibm.tan_rn()

tan(x) rounded to nearest.

crlibm.tan_ru()

tan(x) rounded toward +inf.

crlibm.tan_rz()

tan(x) rounded toward zero.

crlibm.tanpi_rd()

tan(pi * x) rounded toward -inf.

crlibm.tanpi_rn()

tan(pi * x) rounded to nearest.

crlibm.tanpi_ru()

tan(pi * x) rounded toward +inf.

crlibm.tanpi_rz()

tan(pi * x) rounded toward zero.