Panda3D
Loading...
Searching...
No Matches
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 "
dtoolbase.h
"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
EXPCL_DTOOL_DTOOLBASE
void
pdtoa(
double
value,
char
*buffer);
19
20
#ifdef __cplusplus
21
};
/* end of extern "C" */
22
#endif
23
24
#endif
// PDTOA_H
dtoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Jan 8 2024 17:18:34 for Panda3D by
1.10.0