summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/includes/pythag.h
blob: 93b8827c326d8cb41cc5c9f1e1a7b612e3e0a3ec (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
33
34
35
36
37
38
/*
**  -*- C -*-
**
** pythag.h
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Thu Feb  8 10:12:17 2007 jofret
** Last update Thu Aug 16 12:18:00 2007 bruno
**
** Copyright INRIA 2007
*/

#ifndef __PYTHAG_H__
#define __PYTHAG_H__

#include "sqrt.h"

/*
** \brief Float Pythag function
*/
float		spythags(float x, float y);

/*
** \brief Double Pythag function
*/
double		dpythags(double x, double y);

/*
** \brief Float Complex Pythag function
*/
floatComplex	cpythags(floatComplex x, floatComplex y);

/*
** \brief Double Complex Pythag function
*/
doubleComplex	zpythags(doubleComplex x, doubleComplex y);

#endif /* !__PYTHAG_H__ */