math, bigly
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Aug 9 13:15:35 EDT 2017
OIC. I was under the impression that the C math libraries deal with numbers of high precision better than Livecode does, perhaps themselves generating errors on overflow. Maybe that is not the case.
Bob S
> On Aug 9, 2017, at 10:11 , Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> On 08/09/2017 09:56 AM, Bob Sneidar via use-livecode wrote:
>> 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.
>
> The problem isn't with the math libraries. There's nothing wrong with the way the engine deals with math at that level, and I wouldn't expect SQLite to use anything other than the standard math libraries.
>
> The problem I've run into is more at a higher level, dealing with number parsing and runtime overflow detection before truncating input parameters down to unsigned integers and calling the math library.
>
> --
> Mark Wieder
> ahsoftware at gmail.com
More information about the use-livecode
mailing list