Skip to main content
GameDev.net gamedev.net
🔒 Locked

Variable Byte Numbers

Started by RamboBones May 7, 2004 at 6:40 AM 3 replies 800+ views
Original Post
RamboBones
RamboBones
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.
haro
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.
LilBudyWizer
LilBudyWizer
Have you looked at bit fields in C? I believe you can use them like any other integer type.
Keys to success: Ability, ambition and opportunity.
RamboBones
RamboBones
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.


Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.