Stan Math Library
4.9.0
Automatic Differentiation
|
double stan::math::logb | ( | const T & | x | ) |
Returns the value of the unbiased radix-independent exponent from the floating-point argument.
Implementation note: This implementation works for all autodiff types because it is a step function, so can return a double
which will produce the correct zero derivative if promoted to an autodiff variable.
T | floating-point type |
[in] | x | floating-point argument |