sequence multiplied by -1

Steven D'Aprano steve at
Sun Oct 3 03:28:22 CEST 2010

On Sat, 02 Oct 2010 14:12:39 -0700, Dennis Lee Bieber wrote:

> 	I'd prefer to see it used for floating point comparison in the two
> character:
> 			x ~= y
> though one might need to set up some system parameter to define what the
> permissible delta would be...
> sys.floatDelta = 1.0E-6
> or something...

It's not an operator, but you might like to play around with this recipe 
I published:

Feedback is welcome.


More information about the Python-list mailing list