Sami Vaarala
Sami Vaarala
> The ptr_diff is taken between the post reallocation new_valstack pointer and pre-allocation thr->valstack pointer variables. Realloc function might change the base pointer, so there might be a difference between...
Thanks for the clarifications, could you comment on this: > However the issue remains that the original pointer after realloc is not a valid pointer in std C as it...
Hi, a Duktape/C function can call into JS world again using duk_pcall(), duk_eval() etc freely. The only limitations to this are: - Size of the native stack (and JS call...
Thanks, I'll try to verify this when I get a chance :+1:
How are you compiling Duktape: - Are you using the default sources, or running tools/configure.py? - What compiler version and options are you using? Also, could use: - Run tools/configure.py,...
@gmxyb Any update on this issue?
Ok, Duktape assumes the default IEEE floating point configuration, including rounding modes, using NaNs instead of exceptions, etc. This is apparently what you've run into.