(36 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Num.hypot 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 Num.hypot \- Euclidean distance function8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Num.hypot\ :\ func(x:\ Num,\ y:\ Num\ ->\ Num)13 .fi14 .SH DESCRIPTION15 Computes the Euclidean norm, $\sqrt{x^2 + y^2}$, of two numbers.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 x Num The first number.26 y Num The second number.27 .TE28 .SH RETURN29 The Euclidean norm of `x` and `y`.31 .SH EXAMPLES32 .EX33 assert Num.hypot(3, 4) == 534 .EE35 .SH SEE ALSO36 .BR Tomo-Num (3)