Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/assert/is-oddf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ Tests if a finite single-precision floating-point number is an odd number.
```c
#include <stdbool.h>

bool out = stdlib_base_is_oddf( 1.0 );
bool out = stdlib_base_is_oddf( 1.0f );
// returns true

out = stdlib_base_is_oddf( 4.0 );
out = stdlib_base_is_oddf( 4.0f );
// returns false
```

Expand Down
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/math/base/assert/is-oddf/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "stdlib/math/base/assert/is_oddf.h"
#include "stdlib/math/base/assert/is_evenf.h"
#include <stdbool.h>

/**
* Tests if a finite single-precision floating-point number is an odd number.
Expand All @@ -28,7 +29,7 @@
* @example
* #include <stdbool.h>
*
* bool out = stdlib_base_is_oddf( 3.0 );
* bool out = stdlib_base_is_oddf( 3.0f );
* // returns true
*/
bool stdlib_base_is_oddf( const float x ) {
Expand Down
Loading