aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/jsonpath/parse_double.h
blob: 8481bf7e82b269b60f4e7093f341c555569839c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <util/generic/string.h>

namespace NYql::NJsonPath {

// Parses double literal. Respects exponential format like `-23.5e-10`.
// On parsing error returns NaN double value (can be checked using `std::isnan`).
// On double overflow returns INF double value (can be checked using `std::isinf`).
double ParseDouble(const TStringBuf literal);

}