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

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

[Octave-patch-tracker] [patch #8172] Improve complex mapper functions (s


From: Craig Hudson
Subject: [Octave-patch-tracker] [patch #8172] Improve complex mapper functions (see Numerical, item 2 on Projects page)
Date: Fri, 30 Aug 2013 13:04:40 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

URL:
  <http://savannah.gnu.org/patch/?8172>

                 Summary: Improve complex mapper functions (see Numerical,
item 2 on Projects page)
                 Project: GNU Octave
            Submitted by: craighudson
            Submitted on: Fri 30 Aug 2013 01:04:39 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This includes code for making use of signed zero, as described in Branch Cuts
for Complex Elementary Functions, or Much Ado About Nothing's Sign Bit by W.
Kahan. Note that casts of complex numbers with imaginary part equal to zero to
real numbers previously occurred with both positive and negative zero, but now
only occurs with positive zero. There is a case for not doing this narrowing
conversion with either sign of zero, as (eg) dividing a real number by a
complex number with imaginary part equal to positive zero gives the wrong sign
of the zero imaginary part to the result. eg 1/(1 + 0*i) should be 1 - 0*i,
but is calculated as 1 due to the denominator being cast to a real value.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 30 Aug 2013 01:04:39 PM GMT  Name: change.diff  Size: 46kB   By:
craighudson

<http://savannah.gnu.org/patch/download.php?file_id=28959>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8172>

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




reply via email to

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