Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sunybcs!acsu.buffalo.edu From: chu@acsu.buffalo.edu (john c chu) Newsgroups: comp.lang.c Subject: Re: Poorly worded question (was Re: IsUnsigned() function?) Message-ID: <31270@eerie.acsu.Buffalo.EDU> Date: 23 Jul 90 04:29:48 GMT References: <1990Jul20.144241.2560@diku.dk> <3566@sactoh0.UUCP> <31240@eerie.acsu.Buffalo.EDU> Sender: news@acsu.Buffalo.EDU Organization: SUNY Buffalo Lines: 11 Nntp-Posting-Host: autarch.acsu.buffalo.edu In article <31240@eerie.acsu.Buffalo.EDU> chu@acsu.buffalo.edu (john c chu) writes: >Interpretation 3: technically, all numbers are 'signed' (positive or >negative) except 0, so it should return a 0 for all numbers except 0 >for which it should return a 1. (e.g. return(num = 0)) Of course I meant return(num==0) I'm so ashamed... john chu@autarch.acsu.buffalo.edu