stan-dev/stan — pull request #1005 by PeterLi2016 (2014-09-01 02:56:16+00:00)
Title: Feature/test nan hypot

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.