-
-
Notifications
You must be signed in to change notification settings - Fork 672
Description
We create (mostly abstract) classes to model the set of complex and real numbers as sage.rings.complex_field.ComplexField
and sage.rings.real_field.RealField
.
See also task ticket #17713.
Use cases for this new "real field" object:
-
As some placeholder object to denote the field of real numbers, for example as output of
QQ.completion(oo)
, for domain/codomain of symbolic functions, in manifolds, etc. This implies that it should be a unique object. -
As a Sage analogy to PEP 3141: it should provide a way to ask "is
x
a real number" or "isX
a substructure of the reals" or maybe "does parentX
represent the real numbers". Also, we should be able to ask "isx
an exact or approximate real number". Note that Sage already has partial support for PEP 3141 but only for elements (not parents). -
As a class factory for all concrete real fields (e.g. the
create_RealField
function that is currently used for non-exact approximations).
Depends on #24464
Depends on #24465
Depends on #24483
Depends on #24457
CC: @rwst @tscrim @egourgoulhon @mjungmath
Component: basic arithmetic
Work Issues: merge conflict
Author: Vincent Delecroix
Branch/Commit: u/rws/24456 @ febfe35
Issue created by migration from https://trac.sagemath.org/ticket/24456