Re: ARMS WAVING!!! Proposal to fix /proc dainbrammage.

Richard Gooch (rgooch@atnf.csiro.au)
Sat, 24 Oct 1998 11:16:10 +1000


Tim Smith writes:
> On Fri, 23 Oct 1998, Linus Torvalds wrote:
> > See? There are no byte order problems with "123.456" - everybody agrees
> > that it is a floating point number somewhere between the integers 123 and
> > 124. And that's regardless of how they represent the actual bits in
> > memory.
>
> Actually, don't a lot of people think that 123.456 is an integer between
> 123000 and 124000, and that 123,456 is a floating point number somewhere
> between 123 and 124? This is the only possible objection I can think of
> to having numbers formatted for humans in /proc, and it is a pretty lame
> objection, but for completelness, I thought it should be pointed out.

No, 123.456 is a number between 123 and 124. 123,456 is in fact a
co-ordinate pair (123 for the first axis, 456 for the second).
123 456 is a number between (123 * 1000) and (124 * 1000).

Regards,

Richard....

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