Keep bits and bytes distinct
#A byte contains 8 bits. Lowercase b commonly denotes bits and uppercase B bytes; check the producer’s convention.
Fragment
Networking rates include protocol/transport effects; application throughput can be lower.
Reference
Look up symbols, units, probability, vectors and engineering formulas.
Common mathematical and engineering notation, with domains, units and assumptions. Estimates and idealized models are labeled; check their assumptions against the system you are describing.
A byte contains 8 bits. Lowercase b commonly denotes bits and uppercase B bytes; check the producer’s convention.
Fragment
Networking rates include protocol/transport effects; application throughput can be lower.
SI prefixes use powers of ten. The storage prefixes k, M and G shown here advance by powers of 1000; IEC binary prefixes Ki, Mi and Gi advance by powers of 1024.
Fragment
A rate divides a quantity by time. Convert the time unit before combining arrival rate, duration and concurrency.
Fragment
Absolute error retains units. Relative error divides by a nonzero reference magnitude. Percentage-point change subtracts percentages directly.
Fragment
Fixed-width integers have bounded ranges. Floating-point values approximate a discrete set of numbers; many decimal fractions are not represented exactly in binary.
Fragment
Overflow behavior is language/type dependent. For floating comparisons, choose an error model rather than an arbitrary universal epsilon.