Page 1 of 1

[CAMB] Double precision in matterpower.dat

Posted: March 05 2016
by Hélion des Bourboux
Hi all,

I would need to get double precision instead of float in *matterpower.dat.
What is the option to do such a thing ?

For now I have in this file two columns with only 5 diggits precision. :
0.10005E+04 0.33411E-06


Cheers,

Re: [CAMB] Double precision in matterpower.dat

Posted: March 05 2016
by Antony Lewis
You can use CAMB python version to get the array, or change the fortran source code for the output and recompile. However the numerical accuracy is not higher than 5 sig figs.

[CAMB] Double precision in matterpower.dat

Posted: March 29 2016
by Hélion des Bourboux
Thank you for the help.