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

Function scalbln

extern/half/include/half.hpp:2663–2663  ·  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 scalbln(T arg, long exp) { return functions::scalbln(arg, exp); }

Source from the content-addressed store, hash-verified

2661 /// \return \a arg multplied by 2 raised to \a exp
2662// template<typename T> typename enable<half,T>::type scalbln(T arg, long exp) { return functions::scalbln(arg, exp); }
2663 inline half scalbln(half arg, long exp) { return functions::scalbln(arg, exp); }
2664 inline half scalbln(expr arg, long exp) { return functions::scalbln(arg, exp); }
2665
2666 /// Extract exponent.

Callers 2

ldexpFunction · 0.85
scalbnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected