Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 16585,16625,16658,16672
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeILEmittingInterpreter.cs
r17103 r17105 445 445 Label c1 = il.DefineLabel(); 446 446 CompileInstructions(il, state, ds); 447 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // > 0447 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // > 0 448 448 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 449 449 il.Emit(System.Reflection.Emit.OpCodes.Brfalse, c1); … … 460 460 CompileInstructions(il, state, ds); 461 461 for (int i = 1; i < nArgs; i++) { 462 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // > 0462 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // > 0 463 463 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 464 464 il.Emit(System.Reflection.Emit.OpCodes.Brfalse, falseBranch); 465 465 CompileInstructions(il, state, ds); 466 466 } 467 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // > 0467 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // > 0 468 468 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 469 469 il.Emit(System.Reflection.Emit.OpCodes.Brfalse, falseBranch); … … 485 485 // complex definition because of special properties of NaN 486 486 il.Emit(System.Reflection.Emit.OpCodes.Dup); 487 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // <= 0487 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // <= 0 488 488 il.Emit(System.Reflection.Emit.OpCodes.Ble, nextArgBranch); 489 489 il.Emit(System.Reflection.Emit.OpCodes.Br, resultBranch); … … 493 493 } 494 494 il.MarkLabel(resultBranch); 495 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // > 0495 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // > 0 496 496 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 497 497 il.Emit(System.Reflection.Emit.OpCodes.Brtrue, trueBranch); … … 506 506 case OpCodes.NOT: { 507 507 CompileInstructions(il, state, ds); 508 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0); // > 0508 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); // > 0 509 509 il.Emit(System.Reflection.Emit.OpCodes.Cgt); 510 510 il.Emit(System.Reflection.Emit.OpCodes.Conv_R8); // convert to float64 … … 518 518 case OpCodes.XOR: { 519 519 CompileInstructions(il, state, ds); 520 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0);520 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); 521 521 il.Emit(System.Reflection.Emit.OpCodes.Cgt);// > 0 522 522 523 523 for (int i = 1; i < nArgs; i++) { 524 524 CompileInstructions(il, state, ds); 525 il.Emit(System.Reflection.Emit.OpCodes.Ldc_ I4_0);525 il.Emit(System.Reflection.Emit.OpCodes.Ldc_R8, 0.0); 526 526 il.Emit(System.Reflection.Emit.OpCodes.Cgt);// > 0 527 527 il.Emit(System.Reflection.Emit.OpCodes.Xor);
Note: See TracChangeset
for help on using the changeset viewer.