add min to math module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "hack/math/max.hpp"
|
||||
#include "hack/math/math.hpp"
|
||||
#include "hack/logger/logger.hpp"
|
||||
|
||||
auto main(int argc, char *argv[]) -> int
|
||||
@@ -8,6 +8,9 @@ auto main(int argc, char *argv[]) -> int
|
||||
hack::log()(hack::math::max(4, 5));
|
||||
hack::log()(hack::math::max(c, b));
|
||||
|
||||
hack::log()(hack::math::min(4, 5));
|
||||
hack::log()(hack::math::min(c, b));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user