Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4933 > unrolled thread
| Started by | "g.resta@iit.cnr.it" <g.resta@iit.cnr.it> |
|---|---|
| First post | 2011-09-14 09:15 +0000 |
| Last post | 2011-09-15 08:52 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Is this a bug ? 1/N[Range[3]] = crash "g.resta@iit.cnr.it" <g.resta@iit.cnr.it> - 2011-09-14 09:15 +0000
Re: Is this a bug ? 1/N[Range[3]] = crash David Reiss <dbreiss@gmail.com> - 2011-09-15 08:40 +0000
Re: Is this a bug ? 1/N[Range[3]] = crash Simon <simonjtyler@gmail.com> - 2011-09-15 08:52 +0000
| From | "g.resta@iit.cnr.it" <g.resta@iit.cnr.it> |
|---|---|
| Date | 2011-09-14 09:15 +0000 |
| Subject | Is this a bug ? 1/N[Range[3]] = crash |
| Message-ID | <j4prb8$fjp$1@smc.vnet.net> |
I was testing an installation of Mathematica 7.0.0 for Linux 64 bits, and I noticed that every time I evaluated the simple 1 / N[Range[3]] or 1.0/N[Range[3]] the kernel apparently crashed. Evaluating it in the textual shell (command "math") the program exits abruptly with the message "Floating point exception". Is this "normal" (then: why?) or is a bug or do you think is a bugged install ? thanks, g.
[toc] | [next] | [standalone]
| From | David Reiss <dbreiss@gmail.com> |
|---|---|
| Date | 2011-09-15 08:40 +0000 |
| Subject | Re: Is this a bug ? 1/N[Range[3]] = crash |
| Message-ID | <j4sdmd$she$1@smc.vnet.net> |
| In reply to | #4933 |
See the following thread for the possible reason for this. Note that it is not a problem in the current version of Mathematica: http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/d29ecc9362d97d32/81ea4332f249c786 Hope this helps, David On Sep 14, 5:15 am, "g.re...@iit.cnr.it" <g.re...@iit.cnr.it> wrote: > I was testing an installation of Mathematica 7.0.0 for Linux 64 bits, > and I noticed that every time I evaluated the simple > 1 / N[Range[3]] or 1.0/N[Range[3]] the kernel apparently crashed. > > Evaluating it in the textual shell (command "math") the > program exits abruptly with the message "Floating point exception". > > Is this "normal" (then: why?) or is a bug or do you think is a bugged > install ? > > thanks, > g.
[toc] | [prev] | [next] | [standalone]
| From | Simon <simonjtyler@gmail.com> |
|---|---|
| Date | 2011-09-15 08:52 +0000 |
| Message-ID | <j4sed5$sos$1@smc.vnet.net> |
| In reply to | #4933 |
I don't get that behavior in either a 7.0.1 or a 8.0.1 in a 64 bit Linux install. I don't have, so can't test version 7.0.0
:~$ math8
Mathematica 8.0 for Linux x86 (64-bit)
Copyright 1988-2011 Wolfram Research, Inc.
In[1]:= 1 / N[Range[3]]
Out[1]= {1., 0.5, 0.333333}
In[2]:= 1.0 / N[Range[3]]
Out[2]= {1., 0.5, 0.333333}
In[3]:=
:~$ math7
Mathematica 7.0 for Linux x86 (64-bit)
Copyright 1988-2009 Wolfram Research, Inc.
In[1]:= 1 / N[Range[3]]
Out[1]= {1., 0.5, 0.333333}
In[2]:= 1.0 / N[Range[3]]
Out[2]= {1., 0.5, 0.333333}
In[3]:= $Version
Out[3]= 7.0 for Linux x86 (64-bit) (February 18, 2009)
In[4]:= $ReleaseNumber
Out[4]= 1
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web