A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-October/009957.html below:

numpy, overflow, inf, ieee, and rich comparison)

[Python-Dev] RE: [Numpy-discussion] RE: Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)Nick Bower nick@nickbower.com
Sun, 15 Oct 2000 05:09:26 GMT
> Does anyone know what other array-oriented languages use? I know what
> MATLAB does:

I'm an Interactive Data Language or IDL user (the Univ of Wisconsin's=20
Space Science Ceter is split down the middle between this and MatLab, =20
but python/numpy is definitely on the increase).  As you can see from=20
results below, like MatLab over/under-flows in IDL are reported but do=20
not stop execution.  This is the best (only) possible scenario for an=20
interactive arrays and visualization environment.

IDL> print, exp(-777)
      0.00000
% Program caused arithmetic error: Floating underflow
IDL> print, exp(777)
          Inf
% Program caused arithmetic error: Floating overflow
IDL> print, sqrt(-1)
         -NaN
% Program caused arithmetic error: Floating illegal operand
IDL> print, 54/0
      54
% Program caused arithmetic error: Integer divide by 0





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4