Typedef for real in C target
This commit is contained in:
parent
94badc5f01
commit
fa4aaee865
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
|||
#ifndef DECADES_PERVASIVES_H
|
||||
#define DECADES_PERVASIVES_H
|
||||
|
||||
typedef float real;
|
||||
|
||||
/* between(i, n) returns idx between 0 and n-1. */
|
||||
static inline int between(int idx, int n)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue