-
Notifications
You must be signed in to change notification settings - Fork 0
/
math.h
19 lines (16 loc) · 1.02 KB
/
math.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* :::::::: */
/* math.h :+: :+: */
/* +:+ */
/* By: jandre-d <[email protected]> +#+ */
/* +#+ */
/* Created: 2019/03/26 15:08:16 by jandre-d #+# #+# */
/* Updated: 2019/03/30 20:10:55 by jandre-d ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef MATH_H
# define MATH_H
# define ABS(x) ((x) < 0 ? -(x) : (x))
double map(double x, double in_max, double out_min, double out_max);
#endif