]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
add hypot()
authorGuido van Rossum <guido@python.org>
Thu, 20 Oct 1994 22:00:28 +0000 (22:00 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Oct 1994 22:00:28 +0000 (22:00 +0000)
Doc/lib/libmath.tex
Doc/libmath.tex
Modules/mathmodule.c

index 62da689f1aa607e012bc4817b11e1bcb28ba2b05..c26e8499579251f6662acc3d59c736794843c6b6 100644 (file)
@@ -19,6 +19,7 @@ They are:
 \funcline{floor}{x}
 \funcline{fmod}{x, y}
 \funcline{frexp}{x}
+\funcline{hypot}{x, y}
 \funcline{ldexp}{x, y}
 \funcline{log}{x}
 \funcline{log10}{x}
index 62da689f1aa607e012bc4817b11e1bcb28ba2b05..c26e8499579251f6662acc3d59c736794843c6b6 100644 (file)
@@ -19,6 +19,7 @@ They are:
 \funcline{floor}{x}
 \funcline{fmod}{x, y}
 \funcline{frexp}{x}
+\funcline{hypot}{x, y}
 \funcline{ldexp}{x, y}
 \funcline{log}{x}
 \funcline{log10}{x}
index 4137e60ab7af92ec22c4d4e8b96e7a834de40566..5663ba2294156434b639bb4e7d790dc5ab07aaa6 100644 (file)
@@ -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},