Re: Long long arithmetic

From: Peter Samuelson (peter@cadcamlab.org)
Date: Fri Jun 09 2000 - 14:10:07 EST


[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

-
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