[Click] division - kernel novice question...
Roman Chertov
rchertov at purdue.edu
Mon Jul 3 23:47:08 EDT 2006
Division is allowed as long as you don't use floats or 64bit longs.
Venky Rama wrote:
> since division is not allowed inside kernel, how does click implement division operations?
>
> i am trying to read the code for RED and it has
> RED::set_C1_and_C2() where division seems to be done...?
>
> _C2 = (_max_p * _min_thresh) / (_max_thresh - _min_thresh);
>
> any guidance will be appreciated. thank you.
>
> venky
>
>
> ---------------------------------
> Want to be your own boss? Learn how on Yahoo! Small Business.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list