On Mar 28, 7:18 pm, Gonzalo Tornaria torna...@math.utexas.edu wrote:
On Thu, Mar 22, 2012 at 4:14 PM, Robert Bradshaw
rober...@math.washington.edu wrote:
...
This is horrendous. Better to not have this constant (at least not
in the global namespace) than behavior like this. The top
On Thu, Mar 22, 2012 at 4:14 PM, Robert Bradshaw
rober...@math.washington.edu wrote:
...
This is horrendous. Better to not have this constant (at least not
in the global namespace) than behavior like this. The top level NaN,
if we want one, could be in RR (precision doesn't really matter for
On Wed, Mar 21, 2012 at 7:39 PM, kcrisman kcris...@gmail.com wrote:
On Mar 21, 10:00 pm, Gonzalo Tornaria torna...@math.utexas.edu
wrote:
In sage 4.8:
sage: NaN - NaN
sage: 0
sage: NaN + NaN
2*NaN
sage: NaN * NaN
NaN^2
Naturally! Since NaN is a symbolic expression, apparently:
I don't know where the NaN is being manipulated, there are lots
of design issues that could be addressed using it.
Note that there are huge numbers of NaNs -- a NaN has a reserved
exponent; the fraction part can be used to encode info.
You might also see how infinities are handled.
A NaN can be
On Mar 21, 10:00 pm, Gonzalo Tornaria torna...@math.utexas.edu
wrote:
In sage 4.8:
sage: NaN - NaN
sage: 0
sage: NaN + NaN
2*NaN
sage: NaN * NaN
NaN^2
Naturally! Since NaN is a symbolic expression, apparently:
sage: type(NaN)
type 'sage.symbolic.expression.Expression'
See
On Wednesday, 21 March 2012 22:39:25 UTC-4, kcrisman wrote:
On Mar 21, 10:00 pm, Gonzalo Tornaria torna...@math.utexas.edu
wrote:
In sage 4.8:
sage: NaN - NaN
sage: 0
sage: NaN + NaN
2*NaN
sage: NaN * NaN
NaN^2
Naturally! Since NaN is a symbolic expression,
On Mar 21, 11:25 pm, Dima Pasechnik dimp...@gmail.com wrote:
On Wednesday, 21 March 2012 22:39:25 UTC-4, kcrisman wrote:
On Mar 21, 10:00 pm, Gonzalo Tornaria torna...@math.utexas.edu
wrote:
In sage 4.8:
sage: NaN - NaN
sage: 0
sage: NaN + NaN
2*NaN
sage: NaN * NaN