Is there in Sagemath something like RealDigits in Mathematica for computing (binary) digits of any real number? (and not only for integers)
1 | initial version |
Is there in Sagemath something like RealDigits in Mathematica for computing (binary) digits of any real number? (and not only for integers)
2 | No.2 Revision |
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)