----- Original Message -----
From: "Adrian Chadd" <adrian@creative.net.au>
To: "Alex Rousskov" <rousskov@measurement-factory.com>
Cc: <squid-dev@squid-cache.org>
Sent: Tuesday, May 01, 2001 2:25 AM
Subject: Re: gb_t and memMeter
> On Mon, Apr 30, 2001, Alex Rousskov wrote:
>
> > > Use a quad_t. That avoids an FPU operation.
> >
>
> quad_t is on the platforms I use (tru64, linux, freebsd, solaris).
> long long might be the go on other platforms.
configure.in has code to define int64_t if any 64 bit int is available.
we should use int64_t and expand that code if system types are missing
on some platforms.
> The typecast from quad to int won't generate an exception, it'll
> just get the lower bits. The compiler can warn you with -Wall.
> I've *so* been bitten by that. :-)
:]
Rob
>
> Adrian
>
>
> --
> Adrian Chadd "Two hundred and thirty-three thousand
> <adrian@creative.net.au> times the speed of light.
> Dear holy fucking shit."
>
Received on Mon Apr 30 2001 - 15:17:33 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:51 MST