stan-dev/stan — pull request #973 by PeterLi2016 (2014-08-30 12:14:25+00:00)
Title: Feature/test nan fma

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.