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.9 required=5.0 tests=BAYES_00 autolearn=ham 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 02:56:54 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: Subject: Re: comparing gnat/Ada95 and g77 Date: Thu, 14 Mar 2002 10:58:06 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: sg2c11210.sd.edinbr.gmav.gecm.com Message-ID: <3c9081f5$1@pull.gecm.com> X-Trace: 14 Mar 2002 10:56:53 GMT, sg2c11210.sd.edinbr.gmav.gecm.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!btnet-peer1!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!sg2c11210.sd.edinbr.gmav.gecm.com Xref: archiver1.google.com comp.lang.ada:21206 Date: 2002-03-14T10:58:06+00:00 List-Id: > x := x*0.5 + 1.0 + sin(x)*cos(x) + sin(x) + cos(x) + > sin(x)*sin(x) + cos(x)*cos(x); Try changing this line to: Sin_X := Sin(X); Cos_X := Cos(X); X := X*0.5 + 1.0 + Sin_X*Cos_X + Sin_X + Cos_X + Sin_X*Sin_X + Cos_X*Cos_X;