stan-dev/stan — pull request #958 by PeterLi2016 (2014-08-28 22:57:13+00:00)
Title: Feature/test nan cosh

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.