Opened 11 years ago

Closed 11 years ago

#5354 closed defect (fixed)

[with patch, positive review] stop paying attention to <stdlib.h> RAND_MAX (should fix problems on Solaris)

Reported by: cwitty Owned by: mabshoff
Priority: major Milestone: sage-3.4
Component: porting: Solaris Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The randstate framework always provides 31-bit random numbers regardless of platform, so RAND_MAX should be ignored.

Attachments (1)

ignore-rand-max.patch (3.5 KB) - added by cwitty 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by cwitty

comment:1 Changed 11 years ago by mabshoff

  • Summary changed from [with patch, needs review] stop paying attention to <stdlib.h> RAND_MAX (should fix problems on Solaris) to [with patch, positive review] stop paying attention to <stdlib.h> RAND_MAX (should fix problems on Solaris)

Nice. Positive review.

Cheers,

Michael

comment:2 Changed 11 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 3.4.alpha0.

Cheers,

Michael

Note: See TracTickets for help on using tickets.