pub fn checked_div_ceil(a: u64, b: u64) -> Result<u64, ProgramError>Expand description
Checked ceiling division: ceil(a / b).
Rounds up instead of truncating. Use for fee calculations and minimum outputs where truncation would favor the user at the protocol’s expense.