mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
add hypot()
This commit is contained in:
parent
2ce15a59f7
commit
411a8bd799
3 changed files with 4 additions and 0 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue