Recent changes to 988: Handling of infinitieshttps://sourceforge.net/p/maxima/bugs/988/2006-09-21T07:07:16ZHandling of infinities2006-09-21T07:07:16Z2006-09-21T07:07:16ZElmar Zanderhttps://sourceforge.net/u/zandere/https://sourceforge.netfabc13613ee68ad3814039d80a705d521e772cb0The handling of inf seems to be like that of a really
huge \(bigger than everything else\) but otherwise
specific number.
Some examples:
inf-inf => 0
inf/inf => 1
inf\*0 => 0
Those should all return "undefined". In the following
cases the return value should be directly simplified to
inf again
inf\*inf => inf^2
inf+inf => 2\*inf
4\*inf => 4\*inf
Also comparisons like the following should be undefined:
is\( inf>=inf \) => true
if\( inf>=2\*inf \) => false
Furthermore there is no relation between inf and minf:
-inf => -inf
-minf => -minf
inf+minf => inf+minf
Those should return minf, inf, and und respectively.
It would be nice if infinities would be handled like in
the IEEE floating point standard which, I think, makes
more sense in those cases.