aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/locale/c.h
blob: 87f7bd2d9d8f2a8cd32a7eb96eec93b098fc2150 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace vespalib::locale::c {

double strtod(const char *nptr, char **endptr);
float  strtof(const char *nptr, char **endptr);

// allow underflow variants
double strtod_au(const char *nptr, char **endptr);
float  strtof_au(const char *nptr, char **endptr);

inline double atof(const char *nptr) { return strtod(nptr, nullptr); }

}