baml._sum_float
(internal) Native backing for `float[].sum()`; call that instead. Adds every element left to right starting from `0.0` with plain sequential IEEE 754 addition; the empty array sums to `0.0`. Never fails — a total too large to represent becomes an infinity.
Reference version
Signature
function baml._sum_float(values: float[]) -> float throws never
(internal) Native backing for float[].sum(); call that instead. Adds every
element left to right starting from 0.0 with plain sequential IEEE 754
addition; the empty array sums to 0.0. Never fails — a total too large to
represent becomes an infinity.
Source:<builtin>/baml/containers.bamlbytes 39502–39583