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

Function half_cast

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

Source from the content-addressed store, hash-verified

4459 /// \exception FE_INVALID if \a T is integer type and result is not representable as \a T
4460 /// \exception FE_OVERFLOW, ...UNDERFLOW, ...INEXACT according to rounding
4461 template<typename T,typename U> T half_cast(U arg) { return detail::half_caster<T,U>::cast(arg); }
4462
4463 /// Cast to or from half-precision floating-point number.
4464 /// This casts between [half](\ref half_float::half) and any built-in arithmetic type. The values are converted

Callers

nothing calls this directly

Calls 1

castFunction · 0.85

Tested by

no test coverage detected