octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40470] Wrong output from normcdf (with exp?)


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #40470] Wrong output from normcdf (with exp?) for negatives
Date: Thu, 07 Nov 2013 01:50:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

Follow-up Comment #4, bug #40470 (project octave):

I don't think there's an underflow problem, I think it's simply that values
are being displayed with a fixed format when combined in a matrix with other
values.


octave:1> format
octave:2> -7, normcdf(-7)
ans = -7
ans =    1.2798e-12
octave:3> [-7, normcdf(-7)]
ans =

  -7.00000   0.00000

octave:4> format long
octave:5> [-7, normcdf(-7)]
ans =

  -7.000000000000000   0.000000000001280



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40470>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]