CoCalc
Sharedsupport / 2015-07-13-084935-precision.sagewsOpen in CoCalc

Examples for support purposes...

m=540579833922455191419978421211010409605356811833049025*sqrt(1/2)
m1=382247666339265723780973363167714496025733124557617743
parent(m)
Symbolic Ring
parent(m1)
Integer Ring
SR(m1)
382247666339265723780973363167714496025733124557617743
bool(m == m1)
True
RealIntervalField(100)(m-m1)
0.?e24
RealIntervalField(300)(m-m1)
0.892728322135012783185880572353882630?
RealIntervalField(53)(sqrt(2))
1.414213562373095?

QQbar(sqrt(2))
1.414213562373095?