template <typename Dst, typename Src, typename Enable = void>
struct SaturateFastOp
Defined at line 157 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h
We can reduce the number of conditions and get slightly better performance
for normal signed and unsigned integer ranges. And in the specific case of
Arm, we can use the optimized saturation instructions.
Public Members
static const bool is_supported
Public Methods
Dst Do (Src value)
Defined at line 159 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h