GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
pr-flt-fmt.cc File Reference
#include "defun.h"
#include "error.h"
#include "pr-flt-fmt.h"
#include "variables.h"
Include dependency graph for pr-flt-fmt.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Foutput_precision (const octave_value_list &args, int nargout)
 
int output_precision (void)
 
void set_output_prec (int prec)
 

Variables

static int Voutput_precision = 5
 

Function Documentation

◆ Foutput_precision()

OCTAVE_EXPORT octave_value_list Foutput_precision ( const octave_value_list args,
int  nargout 
)

Definition at line 68 of file pr-flt-fmt.cc.

References output_precision(), and SET_INTERNAL_VARIABLE_WITH_LIMITS.

◆ output_precision()

◆ set_output_prec()

void set_output_prec ( int  prec)

Definition at line 46 of file pr-flt-fmt.cc.

References Voutput_precision.

Referenced by set_format_style().

Variable Documentation

◆ Voutput_precision

int Voutput_precision = 5
static

Definition at line 37 of file pr-flt-fmt.cc.

Referenced by output_precision(), and set_output_prec().