Commit Graph
1 Commits
Author SHA1 Message Date
waozi d2380a0c2b Add math functions with 1:1 gnumeric parity
ACOT, ACOTH (piecewise form matching gnumeric's libspreadsheet
binary: log1p branch above |x|>2, difference-of-logs otherwise),
ACOSH, ASINH, ATANH, EXPM1, LOG2, HYPOT, SQRTPI, SINPI, COSPI,
TANPI, COTPI (goffice's reduction-based sinpi/cospi with the exact
quarter-value special cases), CEILING, MROUND, ISEVEN, ISODD,
SUMSQ, SUMX2MY2, SUMX2PY2, SUMXMY2, and MULTINOMIAL with
gnumeric's incremental binomial product.

SUMX* functions reproduce gnumeric 1.12.57's behavior of returning
#VALUE! for range arguments (only scalar pairs evaluate).

tests/fixtures/math2_functions.gnumeric: 46 formulas, all matching
ssconvert; parity-test.sh green for 12 fixtures and round-trips.
2026-09-05 05:03:17 -03:00