Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

RamboBones

Variable Byte Numbers

This topic is 5212 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m looking for a math library that allows numbers of a variable number of bits. I know such libraries exist, but I just can''t remember at the moment. I could write my own but I''d really like to not have to spend a long time debugging it etc. Can anybody point me in the right direction? Btw the library needs to support dividing, multiplying and adding.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
The GNU GMP library can do what you need. See http://www.swox.com/gmp/.

Share this post


Link to post
Share on other sites
Could you share the reason aren''t just zero extending the bits to a standard size? I just can''t imagine what sort of application you need this for and am bloody curiou snow.

Share this post


Link to post
Share on other sites
quote:
Original post by haro
Could you share the reason aren''t just zero extending the bits to a standard size? I just can''t imagine what sort of application you need this for and am bloody curiou snow.

quote:

The main target applications for GMP are cryptography applications and research, Internet security applications, algebra systems, computational algebra research, etc.


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!