Mercurial > cpython-lru_cache-weakref
diff Modules/mathmodule.c @ 1986:58eef51e3084 legacy-trunk
add hypot()
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 20 Oct 1994 22:00:28 +0000 |
| parents | 1940892d2fe3 |
| children | cf31eab6ab5a |
line wrap: on
line diff
--- a/Modules/mathmodule.c Thu Oct 20 21:59:38 1994 +0000 +++ b/Modules/mathmodule.c Thu Oct 20 22:00:28 1994 +0000 @@ -121,6 +121,7 @@ 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 @@ {"floor", math_floor}, {"fmod", math_fmod}, {"frexp", math_frexp}, + {"hypot", math_hypot}, {"ldexp", math_ldexp}, {"log", math_log}, {"log10", math_log10},
