Re: temperature standard - global config option?

David Rees (dbr@greenhydrant.com)
Thu, 7 Jun 2001 09:44:18 -0700


On Thu, Jun 07, 2001 at 03:20:03PM +0300, L. K. wrote:
> On Thu, 7 Jun 2001, Philips wrote:
>
> > Kelvins good idea in general - it is always positive ;-)
> >
> > 0.01*K fits in 16 bits and gives reasonable range.
> >
> > but may be something like K<<6 could be a option? (to allow use of shifts
> > instead of muls/divs). It would be much more easier to extract int part.
> >
> > just my 2 eurocents.
>
> Why not make it in Celsius ? Is more easy to read it this way.

It's easier for you as a user to read, but slightly harder to deal with inside the code.
It's really a user-space issue, inside the kernel should be as standardized as possible, and
Kelvins make the most sense there.

-Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/