All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Boot <bootc@worldnet.fr>
To: David Rees <dbr@greenhydrant.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: temperature standard - global config option?
Date: Thu, 07 Jun 2001 23:37:01 +0200	[thread overview]
Message-ID: <B745C09D.F8BF%bootc@worldnet.fr> (raw)
In-Reply-To: <20010607094418.A23719@greenhydrant.com>

Hi,

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

OK, I think by now we've all agreed the following:
 - The issue is NOT displaying temperatures to the user, but a userspace
   program reading them from the kernel.  The userspace program itself can
   do temperature conversions for the user if he/she wants.
 - The most preferable units would be decikelvins, as the value can give a
   relatively precise as well as wide range of numbers ranging from absolute
   zero to about 6340 degrees Celsius ((65535 / 10) - 273) which is well
   within anything that a computer can operate.  It also gives us a good
   base for all sorts of other temperature sensing devices.

Do we all agree on those now?

-- 
Chris Boot
bootc@worldnet.fr

#define QUESTION ((2b) || (!2b))


  reply	other threads:[~2001-06-07 21:38 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06 12:27 temperature standard - global config option? David N. Welton
2001-06-06 13:50 ` Pavel Machek
2001-06-06 16:06   ` Chris Boot
2001-06-06 16:16     ` Peter Svensson
2001-06-06 16:58       ` Bill Pringlemeir
2001-06-06 20:47       ` H. Peter Anvin
2001-06-06 21:40         ` Kipp Cannon
2001-06-06 23:02           ` Maciej Zenczykowski
2001-06-06 23:27             ` David Flynn
2001-06-08 20:04           ` Pavel Machek
     [not found]       ` <9fm4sc@cesium.transmeta.com>
2001-06-08 20:06         ` Pavel Machek
2001-06-06 19:32     ` Matthias Urlichs
2001-06-06 21:45       ` es1371 compile issue in 2.4.5-ac9 Alan Olsen
2001-06-07 15:14         ` Keith Owens
2001-06-07 18:27           ` Alan Olsen
2001-06-06 19:44     ` temperature standard - global config option? José Luis Domingo López
2001-06-07  3:50       ` watermodem
2001-06-06 20:42     ` Pavel Machek
2001-06-06 21:52       ` J . A . Magallon
2001-06-07 10:05         ` Philips
2001-06-07 12:20           ` L. K.
2001-06-07 16:44             ` David Rees
2001-06-07 21:37               ` Chris Boot [this message]
2001-06-08  0:03                 ` Albert D. Cahalan
2001-06-08  0:54                   ` Michael H. Warfield
2001-06-07 21:02             ` Albert D. Cahalan
2001-06-07 21:23               ` L. K.
2001-06-07 21:30                 ` mirabilos {Thorsten Glaser}
2001-06-08  1:21                   ` Michael H. Warfield
2001-06-08 11:30                     ` Thomas Speck
2001-06-08 17:33                     ` Chris Boot
2001-06-08 18:05                       ` Michael H. Warfield
2001-06-08 18:43                         ` J . A . Magallon
2001-06-08 18:56                           ` Michael H. Warfield
2001-06-08 19:00                             ` J . A . Magallon
2001-06-08 21:16                         ` Albert D. Cahalan
2001-06-08 21:22                           ` L. K.
2001-06-08 21:38                             ` Albert D. Cahalan
2001-06-08 21:28                           ` Chris Boot
2001-06-09  7:55                             ` H. Peter Anvin
2001-06-21  7:33                             ` Kai Henningsen
2001-06-21 11:18                               ` Jonathan Morton
2001-06-21 15:39                                 ` Kurt Roeckx
2001-06-08 23:16                           ` Michael H. Warfield
2001-06-08 23:53                             ` John Chris Wren
2001-06-09  3:52                               ` Albert D. Cahalan
2001-06-09  7:58                                 ` H. Peter Anvin
2001-06-09  9:17                                   ` James Sutherland
2001-06-09 15:06                                     ` Charles Cazabon
2001-06-09  0:13                             ` Bill Pringlemeir
2001-06-09 10:11                               ` L. K.
2001-06-09 10:20                                 ` Steffen Persvold
2001-06-09 17:21                                 ` Chris Boot
2001-06-09  5:45                             ` Albert D. Cahalan
2001-06-09  7:57                             ` H. Peter Anvin
2001-06-09  8:00                             ` Albert D. Cahalan
2001-06-09  8:43                               ` H. Peter Anvin
2001-06-08  6:48                   ` L. K.
2001-06-06 14:06 ` john slee
2001-06-06 19:19   ` J . A . Magallon
2001-06-06 19:01 ` Dr. Kelsey Hudson
2001-06-06 19:08 ` Alan Cox
2001-06-06 19:26   ` J . A . Magallon
2001-06-06 21:00     ` Paul Fulghum
2001-06-06 21:01     ` Harald Arnesen
2001-06-06 21:05       ` Alan Cox
2001-06-07 10:43         ` David N. Welton
2001-06-06 20:45   ` Pavel Machek
2001-06-06 21:04     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-06-07 22:10 Chris Adams
2001-06-08 21:33 Leif Sawyer
2001-06-08 23:50 ` Michael H. Warfield
2001-06-09  9:30 ` L. K.
2001-06-21 12:06 Randal, Phil
2001-06-21 12:56 ` Richard B. Johnson
2001-06-21 12:45 Richard J Moore
2001-06-21 16:59 ` Lauri Tischler
2001-06-21 19:14   ` Kai Henningsen
2001-06-21 20:19     ` Lauri Tischler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B745C09D.F8BF%bootc@worldnet.fr \
    --to=bootc@worldnet.fr \
    --cc=dbr@greenhydrant.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.