Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
base::internal::CheckedMulFastAsmOp< T, U > Struct Template Reference

#include <safe_math_arm_impl.h>

Public Member Functions

template<typename V >
 __attribute__ ((always_inline)) static bool Do(T x
 
return IsValueInRangeForNumericType (presult)
 

Static Public Member Functions

template<typename V >
static constexpr bool Do (T, U, V *)
 

Public Attributes

y
 
U Vresult
 
Promotion presult
 
 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y)
 
result = static_cast<V>(presult)
 

Static Public Attributes

static const bool is_supported
 

Detailed Description

template<typename T, typename U>
struct base::internal::CheckedMulFastAsmOp< T, U >

Definition at line 18 of file safe_math_arm_impl.h.

Member Function Documentation

◆ __attribute__()

template<typename T , typename U >
template<typename V >
base::internal::CheckedMulFastAsmOp< T, U >::__attribute__ ( (always_inline)  )

◆ Do()

template<typename T , typename U >
template<typename V >
static constexpr bool base::internal::CheckedMulFastAsmOp< T, U >::Do ( T  ,
,
V  
)
inlinestaticconstexpr

Definition at line 31 of file safe_math_clang_gcc_impl.h.

31 {
32 // Force a compile failure if instantiated.
33 return CheckOnFailure::template HandleFailure<bool>();
34 }

◆ IsValueInRangeForNumericType()

template<typename T , typename U >
return base::internal::CheckedMulFastAsmOp< T, U >::IsValueInRangeForNumericType ( presult  )

Member Data Documentation

◆ is_supported

template<typename T , typename U >
static const bool base::internal::CheckedMulFastAsmOp< T, U >::is_supported
static
Initial value:
=
FastIntegerArithmeticPromotion<T, U>::is_contained

Definition at line 19 of file safe_math_arm_impl.h.

◆ presult [1/2]

template<typename T , typename U >
Promotion base::internal::CheckedMulFastAsmOp< T, U >::presult

Definition at line 36 of file safe_math_arm_impl.h.

◆ presult [2/2]

template<typename T , typename U >
base::internal::CheckedMulFastAsmOp< T, U >::presult = static_cast<Promotion>(x) * static_cast<Promotion>(y)

Definition at line 38 of file safe_math_arm_impl.h.

◆ result [1/2]

template<typename T , typename U >
U V* base::internal::CheckedMulFastAsmOp< T, U >::result
Initial value:
{
using Promotion = typename FastIntegerArithmeticPromotion<T, U>::type

Definition at line 34 of file safe_math_arm_impl.h.

◆ result [2/2]

template<typename T , typename U >
* base::internal::CheckedMulFastAsmOp< T, U >::result = static_cast<V>(presult)

Definition at line 39 of file safe_math_arm_impl.h.

◆ y

template<typename T , typename U >
U base::internal::CheckedMulFastAsmOp< T, U >::y

Definition at line 34 of file safe_math_arm_impl.h.


The documentation for this struct was generated from the following files: