aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Num.near.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Num.near.3')
-rw-r--r--man/man3/tomo-Num.near.38
1 files changed, 5 insertions, 3 deletions
diff --git a/man/man3/tomo-Num.near.3 b/man/man3/tomo-Num.near.3
index ef1b80ce..824ba241 100644
--- a/man/man3/tomo-Num.near.3
+++ b/man/man3/tomo-Num.near.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Num.near 3 2025-09-21 "Tomo man-pages"
+.TH Num.near 3 2025-11-29 "Tomo man-pages"
.SH NAME
Num.near \- check if two numbers are near each other
.SH LIBRARY
@@ -24,8 +24,8 @@ l l l l.
Name Type Description Default
x Num The first number. -
y Num The second number. -
-ratio Num The relative tolerance. Default is `1e-9`. 1e-9
-min_epsilon Num The absolute tolerance. Default is `1e-9`. 1e-9
+ratio Num The relative tolerance. Default is \fB1e-9\fR. 1e-9
+min_epsilon Num The absolute tolerance. Default is \fB1e-9\fR. 1e-9
.TE
.SH RETURN
`yes` if `x` and `y` are approximately equal within the specified tolerances, `no` otherwise.
@@ -36,3 +36,5 @@ assert (1.0).near(1.000000001) == yes
assert (100.0).near(110, ratio=0.1) == yes
assert (5.0).near(5.1, min_epsilon=0.1) == yes
.EE
+.SH SEE ALSO
+.BR Tomo-Num (3)