Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Dec 11, 2024
1 parent 788db0d commit 2fb95e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2685,6 +2685,7 @@ A total of 5 people contributed to this release. Thank you to the following cont

<details>

- [`1f3190b`](https://github.com/stdlib-js/stdlib/commit/1f3190b7d1100f318ff2677fff12cb0d072f9b09) - **docs:** add missing `f` suffixes and `stdbool` header in `math/base/assert/is-oddf` [(#3457)](https://github.com/stdlib-js/stdlib/pull/3457) _(by Gunj Joshi)_
- [`bf5643f`](https://github.com/stdlib-js/stdlib/commit/bf5643fb1a3f32a60903d8e210f71571e609119f) - **docs:** update related packages sections [(#3404)](https://github.com/stdlib-js/stdlib/pull/3404) _(by stdlib-bot)_
- [`ecd017d`](https://github.com/stdlib-js/stdlib/commit/ecd017d9c921c2412fe61af9a129884e0c1e85b6) - **feat:** add `math/base/assert/is-oddf` [(#3125)](https://github.com/stdlib-js/stdlib/pull/3125) _(by Gururaj Gurram, Gunj Joshi, stdlib-bot)_
- [`1c56b73`](https://github.com/stdlib-js/stdlib/commit/1c56b737ec018cc818cebf19e5c7947fa684e126) - **docs:** update related packages sections [(#3380)](https://github.com/stdlib-js/stdlib/pull/3380) _(by stdlib-bot)_
Expand Down
4 changes: 2 additions & 2 deletions 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 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

0 comments on commit 2fb95e6

Please sign in to comment.