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

Function scalbn

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

Source from the content-addressed store, hash-verified

2653 /// \return \a arg multplied by 2 raised to \a exp
2654// template<typename T> typename enable<half,T>::type scalbn(T arg, int exp) { return functions::scalbln(arg, exp); }
2655 inline half scalbn(half arg, int exp) { return functions::scalbln(arg, exp); }
2656 inline half scalbn(expr arg, int exp) { return functions::scalbln(arg, exp); }
2657
2658 /// Multiply by power of two.

Callers

nothing calls this directly

Calls 1

scalblnFunction · 0.85

Tested by

no test coverage detected