From: Toshitaka Kumano <kumano@cl.cilas.net>
Subject: Re: comparing gnat/Ada95 and g77
Date: Fri, 15 Mar 2002 02:31:52 +0900
Date: 2002-03-15T02:31:52+09:00 [thread overview]
Message-ID: <mailman.1016127068.347.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3C908617.C96A6579@Physik.Uni-Magdeburg.DE
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
next prev parent reply other threads:[~2002-03-14 17:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-14 9:47 comparing gnat/Ada95 and g77 Reinert Korsnes
2002-03-14 10:37 ` John McCabe
2002-03-14 11:00 ` Preben Randhol
2002-03-15 10:44 ` Reinert Korsnes
2002-03-15 12:14 ` John McCabe
2002-03-15 17:53 ` Georg Bauhaus
2002-03-16 14:00 ` Gautier
2002-03-14 10:58 ` Martin Dowie
2002-03-14 11:04 ` chris.danx
2002-03-14 11:07 ` Bobby D. Bryant
2002-03-14 11:41 ` David C. Hoos, Sr.
2002-03-14 11:06 ` Preben Randhol
2002-03-14 16:43 ` Jeffrey Carter
2002-03-14 11:14 ` Gerald Kasner
2002-03-14 12:59 ` Gary Scott
2002-03-14 13:17 ` Jean-Marc Bourguet
2002-03-15 0:52 ` Gary Scott
2002-03-14 16:19 ` Dan Andreatta
2002-03-15 9:35 ` Gerald Kasner
2002-03-14 17:31 ` Toshitaka Kumano [this message]
2002-03-14 16:40 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox