Computing.Net > Forums > Programming > 128-bit integers

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

128-bit integers

Reply to Message Icon

Name: Hosam
Date: June 15, 2003 at 17:36:31 Pacific
OS: Win xp
CPU/Ram: PIII 1GHz/128
Comment:

Hello All
how can i define a 128-bit -Actually i need to be able to define any number of bits i want but lets start with 128 bits- integers in C (or any other programming language that has bitwise manipulation)
i appreciate the help
Hosam



Sponsored Link
Ads by Google

Response Number 1
Name: alex neethling
Date: June 17, 2003 at 06:44:36 Pacific
Reply:

I dont know c but in C# and vb i would use 2 * 64 bit or 4 * 32 bit variables. Enter large, very large number as a string and break it up into 2 or 4 parts depending on temp storage var , intone inttwo ect.
Don't know but that is a really large number


0
Reply to Message Icon

Related Posts

See More


target page on html Binary Search in C. Help ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: 128-bit integers

64-bit integers in C? www.computing.net/answers/programming/64bit-integers-in-c/14589.html

128-bit cipher for vb www.computing.net/answers/programming/128bit-cipher-for-vb/6214.html

Huge Number www.computing.net/answers/programming/huge-number/2097.html