add max abs
This commit is contained in:
@@ -11,6 +11,8 @@ auto main(int argc, char *argv[]) -> int
|
||||
hack::log()(hack::math::min(4, 5));
|
||||
hack::log()(hack::math::min(c, b));
|
||||
|
||||
int a1 = -4, b1 = -5;
|
||||
hack::log()(hack::math::max_abs(a1, b1));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@ executable(
|
||||
meson.project_name(),
|
||||
# 'examples/audio/main.cpp',
|
||||
# 'examples/concepts/main.cpp',
|
||||
# 'examples/math/main.cpp',
|
||||
'examples/math/main.cpp',
|
||||
# 'examples/range/main.cpp',
|
||||
# 'examples/patterns/main.cpp',
|
||||
'examples/logger/main.cpp',
|
||||
# 'examples/logger/main.cpp',
|
||||
# 'examples/exception/main.cpp',
|
||||
# 'examples/comparators/main.cpp',
|
||||
dependencies : deps,
|
||||
|
||||
Reference in New Issue
Block a user