Menu

#710 extend maximum RANDOM() range beyond 9 digits

None
unread
nobody
None
none
1
2019-01-18
2018-03-04
Erich
No

It would be nice if the RANDOM() BIF allowed random numbers with ranges larger than 999.999.999

maybe we can generate 48 random bits like what the various ..rand48() glibc functions return
also a compatible random numbers sequence (given the same seed) might be a good thing

Discussion

  • Rick McGuire

    Rick McGuire - 2018-03-04

    The random function already allows this on 64-bit systems and is generating the random numbers using a 64-bit value.

     
    • Rick McGuire

      Rick McGuire - 2018-03-04

      Oops, I take that back. The 64-bit changes were the ones that extended the range to 999,999,999

       
  • Erich

    Erich - 2019-01-18
    • Milestone: 5.0.0 --> None
     

Anonymous
Anonymous

Add attachments
Cancel