* H. Peter Anvin <h...@zytor.com> wrote:

> How about:
> 
> m = 10;
> d = 1;
> 
> while ( val >= m ) {
>         m *= 10;
>         d++;
> }
> 
> ... and not have a *divide* in there?

Yeah :-)

> Man, entering code on a cell phone sucks...

Indeed that explains the BASIC style! (and you got the 8-space tabs right 
on a html mailer - wow, that's impressive.)

It's also probably the first time that code entered on an ordinary cell 
phone has gets into the Linux kernel, so it's probably a new Linux 
milestone, in a twisted, sick way. ;-)

Thanks,

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

Reply via email to