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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.224.73 with SMTP id ra9mr40041534pac.9.1432024952050; Tue, 19 May 2015 01:42:32 -0700 (PDT) X-Received: by 10.140.89.168 with SMTP id v37mr365037qgd.7.1432024951963; Tue, 19 May 2015 01:42:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h15no5911029igd.0!news-out.google.com!k20ni36521qgd.0!nntp.google.com!z60no2216642qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 May 2015 01:42:31 -0700 (PDT) In-Reply-To: <2cfd12ff-e3dc-44c2-a462-aefd3ff5b8c4@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.237.126.3; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 105.237.126.3 References: <2cfd12ff-e3dc-44c2-a462-aefd3ff5b8c4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <344f4cf7-f880-4aa5-bd7c-15506d364f15@googlegroups.com> Subject: Re: Gnat for ARM : are these bugs? From: jan.de.kruyf@gmail.com Injection-Date: Tue, 19 May 2015 08:42:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:25920 Date: 2015-05-19T01:42:31-07:00 List-Id: ok, i was too much in a rush. Reading the right books enlightened the issues. Issue 1 is explained by correctly reading the assembly: BGE means signed 'equal or greater'. issue 2 follows from the definition of a mod type. it will automatically roll over when the result of an operation is too big for the type to contain. In any case: All, thanks for listening. j.