ref: 5d24d81bb734f235a1abb57aa0322e980383c966
parent: 66b8fabdb676aac215a94de23708d3582db20f8c
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Feb 14 18:06:06 EST 2020
plan9: keep more precision for framedev
--- a/plan9.c
+++ b/plan9.c
@@ -295,7 +295,7 @@
sleep(1);
}
- framedev = labs(processnew/1000LL - processold/1000LL)/1000L - 15000L/bpm;
+ framedev = (processnew - processold - 15000000000LL/bpm)/1000000LL;
tick++;
}
}