[A83] Re: help for a routine


[Prev][Next][Index][Thread]

[A83] Re: help for a routine




If it's speed you're after it might be a good idea to make a lookup table f=
or the values 256/x, and then multiply by that...multiplications can be d=
one quite fast.

-----Original Message-----

From: guillaume.h@ifrance.com
Date: Mon, 16 Sep 2002 13:10:30 +0200
Subject: [A83] help for a routine


Hi !
I need a routine that can make this :

Input :
- h, e
Output:
- a=3D(h*256)/e

At this moment i'm using div_hl_de_s, with l:=3D0 and d:=3D0, but I'm sure 
there's a faster and a more clever way to do this...

Anybody has an idea ?





Follow-Ups: