TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
half_float::detail::functions Struct Reference

Wrapper implementing unspecialized half-precision functions. More...

Static Public Member Functions

static expr plus (float x, float y)
 Addition implementation. More...
 
static expr minus (float x, float y)
 Subtraction implementation. More...
 
static expr multiplies (float x, float y)
 Multiplication implementation. More...
 
static expr divides (float x, float y)
 Division implementation. More...
 
template<typename charT , typename traits >
static std::basic_ostream< charT, traits > & write (std::basic_ostream< charT, traits > &out, float arg)
 Output implementation. More...
 
template<typename charT , typename traits >
static std::basic_istream< charT, traits > & read (std::basic_istream< charT, traits > &in, half &arg)
 Input implementation. More...
 
static expr fmod (float x, float y)
 Modulo implementation. More...
 
static expr remainder (float x, float y)
 Remainder implementation. More...
 
static expr remquo (float x, float y, int *quo)
 Remainder implementation. More...
 
static expr fdim (float x, float y)
 Positive difference implementation. More...
 
static expr fma (float x, float y, float z)
 Fused multiply-add implementation. More...
 
static half nanh ()
 Get NaN. More...
 
static expr exp (float arg)
 Exponential implementation. More...
 
static expr expm1 (float arg)
 Exponential implementation. More...
 
static expr exp2 (float arg)
 Binary exponential implementation. More...
 
static expr log (float arg)
 Logarithm implementation. More...
 
static expr log10 (float arg)
 Common logarithm implementation. More...
 
static expr log1p (float arg)
 Logarithm implementation. More...
 
static expr log2 (float arg)
 Binary logarithm implementation. More...
 
static expr sqrt (float arg)
 Square root implementation. More...
 
static expr cbrt (float arg)
 Cubic root implementation. More...
 
static expr hypot (float x, float y)
 Hypotenuse implementation. More...
 
static expr pow (float base, float exp)
 Power implementation. More...
 
static expr sin (float arg)
 Sine implementation. More...
 
static expr cos (float arg)
 Cosine implementation. More...
 
static expr tan (float arg)
 Tan implementation. More...
 
static expr asin (float arg)
 Arc sine implementation. More...
 
static expr acos (float arg)
 Arc cosine implementation. More...
 
static expr atan (float arg)
 Arc tangent implementation. More...
 
static expr atan2 (float x, float y)
 Arc tangent implementation. More...
 
static expr sinh (float arg)
 Hyperbolic sine implementation. More...
 
static expr cosh (float arg)
 Hyperbolic cosine implementation. More...
 
static expr tanh (float arg)
 Hyperbolic tangent implementation. More...
 
static expr asinh (float arg)
 Hyperbolic area sine implementation. More...
 
static expr acosh (float arg)
 Hyperbolic area cosine implementation. More...
 
static expr atanh (float arg)
 Hyperbolic area tangent implementation. More...
 
static expr erf (float arg)
 Error function implementation. More...
 
static expr erfc (float arg)
 Complementary implementation. More...
 
static expr lgamma (float arg)
 Gamma logarithm implementation. More...
 
static expr tgamma (float arg)
 Gamma implementation. More...
 
static half floor (half arg)
 Floor implementation. More...
 
static half ceil (half arg)
 Ceiling implementation. More...
 
static half trunc (half arg)
 Truncation implementation. More...
 
static half round (half arg)
 Nearest integer implementation. More...
 
static long lround (half arg)
 Nearest integer implementation. More...
 
static half rint (half arg)
 Nearest integer implementation. More...
 
static long lrint (half arg)
 Nearest integer implementation. More...
 
static half frexp (half arg, int *exp)
 Decompression implementation. More...
 
static half modf (half arg, half *iptr)
 Decompression implementation. More...
 
static half scalbln (half arg, long exp)
 Scaling implementation. More...
 
static int ilogb (half arg)
 Exponent implementation. More...
 
static half logb (half arg)
 Exponent implementation. More...
 
static half nextafter (half from, half to)
 Enumeration implementation. More...
 
static half nexttoward (half from, long double to)
 Enumeration implementation. More...
 
static half copysign (half x, half y)
 Sign implementation. More...
 
static int fpclassify (half arg)
 Classification implementation. More...
 
