www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/23:18:59

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: LARGE numbers.
Date: Thu, 27 Aug 1998 20:20:37 -0300
Organization: NBTel Internet
Lines: 21
Message-ID: <35E5E9C4.59157F3A@unb.ca>
References: <1103_904198596 AT isaacc> <35E59762 DOT 41C6 AT ulcc DOT ac DOT uk>
NNTP-Posting-Host: fctnts07c03.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kevin Ashley wrote:

> double dvar;
>         dvar = 25834242042;

    This line WILL work, I've already uploaded example code that shows this working.

> This won't work because the RHS of this expression is an INTEGER constant.
> We've already established this number's too big for an integer.
> Instead, write:
>         dvar = 25834242042.;

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


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