Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+2
View File
@@ -3,6 +3,8 @@
#include "constants/sim_constants.h"
// check if a and b are the same up to an accuracy eps defined in constants/sim_constants.h
// isEqual(a,b) = true <=> abs(a - b) < eps
bool isEqual(double a, double b) {
return std::abs(a - b) < SimConstants::compare_epsilon;
}