static bool isfinite (half arg)
 Classification implementation. More...
 
static bool isinf (half arg)
 Classification implementation. More...
 
static bool isnan (half arg)
 Classification implementation. More...
 
static bool isnormal (half arg)
 Classification implementation. More...
 
static bool signbit (half arg)
 Sign bit implementation. More...
 
static bool isequal (half x, half y)
 Comparison implementation. More...
 
static bool isnotequal (half x, half y)
 Comparison implementation. More...
 
static bool isgreater (half x, half y)
 Comparison implementation. More...
 
static bool isgreaterequal (half x, half y)
 Comparison implementation. More...
 
static bool isless (half x, half y)
 Comparison implementation. More...
 
static bool islessequal (half x, half y)
 Comparison implementation. More...
 
static bool islessgreater (half x, half y)
 Comparison implementation. More...
 
static bool isunordered (half x, half y)
 Comparison implementation. More...
 
static expr plus (float x, float y)
 Addition implementation. More...
 
static expr minus (float x, float y)
 Subtraction implementation. More...
 
static expr multiplies (float x, float y)
 Multiplication implementation. More...
 
static expr divides (float x, float y)
 Division implementation. More...
 
template<typename charT , typename traits >
static std::basic_ostream< charT, traits > & write (std::basic_ostream< charT, traits > &out, float arg)
 Output implementation. More...
 
template<typename charT , typename traits >
static std::basic_istream< charT, traits > & read (std::basic_istream< charT, traits > &in, half &arg)
 Input implementation. More...
 
static expr fmod (float x, float y)
 Modulo implementation. More...
 
static expr remainder (float x, float y)
 Remainder implementation. More...
 
static expr remquo (float x, float y, int *quo)
 Remainder implementation. More...
 
static expr fdim (float x, float y)
 Positive difference implementation. More...
 
static expr fma (float x, float y, float z)
 Fused multiply-add implementation. More...
 
static half nanh ()
 Get NaN. More...
 
static expr exp (float arg)
 Exponential implementation. More...
 
static expr expm1 (float arg)
 Exponential implementation. More...
 
static expr exp2 (float arg)
 Binary exponential implementation. More...
 
static expr log (float arg)
 Logarithm implementation. More...
 
static expr log10 (float arg)
 Common logarithm implementation. More...
 
static expr log1p (float arg)
 Logarithm implementation. More...
 
static expr log2 (float arg)
 Binary logarithm implementation. More...
 
static expr sqrt (float arg)
 Square root implementation. More...
 
static expr cbrt (float arg)
 Cubic root implementation. More...
 
static expr hypot (float x, float y)
 Hypotenuse implementation. More...
 
static expr pow (float base, float exp)
 Power implementation. More...
 
static expr sin (float arg)
 Sine implementation. More...
 
static expr cos (float arg)
 Cosine implementation. More...
 
static expr tan (float arg)
 Tan implementation. More...
 
static expr asin (float arg)
 Arc sine implementation. More...
 
static expr acos (float arg)
 Arc cosine implementation. More...
 
static expr atan (float arg)
 Arc tangent implementation. More...
 
static expr atan2 (float x, float y)
 Arc tangent implementation. More...
 
static expr sinh (float arg)
 Hyperbolic sine implementation. More...
 
static expr cosh (float arg)
 Hyperbolic cosine implementation. More...
 
static expr tanh (float arg)
 Hyperbolic tangent implementation. More...
 
static expr asinh (float arg)
 Hyperbolic area sine implementation. More...
 
static expr acosh (float arg)
 Hyperbolic area cosine implementation. More...
 
static expr atanh (float arg)
 Hyperbolic area tangent implementation. More...
 
static expr erf (float arg)
 Error function implementation. More...
 
static expr erfc (float arg)
 Complementary implementation. More...
 
static expr lgamma (float arg)
 Gamma logarithm implementation. More...
 
static expr tgamma (float arg)
 Gamma implementation. More...
 
static half floor (half arg)
 Floor implementation. More...
 
static half ceil (half arg)
 Ceiling implementation. More...
 
static half trunc (half arg)
 Truncation implementation. More...
 
static half round (half arg)
 Nearest integer implementation. More...
 
