reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
41 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); 43 N = Numerator; 46 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator;