Function lupnt::round¶ Defined in File math_utils.h Function Documentation¶ Real lupnt::round(Real x, int n = 0)¶ Round x to n decimal places, preserving x’s autodiff derivative information (only the value is rounded). Parameters: x – Value to round n – Number of decimal places (default 0) Returns: Rounded value