diff options
author | Guido van Rossum <guido@python.org> | 1994-10-20 22:00:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-10-20 22:00:28 (GMT) |
commit | 411a8bd7996364259939ae65decca6265e7fa7c3 (patch) | |
tree | 73f165a8bd3932ef14a135c5a98907687bb514f3 /Modules/mathmodule.c | |
parent | 2ce15a59f7e408d5986a41e9350e71e3c7b5d879 (diff) | |
download | cpython-411a8bd7996364259939ae65decca6265e7fa7c3.zip cpython-411a8bd7996364259939ae65decca6265e7fa7c3.tar.gz cpython-411a8bd7996364259939ae65decca6265e7fa7c3.tar.bz2 |
add hypot()
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 4137e60..5663ba2 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -121,6 +121,7 @@ FUNC1(math_exp, exp) FUNC1(math_fabs, fabs) FUNC1(math_floor, floor) FUNC2(math_fmod, fmod) +FUNC2(math_hypot, hypot) FUNC1(math_log, log) FUNC1(math_log10, log10) #ifdef MPW_3_1 /* This hack is needed for MPW 3.1 but not for 3.2 ... */ @@ -214,6 +215,7 @@ static struct methodlist math_methods[] = { {"floor", math_floor}, {"fmod", math_fmod}, {"frexp", math_frexp}, + {"hypot", math_hypot}, {"ldexp", math_ldexp}, {"log", math_log}, {"log10", math_log10}, |