proptest::num

Module f32

source

Structs§

  • Strategies which produce floating-point values from particular classes. See the various Any-typed constants in this module.
  • Shrinks a float towards 0, using binary search to find boundary points.

Constants§

  • Generates literally arbitrary floating-point values, including infinities and quiet NaNs (but not signaling NaNs).
  • Generates infinity floats.
  • Generates negative floats.
  • Generates “normal” floats.
  • Generates positive floats
  • Generates “Quiet NaN” floats.
  • Generates “Signaling NaN” floats if allowed by the platform.
  • Generates subnormal floats.
  • Generates zero-valued floats.