diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-29 13:27:11 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-29 13:27:11 -0500 |
| commit | 353a1a40173d4722809e2cad215ab734bf68b283 (patch) | |
| tree | 77055997b202fd028709af53ac13d8abd0a8c2ae /man/man3/tomo-Num.near.3 | |
| parent | a0ea1840d837650b10ae4f9a3bb05ded08322510 (diff) | |
Improved manpages.
Diffstat (limited to 'man/man3/tomo-Num.near.3')
| -rw-r--r-- | man/man3/tomo-Num.near.3 | 8 |
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) |
