Re: Long long arithmetic

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Fri Jun 09 2000 - 14:29:07 EST


On Fri, 9 Jun 2000, Peter Samuelson wrote:

>
> [Richard B. Johnson <root@chaos.analogic.com>]
> > Well some of the stuff is one-time execution such as signon-messages.
> > Somebody, knowing that floating-point is not allowed, may try to come
> > up with a readable fixed-point fraction for display. The nature of
> > the fraction precludes shifts since the idea is to get a decimal
> > value to put after a '.'.
>
> Ah. So you propose borrowing the libgcc function in question and
> renaming it to something like _longlongdiv(). That way you can't
> accidentally invoke it using the regular C division operator. I can
> see the point of doing this, for times (like printk stuff during init)
> when you really *do* want it.
>
> Peter
>

Yep.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).

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



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:19 EST