Opened 10 years ago

Closed 9 years ago

#8351 closed Bugs (fixed)

uniform_real_distribution fails with [Valmin,Valmax[ interval

Reported by: Joel Falcou Owned by: Steven Watanabe
Milestone: Boost 1.54.0 Component: random
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Calling uniform_real_distribution::operator() with a distribution rolling between the minimum and the maximum representable real overflows the computation and the call never returns.

Change History (2)

comment:1 by harris.pc@…, 9 years ago

This is related to bug 6059 https://svn.boost.org/trac/boost/ticket/6059

It should be fixed in the next release.... right?

comment:2 by Steven Watanabe, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.