static long lround (half arg)
 Nearest integer implementation. More...
 
static half rint (half arg)
 Nearest integer implementation. More...
 
static long lrint (half arg)
 Nearest integer implementation. More...
 
static half frexp (half arg, int *exp)
 Decompression implementation. More...
 
static half modf (half arg, half *iptr)
 Decompression implementation. More...
 
static half scalbln (half arg, long exp)
 Scaling implementation. More...
 
static int ilogb (half arg)
 Exponent implementation. More...
 
static half logb (half arg)
 Exponent implementation. More...
 
static half nextafter (half from, half to)
 Enumeration implementation. More...
 
static half nexttoward (half from, long double to)
 Enumeration implementation. More...
 
static half copysign (half x, half y)
 Sign implementation. More...
 
static int fpclassify (half arg)
 Classification implementation. More...
 
static bool isfinite (half arg)
 Classification implementation. More...
 
static bool isinf (half arg)
 Classification implementation. More...
 
static bool isnan (half arg)
 Classification implementation. More...
 
static bool isnormal (half arg)
 Classification implementation. More...
 
static bool signbit (half arg)
 Sign bit implementation. More...
 
static bool isequal (half x, half y)
 Comparison implementation. More...
 
static bool isnotequal (half x, half y)
 Comparison implementation. More...
 
static bool isgreater (half x, half y)
 Comparison implementation. More...
 
static bool isgreaterequal (half x, half y)
 Comparison implementation. More...
 
static bool isless (half x, half y)
 Comparison implementation. More...
 
static bool islessequal (half x, half y)
 Comparison implementation. More...
 
static bool islessgreater (half x, half y)
 Comparison implementation. More...
 
static bool isunordered (half x, half y)
 Comparison implementation. More...
 

Static Private Member Functions

static double erf (double arg)
 
static double lgamma (double arg)
 
static double erf (double arg)
 
static double lgamma (double arg)
 

Detailed Description

Wrapper implementing unspecialized half-precision functions.

Member Function Documentation

◆ plus() [1/2]

static expr half_float::detail::functions::plus ( float  x,
float  y 
)
inlinestatic

Addition implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision sum stored in single-precision
Here is the caller graph for this function:

◆ minus() [1/2]

static expr half_float::detail::functions::minus ( float  x,
float  y 
)
inlinestatic

Subtraction implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision difference stored in single-precision
Here is the caller graph for this function:

◆ multiplies() [1/2]

static expr half_float::detail::functions::multiplies ( float  x,
float  y 
)
inlinestatic

Multiplication implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision product stored in single-precision
Here is the caller graph for this function:

◆ divides() [1/2]

static expr half_float::detail::functions::divides ( float  x,
float  y 
)
inlinestatic

Division implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision quotient stored in single-precision
Here is the caller graph for this function:

◆ write() [1/2]

template<typename charT , typename traits >
static std::basic_ostream<charT,traits>& half_float::detail::functions::write ( std::basic_ostream< charT, traits > &  out,
float  arg 
)
inlinestatic

Output implementation.

Parameters
outstream to write to
argvalue to write
Returns
reference to stream
Here is the caller graph for this function:

◆ read() [1/2]

template<typename charT , typename traits >
static std::basic_istream<charT,traits>& half_float::detail::functions::read ( std::basic_istream< charT, traits > &  in,
half arg 
)
inlinestatic

Input implementation.

Parameters
instream to read from
arghalf to read into
Returns
reference to stream
Here is the caller graph for this function:

◆ fmod() [1/2]

static expr half_float::detail::functions::fmod ( float  x,
float  y 
)
inlinestatic

Modulo implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision division remainder stored in single-precision
Here is the caller graph for this function:

◆ remainder() [1/2]

static expr half_float::detail::functions::remainder ( float  x,
float  y 
)
inlinestatic

Remainder implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision division remainder stored in single-precision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remquo() [1/2]

static expr half_float::detail::functions::remquo ( float  x,
float  y,
int quo 
)
inlinestatic

Remainder implementation.

Parameters
xfirst operand
ysecond operand
quoaddress to store quotient bits at
Returns
Half-precision division remainder stored in single-precision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fdim() [1/2]

