reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

usr/include/c++/7.4.0/bits/uniform_int_dist.h
  231 	const __uctype __urngmin = __urng.min();
  232 	const __uctype __urngmax = __urng.max();
  233 	const __uctype __urngrange = __urngmax - __urngmin;
  234 	const __uctype __urange
  235 	  = __uctype(__param.b()) - __uctype(__param.a());
  235 	  = __uctype(__param.b()) - __uctype(__param.a());
  237 	__uctype __ret;
  242 	    const __uctype __uerange = __urange + 1; // __urange can be zero
  243 	    const __uctype __scaling = __urngrange / __uerange;
  244 	    const __uctype __past = __uerange * __scaling;
  246 	      __ret = __uctype(__urng()) - __urngmin;
  267 	    __uctype __tmp; // wraparound control
  270 		const __uctype __uerngrange = __urngrange + 1;
  273 		__ret = __tmp + (__uctype(__urng()) - __urngmin);
  278 	  __ret = __uctype(__urng()) - __urngmin;