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

#include "pr-output.h"

Public Member Functions

 pr_engineering_float (const float_display_format &fdf, T val)
 
 pr_engineering_float (const float_format &ff, T val)
 
int exponent () const
 
mantissa () const
 

Public Attributes

const float_format m_ff
 
m_val
 

Detailed Description

template<typename T>
class pr_engineering_float< T >

Definition at line 511 of file pr-output.h.

Constructor & Destructor Documentation

◆ pr_engineering_float() [1/2]

template<typename T >
pr_engineering_float< T >::pr_engineering_float ( const float_format ff,
val 
)
inline

Definition at line 524 of file pr-output.h.

◆ pr_engineering_float() [2/2]

template<typename T >
pr_engineering_float< T >::pr_engineering_float ( const float_display_format fdf,
val 
)
inline

Definition at line 527 of file pr-output.h.

Member Function Documentation

◆ exponent()

template<typename T >
int pr_engineering_float< T >::exponent

Definition at line 173 of file pr-output.cc.

◆ mantissa()

template<typename T >
T pr_engineering_float< T >::mantissa

Definition at line 180 of file pr-output.cc.

References pow().

Member Data Documentation

◆ m_ff

template<typename T >
const float_format pr_engineering_float< T >::m_ff

Definition at line 516 of file pr-output.h.

◆ m_val

template<typename T >
T pr_engineering_float< T >::m_val

Definition at line 518 of file pr-output.h.


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