ic-sqlite-vfs 0.1.1

SQLite VFS backed directly by Internet Computer stable memory
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef IC_SQLITE_MATH_H
#define IC_SQLITE_MATH_H

#define HUGE_VAL (__builtin_huge_val())

static inline double fabs(double x) { return x < 0 ? -x : x; }
static inline int isnan(double x) { return x != x; }
static inline int isinf(double x) { return !isnan(x) && isnan(x - x); }
static inline int finite(double x) { return !isnan(x) && !isinf(x); }
double log(double x);

#endif