Typedef for real in C target

This commit is contained in:
Timothy Bourke 2017-04-08 20:28:55 +02:00 committed by Gwenaël Delaval
parent 94badc5f01
commit fa4aaee865

View file

@ -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)
{