add math fuction
This commit is contained in:
@@ -13,6 +13,9 @@ auto main(int argc, char *argv[]) -> int
|
||||
|
||||
int a1 = -4, b1 = -5;
|
||||
hack::log()(hack::math::max_abs(a1, b1));
|
||||
|
||||
// 1, 2, 3, 4, 5
|
||||
hack::log()(hack::math::sum_arithmetic_progression(1, 1, 5));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user