static expr half_float::detail::functions::fdim ( float  x,
float  y 
)
inlinestatic

Positive difference implementation.

Parameters
xfirst operand
ysecond operand
Returns
Positive difference stored in single-precision
Here is the caller graph for this function:

◆ fma() [1/2]

static expr half_float::detail::functions::fma ( float  x,
float  y,
float  z 
)
inlinestatic

Fused multiply-add implementation.

Parameters
xfirst operand
ysecond operand
zthird operand
Returns
x * y + z stored in single-precision
Here is the caller graph for this function:

◆ nanh() [1/2]

static half half_float::detail::functions::nanh ( )
inlinestatic

Get NaN.

Returns
Half-precision quiet NaN
Here is the caller graph for this function:

◆ exp() [1/2]

static expr half_float::detail::functions::exp ( float  arg)
inlinestatic

Exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ expm1() [1/2]

static expr half_float::detail::functions::expm1 ( float  arg)
inlinestatic

Exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ exp2() [1/2]

static expr half_float::detail::functions::exp2 ( float  arg)
inlinestatic

Binary exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ log() [1/2]

static expr half_float::detail::functions::log ( float  arg)
inlinestatic

Logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ log10() [1/2]

static expr half_float::detail::functions::log10 ( float  arg)
inlinestatic

Common logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ log1p() [1/2]

static expr half_float::detail::functions::log1p ( float  arg)
inlinestatic

Logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ log2() [1/2]

static expr half_float::detail::functions::log2 ( float  arg)
inlinestatic

Binary logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ sqrt() [1/2]

static expr half_float::detail::functions::sqrt ( float  arg)
inlinestatic

Square root implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ cbrt() [1/2]

static expr half_float::detail::functions::cbrt ( float  arg)
inlinestatic

Cubic root implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hypot() [1/2]

static expr half_float::detail::functions::hypot ( float  x,
float  y 
)
inlinestatic

Hypotenuse implementation.

Parameters
xfirst argument
ysecond argument
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pow() [1/2]

static expr half_float::detail::functions::pow ( float  base,
float  exp 
)
inlinestatic

Power implementation.

Parameters
basevalue to exponentiate
exppower to expontiate to
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sin() [1/2]

static expr half_float::detail::functions::sin ( float  arg)
inlinestatic

Sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ cos() [1/2]

static expr half_float::detail::functions::cos ( float  arg)
inlinestatic

Cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ tan() [1/2]

static expr half_float::detail::functions::tan ( float  arg)
inlinestatic

Tan implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ asin() [1/2]

static expr half_float::detail::functions::asin ( float  arg)
inlinestatic

Arc sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ acos() [1/2]

static expr half_float::detail::functions::acos ( float  arg)
inlinestatic

Arc cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ atan() [1/2]

static expr half_float::detail::functions::atan ( float  arg)
inlinestatic

Arc tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ atan2() [1/2]

static expr half_float::detail::functions::atan2 ( float  x,
float  y 
)
inlinestatic

Arc tangent implementation.

Parameters
xfirst argument
ysecond argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ sinh() [1/2]

static expr half_float::detail::functions::sinh ( float  arg)
inlinestatic

Hyperbolic sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ cosh() [1/2]

static expr half_float::detail::functions::cosh ( float  arg)
inlinestatic

Hyperbolic cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ tanh() [1/2]

static expr half_float::detail::functions::tanh ( float  arg)
inlinestatic

Hyperbolic tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ asinh() [1/2]

static expr half_float::detail::functions::asinh ( float  arg)
inlinestatic

Hyperbolic area sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ acosh() [1/2]

static expr half_float::detail::functions::acosh ( float  arg)
inlinestatic

Hyperbolic area cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ atanh() [1/2]

static expr half_float::detail::functions::atanh ( float  arg)
inlinestatic

Hyperbolic area tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ erf() [1/4]

static expr half_float::detail::functions::erf ( float  arg)
inlinestatic

Error function implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ erfc() [1/2]

static expr half_float::detail::functions::erfc ( float  arg)
inlinestatic

Complementary implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lgamma() [1/4]

static expr half_float::detail::functions::lgamma ( float  arg)
inlinestatic

Gamma logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tgamma() [1/2]

