GCC Middle and Back End API Reference
wi::int_traits< fixed_wide_int_storage< N > > Struct Template Reference

#include <wide-int.h>

Public Member Functions

template<typename T1 , typename T2 >
unsigned int get_binary_precision (const T1 &, const T2 &)
 

Static Public Member Functions

template<typename T1 , typename T2 >
static FIXED_WIDE_INT (N) get_binary_result(const T1 &
 
template<typename T1 , typename T2 >
static const T2 &static unsigned int get_binary_precision (const T1 &, const T2 &)
 

Static Public Attributes

static enum precision_type precision_type = INL_CONST_PRECISION
 
static const bool host_dependent_precision = false
 
static const bool is_sign_extended = true
 
static const bool needs_write_val_arg = false
 
static const unsigned int precision = N
 

Member Function Documentation

◆ FIXED_WIDE_INT()

template<int N>
template<typename T1 , typename T2 >
static wi::int_traits< fixed_wide_int_storage< N > >::FIXED_WIDE_INT ( N ) const &
static

◆ get_binary_precision() [1/2]

template<int N>
template<typename T1 , typename T2 >
static const T2 &static unsigned int wi::int_traits< fixed_wide_int_storage< N > >::get_binary_precision ( const T1 & ,
const T2 &  )
static

◆ get_binary_precision() [2/2]

template<int N>
template<typename T1 , typename T2 >
unsigned int wi::int_traits< fixed_wide_int_storage< N > >::get_binary_precision ( const T1 & ,
const T2 &  )
inline

References N.

Field Documentation

◆ host_dependent_precision

template<int N>
const bool wi::int_traits< fixed_wide_int_storage< N > >::host_dependent_precision = false
static

◆ is_sign_extended

template<int N>
const bool wi::int_traits< fixed_wide_int_storage< N > >::is_sign_extended = true
static

◆ needs_write_val_arg

template<int N>
const bool wi::int_traits< fixed_wide_int_storage< N > >::needs_write_val_arg = false
static

◆ precision

template<int N>
const unsigned int wi::int_traits< fixed_wide_int_storage< N > >::precision = N
static

◆ precision_type

template<int N>
enum precision_type wi::int_traits< fixed_wide_int_storage< N > >::precision_type = INL_CONST_PRECISION
static

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