4 Jul 2006 05:47
Re: division - kernel novice question...
Roman Chertov <rchertov <at> purdue.edu>
2006-07-04 03:47:08 GMT
2006-07-04 03:47:08 GMT
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 >
RSS Feed