static expr half_float::detail::functions::tgamma ( float  arg)
inlinestatic

Gamma implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:
Here is the caller graph for this function:

◆ floor() [1/2]

static half half_float::detail::functions::floor ( half  arg)
inlinestatic

Floor implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ ceil() [1/2]

static half half_float::detail::functions::ceil ( half  arg)
inlinestatic

Ceiling implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ trunc() [1/2]

static half half_float::detail::functions::trunc ( half  arg)
inlinestatic

Truncation implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ round() [1/2]

static half half_float::detail::functions::round ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lround() [1/2]

static long half_float::detail::functions::lround ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ rint() [1/2]

static half half_float::detail::functions::rint ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ lrint() [1/2]

static long half_float::detail::functions::lrint ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the caller graph for this function:

◆ frexp() [1/2]

static half half_float::detail::functions::frexp ( half  arg,
int exp 
)
inlinestatic

Decompression implementation.

Parameters
argnumber to decompress
expaddress to store exponent at
Returns
normalized significant
Here is the call graph for this function:
Here is the caller graph for this function:

◆ modf() [1/2]

static half half_float::detail::functions::modf ( half  arg,
half iptr 
)
inlinestatic

Decompression implementation.

Parameters
argnumber to decompress
iptraddress to store integer part at
Returns
fractional part
Here is the caller graph for this function:

◆ scalbln() [1/2]

static half half_float::detail::functions::scalbln ( half  arg,
long  exp 
)
inlinestatic

Scaling implementation.

Parameters
argnumber to scale
exppower of two to scale by
Returns
scaled number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ilogb() [1/2]

static int half_float::detail::functions::ilogb ( half  arg)
inlinestatic

Exponent implementation.

Parameters
argnumber to query
Returns
floating point exponent
Here is the call graph for this function:
Here is the caller graph for this function:

◆ logb() [1/2]

static half half_float::detail::functions::logb ( half  arg)
inlinestatic

Exponent implementation.

Parameters
argnumber to query
Returns
floating point exponent
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextafter() [1/2]

static half half_float::detail::functions::nextafter ( half  from,
half  to 
)
inlinestatic

Enumeration implementation.

Parameters
fromnumber to increase/decrease
todirection to enumerate into
Returns
next representable number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nexttoward() [1/2]

static half half_float::detail::functions::nexttoward ( half  from,
long double  to 
)
inlinestatic

Enumeration implementation.

Parameters
fromnumber to increase/decrease
todirection to enumerate into
Returns
next representable number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copysign() [1/2]

static half half_float::detail::functions::copysign ( half  x,
half  y 
)
inlinestatic

Sign implementation.

Parameters
xfirst operand
ysecond operand
Returns
composed value
Here is the caller graph for this function:

◆ fpclassify() [1/2]

static int half_float::detail::functions::fpclassify ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif infinite number
falseelse
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isfinite() [1/2]

static bool half_float::detail::functions::isfinite ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif finite number
falseelse
Here is the caller graph for this function:

◆ isinf() [1/2]

static bool half_float::detail::functions::isinf ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif infinite number
falseelse
Here is the caller graph for this function:

◆ isnan() [1/2]

static bool half_float::detail::functions::isnan ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif not a number
falseelse
Here is the caller graph for this function:

◆ isnormal() [1/2]

static bool half_float::detail::functions::isnormal ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif normal number
falseelse
Here is the caller graph for this function:

◆ signbit() [1/2]

static bool half_float::detail::functions::signbit ( half  arg)
inlinestatic

Sign bit implementation.

Parameters
argvalue to check
Return values
trueif signed
falseif unsigned
Here is the caller graph for this function:

◆ isequal() [1/2]

static bool half_float::detail::functions::isequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operands equal
falseelse
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isnotequal() [1/2]

static bool half_float::detail::functions::isnotequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operands not equal
falseelse
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isgreater() [1/2]

static bool half_float::detail::functions::isgreater ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x > y
falseelse
Here is the caller graph for this function:

◆ isgreaterequal() [1/2]

static bool half_float::detail::functions::isgreaterequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x >= y
falseelse
Here is the caller graph for this function:

◆ isless() [1/2]

