Skip to Content.
Sympa Menu

freetds - RE: tds_money_to_string()

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brandon M. Reynolds" <bmr AT comtime.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: tds_money_to_string()
  • Date: Mon, 09 Oct 2000 20:31:29 -0400


Brian Bruns wrote:
>
> Unfortunately, this won't work on platforms without 'long long'. Looks
> like you might be on Alpha? (little endian + 64bit?)

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.

> 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.

--BR




Archive powered by MHonArc 2.6.24.

Top of Page