Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
8 years ago
Diff never expires
Clear
Export
Share
Explain
30 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
28 lines
Copy
39 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
35 lines
Copy
Copy
Copied
Copy
Copied
Calculate
Simp
le:
Calculate
Readab
le:
IL_0000:
ldc.r8 D7 A3 70 3D 0A 5F 72 40
IL_0000:
ldarg.0
IL_0009:
ldarg.0
IL_000
1
: ldarg.1
IL_000
A
: ldarg.1
IL_000
2
: mul
IL_000
B
: mul
IL_000
3
: ldarg.2
IL_000
C
: ldarg.2
IL_000
4
: mul
IL_000
D
: mul
IL_000
5
: ldarg.3
IL_000
E
: ldarg.3
IL_0006: mul
IL_0007: stloc.0 // numerator
IL_0008: ldarg.s 04
IL_000A: ldarg.s 05
IL_000C: mul
IL_000D: ldarg.s 06
IL_000F: mul
IL_000F: mul
Copy
Copied
Copy
Copied
IL_0010:
ldarg.s
04
IL_0010:
stloc.1
// denominator
IL_001
2
:
ldarg.s
05
IL_001
1
:
ldc.r8
D7 A3 70 3D 0A 5F 72 40
IL_0014: mul
IL_001
A
:
ldloc.0
// numerator
IL_001
5
:
ldarg.s
06
IL_001
B
:
ldloc.1
// denominator
IL_001
7
:
mul
IL_001
C
: div
IL_001
8
: div
IL_001
D
: call System.Math.Sqrt
IL_001
9
: call System.Math.Sqrt
IL_001E: mul
IL_001F: ldarg.3
IL_0020: ldarg.s 07
IL_0022: mul
IL_0022: mul
Copy
Copied
Copy
Copied
IL_0023:
sub
IL_0023:
ldarg.3
IL_002
4
: ret
IL_0024: ldarg.s 07
IL_0026: mul
IL_0027:
sub
IL_002
8
: ret
Copy
Copied
Copy
Copied
public static double Calculate
Simp
le(double HDD, double Cfuel, double PWF, double K, double H4, double Cy, double n, double Rwt)
public static double Calculate
Readab
le(double HDD, double Cfuel, double PWF, double K, double H4, double Cy, double n, double Rwt)
{
{
Copy
Copied
Copy
Copied
return 293.94 * Math.Sqrt(
HDD * Cfuel * PWF * K
/
(H4 * Cy * n)
) - (K * Rwt);
var numerator = HDD * Cfuel * PWF * K;
var denominator = H4 * Cy * n;
return 293.94 * Math.Sqrt(
numerator
/
denominator
) - (K * Rwt);
}
}
Saved diffs
Original text
Open file
CalculateSimple: IL_0000: ldc.r8 D7 A3 70 3D 0A 5F 72 40 IL_0009: ldarg.0 IL_000A: ldarg.1 IL_000B: mul IL_000C: ldarg.2 IL_000D: mul IL_000E: ldarg.3 IL_000F: mul IL_0010: ldarg.s 04 IL_0012: ldarg.s 05 IL_0014: mul IL_0015: ldarg.s 06 IL_0017: mul IL_0018: div IL_0019: call System.Math.Sqrt IL_001E: mul IL_001F: ldarg.3 IL_0020: ldarg.s 07 IL_0022: mul IL_0023: sub IL_0024: ret public static double CalculateSimple(double HDD, double Cfuel, double PWF, double K, double H4, double Cy, double n, double Rwt) { return 293.94 * Math.Sqrt(HDD * Cfuel * PWF * K / (H4 * Cy * n)) - (K * Rwt); }
Changed text
Open file
CalculateReadable: IL_0000: ldarg.0 IL_0001: ldarg.1 IL_0002: mul IL_0003: ldarg.2 IL_0004: mul IL_0005: ldarg.3 IL_0006: mul IL_0007: stloc.0 // numerator IL_0008: ldarg.s 04 IL_000A: ldarg.s 05 IL_000C: mul IL_000D: ldarg.s 06 IL_000F: mul IL_0010: stloc.1 // denominator IL_0011: ldc.r8 D7 A3 70 3D 0A 5F 72 40 IL_001A: ldloc.0 // numerator IL_001B: ldloc.1 // denominator IL_001C: div IL_001D: call System.Math.Sqrt IL_0022: mul IL_0023: ldarg.3 IL_0024: ldarg.s 07 IL_0026: mul IL_0027: sub IL_0028: ret public static double CalculateReadable(double HDD, double Cfuel, double PWF, double K, double H4, double Cy, double n, double Rwt) { var numerator = HDD * Cfuel * PWF * K; var denominator = H4 * Cy * n; return 293.94 * Math.Sqrt(numerator / denominator) - (K * Rwt); }
Find difference