[SciPy-dev] 1/0

Perry Greenfield perry at stsci.edu
Wed Mar 29 10:34:27 EST 2006


IEEE special values only apply to floating types, not integers. If you 
think about it a bit, you'll understand why (what bit pattern isn't a 
valid integer?). And you probably mean IEEE 754, not 854.

On Mar 29, 2006, at 10:04 AM, Johannes Löhnert wrote:

> Hi,
>
> In [48]: int32(1)/int32(0)
> Out[48]: 0
>
> Why is the result not inf? (I looked up IEEE 854 but do not understand 
> a
> word...)
>
> Johannes
>
> -- 
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev




More information about the SciPy-Dev mailing list