MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / eval_scalbn

Function eval_scalbn

extern/boost/boost/multiprecision/cpp_dec_float.hpp:3351–3357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3349}
3350template <unsigned Digits10, class ExponentType, class Allocator, class ArgType>
3351inline void eval_scalbn(cpp_dec_float<Digits10, ExponentType, Allocator>& result, const cpp_dec_float<Digits10, ExponentType, Allocator>& val, ArgType e_)
3352{
3353 using default_ops::eval_multiply;
3354 const typename cpp_dec_float<Digits10, ExponentType, Allocator>::exponent_type e = static_cast<typename cpp_dec_float<Digits10, ExponentType, Allocator>::exponent_type>(e_);
3355 cpp_dec_float<Digits10, ExponentType, Allocator> t(1.0, e);
3356 eval_multiply(result, val, t);
3357}
3358
3359template <unsigned Digits10, class ExponentType, class Allocator, class ArgType>
3360inline void eval_ldexp(cpp_dec_float<Digits10, ExponentType, Allocator>& result, const cpp_dec_float<Digits10, ExponentType, Allocator>& x, ArgType e)

Callers

nothing calls this directly

Calls 1

eval_multiplyFunction · 0.70

Tested by

no test coverage detected