Skip to main content

hypot

hypot(
@x ? ## required
@y ? ## required
) -> llll/null
note

hypot is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.

Returns the hypotenuse of @x and @y


Arguments

  • @x [int/float/llll] Numeric llll.(required)
  • @y [int/float/llll] Numeric llll.(required)

Output

Hypotenuse of @x and @y. [llll/null]

warning

hypot will return null without raising an error if required arguments are not provided.