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
  300 	const __uctype __urngmin = __urng.min();
  301 	const __uctype __urngmax = __urng.max();
  302 	const __uctype __urngrange = __urngmax - __urngmin;
  303 	const __uctype __urange
  304 	  = __uctype(__param.b()) - __uctype(__param.a());
  304 	  = __uctype(__param.b()) - __uctype(__param.a());
  306 	__uctype __ret;
  315 		    __ret = __uctype(__urng()) - __urngmin;
  322 		const __uctype __uerange = __urange + 1; // __urange can be zero
  323 		const __uctype __scaling = __urngrange / __uerange;
  324 		const __uctype __past = __uerange * __scaling;
  328 		      __ret = __uctype(__urng()) - __urngmin;
  351 	    __uctype __tmp; // wraparound control
  356 		    const __uctype __uerngrange = __urngrange + 1;
  359 		    __ret = __tmp + (__uctype(__urng()) - __urngmin);
  367 	    *__f++ = __uctype(__urng()) - __urngmin + __param.a();