LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::reg::ArithSpec Struct Reference

The arithmetic a call runs at: Real also carries the precision tier. More...

#include <line/reg/api_dispatch.h>

Public Member Functions

std::string str () const
 Canonical text, e.g.

Public Attributes

Arith mode = Arith::Double
unsigned digits = 0
 significant decimal digits, Real only

Detailed Description

The arithmetic a call runs at: Real also carries the precision tier.

Definition at line 39 of file api_dispatch.h.

Member Function Documentation

◆ str()

std::string line::reg::ArithSpec::str ( ) const

Canonical text, e.g.

"double", "exact", "real:50".

Definition at line 187 of file api_dispatch.cpp.

References digits, line::Double, line::Exact, mode, and line::Real.

Referenced by line::reg::api_invoke().

Member Data Documentation

◆ digits

unsigned line::reg::ArithSpec::digits = 0

significant decimal digits, Real only

Definition at line 41 of file api_dispatch.h.

Referenced by line::reg::parse_arith(), and str().

◆ mode

Arith line::reg::ArithSpec::mode = Arith::Double

Definition at line 40 of file api_dispatch.h.

Referenced by line::reg::api_invoke(), line::reg::parse_arith(), and str().


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