30 while (*mantissa_it ==
'0')
35 if (*mantissa_it !=
'\0')
44 char const *
const mantissa_base,
45 char const *
const mantissa_it,
53 return *mantissa_it >=
'5';
60 if (*mantissa_it >
'5')
65 if (*mantissa_it <
'5')
82 if (mantissa_it == mantissa_base)
88 return *(mantissa_it - 1) % 2;
111 __crt_cached_ptd_host&
ptd
138 *buffer_it++ = *mantissa_it ? *mantissa_it++ :
'0';
151 while (*buffer_it ==
'9')
static bool check_trailing(char const *mantissa_it, __acrt_has_trailing_digits const trailing_digits)
errno_t __cdecl __acrt_fp_strflt_to_string(char *const buffer, size_t const buffer_count, int digits, STRFLT const pflt, __acrt_has_trailing_digits const trailing_digits, __acrt_rounding_mode const rounding_mode, __crt_cached_ptd_host &ptd)
static bool should_round_up(char const *const mantissa_base, char const *const mantissa_it, int const sign, __acrt_has_trailing_digits const trailing_digits, __acrt_rounding_mode const rounding_mode)
ACPI_SIZE strlen(const char *String)
__acrt_has_trailing_digits
#define _UCRT_VALIDATE_RETURN_ERRCODE(ptd, expr, errorcode)
int __cdecl fegetround(void)
result_buffer_count char *const _In_ int const _In_ bool const _In_ unsigned const _In_ STRFLT const pflt
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
_In_ size_t const _In_ int const _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const rounding_mode
static const int digits[]
#define memmove(s1, s2, n)
size_t const buffer_count