stan-dev/stan — pull request #952 by PeterLi2016 (2014-08-28 21:42:35+00:00)
Title: Feature/test nan atanh

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.