ARTS 2.5.4 (git: 31ce4f0e)
Quantum::Number::IntegerValue Struct Reference

Holds integer values. More...

#include <quantum_numbers.h>

Public Member Functions

constexpr Rational val () const noexcept
 Returns the value as a rational. More...
 

Public Attributes

Index x {std::numeric_limits<Index>::lowest()}
 

Detailed Description

Holds integer values.

Definition at line 66 of file quantum_numbers.h.

Member Function Documentation

◆ val()

constexpr Rational Quantum::Number::IntegerValue::val ( ) const
inlineconstexprnoexcept

Returns the value as a rational.

Definition at line 70 of file quantum_numbers.h.

References x.

Referenced by Quantum::Number::Value::low(), and Quantum::Number::Value::upp().

Member Data Documentation

◆ x

Index Quantum::Number::IntegerValue::x {std::numeric_limits<Index>::lowest()}

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