Issue 18202: maxmg etc. of complex should return real values (vsiplxx-ftf) Source: Mentor Graphics Corporation (Mr. Brooks Moses, brooks_moses(at)mentor.com) Nature: Revision Severity: Minor Summary: The mag() and magsq() elementwise functions are defined to return real views from complex views, as one would expect. However, the maxmg, maxmgsq, minmg, and minmgsq reduction functions -- which ought to be simply the maximum/minimum of the mag and magsq results, are defined to return complex values. They should likewise return real values. (Note that the Mentor Graphics implementation already does return real values from these functions. The change is unlikely to break user code in any case; if the user assigns the result to a complex variable, that will still work when the functions return real values.) Resolution: Revised Text: Actions taken: October 23, 2012: received issue Discussion: End of Annotations:===== iler: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 23 Oct 2012 14:11:50 -0400 To: issues@omg.org, vsiplxx-ftf@omg.org From: Juergen Boldt Subject: issue 18202 -- VSIPL/VSIPL ++ FTF issue Date: Tue, 23 Oct 2012 10:54:09 -0700 From: Brooks Moses User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 To: Subject: VSIPL++ issue (#7 from me) X-OriginalArrivalTime: 23 Oct 2012 17:54:09.0874 (UTC) FILETIME=[675FD320:01CDB147] Name: Brooks Moses Employer: Mentor Graphics mailFrom: brooks_moses@mentor.com Terms_Agreement: I agree Specification: VSIPL++ Section: 10.3 [math.fns], 10.3.4 [math.fns.elements] FormalNumber: ptc/2012-07-27 Version: 1.2 - FTF Beta 1 Doc_Year: 2012 Doc_Month: August Doc_Day: 10 Page: 112-113, 134-136 Title: maxmg etc. of complex should return real values Nature: Bug Severity: Minor B1: Report Issue Description: The mag() and magsq() elementwise functions are defined to return real views from complex views, as one would expect. However, the maxmg, maxmgsq, minmg, and minmgsq reduction functions -- which ought to be simply the maximum/minimum of the mag and magsq results, are defined to return complex values. They should likewise return real values. (Note that the Mentor Graphics implementation already does return real values from these functions. The change is unlikely to break user code in any case; if the user assigns the result to a complex variable, that will still work when the functions return real values.) - Brooks Juergen Boldt Director, Member Services 140 Kendrick Street, Building A Suite 300 Needham, MA 02494 USA Tel: 781 444 0404 x 132 fax: 781 444 0320 www.omg.org