type/poszero
check for an object of type positive zero
type/negzero
check for an object of type negative zero
Calling Sequence
Parameters
Description
Examples
type(x, poszero)
type(x, negzero)
x
-
any expression
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.
type⁡0,poszero
true
type⁡ln⁡1.,poszero
type⁡ln⁡1.+0.⁢I,poszero
false
type⁡ln⁡−1.+0.⁢I,poszero
type⁡−0+0,poszero
type⁡−0.+0,poszero
type⁡−0.+0,negzero
See Also
Im
infinity
numerics
Re
type
type/extended_numeric
type/nonreal
Download Help Document