This repository has been archived on 2024-11-18. You can view files and clone it, but cannot push or open issues or pull requests.
kernel-dev-old/include/libk/math.h

8 lines
129 B
C
Raw Normal View History

2023-12-13 02:24:25 +08:00
#ifndef MATH_H
#define MATH_H 1
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))
#endif