rt/src/tools.c

23 lines
1001 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* tools.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ntrahy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/01/02 23:04:09 by ntrahy #+# #+# */
/* Updated: 2017/01/03 16:44:38 by scebula ### ########.fr */
/* */
/* ************************************************************************** */
#include "rt.h"
void swap_double(double *a, double *b)
{
double tmp;
tmp = *a;
*a = *b;
*b = tmp;
}