On Wednesday 27 April 2011, Jacob Kaplan-Moss wrote:
> On Wed, Apr 27, 2011 at 2:44 AM, Conrad Calmez <[email protected]> wrote:
> > My Fix uses the minimal and maximal float values
> > (-2147483648 / 2147483647) as -inf/inf.
[...]
> 
> I really don't think that's a good idea. "Magic" numbers are rather
> gross, and 2147483647 is a long way from +inf.
> 
In fact, it's also a long way from the maximal float -- it's the maximal int. 
The maximal float is on the order of 10^38.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to