freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Alex Hornby <alex AT anvil.co.uk>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: Re: progress on convert...
- Date: 17 Jul 2002 17:18:47 +0100
On Wed, 2002-07-17 at 17:01, Bill Thompson wrote:
> All,
>
> [snip]
> To cut a long story short, I've decided to write a 64-bit integer library.
> I hunted around the net and couldn't find anything published I could use,
> so it's back to my school books!
> [snip]
> Any help on this would be appreciated, though. If someone has such a
> library I can use, it would save me some time, and help me to keep what
> little hair I still have left!
>
> best wishes,
>
> Bill
Hi Bill,
Are you asking about 64bit integer arithmetic?
With most compilers you can use "long long" for 64 bit arithmetic even
on 32bit platforms.
This is at least true for GCC, Sun Workst^Hhop Pro and HP aCC. For
vendor compilers you may need to give the compiler switches to enable it
(e.g. on HP acc -Ae I think...).
Failing that, packages like GMP provide arbitrary precision support, but
that might be more that you really need.
Cheers,
Alex.
-
progress on convert...,
Bill Thompson, 07/17/2002
- <Possible follow-up(s)>
- Re: progress on convert..., Alex Hornby, 07/17/2002
- Re: progress on convert..., Lowden, James K, 07/17/2002
- Re: progress on convert..., ZIGLIO Frediano, 07/18/2002
- Re: progress on convert..., Brian Bruns, 07/18/2002
Archive powered by MHonArc 2.6.24.