stan-dev/stan — pull request #985 by PeterLi2016 (2014-08-30 12:17:26+00:00)
Title: Feature/test nan log1p

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.