main
Download
35 lines 546 BGroffModified 2025-11-29 raw
1234567891011121314151617181920212223242526272829303132333435
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.abs 3 2025-11-29 "Tomo man-pages"
.SH NAME
Num.abs \- absolute value
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.abs\ :\ func(n:\ Num\ ->\ Num)
.fi
.SH DESCRIPTION
Calculates the absolute value of a number.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
n	Num	The number whose absolute value is to be computed. 
.TE
.SH RETURN
The absolute value of `n`.

.SH EXAMPLES
.EX
assert (-3.5).abs() == 3.5
.EE
.SH SEE ALSO
.BR Tomo-Num (3)