summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/pythag/spythags.c
blob: a4d279a19726b3a781259735d405c51dd0550833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
**  -*- C -*-
**
** spythags.c
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Mon Apr 23 11:31:47 2007 jofret
** Last update Mon Apr 23 11:54:06 2007 jofret
**
** Copyright INRIA 2007
*/

#include "pythag.h"
#include "sqrt.h"

float	spythags(float x, float y) {
  return (ssqrts( (x*x) + (y*y) ));
}