'\" t .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" .TH Int.abs 3 2025-11-29 "Tomo man-pages" .SH NAME Int.abs \- absolute value .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf .BI Int.abs\ :\ func(x:\ Int\ ->\ Int) .fi .SH DESCRIPTION Calculates the absolute value of an integer. .SH ARGUMENTS .TS allbox; lb lb lbx l l l. Name Type Description x Int The integer whose absolute value is to be calculated. .TE .SH RETURN The absolute value of `x`. .SH EXAMPLES .EX assert (-10).abs() == 10 .EE .SH SEE ALSO .BR Tomo-Int (3)