freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: RE: tds_money_to_string()
- Date: Mon, 9 Oct 2000 21:23:33 -0400 (EDT)
On Mon, 9 Oct 2000, Brandon M. Reynolds wrote:
> Actually, Linux/x86. I think gcc on just about every platform supports
> long long. Plenty of other architectures/compilers support long long,
> even though the processors/operating systems are 32-bit. It's just that
> 64-bit machines handle 64-bit values a lot better, but I digress. I'm
> sure that not every platform supports long long and I confess I have no
> idea as to the ISO/ANSI status long long.
Didn't realize that gcc supported long long on 32bit platforms...good to
know. But I suspect many other compilers don't support it. I know freetds
has been ported to some really ancient stuff.
> > Here's a more generic fix for all numerics with values < scaling (which
> > is the broader problem here).
>
> Yeah, I suspected that all numerics would have a similar problem.
> Thanks
> for the fix.
Thank you for pointing out the problem...I'm actually using numerics and
have been blissfully unaware that < $.10 was broken :-)
Brian
-
RE: tds_money_to_string(),
Brian Bruns, 10/09/2000
- <Possible follow-up(s)>
- RE: tds_money_to_string(), Brandon M. Reynolds, 10/09/2000
- RE: tds_money_to_string(), Brian Bruns, 10/09/2000
Archive powered by MHonArc 2.6.24.