#include "stdint.h"
#include "stdlib.h"
Go to the source code of this file.
◆ is_negative()
| constexpr bool is_negative |
( |
int32_t |
i | ) |
|
|
constexpr |
◆ count_digits()
| constexpr size_t count_digits |
( |
int32_t |
i | ) |
|
|
constexpr |
◆ nth_char()
| constexpr char nth_char |
( |
int32_t |
i, |
|
|
size_t |
n |
|
) |
| |
|
constexpr |
◆ pow_int()
| constexpr int pow_int |
( |
int |
val, |
|
|
size_t |
pow |
|
) |
| |
|
constexpr |
54 return pow == 0 ? 1 : val *
pow_int(val, pow - 1);
◆ remove_front_digit()
| constexpr int remove_front_digit |
( |
int32_t |
i | ) |
|
|
constexpr |
◆ _count_digits_unsigned()
| static constexpr size_t _count_digits_unsigned |
( |
uint32_t |
ui | ) |
|
|
staticconstexpr |
◆ count_digits_unsigned()
| static constexpr size_t count_digits_unsigned |
( |
uint32_t |
ui | ) |
|
|
staticconstexpr |
◆ valid_nth_char_unsigned()
| static constexpr char valid_nth_char_unsigned |
( |
uint32_t |
ui, |
|
|
size_t |
n |
|
) |
| |
|
staticconstexpr |
◆ nth_char_unsigned()
| static constexpr char nth_char_unsigned |
( |
uint32_t |
ui, |
|
|
size_t |
n |
|
) |
| |
|
staticconstexpr |
◆ nth_char_negative()
| static constexpr char nth_char_negative |
( |
int32_t |
i, |
|
|
size_t |
n |
|
) |
| |
|
staticconstexpr |
◆ remove_front_digit_unsigned()
| static constexpr int remove_front_digit_unsigned |
( |
uint32_t |
ui | ) |
|
|
staticconstexpr |