[lkml]   [2001]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: temperature standard - global config option?

On 06.06 john slee wrote:
> On Wed, Jun 06, 2001 at 02:27:22PM +0200, David N. Welton wrote:
> > Perusing the kernel sources while investigating watchdog drivers, I
> > notice that in some places, Fahrenheit is used, and in some places,
> > Celsius. It would seem logical to me to have a global config option,
> > so that you *know* that you talk devices either in F or C.
> celsius is probably a sensible default - lots of the world uses it now.

Problem is decimals and floating point... I suppose kernel people would
prefer whatever, but suited to get full intXX_t range, say ºC/10.
And if you do not want signs, centi-kelvin is the better choice:xxx.xx,
five digits, a short goes to 655-273=382 ºC-

J.A. Magallon # Let the source be with you...
Linux Mandrake release 8.1 (Cooker) for i586
Linux werewolf 2.4.5-ac9 #1 SMP Wed Jun 6 09:57:46 CEST 2001 i686
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:17    [W:0.184 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site