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-Thread: 103376,2a34b7ad6c6a0774 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.nethere.com!news.nethere.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 12 Aug 2010 12:10:41 -0500 Newsgroups: comp.lang.ada Subject: Re: Efficiency of code generated by Ada compilers From: csampson@inetworld.net (Charles H. Sampson) Date: Thu, 12 Aug 2010 10:10:41 -0700 Message-ID: <1jn3qdg.8bec2819bdspuN%csampson@inetworld.net> References: <1jn1a4o.1dfllwo1uin3imN%csampson@inetworld.net> <1jn35js.5fepcoxaz04uN%csampson@inetworld.net> User-Agent: MacSOUP/2.8.2 (Mac OS X version 10.4.11 (PPC)) X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-leTB7nZROPUbEH3b0j4JxC5m3nHngfE/XLGmmF6532N17Uiuc8dHwD7weUq1AhoSjPWVi4jkjRYV09n!uDbMXlOe9IltK2c4Cqc9n7rYRWG7StPnNPKvtYehEo6ObmrRR8AiMUBZv+dxG4lGCRRqPcQnMXDP!GB2rqGe1L5GQLwkYt/DEM/IlpKKk X-Complaints-To: abuse@nethere.com X-DMCA-Complaints-To: abuse@nethere.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news1.google.com comp.lang.ada:13182 Date: 2010-08-12T10:10:41-07:00 List-Id: Ludovic Brenta wrote: > Charles H. Sampson wrote on comp.lang.ada: > [on defining "+" to add angles in modular arithmetic] > >> Sounds to me like a good way to do things. It would still be a good > >> idea if you called it "Turn_Left" or something like that, instead > >> of "+". But I don't object to "+". > > > > This was for the U. S. Navy, and "positive is right" is pretty much > > universal. For programmers, that is, not for sailors. They think port > > and starbord. > > Actually, to mathematicians and engineers, "+" is "turn counter- > clockwise" or "turn left", too. Granted, they'd probably use radians > instead of degrees. So, "+" meaning "turn right" is not as universal > as you might think. You're right, of course. I was being a bit too elliptical. I should have said Navy programmers (and Navy mathematicians, for that matter). In the U. S. Navy, a bearing of 0 degrees is due North, 90 degrees is East, etc. Charlie -- All the world's a stage, and most of us are desperately unrehearsed. Sean O'Casey