Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
  • Loading branch information
Planeshifter authored Mar 17, 2024
1 parent 74fd7e0 commit a459010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Tests if a finite double-precision floating-point number is a composite number.
```c
#include <stdbool.h>

bool out = stdlib_base_is_composite( 3 );
bool out = stdlib_base_is_composite( 3.0 );
// returns false
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
*
* @private
* @param {number} x - value to test
* @returns {boolean} boolean indicating whether the number is composite.
* @returns {boolean} boolean indicating whether the number is composite
*
* @example
* var bool = isComposite( 4.0 );
Expand Down

0 comments on commit a459010

Please sign in to comment.