On Sun, Jan 1, 2012 at 11:50 AM, Ted Smith <ted.a.smith at frontier.com> wrote:
> I just installed 5.25.1 and was surprised when some of my code didn?t work
> anymore. I narrowed it down to:
>
The latest release is 5.26.0.
>
> (%i1) numer:true;
> (%o1) true
> (%i2) maybe(signum(1) = signum(7));
> (%o2) false
> (%i3) map(signum, [1, -1, 7, -7]);
> (%o3) [1,-1,1.0,-1.0]
>
> In particular note that signum of integer 1 is integer 1, but signum of
> some other positive integers is 1.0 which isn?t = 1?
>
> These seem to be fixed in 5.26.0. maybe(signum(1) = signum(7)) returns
true, and map(signum,[1,-1,7,-7]) returns either 1 or -1, but not 1.0.
Ray