GNU Octave  9.1.0
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 >:
octave_int< T > octave_int_arith_base< T, false > octave_int_arith_base< T, true >

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)
 

Detailed Description

template<typename T>
class octave_int_base< T >

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

Member Function Documentation

◆ convert_real()

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

Definition at line 59 of file oct-inttypes.cc.

References isnan(), and round().

◆ max_val()

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

◆ min_val()

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

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

References min().

Referenced by octave_int_arith_base< T, true >::div(), and octave_int_base< T >::truncate_int().

◆ 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: