Panda3D
Loading...
Searching...
No Matches
dtool
src
dtoolbase
numeric_types.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 numeric_types.h
10
* @author drose
11
* @date 2000-06-06
12
*/
13
14
#ifndef NUMERIC_TYPES_H
15
#define NUMERIC_TYPES_H
16
17
#include "
dtoolbase.h
"
18
19
// This header file defines a number of typedefs that correspond to the
20
// various numeric types for unsigned and signed numbers of various widths.
21
22
#include <stdint.h>
23
24
typedef
double
PN_float64;
25
typedef
float
PN_float32;
26
27
#ifndef STDFLOAT_DOUBLE
28
// The default setting--single-precision floats.
29
typedef
float
PN_stdfloat;
30
#else
// STDFLOAT_DOUBLE
31
// The specialty setting--double-precision floats.
32
typedef
double
PN_stdfloat;
33
#endif
// STDFLOAT_DOUBLE
34
35
#endif
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