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=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e7e6e919cef50811 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-14 09:31:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!deine.net!freenix!enst!enst.fr!not-for-mail From: Toshitaka Kumano Newsgroups: comp.lang.ada Subject: Re: comparing gnat/Ada95 and g77 Date: Fri, 15 Mar 2002 02:31:52 +0900 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3C908617.C96A6579@Physik.Uni-Magdeburg.DE> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1016127068 27734 137.194.161.2 (14 Mar 2002 17:31:08 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 14 Mar 2002 17:31:08 +0000 (UTC) Return-Path: X-Mailer: Mozilla 4.78 [ja] (Win98; U) X-Accept-Language: en,ja Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:21242 Date: 2002-03-15T02:31:52+09:00 Dear Reinert, Gerald Kasner wrote: > the difference is small on my machines > > ~ 28 sec for g77 (with -O3 option) > ~ 32 sec for gnat (with -O3 -gnatp option) > > The difference seems to be in the trigonometric functions, look > in a-ngelfu.adb, Ada is more careful in these cases. If you seek for *performance only*, giving up the numerical accuracy provided by Ada model, you can use the thin binding to math lib, Ada.Numerics.Aux. Using this should make the difference smaller, I guess... -- Toshitaka Kumano