This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// main - commit 100 | |
void Foo() { | |
Console.WriteLine("My horrible func"); | |
} | |
void Bar() { | |
Foo(); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static int count(float start, float end) { | |
int count = 0; | |
float val = start; | |
while (val < end) { | |
count++; | |
val = Math.nextAfter(val, 1); | |
} | |
return count; | |
} |