Skip to content
Permalink
Browse files

QuranCode 6.19.1153

Sped up SumOfDigitalRoots
  • Loading branch information...
heliwave committed Jun 12, 2019
1 parent a2bd65e commit 7ee261ab16cbde436bb0fd57abb2cedbd4fd5708
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -58,5 +58,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -3,7 +3,7 @@ public enum Edition { Standard, Ultimate }
public static class Globals
{
public static Edition EDITION = Edition.Standard;
public static string VERSION = "6.19.1151.4"; // updated by Version.bat (with AssemblyInfo.cs of all projects)
public static string VERSION = "6.19.1153.4"; // updated by Version.bat (with AssemblyInfo.cs of all projects)
public static string SHORT_VERSION
{
get
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
BIN +919 Bytes (100%) QuranCode1433.Source.zip
Binary file not shown.
BIN -5 Bytes (100%) QuranCode1433.zip
Binary file not shown.
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
BIN +0 Bytes (100%) Solution.vs2013.v12.suo
Binary file not shown.
@@ -1344,7 +1344,7 @@ public static string SumOfDigitSumsString(long number)
public static int DigitalRoot(long number)
{
int radix = 10;
return (int)(number - ((radix - 1L) * ((number - 1L) / (radix - 1L))));
return (int)(1L + (number - 1L) % (radix - 1));
}
public static int DigitalRoot(string value)
{
@@ -1366,12 +1366,9 @@ public static long SumOfDigitalRoots(string value)
}
public static long SumOfDigitalRoots(long number)
{
long result = 0L;
for (int i = 1; i <= number; i++)
{
result += DigitalRoot(i);
}
return result;
long d = number / 9L;
long r = number % 9L;
return (d * 45L + r * (r + 1L) / 2L);
}
public static string SumOfDigitalRootsString(long number)
{
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]
@@ -1,11 +1,11 @@
IF not exist "NET2" NET2.bat
Tools\Replace\bin\Release\Replace.exe NET2 Version.bat 000 1151
Tools\Version\bin\Release\Version.exe . 6.19.1151.4 6.19.1151.4 -Tools
Tools\Replace\bin\Release\Replace.exe NET2 Version.bat 000 1153
Tools\Version\bin\Release\Version.exe . 6.19.1153.4 6.19.1153.4 -Tools
Tools\Touch\bin\Release\Touch.exe Build 6:19 -Tools
Tools\Touch\bin\Release\Touch.exe Tools 2009-07-29 7:29

Tools\Touch\bin\Release\Touch.exe . 6:19 -Tools
COPY QuranCode1433.zip ..\Backup\QuranCode1433_6.19.1151.zip
COPY QuranCode1433.Source.zip ..\Backup\QuranCode1433_6.19.1151.Source.zip
COPY QuranCode1433.zip ..\Backup\QuranCode1433_6.19.1153.zip
COPY QuranCode1433.Source.zip ..\Backup\QuranCode1433_6.19.1153.Source.zip
COPY QuranCode1433.zip ..\Backup\
COPY QuranCode1433.Source.zip ..\Backup\
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyVersion("6.19.1151.4")]
[assembly: AssemblyFileVersion("6.19.1151.4")]
[assembly: AssemblyVersion("6.19.1153.4")]
[assembly: AssemblyFileVersion("6.19.1153.4")]

0 comments on commit 7ee261a

Please sign in to comment.
You can’t perform that action at this time.