Very long integer routines

Could anyone point me in the direction of some C routines to deal with at
least 64 bit integers, preferably 96 bit. I just nead multiplication and
integer division of numbers this size.

thanks

Julian Thornhill

Julian Thornhill <jth@ion.le.ac.uk> wrote:

Could anyone point me in the direction of some C routines to deal with at
least 64 bit integers, preferably 96 bit. I just nead multiplication and
integer division of numbers this size.

Search on google.com “long integer math routines in C”…

http://www.programmersheaven.com/zone3/cat414/

Hope that helps you out :slight_smile:

-Adam

Have a look in qnx4.devtools for a posting about a year ago by me with subject

Re: Does QNX4 support int64 ? - 2 Attachments [1/1]

Operating System for Tech Supp wrote:

Julian Thornhill <> jth@ion.le.ac.uk> > wrote:
Could anyone point me in the direction of some C routines to deal with at
least 64 bit integers, preferably 96 bit. I just nead multiplication and
integer division of numbers this size.

Search on google.com “long integer math routines in C”…

http://www.programmersheaven.com/zone3/cat414/

Hope that helps you out > :slight_smile:

-Adam

Julian Thornhill <jth@ion.le.ac.uk> wrote:

Could anyone point me in the direction of some C routines to deal with at
least 64 bit integers, preferably 96 bit. I just nead multiplication and
integer division of numbers this size.

thanks

Julian Thornhill

I tried gmp library (GNU), but was not able to compile it under QNX 4.
Maybe somebody is more successful.

The precision is sure at least 96 bits (AFAIK arbitrary in fact).

Martin Gazak