- Timestamp:
- 04/04/17 16:57:45 (8 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
- Property svn:mergeinfo changed
/trunk/sources merged: 14769-14770,14772-14775,14779-14781,14786,14789-14791,14793,14805,14809-14810,14817,14819-14820
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 14809
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeILEmittingInterpreter.cs
r14715 r14825 260 260 il.Emit(System.Reflection.Emit.OpCodes.Add); 261 261 } 262 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4,nArgs);262 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, (double)nArgs); 263 263 il.Emit(System.Reflection.Emit.OpCodes.Div); 264 264 return; … … 458 458 il.Emit(System.Reflection.Emit.OpCodes.Ldc_I4_0); // > 0 459 459 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 460 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 460 461 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 461 462 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 476 477 il.Emit(System.Reflection.Emit.OpCodes.Xor); 477 478 } 479 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 480 478 481 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 479 482 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 487 490 488 491 il.Emit(System.Reflection.Emit.OpCodes.Cgt); // 1 (>) / 0 (otherwise) 492 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 489 493 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 490 494 il.Emit(System.Reflection.Emit.OpCodes.Mul); … … 497 501 CompileInstructions(il, state, ds); 498 502 il.Emit(System.Reflection.Emit.OpCodes.Clt); 503 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 499 504 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 2.0); // * 2 500 505 il.Emit(System.Reflection.Emit.OpCodes.Mul);
Note: See TracChangeset
for help on using the changeset viewer.