chibi-scheme/tests/snow/repo3/pythagoras/hyp.c
2015-04-24 14:10:57 +09:00

5 lines
87 B
C

#include <math.h>
double hypotenuse(double a, double b) {
return sqrt(a*a + b*b);
}