MCPcopy Create free account
hub / github.com/apache/singa / scalbn

Function scalbn

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

Multiply by power of two. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::scalbn](https://en.cppreference.com/w/cpp/numeric/math/scalbn). \param arg number to modify \param exp power of two to multiply with \return \a arg multplied by 2 raised to \a exp \exception FE_INVALID for signaling NaN \exception FE_OVERFLOW, ...UNDERFLOW, ...INEXACT according

Source from the content-addressed store, hash-verified

4172 /// \exception FE_INVALID for signaling NaN
4173 /// \exception FE_OVERFLOW, ...UNDERFLOW, ...INEXACT according to rounding
4174 inline half scalbn(half arg, int exp) { return scalbln(arg, exp); }
4175
4176 /// Multiply by power of two.
4177 /// This function is exact to rounding for all rounding modes.

Callers

nothing calls this directly

Calls 1

scalblnFunction · 0.85

Tested by

no test coverage detected