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

#include "pythag.h"

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