[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48288] quaternion package: logarithm of a qua
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #48288] quaternion package: logarithm of a quaternion with only a positive real component |
Date: |
Tue, 21 Jun 2016 20:26:50 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Update of bug #48288 (project octave):
Severity: 3 - Normal => 1 - Wish
Status: None => Confirmed
Operating System: Microsoft Windows => Any
Summary: Logarithm of a quaternion with only a positive real
component => quaternion package: logarithm of a quaternion with only a
positive real component
_______________________________________________________
Follow-up Comment #1:
Thanks for the bug report. Updating the bug metadata for the quaternion
package, and example follows:
>> pkg load quaternion
>> log (quaternion (2, 0, 0, 0))
warning: division by zero
warning: called from
log at line 36 column 7
warning: division by zero
warning: division by zero
ans = 0.6931 + NaNi + NaNj + NaNk
## for comparison
>> log (quaternion (2, eps, 0, 0))
ans = 0.6931 + 0i + 0j + 0k
Can you provide a patch against the quaternion package to fix this?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48288>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/