26 lines
748 B
Groff
26 lines
748 B
Groff
.TH STRIS 1
|
|
|
|
.SH NAME
|
|
|
|
stris \(en test if arguments are numbers
|
|
|
|
.SH SYNOPSIS
|
|
|
|
stris
|
|
.RB { float , int , uint }
|
|
[number...]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Stris tests an arbitrary amount of numbers against one of three properties: float, int, or uint; which correspond to whether the numbers are all representable as floating-point values, integers, or unsigned (absolute) integers.
|
|
.PP
|
|
Stris exits successfully if all given numbers match the specified property, and unsuccessfully if stris was used improperly or the numbers did not match the specified property.
|
|
|
|
.SH BUGS
|
|
|
|
Non-simple numbers that are technically representable as floating-point numbers may not be recognized. This includes infinity, negative infinity, and NaN.
|
|
|
|
.SH COPYRIGHT
|
|
|
|
Public domain.
|