add min to math module

This commit is contained in:
2025-10-20 14:48:27 +03:00
parent e019235297
commit b663bcfb8f
4 changed files with 13 additions and 4 deletions

View File

@@ -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;
}