28 lines
623 B
C++
28 lines
623 B
C++
#ifndef ICU4XRoundingIncrement_HPP
|
|
#define ICU4XRoundingIncrement_HPP
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
#include <algorithm>
|
|
#include <memory>
|
|
#include <variant>
|
|
#include <optional>
|
|
#include "diplomat_runtime.hpp"
|
|
|
|
#include "ICU4XRoundingIncrement.h"
|
|
|
|
|
|
|
|
/**
|
|
* Increment used in a rounding operation.
|
|
*
|
|
* See the [Rust documentation for `RoundingIncrement`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.RoundingIncrement.html) for more information.
|
|
*/
|
|
enum struct ICU4XRoundingIncrement {
|
|
MultiplesOf1 = 0,
|
|
MultiplesOf2 = 1,
|
|
MultiplesOf5 = 2,
|
|
MultiplesOf25 = 3,
|
|
};
|
|
|
|
#endif
|