GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_int_base< T > Class Template Reference

#include "oct-inttypes.h"

Inheritance diagram for octave_int_base< T >:

Static Public Member Functions

template<typename S >
static T convert_real (const S &value)
 
static T max_val ()
 
static T min_val ()
 
template<typename S >
static T truncate_int (const S &value)
 

Static Private Member Functions

template<typename S >
static S compute_threshold (S val, T orig_val)
 

Detailed Description

template<typename T>
class octave_int_base< T >

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

Member Function Documentation

◆ compute_threshold()

template<typename T >
template<typename S >
static S octave_int_base< T >::compute_threshold ( val,
orig_val 
)
inlinestaticprivate

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

References octave::math::round(), and val.

Referenced by octave_int_base< T >::convert_real().

◆ convert_real()

template<class T >
template<class S >
template OCTAVE_API uint64_t octave_int_base< T >::convert_real ( const S &  value)
static

◆ max_val()

◆ min_val()

template<typename T >
static T octave_int_base< T >::min_val ( )
inlinestatic

◆ truncate_int()

template<typename T >
template<typename S >
static T octave_int_base< T >::truncate_int ( const S &  value)
inlinestatic

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