Last change
on this file since 18242 was
15017,
checked in by pkimmesw, 8 years ago
|
#2665 Fixed Benchmark Problem Definition, Converted LoopExpressions to stateless expressions, Added several unit test to ensure funcionality, Fixed UI bugs
|
File size:
248 bytes
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.Problems.ProgramSynthesis.Push.Extensions {
|
---|
4 | public static class LongExtensions {
|
---|
5 | public static int AsInt(this long value, int length) {
|
---|
6 | return (int)Math.Abs(value % length);
|
---|
7 | }
|
---|
8 | }
|
---|
9 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.