llm
Download
36 lines 650 BGroffModified 2026-08-27 raw
123456789101112131415161718192021222324252627282930313233343536
'\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Float64.rint 3 2026-08-27 "Tomo man-pages"
.SH NAME
Float64.rint \- round to nearest integer
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Float64.rint\ :\ func(x:\ Float64\ ->\ Float64)
.fi
.SH DESCRIPTION
Rounds a number to the nearest integer, with ties rounded to the nearest even integer.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
x	Float64	The number to be rounded. 
.TE
.SH RETURN
The nearest integer value of `x`.

.SH EXAMPLES
.EX
assert Float64(3.5).rint() == 4
assert Float64(2.5).rint() == 2
.EE
.SH SEE ALSO
.BR Tomo-Float64 (3)