static bool half_float::detail::functions::isless ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x < y
falseelse
Here is the caller graph for this function:

◆ islessequal() [1/2]

static bool half_float::detail::functions::islessequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x <= y
falseelse
Here is the caller graph for this function:

◆ islessgreater() [1/2]

static bool half_float::detail::functions::islessgreater ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif either x > y nor x < y
falseelse
Here is the caller graph for this function:

◆ isunordered() [1/2]

static bool half_float::detail::functions::isunordered ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operand unordered
falseelse
Here is the call graph for this function:
Here is the caller graph for this function:

◆ erf() [2/4]

static double half_float::detail::functions::erf ( double  arg)
inlinestaticprivate
Here is the call graph for this function:

◆ lgamma() [2/4]

static double half_float::detail::functions::lgamma ( double  arg)
inlinestaticprivate

◆ plus() [2/2]

static expr half_float::detail::functions::plus ( float  x,
float  y 
)
inlinestatic

Addition implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision sum stored in single-precision

◆ minus() [2/2]

static expr half_float::detail::functions::minus ( float  x,
float  y 
)
inlinestatic

Subtraction implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision difference stored in single-precision

◆ multiplies() [2/2]

static expr half_float::detail::functions::multiplies ( float  x,
float  y 
)
inlinestatic

Multiplication implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision product stored in single-precision

◆ divides() [2/2]

static expr half_float::detail::functions::divides ( float  x,
float  y 
)
inlinestatic

Division implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision quotient stored in single-precision

◆ write() [2/2]

template<typename charT , typename traits >
static std::basic_ostream<charT, traits>& half_float::detail::functions::write ( std::basic_ostream< charT, traits > &  out,
float  arg 
)
inlinestatic

Output implementation.

Parameters
outstream to write to
argvalue to write
Returns
reference to stream

◆ read() [2/2]

template<typename charT , typename traits >
static std::basic_istream<charT, traits>& half_float::detail::functions::read ( std::basic_istream< charT, traits > &  in,
half arg 
)
inlinestatic

Input implementation.

Parameters
instream to read from
arghalf to read into
Returns
reference to stream

◆ fmod() [2/2]

static expr half_float::detail::functions::fmod ( float  x,
float  y 
)
inlinestatic

Modulo implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision division remainder stored in single-precision

◆ remainder() [2/2]

static expr half_float::detail::functions::remainder ( float  x,
float  y 
)
inlinestatic

Remainder implementation.

Parameters
xfirst operand
ysecond operand
Returns
Half-precision division remainder stored in single-precision
Here is the call graph for this function:

◆ remquo() [2/2]

static expr half_float::detail::functions::remquo ( float  x,
float  y,
int quo 
)
inlinestatic

Remainder implementation.

Parameters
xfirst operand
ysecond operand
quoaddress to store quotient bits at
Returns
Half-precision division remainder stored in single-precision
Here is the call graph for this function:

◆ fdim() [2/2]

static expr half_float::detail::functions::fdim ( float  x,
float  y 
)
inlinestatic

Positive difference implementation.

Parameters
xfirst operand
ysecond operand
Returns
Positive difference stored in single-precision

◆ fma() [2/2]

static expr half_float::detail::functions::fma ( float  x,
float  y,
float  z 
)
inlinestatic

Fused multiply-add implementation.

Parameters
xfirst operand
ysecond operand
zthird operand
Returns
x * y + z stored in single-precision

◆ nanh() [2/2]

static half half_float::detail::functions::nanh ( )
inlinestatic

Get NaN.

Returns
Half-precision quiet NaN

◆ exp() [2/2]

static expr half_float::detail::functions::exp ( float  arg)
inlinestatic

Exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ expm1() [2/2]

static expr half_float::detail::functions::expm1 ( float  arg)
inlinestatic

Exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ exp2() [2/2]

static expr half_float::detail::functions::exp2 ( float  arg)
inlinestatic

Binary exponential implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ log() [2/2]

static expr half_float::detail::functions::log ( float  arg)
inlinestatic

Logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the caller graph for this function:

◆ log10() [2/2]

static expr half_float::detail::functions::log10 ( float  arg)
inlinestatic

Common logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ log1p() [2/2]

