ARTS 2.5.11 (git: 6827797f)
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.
constexpr std::strong_ordering operator<=> (const IntegerValue &i) const

Public Attributes

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

Detailed Description

Holds integer values.

Definition at line 75 of file quantum_numbers.h.

Member Function Documentation

◆ operator<=>()

constexpr std::strong_ordering Quantum::Number::IntegerValue::operator<=> ( const IntegerValue i) const

Definition at line 81 of file quantum_numbers.h.

References x.

◆ val()

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

Returns the value as a rational.

Definition at line 79 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: