blob: ad49f967756262e1cc1ecf4804dc26fd0ea1606b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.isfinite 3 2025-04-19T14:52:07.135437 "Tomo man-pages"
.SH NAME
Num.isfinite \- Checks if a number is finite.
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.isfinite\ :\ func(n:\ Num\ ->\ Bool)
.fi
.SH DESCRIPTION
Checks if a number is finite.
.TS
allbox;
lb lb lbx lb
l l l l.
Name Type Description Default
n Num The number to be checked. -
.TE
.SH RETURN
`yes` if `n` is finite, `no` otherwise.
.SH EXAMPLES
.EX
>> (1.0).isfinite()
= yes
>> Num.INF.isfinite()
= no
.EE
|