tisonkun opened a new pull request, #380:
URL: https://github.com/apache/datasketches-rust/pull/380

   ## Summary
   
   Following up on #355, this updates the doc comment on `STEADY_STATE_MODEL` 
in `datasketches/src/cpc/compression_data.rs` to state the exact finite 
128-column Poisson shift identity:
   
   ```text
   f_128(2 * lambda) = f_128(lambda) + (1 - exp(-lambda)) - (1 - exp(-lambda / 
2^128))
   ```
   
   Previous wording cited the infinite-column identity `f(2 * lambda) = 
f(lambda) + 1 - exp(-lambda)`, which omits the right-edge truncation term `1 - 
exp(-lambda / 2^128)`. At `C / K = 6 + 1/32` (`lambda ≈ 51.9`), that right-edge 
term is about `1.53e-37` (negligible relative to both the left-edge term 
`2.8e-23` and the `6.1e-12` binomial residual), while by base `84` (`C / K = 84 
+ 1/32`) it grows to `~4.61e-14`, consistent with the base `85` right-edge 
failure noted under `STEADY_STATE_C_OVER_K_BASE`.
   
   Comment-only change; no runtime or test code changed.
   
   ## Checks
   
   - `cargo test -p datasketches --all-features cpc` (11 passed, 0 failed)
   - `cargo x lint` (passed)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to