diff options
author | Jasper | 2025-09-01 08:57:20 +0200 |
---|---|---|
committer | Jasper | 2025-09-01 08:57:20 +0200 |
commit | 33874d69d46df15faa13c039b1c329b12949b039 (patch) | |
tree | b74676734e1f543bd3e618f92ad1b3b9d68e947e /utils.h | |
parent | 7d763b5778cfbf81ee420558d13e8acbb66d860a (diff) |
Tolerance check of absolute value in 'matrix_eq'
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef UTIL_H #define UTIL_H +#define ABS(x) ((x) >= 0 ? (x) : -(x)) + char *str_delete_at(const char *str, const int pos); size_t str_count_occ(const char *str, const char ch); |