MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / ldexp

Function ldexp

extern/half/include/half.hpp:2639–2639  ·  view source on GitHub ↗

Multiply by power of two. \param arg number to modify \param exp power of two to multiply with \return \a arg multplied by 2 raised to \a exp template typename enable ::type ldexp(T arg, int exp) { return functions::scalbln(arg, exp); }

Source from the content-addressed store, hash-verified

2637 /// \return \a arg multplied by 2 raised to \a exp
2638// template<typename T> typename enable<half,T>::type ldexp(T arg, int exp) { return functions::scalbln(arg, exp); }
2639 inline half ldexp(half arg, int exp) { return functions::scalbln(arg, exp); }
2640 inline half ldexp(expr arg, int exp) { return functions::scalbln(arg, exp); }
2641
2642 /// Extract integer and fractional parts.

Callers 4

float2half_implFunction · 0.85
half2float_implFunction · 0.85
remainderMethod · 0.85
remquoMethod · 0.85

Calls 1

scalblnFunction · 0.85

Tested by

no test coverage detected