stan-dev/stan — pull request #968 by PeterLi2016 (2014-08-29 04:35:17+00:00)
Title: Feature/test nan rising factorial

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.