www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/16:41:53

Sender: nate AT cartsys DOT com
Message-ID: <35DF2B66.A48DED34@cartsys.com>
Date: Sat, 22 Aug 1998 13:34:46 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019