We are in the process of dropping Math.h and one of the more commonly used operation there is fequals, which checks if the difference between two values is less than the type's epsilon. The task is to write this as a free function, probably in a new file in the util directory and drop Math::fequals.
We are in the process of dropping
Math.hand one of the more commonly used operation there isfequals, which checks if the difference between two values is less than the type'sepsilon. The task is to write this as a free function, probably in a new file in theutildirectory and dropMath::fequals.