Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
dtool
src
dtoolbase
pdtoa.h
1
/*
2
This is a double-to-string conversion implementation by Milo Yip from:
3
https://github.com/miloyip/dtoa-benchmark
4
5
I introduced it because the ostringstream implementation is just too
6
darned slow, especially when compiled to JavaScript.
7
*/
8
9
#ifndef PDTOA_H
10
#define PDTOA_H
11
12
#include "dtoolsymbols.h"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
EXPCL_DTOOL
void
pdtoa(
double
value,
char
*buffer);
19
20
#ifdef __cplusplus
21
};
/* end of extern "C" */
22
#endif
23
24
#endif // PDTOA_H
Generated on Mon Feb 1 2016 13:44:15 for Panda3D by
1.8.5