stan-dev/stan — pull request #975 by PeterLi2016 (2014-08-30 12:14:56+00:00)
Title: Feature/test nan gamma p

#### Summary:
Added NaN tests for gamma_p in math/functions, agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.