stan-dev/stan — pull request #964 by PeterLi2016 (2014-08-29 03:03:44+00:00)
Title: Feature/test nan expm1

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.