20#ifndef RIPPLE_BASICS_MATHUTILITIES_H_INCLUDED 
   21#define RIPPLE_BASICS_MATHUTILITIES_H_INCLUDED 
   47    return ((
std::min(count, total) * 100) + total - 1) / total;
 
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
constexpr std::size_t calculatePercent(std::size_t count, std::size_t total)
Calculate one number divided by another number in percentage.