Stan Math Library  2.15.0
reverse mode automatic differentiation
Namespaces | Functions
round.hpp File Reference
#include <stan/math/prim/scal/fun/boost_policy.hpp>
#include <stan/math/prim/scal/fun/is_nan.hpp>
#include <boost/math/special_functions/round.hpp>
#include <limits>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

double stan::math::round (double x)
 Return the closest integer to the specified argument, with halfway cases rounded away from zero. More...
 
double stan::math::round (int x)
 Return the closest integer to the specified argument, with halfway cases rounded away from zero. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.