Panda3D
Loading...
Searching...
No Matches
pstrtod.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file pstrtod.h
10 * @author drose
11 * @date 2009-06-13
12 */
13
14#ifndef PSTRTOD_H
15#define PSTRTOD_H
16
17#include "dtoolbase.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23EXPCL_DTOOL_DTOOLBASE double
24pstrtod(const char *nptr, char **endptr);
25
26EXPCL_DTOOL_DTOOLBASE double
27patof(const char *str);
28
29#ifdef __cplusplus
30}; /* end of extern "C" */
31#endif
32
33#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
double patof(const char *str)
This function re-implements atof, to avoid the problems that occur when the LC_NUMERIC locale gets se...
Definition pstrtod.cxx:156
double pstrtod(const char *nptr, char **endptr)
This function re-implements strtod, to avoid the problems that occur when the LC_NUMERIC locale gets ...
Definition pstrtod.cxx:31