pishleback/Algebraeon
More operations between Natural, Integer, Rational and builtin types
オープン
#54 opened on 2025/05/15
enhancementgood first issue
Repository metrics
- Stars
- (83 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
As discussed in #52 it is currently a bit messy to compute the remainder of a Natural by a u32 and obtain a u32, though it is possible by converting Natural to usize first. This issue is for adding more conversions and operations involving a mixture of algebraeons Natural, Integer and Rational types with rusts builtin u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128 and isize where appropriate.
-
TryInto<u8 ... u128, usize, i8 ... i128, isize>forNatural(#55) -
TryInto<u8 ... u128, usize, i8 ... i128, isize>forInteger(#55) -
TryInto<u8 ... u128, usize, i8 ... i128, isize>forRational(#81) -
Natural % T -> TforT = i8 ... i128, isize,u8...u128,usize -
Integer % T -> TforT = i8 ... i128, isize,u8...u128,usize
Any others to include on the list?