Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Editor live
Recolher inalteradas
Sem quebra de linha
Layout
Dividido
Unificado
Nível de detalhe
Inteligente
Palavra
Caractere
Realce de sintaxe
Escolher sintaxe
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
Untitled diff
Criado
há 8 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
30 remoções
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
28 linhas
Copiar tudo
39 adições
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
35 linhas
Copiar tudo
Copiar
Copiado
Copiar
Copiado
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
Copiar
Copiado
Copiar
Copiado
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
Copiar
Copiado
Copiar
Copiado
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
Copiar
Copiado
Copiar
Copiado
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)
{
{
Copiar
Copiado
Copiar
Copiado
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);
}
}
Diferenças salvas
Texto original
Abrir arquivo
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); }
Texto alterado
Abrir arquivo
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); }
Encontrar Diferença