[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47800] gammainc rounds down to zero if output
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #47800] gammainc rounds down to zero if output is below eps |
Date: |
Thu, 28 Apr 2016 18:02:54 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 |
URL:
<http://savannah.gnu.org/bugs/?47800>
Summary: gammainc rounds down to zero if output is below eps
Project: GNU Octave
Submitted by: None
Submitted on: Thu 28 Apr 2016 06:02:53 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name: A. M. Winkler
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
Consider this:
In Matlab:
>> gammainc(60,6,'upper')
ans =
6.1802e-20
In Octave 4.0.0 (same for 3.8.2):
>> gammainc(60,6,'upper')
ans = 0
This causes large problems, as norminv(6.1802e-20) = -9.0659 (the expected
result), whereas norminv(0) = -Inf, and subsequent code crashes.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47800>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47800] gammainc rounds down to zero if output is below eps,
anonymous <=