Searched refs:radix_position (Results 1 – 3 of 3) sorted by relevance
278 int32_t radix_position = significand_digits + exponent; in bson_decimal128_to_string() local280 if (radix_position > 0) { /* non-zero digits before radix */ in bson_decimal128_to_string()281 for (i = 0; i < radix_position; i++) { in bson_decimal128_to_string()289 while (radix_position++ < 0) { /* add leading zeros after radix */ in bson_decimal128_to_string()293 for (i = 0; i < significand_digits - BSON_MAX (radix_position - 1, 0); in bson_decimal128_to_string()456 size_t radix_position = 0; /* The number of the digits after radix */ in bson_decimal128_from_string() local525 radix_position++; in bson_decimal128_from_string()588 if (exponent <= radix_position && radix_position - exponent > (1 << 14)) { in bson_decimal128_from_string()591 exponent -= radix_position; in bson_decimal128_from_string()
281 int32_t radix_position = significand_digits + exponent; in bson_decimal128_to_string() local283 if (radix_position > 0) { /* non-zero digits before radix */ in bson_decimal128_to_string()284 for (i = 0; i < radix_position; i++) { in bson_decimal128_to_string()292 while (radix_position++ < 0) { /* add leading zeros after radix */ in bson_decimal128_to_string()296 for (i = 0; i < significand_digits - BSON_MAX (radix_position - 1, 0); in bson_decimal128_to_string()455 size_t radix_position = 0; /* The number of the digits after radix */ in bson_decimal128_from_string() local523 radix_position++; in bson_decimal128_from_string()587 if (exponent <= radix_position && radix_position - exponent > (1 << 14)) { in bson_decimal128_from_string()590 exponent -= radix_position; in bson_decimal128_from_string()
281 int32_t radix_position = significand_digits + exponent; in bson_decimal128_to_string() local283 if (radix_position > 0) { /* non-zero digits before radix */ in bson_decimal128_to_string()285 i < radix_position && (str_out - str) < BSON_DECIMAL128_STRING; in bson_decimal128_to_string()294 while (radix_position++ < 0) { /* add leading zeros after radix */ in bson_decimal128_to_string()299 (i < significand_digits - BSON_MAX (radix_position - 1, 0)) && in bson_decimal128_to_string()493 size_t radix_position = 0; /* The number of the digits after radix */ in bson_decimal128_from_string_w_len() local562 radix_position++; in bson_decimal128_from_string_w_len()626 if (exponent <= radix_position && radix_position - exponent > (1 << 14)) { in bson_decimal128_from_string_w_len()629 exponent -= radix_position; in bson_decimal128_from_string_w_len()