delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/07/14:20:26

Message-Id: <3.0.32.19980207131923.0083a980@dataplusnet.com>
Date: Sat, 07 Feb 1998 13:19:28 -0600
To: djgpp AT delorie DOT com
From: Michael Matczynski <michaelm AT dataplusnet DOT com>
Subject: 8 Byte Integer
Mime-Version: 1.0

Is there a way so I can specify the size of an integer in DJGPP.  In MSDN
help, it says that MSVC++ 5.0 has the following integer sizes:

1 byte: –128 to 127
2 byte: –32,768 to 32,767
4 byte: –2,147,483,648 to 2,147,483,647
8 byte: –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

I am doing a program that calculates prime numbers, so the bigger the
better.  Is there any way I can get a 4 or 8 byte integer in DJGPP?

Thanks,
Mike



-----------------------------------------------------
| Michael Matczynski                                |
| michaelm AT dataplusnet DOT com                          |
| http://www.geocities.com/SiliconValley/Park/4949/ |
| "Knowledge is good" - anonymous                   |
-----------------------------------------------------

- Raw text -


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