mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2008-06-06, 17:55   #1
Corbyguy
 
Corbyguy's Avatar
 
Mar 2007

11 Posts
Default 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
Corbyguy is offline   Reply With Quote
Old 2008-06-06, 18:47   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by Corbyguy View Post
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
In prime.ini (prime.txt for 25.x) add the PercentPrecision=n line. For the precision you showed, use PercentPrecision=4.
Mini-Geek is offline   Reply With Quote
Old 2008-06-07, 02:23   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1011101001102 Posts
Default

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
I always use PercentPrecision=6.

Last fiddled with by ATH on 2008-06-07 at 02:23
ATH is offline   Reply With Quote
Old 2008-06-09, 18:09   #4
crash893
 
crash893's Avatar
 
Sep 2002

23×37 Posts
Default

just out of curiosity why would you do this?
crash893 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Primes in Decimal Expansions davar55 Puzzles 13 2017-07-06 20:50
Playing with decimal representation Nick Puzzles 9 2013-02-13 17:17
Dwelling-places of the mersenneforumites fivemack Lounge 75 2010-05-05 16:47
Math places Damian Lounge 0 2010-01-04 17:52
any alternate places to download... ixfd64 Lounge 8 2009-07-09 02:09

All times are UTC. The time now is 09:41.

Tue Dec 1 09:41:24 UTC 2020 up 82 days, 6:52, 1 user, load averages: 1.35, 1.69, 1.64

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.