stan-dev/stan — pull request #955 by PeterLi2016 (2014-08-28 22:37:53+00:00)
Title: Feature/test nan cbrt

#### Summary:
Added NaN tests for cbrt in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN. I also switched to the no namespace version of cbrt to match the double version.

#### Intended Effect:
Added NaN tests for cbrt in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

#### How to Verify:
Run test/unit-agrad-fwd/functions/cbrt, test/unit-agrad-rev/functions/cbrt

#### Side Effects:
None.

#### Documentation:
Added doc on behavior of cbrt at NaN and partial derivatives.

#### Reviewer Suggestions:
Anyone.