The two overloads of factorize_floori() always succeed (provided the preconditions hold) because they were carefully written to avoid any possible overflow. However, both factorize_ceili() overloads can currently overflow. I suspect that factorize_ceili() could also be reformulated such that no overflow can occur overflows occur in fewer cases (e.g. the related log_ceili() is overflow-free).
The two overloads of
factorize_floori()always succeed (provided the preconditions hold) because they were carefully written to avoid any possible overflow. However, bothfactorize_ceili()overloads can currently overflow. I suspect thatfactorize_ceili()could also be reformulated such thatno overflow can occuroverflows occur in fewer cases (e.g. the relatedlog_ceili()is overflow-free).