laplace-edge-cases 541 B

1234567891011
  1. o Minor bugfixes:
  2. - Handle edge cases in the laplace functions:
  3. * avoid division by zero
  4. * avoid taking the log of zero
  5. * silence clang type conversion warnings using round and trunc
  6. * consistently check for overflow in round_*_to_next_multiple_of
  7. - Add tests for laplace edge cases:
  8. * check add_laplace_noise with maximal values
  9. * check round_*_to_next_multiple_of with additional values
  10. * check round_*_to_next_multiple_of with maximal values
  11. Related to HS stats in #13192.