static expr half_float::detail::functions::log1p ( float  arg)
inlinestatic

Logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ log2() [2/2]

static expr half_float::detail::functions::log2 ( float  arg)
inlinestatic

Binary logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ sqrt() [2/2]

static expr half_float::detail::functions::sqrt ( float  arg)
inlinestatic

Square root implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ cbrt() [2/2]

static expr half_float::detail::functions::cbrt ( float  arg)
inlinestatic

Cubic root implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ hypot() [2/2]

static expr half_float::detail::functions::hypot ( float  x,
float  y 
)
inlinestatic

Hypotenuse implementation.

Parameters
xfirst argument
ysecond argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ pow() [2/2]

static expr half_float::detail::functions::pow ( float  base,
float  exp 
)
inlinestatic

Power implementation.

Parameters
basevalue to exponentiate
exppower to expontiate to
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ sin() [2/2]

static expr half_float::detail::functions::sin ( float  arg)
inlinestatic

Sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ cos() [2/2]

static expr half_float::detail::functions::cos ( float  arg)
inlinestatic

Cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ tan() [2/2]

static expr half_float::detail::functions::tan ( float  arg)
inlinestatic

Tan implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ asin() [2/2]

static expr half_float::detail::functions::asin ( float  arg)
inlinestatic

Arc sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ acos() [2/2]

static expr half_float::detail::functions::acos ( float  arg)
inlinestatic

Arc cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ atan() [2/2]

static expr half_float::detail::functions::atan ( float  arg)
inlinestatic

Arc tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ atan2() [2/2]

static expr half_float::detail::functions::atan2 ( float  x,
float  y 
)
inlinestatic

Arc tangent implementation.

Parameters
xfirst argument
ysecond argument
Returns
function value stored in single-preicision

◆ sinh() [2/2]

static expr half_float::detail::functions::sinh ( float  arg)
inlinestatic

Hyperbolic sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ cosh() [2/2]

static expr half_float::detail::functions::cosh ( float  arg)
inlinestatic

Hyperbolic cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ tanh() [2/2]

static expr half_float::detail::functions::tanh ( float  arg)
inlinestatic

Hyperbolic tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ asinh() [2/2]

static expr half_float::detail::functions::asinh ( float  arg)
inlinestatic

Hyperbolic area sine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ acosh() [2/2]

static expr half_float::detail::functions::acosh ( float  arg)
inlinestatic

Hyperbolic area cosine implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ atanh() [2/2]

static expr half_float::detail::functions::atanh ( float  arg)
inlinestatic

Hyperbolic area tangent implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision

◆ erf() [3/4]

static expr half_float::detail::functions::erf ( float  arg)
inlinestatic

Error function implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ erfc() [2/2]

static expr half_float::detail::functions::erfc ( float  arg)
inlinestatic

Complementary implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ lgamma() [3/4]

static expr half_float::detail::functions::lgamma ( float  arg)
inlinestatic

Gamma logarithm implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ tgamma() [2/2]

static expr half_float::detail::functions::tgamma ( float  arg)
inlinestatic

Gamma implementation.

Parameters
argfunction argument
Returns
function value stored in single-preicision
Here is the call graph for this function:

◆ floor() [2/2]

static half half_float::detail::functions::floor ( half  arg)
inlinestatic

Floor implementation.

Parameters
argvalue to round
Returns
rounded value

◆ ceil() [2/2]

static half half_float::detail::functions::ceil ( half  arg)
inlinestatic

Ceiling implementation.

Parameters
argvalue to round
Returns
rounded value

◆ trunc() [2/2]

static half half_float::detail::functions::trunc ( half  arg)
inlinestatic

Truncation implementation.

Parameters
argvalue to round
Returns
rounded value

◆ round() [2/2]

static half half_float::detail::functions::round ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value
Here is the call graph for this function:

◆ lround() [2/2]

static long half_float::detail::functions::lround ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value

◆ rint() [2/2]

static half half_float::detail::functions::rint ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value

◆ lrint() [2/2]

static long half_float::detail::functions::lrint ( half  arg)
inlinestatic

Nearest integer implementation.

Parameters
argvalue to round
Returns
rounded value

◆ frexp() [2/2]

