2010/1/3 Mike Hansen <mhan...@gmail.com>:
> On Sat, Jan 2, 2010 at 11:22 PM, Robert Bradshaw
> <rober...@math.washington.edu> wrote:
>> It is sad we don't have a top-level sign function.
>
> We do, but it's called sgn.
>
> sage: sgn(3.0)
> 1
>
> --Mike

Was there a good reason for choosing the name 'sgn'? It sems a bit
strange to me.

Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to