Re: temperature standard - global config option?

From: Pavel Machek (pavel@suse.cz)
Date: Fri Jun 08 2001 - 15:06:54 EST


Hi!

> > Kelvin (decikelvin?) is probably a good unit to use in the kernel. If you
> > want something else you convert it in the programs you use to interact
> > with the kernel. This is a usespace issue, I think.
> >
>
> Decikelvins is a good bet if we feel that fitting into 16 bits is a
> necessary, or the width of things is limited. Otherwise I would go
> for millikelvins on the general principle that creating interfaces too
> narrow is really painful.

Actually there's one good reasons to use milikelvins:

0 Celsius != 2732 deciKelvin, but
0 Celsius == 273150 miliKelvin ;-)
                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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



This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:13 EST