Closed canac closed 1 year ago
I got it working by forking this library, adding -DSQLITE_ENABLE_MATH_FUNCTIONS
to the Makefile
, and rebuilding. But I ended up deciding to do the math in JS-land instead. Hopefully this will help someone else in the future though.
I'm trying to use mathematical functions with this library (
log2
specifically), but it seems that it needs to be enabled via a compile-time flag. When I compile it with-DSQLITE_ENABLE_MATH_FUNCTIONS
on my machine, the file sizes seem to increase by about 10%.Is that an acceptable size increase to enable math functions? Or should I just fork to enable them for my own project?