Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
bdec7f15
Commit
bdec7f15
authored
May 05, 2018
by
Jonathan Wilkes
Browse files
Merge branch 'pranay_36/purr-data-pd-l2ork_double_header'
parents
aa659330
89aa8fc2
Pipeline
#1292
passed with stage
in 333 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pd/src/m_pd.h
View file @
bdec7f15
...
...
@@ -89,9 +89,19 @@ typedef unsigned __int64 uint64_t;
#if !defined(PD_LONGINTTYPE)
#define PD_LONGINTTYPE long
#endif
#if !defined(PD_FLOATTYPE)
#if !defined(PD_FLOAT_PRECISION)
#define PD_FLOAT_PRECISION 32
/* 32 for single precision or 64 for double precision */
#endif
#if PD_FLOAT_PRECISION == 32
#define PD_FLOATTYPE float
#elif PD_FLOAT_PRECISION == 64
#define PD_FLOATTYPE double
#else
#error invalid PD_FLOATPRECISION: must be 32 or 64
#endif
typedef
PD_LONGINTTYPE
t_int
;
/* pointer-size integer */
typedef
PD_FLOATTYPE
t_float
;
/* a float type at most the same size */
typedef
PD_FLOATTYPE
t_floatarg
;
/* float type for function calls */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment