Re: gb_t and memMeter

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 1 May 2001 00:05:46 +0800

On Mon, Apr 30, 2001, Andres Kroonmaa wrote:
>
> Can anyone shed some light on why do we use some strange
> type gb_t that consists of 4byte counters with special
> handling of overflow for "bytes" counter, instead of just
> simply using double type for counters?
>
> Seems to be used only in memMeters, and is somewhat on
> the way...
>
> I'd like to convert memMeter to use doubles where large
> values are expected. Is there any reason not to do that?

Use a quad_t. That avoids an FPU operation.

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 - 10:09:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:51 MST