[cs615asa] Mb/s

Jan Schaumann jschauma at cs.stevens.edu
Sat Apr 18 13:13:06 EDT 2009


Chih-Yuan Lee <clee9 at stevens.edu> wrote:
 
> As far as I know, the input rate and output rate should be look like: 
> "1.345xxx" or "0.453xxx", or "0" and so on.
> 
> So using the ceiling can differentiate 0.453xx and 0. 
> If you use "int", both "0.453xxx" and "0" will be the same value that 
> is "0".  

Correct -- it's fine to use only whole numbers, but there should be a
difference between no bandwidth usage and some bandwidth usage, so you'd
want to use ceiling.

-Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : https://lists.stevens.edu/cgi-bin/mailman/private/cs615asa/attachments/20090418/bc668115/attachment.pgp 


More information about the Cs615asa mailing list