Opened 11 years ago
Closed 11 years ago
#6189 closed Bugs (fixed)
uniform_int produce invalid output when generating int64_t values
Reported by: | Owned by: | Steven Watanabe | |
---|---|---|---|
Milestone: | To Be Determined | Component: | random |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description
uniform_int could produce 4294967295 when requested interval is -50,50. The problem appears when interval type is int64_t.
I've attached minimal example to reproduce the issue.
Attachments (1)
Change History (4)
by , 11 years ago
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Bother. I thought I had fixed all the bugs...
comment:2 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
minimal example to reproduce the issue