• Advertisement

Archived

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

Variable Byte Numbers

This topic is 5042 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