Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: 16x16 = 32 Message-ID: <6577@brl-smoke.ARPA> Date: Mon, 19-Oct-87 08:22:06 EDT Article-I.D.: brl-smok.6577 Posted: Mon Oct 19 08:22:06 1987 Date-Received: Tue, 20-Oct-87 02:06:15 EDT References: <143@kesmai.COM> <31167@sun.uucp> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <31167@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: >In a C implementation with 16-bit "int"s, any >multiplication of two "int"s must, if it yields a result at all (which it may >not, if overflows are checked for), MUST yield a 16-bit result. Although this is true for most operations on (unsigned), operations on (int) that overflow are in the implementation-dependent category and may even keep additional high-order bits, as I understand it.