Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Namespaces | |
namespace | QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE |
Functions | |
double | QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::percent_of (double amount, double total) |
Returns the percentage of \amount over total. | |
double | QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::uniform_probability (std::size_t cardinality) |
Given the cardinality of a set, returns the percentage probability that applied to every element of the set generates a uniform distribution. | |
double | QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::probability_to_percentage (double probability) |
Returns a percentage probability that is equal to probability. | |