[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [proposal] Concerns about math.random
- From: Coroutines <coroutines@...>
- Date: Sat, 22 Mar 2014 08:33:41 -0700
On Sat, Mar 22, 2014 at 8:31 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> On Mac OS X the man page reads:
>> These interfaces are obsoleted by arc4random(3).
>>
>> I'd bet my bottom-dollar rand is calling arc4random() internally. I
>> bet you my next paycheck rand() as an interface is deprecated to keep
>> people from using it on older systems with poorer implementations :-)
>
> Please send me a check. :-)
>
> https://www.opensource.apple.com/source/Libc/Libc-320.1.3/stdlib/FreeBSD/rand.c
>
This saddens me greatly :( I should have known not to go up against a
math guy :p You'll be getting $20 in American pennies, shipped
through Asia. :p