On Feb 4, 2008, at 9:19 AM, vgermrk wrote: > > I think it would be nice to have a signum-function (i.e. > sign(x)=abs(x)/x or sign(x)=cmp(x,0) ) in sage. > There is none, right? > > Of course it should work on integers, floats, lists, etc.
Yep, just noting that this has been requested before: http://sagetrac.org/sage_trac/ticket/777 david --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---