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,dab1e23fc81e6b17 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-29 15:37:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: What's the ICFP Programming contest? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1056926237 12.234.13.56 (Sun, 29 Jun 2003 22:37:17 GMT) NNTP-Posting-Date: Sun, 29 Jun 2003 22:37:17 GMT Organization: AT&T Broadband Date: Sun, 29 Jun 2003 22:37:23 GMT Xref: archiver1.google.com comp.lang.ada:39912 Date: 2003-06-29T22:37:23+00:00 List-Id: > The model uses fixed point arithmetic, and the rules > give an exact description of the representation format and how > arithmetic works. I don't know enough about Ada to know whether > this maps directly onto an Ada fixd point type. They use truncating long integer arithmetic instead of rounding. As I understand it, Ada allows either. The two compilers I've tried both round.