http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
Page 10 describes loop bounds and recursion limitations.