JanetDocsPlaygroundI'm feeling luckyGitHub sign in

math/hypot



    cfunction
    src/core/math.c on line 305, column 1

    (math/hypot a b)

    Returns c from the equation c^2 = a^2 + b^2.


2 examplesSign in to add an example
Loading...
(math/hypot 5 12)
# => 13
sogaiuPlayground
(math/hypot 1 1)  # => 1.41421
(math/sqrt 2)     # => 1.41421
cellularmitosisPlayground