Single limb floating point $p$-adics#2730
Conversation
Also indentation and style
|
I think It's better to use bit manipulation when p = 2 and Actually I'm wondering if more code reuse between this and |
|
By the way, I think I'm now leaning toward naming the slots I think it would be really good to have error tracking built into this module as well. One option is to have a pair of types (slightly verbose):
Another option would be to have just one type with floating-point/ball mode selected by the context object. I think this is the right choice for |
This PR implements a new representation for$p$ -adic numbers with low precision. This new package uses the floating point representation, as detailed in #2447.
This is not meant as a replacement for the current
padicpackage, as this new approach needs error tracking.Currently, this PR only implements the most basic arithmetic operations.