| From: Josiah Carlson <[EMAIL PROTECTED]>
| "Alan Gauld" <[EMAIL PROTECTED]> wrote:
|| However I do dislike the name nice() - there is already a nice() in
|| the
|| os module with a fairly well understood function.
perhaps trim(), nearly(), about(), defer_the_pain_of() :-) I've waited to think
Smith wrote:
> I've been thinking about a function that was recently proposed at
> python-dev named 'areclose'. It is a function that is meant to tell
> whether two (or possible more) numbers are close to each other. It
> is a function similar to one that exists in Numeric. One such
> implement
> On Sun, 12 Feb 2006, Smith wrote:
>> ... I think there is less baggage for the new user to think
>> about if the name is something like nice()--a function that makes the
>> floating point numbers "play nice." And I also think the name...sounds
>> nice.)
> For "number is close enough"?
How abou
On Sun, 12 Feb 2006, Smith wrote:
> ... I think there is less baggage for the new user to think
> about if the name is something like nice()--a function that makes the
> floating point numbers "play nice." And I also think the name...sounds
> nice.)
For "number is close enough"?
___
PROTECTED]>
To:
Cc: ;
Sent: Sunday, February 12, 2006 6:44 PM
Subject: [Tutor] nice()
I've been thinking about a function that was recently proposed at python-dev
named 'areclose'. It is a function that is meant to tell whether two (or
possible more) numbers are close to eac
I've been thinking
about a function that was recently proposed at python-dev named 'areclose'.
It is a function that is meant to tell whether two (or possible more) numbers
are close to each other. It is a function similar to one that exists in
Numeric. One such implementation is
def
arec