Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile under MINGW64 - drand48 is not partof stdlib #18

Open
spasmsagain opened this issue Sep 23, 2020 · 0 comments
Open

Won't compile under MINGW64 - drand48 is not partof stdlib #18

spasmsagain opened this issue Sep 23, 2020 · 0 comments

Comments

@spasmsagain
Copy link

Hi

Trying to compile this under Windows 10 on a MINGW64 (which is actually part of the windows Octave package)

Downloaded and built pcg_random.

Added in the headers and suggested on pcg_random help pages to use ldexp(pcg32_random(), -32) - 1.0; (not after cryptographic quality random numbers).

It builds but I'm getting
40 1.#INF00e+000 0.000000e+000
80 1.#INF00e+000 0.000000e+000
120 1.#INF00e+000 0.000000e+000
in the output_MMult0.m file which wont plot

Suggestions on fixing for Windows MINGW64?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant