Xref: utzoo comp.unix.aix:155 gnu.emacs.bug:1247 Path: utzoo!attcan!utgpu!watmath!maytag!aries5!lhf From: lhf@aries5.uucp (Luiz H de Figueiredo) Newsgroups: comp.unix.aix,gnu.emacs.bug Subject: Re: GNU Emacs 18.55 and AIX PS/2 1.1 Message-ID: <641@maytag.waterloo.edu> Date: 17 Oct 89 16:02:46 GMT References: <347@synsys.UUCP> <34525@srcsip.UUCP> <2896@netcom.UUCP> Sender: daemon@maytag.waterloo.edu Reply-To: lhf@aries5.UUCP (Luiz H de Figueiredo) Distribution: na Organization: Computer Systems Group, University of Waterloo Lines: 21 In article meissner@twohot.rtp.dg.com (Michael Meissner) writes: >In article <2896@netcom.UUCP> hue@netcom.UUCP (Jonathan Hue) writes: > >A usually more efficent way of sign extending characters (depending >on how much branches cost in terms of hardware speed or compiler >optimizations) is: > >#define SIGN_EXTEND_CHAR(a) ((((a) & 0xFF) ^ 0x80) - 0x80) Why not use #define SIGN_EXTEND_CHAR(a) ( (int) (signed char) (a) ) I am missing something? ------------------------------------------------------------------------------- Luiz Henrique de Figueiredo internet: lhf@aries5.uwaterloo.ca Computer Systems Group bitnet: lhf@watcsg.bitnet University of Waterloo ------------------------------------------------------------------------------- eof