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) |
Wrapper implementing unspecialized half-precision functions.
|
inlinestatic |
Addition implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Subtraction implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Multiplication implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Division implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Output implementation.
out | stream to write to |
arg | value to write |
|
inlinestatic |
Input implementation.
in | stream to read from |
arg | half to read into |
|
inlinestatic |
Modulo implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Remainder implementation.
x | first operand |
y | second operand |
Remainder implementation.
x | first operand |
y | second operand |
quo | address to store quotient bits at |
|
inlinestatic |
Positive difference implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Fused multiply-add implementation.
x | first operand |
y | second operand |
z | third operand |
|
inlinestatic |
Get NaN.
|
inlinestatic |
Exponential implementation.
arg | function argument |
|
inlinestatic |
Exponential implementation.
arg | function argument |
|
inlinestatic |
Binary exponential implementation.
arg | function argument |
|
inlinestatic |
Logarithm implementation.
arg | function argument |
|
inlinestatic |
Common logarithm implementation.
arg | function argument |
|
inlinestatic |
Logarithm implementation.
arg | function argument |
|
inlinestatic |
Binary logarithm implementation.
arg | function argument |
|
inlinestatic |
Square root implementation.
arg | function argument |
|
inlinestatic |
Cubic root implementation.
arg | function argument |
|
inlinestatic |
Hypotenuse implementation.
x | first argument |
y | second argument |
|
inlinestatic |
Power implementation.
base | value to exponentiate |
exp | power to expontiate to |
|
inlinestatic |
Sine implementation.
arg | function argument |
|
inlinestatic |
Cosine implementation.
arg | function argument |
|
inlinestatic |
Tan implementation.
arg | function argument |
|
inlinestatic |
Arc sine implementation.
arg | function argument |
|
inlinestatic |
Arc cosine implementation.
arg | function argument |
|
inlinestatic |
Arc tangent implementation.
arg | function argument |
|
inlinestatic |
Arc tangent implementation.
x | first argument |
y | second argument |
|
inlinestatic |
Hyperbolic sine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic cosine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic tangent implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area sine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area cosine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area tangent implementation.
arg | function argument |
|
inlinestatic |
Error function implementation.
arg | function argument |
|
inlinestatic |
Complementary implementation.
arg | function argument |
|
inlinestatic |
Gamma logarithm implementation.
arg | function argument |
|
inlinestatic |
Gamma implementation.
arg | function argument |
Floor implementation.
arg | value to round |
Ceiling implementation.
arg | value to round |
Truncation implementation.
arg | value to round |
Nearest integer implementation.
arg | value to round |
|
inlinestatic |
Nearest integer implementation.
arg | value to round |
Nearest integer implementation.
arg | value to round |
|
inlinestatic |
Nearest integer implementation.
arg | value to round |
Decompression implementation.
arg | number to decompress |
exp | address to store exponent at |
Decompression implementation.
arg | number to decompress |
iptr | address to store integer part at |
Scaling implementation.
arg | number to scale |
exp | power of two to scale by |
Exponent implementation.
arg | number to query |
Exponent implementation.
arg | number to query |
Enumeration implementation.
from | number to increase/decrease |
to | direction to enumerate into |
Enumeration implementation.
from | number to increase/decrease |
to | direction to enumerate into |
Sign implementation.
x | first operand |
y | second operand |
Classification implementation.
arg | value to classify |
true | if infinite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if finite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if infinite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if not a number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if normal number |
false | else |
|
inlinestatic |
Sign bit implementation.
arg | value to check |
true | if signed |
false | if unsigned |
Comparison implementation.
x | first operand |
y | second operand |
true | if operands equal |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if operands not equal |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x > y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x >= y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x < y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x <= y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if either x > y nor x < y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if operand unordered |
false | else |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
Addition implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Subtraction implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Multiplication implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Division implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Output implementation.
out | stream to write to |
arg | value to write |
|
inlinestatic |
Input implementation.
in | stream to read from |
arg | half to read into |
|
inlinestatic |
Modulo implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Remainder implementation.
x | first operand |
y | second operand |
Remainder implementation.
x | first operand |
y | second operand |
quo | address to store quotient bits at |
|
inlinestatic |
Positive difference implementation.
x | first operand |
y | second operand |
|
inlinestatic |
Fused multiply-add implementation.
x | first operand |
y | second operand |
z | third operand |
|
inlinestatic |
Get NaN.
|
inlinestatic |
Exponential implementation.
arg | function argument |
|
inlinestatic |
Exponential implementation.
arg | function argument |
|
inlinestatic |
Binary exponential implementation.
arg | function argument |
|
inlinestatic |
Logarithm implementation.
arg | function argument |
|
inlinestatic |
Common logarithm implementation.
arg | function argument |
|
inlinestatic |
Logarithm implementation.
arg | function argument |
|
inlinestatic |
Binary logarithm implementation.
arg | function argument |
|
inlinestatic |
Square root implementation.
arg | function argument |
|
inlinestatic |
Cubic root implementation.
arg | function argument |
|
inlinestatic |
Hypotenuse implementation.
x | first argument |
y | second argument |
|
inlinestatic |
Power implementation.
base | value to exponentiate |
exp | power to expontiate to |
|
inlinestatic |
Sine implementation.
arg | function argument |
|
inlinestatic |
Cosine implementation.
arg | function argument |
|
inlinestatic |
Tan implementation.
arg | function argument |
|
inlinestatic |
Arc sine implementation.
arg | function argument |
|
inlinestatic |
Arc cosine implementation.
arg | function argument |
|
inlinestatic |
Arc tangent implementation.
arg | function argument |
|
inlinestatic |
Arc tangent implementation.
x | first argument |
y | second argument |
|
inlinestatic |
Hyperbolic sine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic cosine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic tangent implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area sine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area cosine implementation.
arg | function argument |
|
inlinestatic |
Hyperbolic area tangent implementation.
arg | function argument |
|
inlinestatic |
Error function implementation.
arg | function argument |
|
inlinestatic |
Complementary implementation.
arg | function argument |
|
inlinestatic |
Gamma logarithm implementation.
arg | function argument |
|
inlinestatic |
Gamma implementation.
arg | function argument |
Floor implementation.
arg | value to round |
Ceiling implementation.
arg | value to round |
Truncation implementation.
arg | value to round |
Nearest integer implementation.
arg | value to round |
|
inlinestatic |
Nearest integer implementation.
arg | value to round |
Nearest integer implementation.
arg | value to round |
|
inlinestatic |
Nearest integer implementation.
arg | value to round |
Decompression implementation.
arg | number to decompress |
exp | address to store exponent at |
Decompression implementation.
arg | number to decompress |
iptr | address to store integer part at |
Scaling implementation.
arg | number to scale |
exp | power of two to scale by |
Exponent implementation.
arg | number to query |
Exponent implementation.
arg | number to query |
Enumeration implementation.
from | number to increase/decrease |
to | direction to enumerate into |
Enumeration implementation.
from | number to increase/decrease |
to | direction to enumerate into |
Sign implementation.
x | first operand |
y | second operand |
Classification implementation.
arg | value to classify |
true | if infinite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if finite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if infinite number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if not a number |
false | else |
|
inlinestatic |
Classification implementation.
arg | value to classify |
true | if normal number |
false | else |
|
inlinestatic |
Sign bit implementation.
arg | value to check |
true | if signed |
false | if unsigned |
Comparison implementation.
x | first operand |
y | second operand |
true | if operands equal |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if operands not equal |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x > y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x >= y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x < y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if x <= y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if either x > y nor x < y |
false | else |
Comparison implementation.
x | first operand |
y | second operand |
true | if operand unordered |
false | else |
|
inlinestaticprivate |
|
inlinestaticprivate |