GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_int_cmp_op::prom< T1, T2 > Class Template Reference
Collaboration diagram for octave_int_cmp_op::prom< T1, T2 >:

Public Types

typedef query_integer_type< psize, psig >::type type
 

Static Private Attributes

static const bool pint
 
static const bool psig = (pint || (sizeof (T2) > sizeof (T1) && t2sig) || t1sig)
 
static const int psize
 
static const bool t1sig = std::numeric_limits<T1>::is_signed
 
static const bool t2sig = std::numeric_limits<T2>::is_signed
 

Detailed Description

template<typename T1, typename T2>
class octave_int_cmp_op::prom< T1, T2 >

Definition at line 134 of file oct-inttypes.h.

Member Typedef Documentation

◆ type

template<typename T1 , typename T2 >
typedef query_integer_type<psize, psig>::type octave_int_cmp_op::prom< T1, T2 >::type

Definition at line 152 of file oct-inttypes.h.

Member Data Documentation

◆ pint

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::pint
staticprivate
Initial value:
= (sizeof (T1) < sizeof (int)
&& sizeof (T2) < sizeof (int))

Definition at line 137 of file oct-inttypes.h.

◆ psig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::psig = (pint || (sizeof (T2) > sizeof (T1) && t2sig) || t1sig)
staticprivate

Definition at line 143 of file oct-inttypes.h.

◆ psize

template<typename T1 , typename T2 >
const int octave_int_cmp_op::prom< T1, T2 >::psize
staticprivate
Initial value:
= (pint
? sizeof (int)
: (sizeof (T2) > sizeof (T1) ? sizeof (T2) : sizeof (T1)))
static const bool pint
Definition: oct-inttypes.h:137

Definition at line 146 of file oct-inttypes.h.

◆ t1sig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::t1sig = std::numeric_limits<T1>::is_signed
staticprivate

Definition at line 140 of file oct-inttypes.h.

◆ t2sig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::t2sig = std::numeric_limits<T2>::is_signed
staticprivate

Definition at line 141 of file oct-inttypes.h.


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