From: Vincent Fourmond Date: 2007-01-23T05:53:41+09:00 Subject: Re: Minor Change Proposal for Class 'Numeric' Wolfgang N�dasi-Donner wrote: > Hi! > > I didn't find there a discussion about this here, so first a description > of this (very) minor change proposal. > > I miss the "Sign function" in class "Numeric". > > It can simply be added by something like... > > class Numeric > def sign > self<0?-1:self>0?1:0 > end > end > > ...but it should be much faster if be defined in the original class. > > This method will be used in several algorithms, so it should be > available from my point of view. Seconded. Vince -- Vincent Fourmond, PhD student http://vincent.fourmond.neuf.fr/