pub fn bps_of_ceil(amount: u64, basis_points: u16) -> Result<u64, ProgramError>Expand description
Basis-point fee (ceiling): ceil(amount * bps / 10_000).
Fees must never round to zero. Use this so the protocol always collects at least 1 token unit of fee when configured.