(36 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Int.sqrt 3 2026-01-19 "Tomo man-pages"6 .SH NAME7 Int.sqrt \- square root8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Int.sqrt\ :\ func(x:\ Int\ ->\ Int)13 .fi14 .SH DESCRIPTION15 Calculates the nearest square root of an integer.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 x Int The integer whose square root is to be calculated.26 .TE27 .SH RETURN28 The integer part of the square root of `x`.30 .SH EXAMPLES31 .EX32 assert 16.sqrt() == 433 assert 17.sqrt() == 434 .EE35 .SH SEE ALSO36 .BR Tomo-Int (3)