Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ ldexp() [4/6]

template<typename T1 , require_arithmetic_t< T1 > * = nullptr>
double stan::math::ldexp ( T1  a,
int  b 
)
inline

Returns the product of a (the significand) and 2 to power b (the exponent).

Template Parameters
T1scalar type of significand
Parameters
[in]athe significand
[in]ban integer that is the exponent
Returns
product of a times 2 to the power b

Definition at line 21 of file ldexp.hpp.