Sender: nate AT cartsys DOT com Message-ID: <35DF2B66.A48DED34@cartsys.com> Date: Sat, 22 Aug 1998 13:34:46 -0700 From: Nate Eldredge MIME-Version: 1.0 To: stephen DOT snape AT virgin DOT net CC: djgpp AT delorie DOT com Subject: Re: double trouble References: <35DEDC2F DOT BB81D366 AT virgin DOT net> <35DEF766 DOT 61FDE0D7 AT virgin DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Stephen Snape wrote: > > Hi, > Yes, sorry, this isn't my actual code, I wrote it in the mail quickly, I > know I forgot the semis etc. What I am trying to do is find out if a 'bit' > in a double is ON or OFF and return the value. So I am using the int to > shift through the double and return the value, but I am getting errors. I > don't want to use a long because I need 64 bits! `double' is floating point and won't work. Use `long long'. -- Nate Eldredge nate AT cartsys DOT com