Skip to content
Snippets Groups Projects
Commit 85018f40 authored by Manuel López-Ibáñez's avatar Manuel López-Ibáñez Committed by Paolo Carlini
Browse files

re PR libstdc++/56202 (SIGFPE (division by zero) in std::binomial_distribution)


2013-02-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/56202
	* include/bits/random.tcc (binomial_distribution<>::
	_M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
	division by zero.

Co-Authored-By: default avatarPaolo Carlini <paolo.carlini@oracle.com>

From-SVN: r195722
parent 152689dc
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment