Changeset 15973 for branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeILEmittingInterpreter.cs
- Timestamp:
- 06/28/18 11:13:37 (7 years ago)
- Location:
- branches/2522_RefactorPluginInfrastructure
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2522_RefactorPluginInfrastructure
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeILEmittingInterpreter.cs
r13251 r15973 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 66 66 private static MethodInfo erf = thisType.GetMethod("Erf", new Type[] { typeof(double) }); 67 67 private static MethodInfo bessel = thisType.GetMethod("Bessel", new Type[] { typeof(double) }); 68 private static MethodInfo string_eq = typeof(string).GetMethod("Equals", new Type[] { typeof(string) }); 68 69 #endregion 69 70 … … 259 260 il.Emit(System.Reflection.Emit.OpCodes.Add); 260 261 } 261 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4,nArgs);262 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, (double)nArgs); 262 263 il.Emit(System.Reflection.Emit.OpCodes.Div); 263 264 return; … … 457 458 il.Emit(System.Reflection.Emit.OpCodes.Ldc_I4_0); // > 0 458 459 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 460 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 459 461 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 460 462 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 475 477 il.Emit(System.Reflection.Emit.OpCodes.Xor); 476 478 } 479 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 480 477 481 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 478 482 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 486 490 487 491 il.Emit(System.Reflection.Emit.OpCodes.Cgt); // 1 (>) / 0 (otherwise) 492 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 488 493 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 489 494 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 496 501 CompileInstructions(il, state, ds); 497 502 il.Emit(System.Reflection.Emit.OpCodes.Clt); 503 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 498 504 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 499 505 il.Emit(System.Reflection.Emit.OpCodes.Mul);
Note: See TracChangeset
for help on using the changeset viewer.