EV-Redis
view release on metacpan or search on metacpan
deps/hiredis/ffc.h view on Meta::CPAN
// call overload that takes parsed_number_string directly.
return ffc_from_chars_advanced(pns, value, vk);
}
/* extern FFC_IMPL_INLINE gives GCC the always_inline directive while also
* requesting external linkage so non-FFC_IMPL TUs can link these symbols. */
extern FFC_IMPL_INLINE ffc_result ffc_from_chars_double_options(const char *start, const char *end, double* out, ffc_parse_options options) {
// It would be UB to directly use *out as our ffc_value, even though its the same layout
ffc_value out_value = {0};
// The all-important call with a constant VALUE_KIND that should cascade in tons of inlining
ffc_result result = ffc_from_chars((char*)start, (char*)end, options, &out_value, FFC_VALUE_KIND_DOUBLE);
*out = out_value.d;
return result;
}
extern FFC_IMPL_INLINE ffc_result ffc_from_chars_double(char const* first, char const* last, double* out) {
ffc_parse_options options = ffc_parse_options_default();
return ffc_from_chars_double_options(first, last, out, options);
}
ffc_result ffc_parse_double(size_t len, const char *s, double *out) {
char *pend = (char*)(s + len);
( run in 1.814 second using v1.01-cache-2.11-cpan-e7c6538aa59 )