#include <ICU4XFixedDecimal.hpp>
|
uint8_t | digit_at (int16_t magnitude) const |
|
int16_t | magnitude_start () const |
|
int16_t | magnitude_end () const |
|
int16_t | nonzero_magnitude_start () const |
|
int16_t | nonzero_magnitude_end () const |
|
bool | is_zero () const |
|
void | multiply_pow10 (int16_t power) |
|
ICU4XFixedDecimalSign | sign () const |
|
void | set_sign (ICU4XFixedDecimalSign sign) |
|
void | apply_sign_display (ICU4XFixedDecimalSignDisplay sign_display) |
|
void | trim_start () |
|
void | trim_end () |
|
void | pad_start (int16_t position) |
|
void | pad_end (int16_t position) |
|
void | set_max_position (int16_t position) |
|
void | trunc (int16_t position) |
|
void | trunc_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | half_trunc (int16_t position) |
|
void | half_trunc_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | expand (int16_t position) |
|
void | expand_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | half_expand (int16_t position) |
|
void | half_expand_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | ceil (int16_t position) |
|
void | ceil_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | half_ceil (int16_t position) |
|
void | half_ceil_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | floor (int16_t position) |
|
void | floor_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | half_floor (int16_t position) |
|
void | half_floor_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
void | half_even (int16_t position) |
|
void | half_even_to_increment (int16_t position, ICU4XRoundingIncrement increment) |
|
diplomat::result< std::monostate, std::monostate > | concatenate_end (ICU4XFixedDecimal &other) |
|
template<typename W > |
void | to_string_to_writeable (W &to) const |
|
std::string | to_string () const |
|
| ICU4XFixedDecimal (capi::ICU4XFixedDecimal *i) |
|
| ICU4XFixedDecimal ()=default |
|
| ICU4XFixedDecimal (ICU4XFixedDecimal &&) noexcept=default |
|
ICU4XFixedDecimal & | operator= (ICU4XFixedDecimal &&other) noexcept=default |
|
◆ ICU4XFixedDecimal() [1/3]
ICU4XFixedDecimal::ICU4XFixedDecimal |
( |
capi::ICU4XFixedDecimal * |
i | ) |
|
|
inlineexplicit |
◆ ICU4XFixedDecimal() [2/3]
ICU4XFixedDecimal::ICU4XFixedDecimal |
( |
| ) |
|
|
default |
◆ ICU4XFixedDecimal() [3/3]
◆ apply_sign_display()
◆ ceil()
void ICU4XFixedDecimal::ceil |
( |
int16_t |
position | ) |
|
|
inline |
◆ ceil_to_increment()
◆ concatenate_end()
Concatenates other
to the end of self
.
If successful, other
will be set to 0 and a successful status is returned.
If not successful, other
will be unchanged and an error is returned.
See the Rust documentation for concatenate_end
for more information.
◆ create_from_f64_with_floating_precision()
◆ create_from_f64_with_integer_precision()
◆ create_from_f64_with_lower_magnitude()
◆ create_from_f64_with_significant_digits()
◆ create_from_i32()
◆ create_from_i64()
◆ create_from_string()
◆ create_from_u32()
◆ create_from_u64()
◆ digit_at()
uint8_t ICU4XFixedDecimal::digit_at |
( |
int16_t |
magnitude | ) |
const |
|
inline |
◆ expand()
void ICU4XFixedDecimal::expand |
( |
int16_t |
position | ) |
|
|
inline |
◆ expand_to_increment()
◆ floor()
void ICU4XFixedDecimal::floor |
( |
int16_t |
position | ) |
|
|
inline |
◆ floor_to_increment()
◆ half_ceil()
void ICU4XFixedDecimal::half_ceil |
( |
int16_t |
position | ) |
|
|
inline |
◆ half_ceil_to_increment()
◆ half_even()
void ICU4XFixedDecimal::half_even |
( |
int16_t |
position | ) |
|
|
inline |
◆ half_even_to_increment()
◆ half_expand()
void ICU4XFixedDecimal::half_expand |
( |
int16_t |
position | ) |
|
|
inline |
◆ half_expand_to_increment()
◆ half_floor()
void ICU4XFixedDecimal::half_floor |
( |
int16_t |
position | ) |
|
|
inline |
◆ half_floor_to_increment()
◆ half_trunc()
void ICU4XFixedDecimal::half_trunc |
( |
int16_t |
position | ) |
|
|
inline |
◆ half_trunc_to_increment()
◆ is_zero()
bool ICU4XFixedDecimal::is_zero |
( |
| ) |
const |
|
inline |
◆ magnitude_end()
int16_t ICU4XFixedDecimal::magnitude_end |
( |
| ) |
const |
|
inline |
◆ magnitude_start()
int16_t ICU4XFixedDecimal::magnitude_start |
( |
| ) |
const |
|
inline |
◆ multiply_pow10()
void ICU4XFixedDecimal::multiply_pow10 |
( |
int16_t |
power | ) |
|
|
inline |
◆ nonzero_magnitude_end()
int16_t ICU4XFixedDecimal::nonzero_magnitude_end |
( |
| ) |
const |
|
inline |
◆ nonzero_magnitude_start()
int16_t ICU4XFixedDecimal::nonzero_magnitude_start |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ pad_end()
void ICU4XFixedDecimal::pad_end |
( |
int16_t |
position | ) |
|
|
inline |
◆ pad_start()
void ICU4XFixedDecimal::pad_start |
( |
int16_t |
position | ) |
|
|
inline |
◆ set_max_position()
void ICU4XFixedDecimal::set_max_position |
( |
int16_t |
position | ) |
|
|
inline |
◆ set_sign()
◆ sign()
◆ to_string()
std::string ICU4XFixedDecimal::to_string |
( |
| ) |
const |
|
inline |
◆ to_string_to_writeable()
template<typename W >
void ICU4XFixedDecimal::to_string_to_writeable |
( |
W & |
to | ) |
const |
|
inline |
◆ trim_end()
void ICU4XFixedDecimal::trim_end |
( |
| ) |
|
|
inline |
◆ trim_start()
void ICU4XFixedDecimal::trim_start |
( |
| ) |
|
|
inline |
◆ trunc()
void ICU4XFixedDecimal::trunc |
( |
int16_t |
position | ) |
|
|
inline |
◆ trunc_to_increment()
The documentation for this class was generated from the following file: