Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
base::internal::ClampedMulFastOp< T, U > Struct Template Reference

#include <safe_math_clang_gcc_impl.h>

Public Member Functions

template<typename V >
 __attribute__ ((always_inline)) static V Do(T x
 

Static Public Member Functions

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

Public Attributes

y
 

Static Public Attributes

static const bool is_supported = ClampedMulFastAsmOp<T, U>::is_supported
 

Detailed Description

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

Definition at line 129 of file safe_math_clang_gcc_impl.h.

Member Function Documentation

◆ __attribute__()

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

◆ Do()

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

Definition at line 95 of file safe_math_shared_impl.h.

95 {
96 // Force a compile failure if instantiated.
97 return CheckOnFailure::template HandleFailure<V>();
98 }

Member Data Documentation

◆ is_supported

template<typename T , typename U >
static const bool base::internal::ClampedMulFastOp< T, U >::is_supported = ClampedMulFastAsmOp<T, U>::is_supported
static

Definition at line 130 of file safe_math_clang_gcc_impl.h.

◆ y

template<typename T , typename U >
U base::internal::ClampedMulFastOp< T, U >::y
Initial value:
{
return ClampedMulFastAsmOp<T, U>::template Do<V>(x, y)
double x

Definition at line 132 of file safe_math_clang_gcc_impl.h.


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