Strong type wrapper for the desired standard error constructor parameter. More...
#include <approx_distinct_count.hpp>
Public Member Functions | |
| constexpr | desired_standard_error (double v) |
| Constructs a desired_standard_error with the given value. More... | |
Public Attributes | |
| double | value |
| The requested standard error value (must be positive) | |
Strong type wrapper for the desired standard error constructor parameter.
Use this type to construct an approx_distinct_count with a desired error tolerance instead of specifying precision directly.
Example:
Definition at line 99 of file approx_distinct_count.hpp.
|
inlineexplicitconstexpr |
Constructs a desired_standard_error with the given value.
| v | The requested standard error value (must be positive, e.g., 0.01 for ~1% error) |
Definition at line 106 of file approx_distinct_count.hpp.