llm
Download
36 lines 582 BGroffModified 2026-03-09 raw
123456789101112131415161718192021222324252627282930313233343536
'\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.fdim 3 2026-03-08 "Tomo man-pages"
.SH NAME
Num.fdim \- positive difference
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.fdim\ :\ func(x:\ Num,\ y:\ Num\ ->\ Num)
.fi
.SH DESCRIPTION
Computes the positive difference between two numbers.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
x	Num	The first number. 
y	Num	The second number. 
.TE
.SH RETURN
The positive difference $\max(0, x - y)$.

.SH EXAMPLES
.EX
assert (5.0).fdim(3) == 2
.EE
.SH SEE ALSO
.BR Tomo-Num (3)