promote: stage → main (all elb linker fixes + ci-base rebuild) #42

Merged
will.anderson merged 56 commits from stage into main 2026-05-07 14:25:39 +00:00
Showing only changes of commit 8b074d2e39 - Show all commits
+7 -1
View File
@@ -4999,7 +4999,13 @@ el_val_t state_get_or(el_val_t key, el_val_t default_val) {
el_val_t float_to_str(el_val_t f) {
char buf[64];
snprintf(buf, sizeof(buf), "%g", el_to_float(f));
double v = el_to_float(f);
/* Normalize NaN to "nan" regardless of sign — platform-independent. */
if (isnan(v)) {
snprintf(buf, sizeof(buf), "nan");
} else {
snprintf(buf, sizeof(buf), "%g", v);
}
return el_wrap_str(el_strdup(buf));
}