SUMPRODUCT#24
Conversation
|
cursor review |
|
Should be its own PR. |
|
cursor review |
|
cursor review |
|
cursor review |
There was a problem hiding this comment.
Bug: Missing Function Documentation Pages
The documentation marks SUMIF and SUMIFS as 'Available' with links to their documentation pages (SUMIF and SUMIFS). However, these linked page stubs are not visible in the provided diff, indicating they may not exist. This violates the requirement that functions must be 'properly documented with their own page stub' that 'just have to exist' to prevent 404 errors, unlike SUMPRODUCT which had its page updated.
docs/src/functions/math-and-trigonometry.md#L85-L88
IronCalc/docs/src/functions/math-and-trigonometry.md
Lines 85 to 88 in b3c2224
Was this report helpful? Give feedback by reacting with 👍 or 👎
# Conflicts: # base/src/test/test_database.rs
SUMPRODUCT multiplies corresponding elements in arrays and returns the sum of those products. This is useful for weighted calculations. Implementation: - Handles both range and array arguments - Validates dimension compatibility - Proper error propagation for non-numeric values - Uses hardcoded function lookup (no language.bin changes) Tests: 6 comprehensive tests covering basic usage, arrays, scalars, data types, edge cases, and error conditions. Note: SUMIF and SUMIFS from original PR are now in upstream.
- Remove verbose comments that repeat what code already expresses - Use unreachable!() for logically impossible code path - Keep defensive bounds check without explanatory comment
Add SUMPRODUCT to function tables and mark it available in docs.
60c1ce4 to
19752b1
Compare
Summary
SUMPRODUCTfunctionSUMIFandSUMIFSin docsTesting
cargo test --workspace --libhttps://chatgpt.com/codex/tasks/task_e_68657274956c83279330f179fe5fc4aa