stan-dev/stan — pull request #971 by PeterLi2016 (2014-08-30 12:13:40+00:00)
Title: Feature/test nan floor

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.