mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)

 Corbyguy 2008-06-06 17:55

Decimal Places

Is it possible to increase the decimal places shown in the outputs from 2 decimal places ie 0.00% to that of say 4 decimal places ie 0.0000%

Jamie

 Mini-Geek 2008-06-06 18:47

[quote=Corbyguy;135341]Is it possible to increase the decimal places shown in the outputs from 2 decimal places ie 0.00% to that of say 4 decimal places ie 0.0000%

Jamie[/quote]
In prime.ini (prime.txt for 25.x) add the PercentPrecision=n line. For the precision you showed, use PercentPrecision=4.

 ATH 2008-06-07 02:23

undoc.txt:
[QUOTE]You can adjust how many decimal digits of precision are displayed
in lines output to the screen. In prime.txt enter a value between 0 and 6:
PercentPrecision=n[/QUOTE]

I always use PercentPrecision=6.

 crash893 2008-06-09 18:09

just out of curiosity why would you do this?

 All times are UTC. The time now is 23:35.