static half half_float::detail::functions::frexp ( half  arg,
int exp 
)
inlinestatic

Decompression implementation.

Parameters
argnumber to decompress
expaddress to store exponent at
Returns
normalized significant
Here is the call graph for this function:

◆ modf() [2/2]

static half half_float::detail::functions::modf ( half  arg,
half iptr 
)
inlinestatic

Decompression implementation.

Parameters
argnumber to decompress
iptraddress to store integer part at
Returns
fractional part

◆ scalbln() [2/2]

static half half_float::detail::functions::scalbln ( half  arg,
long  exp 
)
inlinestatic

Scaling implementation.

Parameters
argnumber to scale
exppower of two to scale by
Returns
scaled number
Here is the call graph for this function:

◆ ilogb() [2/2]

static int half_float::detail::functions::ilogb ( half  arg)
inlinestatic

Exponent implementation.

Parameters
argnumber to query
Returns
floating point exponent
Here is the call graph for this function:

◆ logb() [2/2]

static half half_float::detail::functions::logb ( half  arg)
inlinestatic

Exponent implementation.

Parameters
argnumber to query
Returns
floating point exponent
Here is the call graph for this function:

◆ nextafter() [2/2]

static half half_float::detail::functions::nextafter ( half  from,
half  to 
)
inlinestatic

Enumeration implementation.

Parameters
fromnumber to increase/decrease
todirection to enumerate into
Returns
next representable number
Here is the call graph for this function:

◆ nexttoward() [2/2]

static half half_float::detail::functions::nexttoward ( half  from,
long double  to 
)
inlinestatic

Enumeration implementation.

Parameters
fromnumber to increase/decrease
todirection to enumerate into
Returns
next representable number
Here is the call graph for this function:

◆ copysign() [2/2]

static half half_float::detail::functions::copysign ( half  x,
half  y 
)
inlinestatic

Sign implementation.

Parameters
xfirst operand
ysecond operand
Returns
composed value

◆ fpclassify() [2/2]

static int half_float::detail::functions::fpclassify ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif infinite number
falseelse
Here is the call graph for this function:

◆ isfinite() [2/2]

static bool half_float::detail::functions::isfinite ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif finite number
falseelse

◆ isinf() [2/2]

static bool half_float::detail::functions::isinf ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif infinite number
falseelse

◆ isnan() [2/2]

static bool half_float::detail::functions::isnan ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif not a number
falseelse

◆ isnormal() [2/2]

static bool half_float::detail::functions::isnormal ( half  arg)
inlinestatic

Classification implementation.

Parameters
argvalue to classify
Return values
trueif normal number
falseelse

◆ signbit() [2/2]

static bool half_float::detail::functions::signbit ( half  arg)
inlinestatic

Sign bit implementation.

Parameters
argvalue to check
Return values
trueif signed
falseif unsigned

◆ isequal() [2/2]

static bool half_float::detail::functions::isequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operands equal
falseelse
Here is the call graph for this function:

◆ isnotequal() [2/2]

static bool half_float::detail::functions::isnotequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operands not equal
falseelse
Here is the call graph for this function:

◆ isgreater() [2/2]

static bool half_float::detail::functions::isgreater ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x > y
falseelse

◆ isgreaterequal() [2/2]

static bool half_float::detail::functions::isgreaterequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x >= y
falseelse

◆ isless() [2/2]

static bool half_float::detail::functions::isless ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x < y
falseelse

◆ islessequal() [2/2]

static bool half_float::detail::functions::islessequal ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif x <= y
falseelse

◆ islessgreater() [2/2]

static bool half_float::detail::functions::islessgreater ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif either x > y nor x < y
falseelse

◆ isunordered() [2/2]

static bool half_float::detail::functions::isunordered ( half  x,
half  y 
)
inlinestatic

Comparison implementation.

Parameters
xfirst operand
ysecond operand
Return values
trueif operand unordered
falseelse
Here is the call graph for this function:

◆ erf() [4/4]

static double half_float::detail::functions::erf ( double  arg)
inlinestaticprivate
Here is the call graph for this function:

◆ lgamma() [4/4]

static double half_float::detail::functions::lgamma ( double  arg)
inlinestaticprivate

The documentation for this struct was generated from the following files: