Hi, New code in GNU APL svn1946 of Jan 2026:
/// compare function for bsearch()
static int compare(const Value * const & key,
const _val_par & B, const void *)
{
return int64_t(key) - int64_t(B._val);
}
Has a portability bug that manifests on some architectures. I found it
when integrating post-svn1945 for trygnuapl.github.io. C/C++ coders may
want to see if they can spot anything amiss.
The bug hunt story, bug explanation, and my solution are here:
https://gist.github.com/roytobin/7b06f28a4acc9fbca103168807e49535