Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Something like RealDigits in Sage?

Is there in Sagemath something like RealDigits in Mathematica for computing (binary) digits of any real number? (and not only for integers)

Something like RealDigits in Sage?

Is there in Sagemath something like RealDigits in Mathematica for computing (binary) digits of any real number? (and not only for integers)

Can you please also explain how to transform back a non-integer binary string as '100.1000111001001' to the corresponding (approximated) base ten decimal? (not float)