Hello everyone,
I observed the discrepancy between the outputs of Racket 7.4 and its CS
variant on a function that uses the random number generator. Please see the
following two screenshots. Is the behavior expected?
Thanks,
Shaobo
[image: Capture1.PNG]
[image: Capture2.PNG]
--
You
of these formats based on the bit
representations of quad-precision numbers is easy.
Shaobo
George Neuner 于2019年8月25日周日 上午10:28写道:
>
> On 8/23/2019 8:39 PM, Shaobo He wrote:
> > Hello everyone,
> >
> > I'm in need of quad-precision floating-point type/operations in Racket
; On 8/23/2019 8:39 PM, Shaobo He wrote:
> > Hello everyone,
> >
> > I'm in need of quad-precision floating-point type/operations in Racket
> > (the bigfloat module doesn't work for me). It appears there's none, am
> > I right?
> >
> > If so, I thin
Hello everyone,
I'm in need of quad-precision floating-point type/operations in Racket (the
bigfloat module doesn't work for me). It appears there's none, am I right?
If so, I think I will try to write one myself, which is going to be a
wrapper to libquadmath. Any suggestions about how I
Got it. Thank you.
Jay McCarthy 于2019年6月4日周二 下午7:08写道:
> The financial aid means everything is paid for.
>
> --
> Jay McCarthy
> Associate Professor @ CS @ UMass Lowell
> http://jeapostrophe.github.io
> Vincit qui se vincit.
>
> On Tue, Jun 4, 2019 at 8:35 PM Shao
Hello everyone,
Can I ask a question about Racket School here? I got the financial aid, do
I still need to purchase the ticket or it's waived?
Thanks,
Shaobo
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and
Thank you guys. I'll start to dig into it after a paper deadline.
Sam Tobin-Hochstadt 于2019年4月19日周五 上午7:29写道:
> On 1: the best thing to do is figure out (probably with logging) which
> call to MPFR and what arguments produce the assertion.
> 2: I don't think there's any intended
Thank you. I think `random-natural` works for my case.
'Paulo Matos' via Racket Users 于2019年4月2日周二
上午12:49写道:
> Check the math library by Neil Toronto:
>
> https://docs.racket-lang.org/math/base.html?q=random#%28part._.Random_.Number_.Generation%29
>
> (random-natural k) → Natural
>
>
Thank you very much. This is exactly what I needed.
Gustavo Massaccesi 于2019年4月3日周三 下午2:22写道:
> The implementation is tricky, but you can understand the distribution
> looking at this "alternative" implementation:
>
> (define (myrandom)
> #;(/ (+ (random 4294967087) 1) (+ 4294967087 1))
>
Thank you for your reply. This is my thought too but I'm not sure if
combining multiple random bits break any good properties of random number
generators. Sorry I should've mentioned it. I was talking about bounded
random numbers.
Robby Findler 于2019年4月1日周一 下午3:35写道:
> Generate multiples of
10 matches
Mail list logo