Diff
checker
Texto
Texto
Imágenes
Documentos
Excel
Carpetas
Legal
Enterprise
Aplicación de escritorio
Precios
Iniciar sesión
Descargar Diffchecker Desktop
Comparar texto
Encuentra la diferencia entre dos archivos de texto
Herramientas
Historial
Editor live
Ocultar sin cambios
Sin ajuste de línea
Vista
Dividido
Unificado
Nivel de detalle
Inteligente
Palabra
Letra
Resaltado de sintaxis
Elegir sintaxis
Ignorar
Transformar texto
Ir al primer cambio
Editar entrada
Diffchecker Desktop
La forma más segura de usar Diffchecker. ¡Obtén la app de Diffchecker Desktop: tus diffs nunca salen de tu computadora!
Obtener Desktop
Untitled diff
Creado
hace 8 años
El diff nunca expira
Borrar
Exportar
Compartir
Explicar
30 eliminaciones
Líneas
Total
Eliminado
Caracteres
Total
Eliminado
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
28 líneas
Copiar todo
39 adiciones
Líneas
Total
Añadido
Caracteres
Total
Añadido
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
35 líneas
Copiar todo
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);
}
}
Diferencias guardadas
Texto original
Abrir archivo
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 modificado
Abrir archivo
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 la diferencia