math, bigly

Bob Sneidar bobsneidar at iotecdigital.com
Wed Aug 9 12:56:43 EDT 2017


I wonder how much leveraging SQLite can help. SQLite has only basic math functions, and you cannot use stored functions, but you CAN map functions to a C API. And if you can do THAT, then someone has written a math API, and maybe that is a good place to start looking. 

Bob S

https://stackoverflow.com/questions/2108870/how-to-create-custom-functions-in-sqlite
https://sqlite.org/c3ref/create_function.html
 
> On Aug 9, 2017, at 09:42 , Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Btw, I should mention that the way numbers work in LiveCode has become one of my biggest 'pet peeves' over the last year or so. The current way things work is too simplistic really - it hides the very important distinction between 'exact' and 'inexact' numeric representations, for example.
> 
> Unfortunately, there's a fair amount of work involved to fix the situation to my satisfaction level - although I think I have a handle on how to do so without hugely adversely affecting general numeric performance. *sigh*
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps





More information about the Use-livecode mailing list