proconlib

This documentation is automatically generated by competitive-verifier/competitive-verifier

View the Project on GitHub anqooqie/proconlib

:heavy_check_mark: Rounding mode (tools/rounding_mode.hpp)

enum class rounding_mode {
  ceiling,
  down,
  floor,
  half_down,
  half_even,
  half_up,
  up
};

It is a rounding mode for tools::bigdecimal.

Constraints

Time Complexity

License

Author

Required by

Verified with

Code

#ifndef TOOLS_ROUNDING_MODE_HPP
#define TOOLS_ROUNDING_MODE_HPP

namespace tools {
  enum class rounding_mode {
    ceiling,
    down,
    floor,
    half_down,
    half_even,
    half_up,
    up
  };
}

#endif
#line 1 "tools/rounding_mode.hpp"



namespace tools {
  enum class rounding_mode {
    ceiling,
    down,
    floor,
    half_down,
    half_even,
    half_up,
    up
  };
}


Back to top page