|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
Partial addition transform for Rational. More...
Public Types | |
| using | value_type = Rational<I> |
| using | logic_species = Kleene |
Public Member Functions | |
| TernaryResult< Rational< I > > | operator() (std::pair< const Rational< I > &, const Rational< I > & > p) const |
Partial addition transform for Rational.
Since rational arithmetic is mathematically exact (no rounding loss), this always returns Ternary::True. The status could be Unknown if we wanted to check for integer overflow, but we delegate that responsibility to I's overflow predicates.