Generate multiples of those and combine them (shifting old ones over and adding new ones as the lowest digits)?
I'm not sure of a good way to generate nats uniformly at random where you don't specify an upper bound, but Neil Toronto suggested something crazy we used this paper: http://users.cs.northwestern.edu/~robby/pubs/papers/jfp2017-nfmf.pdf Robby On Mon, Apr 1, 2019 at 4:31 PM <polarish...@gmail.com> wrote: > > Hello everyone, > > It appears that the largest number returned by the random function in Racket > is 4294967087-1 for a good reason. Are there any libraries or simple > approaches to generate a number larger than that? > > Thanks, > Shaobo > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.