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
implement formatting of elements in RDF/CDF #29514
Comments
Author: Markus Wageringel |
Branch: u/gh-mwageringel/29514 |
New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:4
Actually, here is a much better version that very closely matches the usual representation of elements in |
comment:5
A possible use case is reducing the number of digits in matrices:
|
comment:6
LGTM. Thank you! |
Reviewer: Eric Gourgoulhon |
comment:7
Thank you for the review. |
Changed branch from u/gh-mwageringel/29514 to |
This ticket implements
__format__
for elements inRDF
andCDF
. See also #29212 for a related discussion.The real number format immediately delegates to
float
, whereas the complex format matches the usualrepr
of elements inCDF
as closely as possible (unlike Python's typecomplex
).For reference: the format specification in Python.
Component: misc
Author: Markus Wageringel
Branch/Commit:
51a9736
Reviewer: Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/29514
The text was updated successfully, but these errors were encountered: