Sign in
chromium
/
external
/
github.com
/
fastfloat
/
fast_float
/
babfa8b85c0c749e6df879760db9bf73161663ca
/
.
/
tests
/
bloat_analysis
/
a3.cpp
blob: f99361b3c100030f9eeeef64a463c8a095240a4a [
file
] [
log
] [
blame
]
#include
"fast_float/fast_float.h"
double
get3
(
char
const
*
input
)
{
double
result_value
;
auto
result
=
fast_float
::
from_chars
(
input
,
input
+
strlen
(
input
),
result_value
);
if
(
result
.
ec
!=
std
::
errc
())
{
return
3
;
}
return
result_value
;
}