Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more QQFieldElem and ZZRingElem ccalls (#1866)
- add some missing add!, mul!, etc. methods - add more efficient +, -, * methods for a ZZRingElem or QQFieldElem as first argument, and an integer as second argument - optimize is_one and is_zero for QQFieldElem - drop some pointless uses of `@inline` - add `cmp` for QQFieldElem and use it - add numerator! and denominator! - change a bunch of "unsafe" methods to accept ZZRingElemOrPtr resp. QQFieldElemOrPtr instead of just ZZRingElem and QQFieldElem to make them more flexible --------- Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
- Loading branch information