type/poszero - check for an object of type positive zero
type/negzero - check for an object of type negative zero
|
Calling Sequence
|
|
type(x, poszero)
type(x, negzero)
|
|
Description
|
|
•
|
The type(x, poszero) function returns true iff x is either 0 or +0.0. Otherwise, false is returned.
|
•
|
The type(x, negzero) function returns true iff x is -0.0. Otherwise, false is returned.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?