summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/includes/abs.h
blob: fa302db68e77495bbd70089fc2482790cc89d908 (plain)
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
27
28
29
30
31
32
/*
**  -*- C -*-
**
** abs.h
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Thu Feb  8 10:12:17 2007 jofret
** Last update Fri Apr 20 15:53:57 2007 jofret
**
** Copyright INRIA 2007
*/

#ifndef __ABS_H__
#define __ABS_H__

/**
 ** \brief Float Absolute Value function
 ** Determine the absolute value of in.
 ** \param in : the float we must determine abs.
 ** \return -in or in depending on the sign of in.
 **/
float	sabss(float in);

/**
 ** \brief Double Absolute Value function
 ** Determine the absolute value of in.
 ** \param in : the double we must determine abs.
 ** \return -in or +in depending on the abs of in.
 **/
double	dabss(double in);

#endif /* !__ABS_H__ */