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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Java vs Ada 95 (Was Re: Once again, Ada absent from DoD SBIR solicitation) Date: 1996/10/17 Message-ID: #1/1 X-Deja-AN: 190069452 references: <325D7F9B.2A8B@gte.net> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-10-17T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >Hmmm! I thought that Java left overflow undefined, I don't call that >portable! No, Java defines the result as wrap-around arithmetic. So an overflow will give you the "wrong" answer (at least *I* would call it wrong, in most situations), but it always gives you the *same* wrong answer on all machines. - Bob