|
Hegel 0.18.3
Property-based testing for C++
|
Parameters for floats() generator. More...
#include <numeric.h>
Public Attributes | |
| std::optional< T > | min_value |
| Inclusive minimum. Default: no minimum. | |
| std::optional< T > | max_value |
| Inclusive maximum. Default: no maximum. | |
| std::optional< T > | min_value_exclusive |
| std::optional< T > | max_value_exclusive |
| std::optional< bool > | allow_nan |
| Allow NaN. Default: true if unbounded. | |
| std::optional< bool > | allow_infinity |
| Allow infinity. Default: true if unbounded. | |
| std::optional< bool > | allow_subnormal |
Parameters for floats() generator.
| T | The floating point type |
| std::optional<bool> hegel::generators::FloatsParams< T >::allow_subnormal |
Allow subnormal values. Default: true when the bounds admit any
| std::optional<T> hegel::generators::FloatsParams< T >::max_value_exclusive |
A maximum that is itself excluded. Not together with max_value
| std::optional<T> hegel::generators::FloatsParams< T >::min_value_exclusive |
A minimum that is itself excluded. Not together with min_value