On Sunday, March 18, 2018 at 6:26:53 PM UTC, Harald Helfgott wrote:
>
> At some point I was getting inexplicable results while using SageTex- my
> variables were all being shifted by one (variable b taking the value of
> variable a, variable c taking the value of variable b, and worse). Then I
it is possible to
(a) display Sagetex code within TeX in a relatively "clean" fashion (one
that can be sent to referees, say, rather than just to one's friends),
(b) make variable names appear as footnotes to their values, when displayed
via \sage (as opposed to \sageblock)? Again, the purpose
At some point I was getting inexplicable results while using SageTex- my
variables were all being shifted by one (variable b taking the value of
variable a, variable c taking the value of variable b, and worse). Then I
realized that the problem was that I had some code of the following form:
Hi,
It is not related to exponentiation; it is due to the difference between
symbolic evaluation and real-valued evaluation when dividing by zero.
Real-valued arithmetic mirrors the IEEE floating point standard, I expect:
sage: 1.0/0
+infinity
While symbolic evaluation gives the divide-by-zero