-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add type NegInf
representing negative infinity
#1528
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1528 +/- ##
==========================================
+ Coverage 82.87% 82.92% +0.04%
==========================================
Files 94 94
Lines 37141 37162 +21
==========================================
+ Hits 30782 30817 +35
+ Misses 6359 6345 -14
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Looks good. You added some |
09771fd
to
7137c97
Compare
Also expand the functionality of `PosInf` to match.
7137c97
to
0d042fd
Compare
I removed Due to the funky official semantics for
For the rest I added more tests. I also added The existing tests for fmpz, fmpq etc. seem to be rather flaky, too. E.g. things like |
@thofma OK now? |
I can try to include this in #1531 in the upcoming days. |
I overlooked one failure in the doctests of Oscar. I mark this here as breaking. |
Ahhhh, the printing changed and one doctests prints |
* Bump compats * Remove functions moved to Nemo (Nemocas/Nemo.jl#1519) * Fix `ZZ` printing (Nemocas/Nemo.jl#1506) * Fix `identity_map` docstrings (Nemocas/AbstractAlgebra.jl#1431) * Fix `PosInf` docstring (Nemocas/Nemo.jl#1528) * Adapt doctests to new printing for maps Nemocas/AbstractAlgebra.jl#1424
* Bump compats * Remove functions moved to Nemo (Nemocas/Nemo.jl#1519) * Fix `ZZ` printing (Nemocas/Nemo.jl#1506) * Fix `identity_map` docstrings (Nemocas/AbstractAlgebra.jl#1431) * Fix `PosInf` docstring (Nemocas/Nemo.jl#1528) * Adapt doctests to new printing for maps Nemocas/AbstractAlgebra.jl#1424
Also expand the functionality of
PosInf
to match.I have deliberately not yet tried to make use of this anywhere, e.g. for the degree of a zero polynomial, as that would likely be a breaking change and thus for a separate PR.
Moreover, it seems to me that this functionality actually should perhaps be moved to AbstractAlgebra... But one step after the other.