stan-dev/stan — pull request #977 by PeterLi2016 (2014-08-30 12:15:25+00:00)
Title: Feature/test nan inv squ

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.