diff --git a/lib/node_modules/@stdlib/math/base/assert/is-nonnegative-integerf/README.md b/lib/node_modules/@stdlib/math/base/assert/is-nonnegative-integerf/README.md index fc56a847fee1..6958a8adcf88 100644 --- a/lib/node_modules/@stdlib/math/base/assert/is-nonnegative-integerf/README.md +++ b/lib/node_modules/@stdlib/math/base/assert/is-nonnegative-integerf/README.md @@ -32,7 +32,7 @@ var isNonNegativeIntegerf = require( '@stdlib/math/base/assert/is-nonnegative-in #### isNonNegativeIntegerf( x ) -Tests if a finite [single-precision floating-point number][ieee754] is a nonnegative `integer`. +Tests if a finite [single-precision floating-point number][ieee754] is a nonnegative integer. ```javascript var bool = isNonNegativeIntegerf( 1.0 ); @@ -53,7 +53,7 @@ bool = isNonNegativeIntegerf( -10.0 ); ## Notes -- The function assumes a **finite** `number`. If provided positive `infinity`, the function will return `true`, when, in fact, the result is undefined. If `x` can be `infinite`, wrap the implementation as follows: +- The function assumes a **finite** number. If provided positive `infinity`, the function will return `true`, when, in fact, the result is undefined. If `x` can be `infinite`, wrap the implementation as follows: ```javascript function check( x ) { @@ -141,6 +141,8 @@ bool = isNonNegativeIntegerf( NaN ); Tests if a finite [single-precision floating-point number][ieee754] is a nonnegative integer. ```c +#include + bool out = stdlib_base_is_nonnegative_integerf( 1.0f ); // returns true