mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-12 17:12:40 +01:00
DroidFish: Use 'M' prefix for NPS values larger than 1e8.
This commit is contained in:
@@ -755,7 +755,10 @@ public class DroidChessController {
|
||||
}
|
||||
int nps = currNps;
|
||||
String npsPrefix = "";
|
||||
if (nps > 100000) {
|
||||
if (nps > 100000000) {
|
||||
nps /= 1000000;
|
||||
npsPrefix = "M";
|
||||
} else if (nps > 100000) {
|
||||
nps /= 1000;
|
||||
npsPrefix = "k";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user