# isPositiveZero > Test if a double-precision floating-point numeric value is positive zero.
## Usage ```javascript var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); ``` #### isPositiveZero( x ) Tests if a double-precision floating-point `numeric` value is positive zero. ```javascript var bool = isPositiveZero( 0.0 ); // returns true bool = isPositiveZero( -0.0 ); // returns false ```
## Examples ```javascript var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); var bool = isPositiveZero( 0.0 ); // returns true bool = isPositiveZero( -0.0 ); // returns false bool = isPositiveZero( 5.0 ); // returns false bool = isPositiveZero( -1.0 ); // returns false bool = isPositiveZero( NaN ); // returns false ```