llm
Download
37 lines 672 BGroffModified 2026-08-27 raw
12345678910111213141516171819202122232425262728293031323334353637
'\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.symbolic 3 2026-08-27 "Tomo man-pages"
.SH NAME
Num.symbolic \- exact form as text
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.symbolic\ :\ func(n:\ Num\ ->\ Text)
.fi
.SH DESCRIPTION
The exact value written out: a whole number, a fraction, or a symbolic expression for an irrational.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
n	Num	The number to write out. 
.TE
.SH RETURN
The exact form.

.SH EXAMPLES
.EX
assert (1./3.).symbolic() == "1/3"
assert (2.).sqrt()!.symbolic() == "sqrt(2)"
assert Num.PI.symbolic() == "pi"
.EE
.SH SEE ALSO
.BR Tomo-Num (3)