stan-dev/stan — pull request #956 by PeterLi2016 (2014-08-28 22:45:00+00:00)
Title: Feature/test nan ceil

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

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

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

#### Side Effects:
None.

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

#### Reviewer Suggestions:
Anyone.