Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::IsIntegerChain Concept Referenceexport

A chain with integer arithmetic: a discrete total order, locally finite (every bounded interval is finite), so a distributive lattice under min and max, with the NNO's step and the arithmetic operators as a shape. Finite on a machine word, unbounded for a bignum. Not a ring: int's overflow is undefined and a cardinal may saturate at \(\aleph_0\); the ring is IsRing's to claim. More...

Concept definition

template<typename T>
std::totally_ordered<std::remove_cvref_t<T>> &&
requires(const std::remove_cvref_t<T> a, const std::remove_cvref_t<T> b) {
a + b;
a - b;
a * b;
a / b;
a % b;
A carrier with both NNO steps available: the shape a value-determined point collapse needs (succ(lo) ...
Definition nno.cppm:251
A chain with integer arithmetic: a discrete total order, locally finite (every bounded interval is fi...
Definition chain.cppm:46
Whether a carrier is an integer chain: the integral types, and the carriers that register themselves ...
Definition chain.cppm:38

Detailed Description

A chain with integer arithmetic: a discrete total order, locally finite (every bounded interval is finite), so a distributive lattice under min and max, with the NNO's step and the arithmetic operators as a shape. Finite on a machine word, unbounded for a bignum. Not a ring: int's overflow is undefined and a cardinal may saturate at \(\aleph_0\); the ring is IsRing's to claim.

Template Parameters
Tthe carrier.