:-)
Jeff
Linus Torvalds wrote:
>
> On Sun, 6 Aug 2000, Jamie Lokier wrote:
> >
> > I've never tried that algorithm but I would guess it's faster than long
> > division.
>
> Quite possible. I would not be adverse to doing this: the do_div() thing
> is there mainly because it was much easier to move the existing code-base
> over, and the original vsprintf used division.
>
> If somebody wants to write the code...
>
> Linus
>
> -
> 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/
-
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/