From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: odd or even? Date: 2 Mar 2000 10:56:12 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 10 Message-ID: <89lhcc$nln$1@antares.lu.erisoft.se> References: <38BE28A9 DOT CD476C62 AT student DOT kuleuven DOT ac DOT be> NNTP-Posting-Host: mars.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DAVID JACOBS (DAVID DOT JACOBS AT student DOT kuleuven DOT ac DOT be) wrote: : What is the fastest way to check wether an int/long is odd or even? : I've checked my C/C++ manual, but I didn't find anything.... Look at the least significant bit. Pet Shop Boys, Nightlife, MartinS