From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,47fc49812a5e8e38 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!news.mixmin.net!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: small example, using complex variables in Ada Date: Mon, 14 Jun 2010 12:48:07 -0700 Organization: Aioe.org NNTP Server Message-ID: References: <6e70b80b-3030-479f-8378-d1281d1fa847@d37g2000yqm.googlegroups.com> <9648de08-0477-40d7-a2ea-0e13e771e94d@z8g2000yqz.googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: c00eBs/j4mUkprxQFmXQpg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 Xref: g2news2.google.com comp.lang.ada:12694 Date: 2010-06-14T12:48:07-07:00 List-Id: On 6/14/2010 12:19 PM, Colin Paul Gloster wrote: > > |-----------------------------------------------------------------------------| > |"> Nasser M. Abbasi was not reverting to Ada as a complement to | > |> Mathematica with the objective of producing slower software than | > |> Mathematica. | > | | > |My understanding was that the OP was comparing the readability and | > |ease-of-creation of Fortran and Ada. I saw no indication that he was | > |concerned about the performance." | > |-----------------------------------------------------------------------------| > > Well Nasser incorporated neither REVERSE nor WHILE in > news:hv57ap$m0l$1@speranza.aioe.org so my contributions to this thread > did not matter. > I just wanted to say that I found your suggestions for code changes to be very insightful and important. But because the point of this small example was for me to learn how to use complex numbers in Ada and compare it to Fortran, and not worry too much at this time about optimization, I did not modify the code as you suggested. In addition, if I changeed the Ada code, I would have to change the Fortran code to keep it similarly structured as the Ada code, and I did not want to go down that path. That is the only reason, and for no other. regards, --Nasser