-
Notifications
You must be signed in to change notification settings - Fork 0
/
ftmath.h
26 lines (22 loc) · 1.16 KB
/
ftmath.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ftmath.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: scambier <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/24 16:48:19 by scambier #+# #+# */
/* Updated: 2024/01/26 15:07:17 by scambier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FTMATH_H
# define FTMATH_H
float ft_fmin(float a, float b);
float ft_fmax(float a, float b);
float ft_fabs(float x);
float ft_fclamp(float min, float x, float max);
int ft_min(int a, int b);
int ft_max(int a, int b);
int ft_abs(int x);
int ft_clamp(int min, int x, int max);
#endif