Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    intdiv »
    « hexdec

    hypot

    (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

    hypot Calculate the length of the hypotenuse of a right-angle triangle

    Description

    hypot(float$x,float$y):float

    hypot() returns the length of the hypotenuse of a right-angle triangle with sides of lengthx andy, or the distance of the point (x,y) from the origin. This is equivalent tosqrt($x*$x + $y*$y).

    Parameters

    x

    Length of first side

    y

    Length of second side

    Return Values

    Calculated length of the hypotenuse

    Found A Problem?

    Learn How To Improve This PageSubmit a Pull RequestReport a Bug
    add a note

    User Contributed Notes

    There are no user contributed notes for this page.
    To Top
    and to navigate •Enter to select •Esc to close
    PressEnter without selection to search using Google

    [8]ページ先頭

    ©2009-2025 Movatter.jp