I am trying to evaluate a decimal expansion of a fractional value to a large number of digits of precision (in this example 100):
block([FPPREC:100],y=bfloat(1)/bfloat(998001));
I am trying to do this in wxMaxima, that's what the expression above works in. It's trying to take a high precision floating point value numerator and denominator, and evaluate them to a particular precision (100 digits).
My trouble is perhaps just a display issue in Maxima:
1.0020030040050060070080090100[44 digits]920930940950960970980991001b-6
I am not sure what the above means, but I think it means that the middle 44 digits are not being shown on the screen even though they are available internally. What I was hoping for would be:
A way to get the period of the repeating decimal, if there is one,
The full precision (100 digits as requested above) shown on the screen as the result.
Perhaps I'm just doing it wrong. So my question is really (a) how can I determine a precise value for the above, and (b) do something similar to what wolfram alpha does with respect to showing me the period of a repeating decimal if the expansion is periodic. It is very interesting that Wolfram Alpha automatically reports the period of the decimal expansion, if it repeats.