Solved

64 bit values

Posted on 2001-06-12
6
362 Views
Last Modified: 2008-02-26
My compiler only supports 32 bit integers and I need to be able to use unsigned 64 bit integers, this code needs to be fast and as small as possible memory wise. Does anyone here have any code or tips?

Btw, the compiler really don't support 64-bit integers and it's name is HighC used on a Vertex RTOS.
0
Comment
Question by:margu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6181178
Which compiler/OS?
0
 
LVL 1

Expert Comment

by:c567591
ID: 6181368
For most modern OS/Compilers the long long is the data type you want to use.

This works with GNU & Borland, I am unsure of the others.

0
 

Expert Comment

by:romilson
ID: 6181550
Hi ...

you can to use the type __intn
where n is the size..
__int32 x;

create a x variable with 32 bits

__int64 y;
create a variable with 64 bits..
you must to remember that is a int value;

:-) ,
 , the values of n can be 8 , 16 , 32 , 64


Romilson
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Expert Comment

by:GlennDean
ID: 6184241
Check out he ULARGE_INTEGER type, which is 64-bits.

   Glenn
0
 
LVL 11

Expert Comment

by:griessh
ID: 6817216
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to refund the points and PAQ at zero points since nobody gave a real answer.

The link to the Community Support area is: http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 6833305
Per recommendation points refunded and question closed.

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question