Ticket #268 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

(choose n m) doesn't work for large numbers (runtime error)

Reported by: joe@… Owned by: williams
Priority: major Milestone:
Component: williams/science.plt Keywords:
Cc: Version: 3.9
Racket Version: 4.2.4

Description

Symptom:

(choose 500 100)

procedure application: expected procedure, given: 500; arguments were: #<procedure:-> 400

Suggested fix -- on line 1163 in gamma-imp.ss, change

(if (< (n - m) 64)

to

(if (< (- n m) 64)

Change History

Changed 4 years ago by williams

  • status changed from new to accepted

Changed 4 years ago by williams

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in Version 3.10.

Note: See TracTickets for help on using tickets.