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

An exact scalar as it crosses to a host without a rational type: the two decimal integer strings, plus the double a host can use directly. More...

#include <line/io/marshal.h>

Collaboration diagram for line::io::ExactValue:

Public Attributes

std::string numerator
std::string denominator
double approx = 0.0
bool is_exact = false
 false when the source arithmetic was inexact

Detailed Description

An exact scalar as it crosses to a host without a rational type: the two decimal integer strings, plus the double a host can use directly.

Definition at line 101 of file marshal.h.

Member Data Documentation

◆ approx

double line::io::ExactValue::approx = 0.0

Definition at line 104 of file marshal.h.

Referenced by line::io::marshal_scalar().

◆ denominator

std::string line::io::ExactValue::denominator

Definition at line 103 of file marshal.h.

Referenced by line::io::marshal_scalar().

◆ is_exact

bool line::io::ExactValue::is_exact = false

false when the source arithmetic was inexact

Definition at line 105 of file marshal.h.

Referenced by line::io::marshal_scalar().

◆ numerator

std::string line::io::ExactValue::numerator

Definition at line 102 of file marshal.h.

Referenced by line::io::marshal_scalar().


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