New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-974822824 Comment: Are you using system arb? There used to be some issue with rounding in `gamma_fmpq` that was fixed upstream in 2.21.1 (cf https://github.com/fredrik-johansson/arb/commit/450435a84a40acc1871cd84f1caf2ea47c11a18c) Since sagemath is still shipping 2.19, maybe that's the reason?