Skip to content

Commit 78e4bb5

Browse files
committed
Auto-generated commit
1 parent ecb1532 commit 78e4bb5

File tree

7 files changed

+150
-14
lines changed

7 files changed

+150
-14
lines changed

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-08-07)
7+
## Unreleased (2025-08-08)
88

99
<section class="features">
1010

@@ -16,12 +16,23 @@
1616

1717
<!-- /.features -->
1818

19+
<section class="bug-fixes">
20+
21+
### Bug Fixes
22+
23+
- [`3eea4f7`](https://github.com/stdlib-js/stdlib/commit/3eea4f78d4cfeae6f9dbf10b0c21175a65e5e07b) - add missing includes
24+
25+
</section>
26+
27+
<!-- /.bug-fixes -->
28+
1929
<section class="commits">
2030

2131
### Commits
2232

2333
<details>
2434

35+
- [`3eea4f7`](https://github.com/stdlib-js/stdlib/commit/3eea4f78d4cfeae6f9dbf10b0c21175a65e5e07b) - **fix:** add missing includes _(by Athan Reines)_
2536
- [`0918c66`](https://github.com/stdlib-js/stdlib/commit/0918c6689d3193257d47a9cf736083e8d8e301e0) - **chore:** fix copyright years _(by Philipp Burckhardt)_
2637
- [`ca13482`](https://github.com/stdlib-js/stdlib/commit/ca1348266c2bb7e78fe6dce4ae48629265d5ebdd) - **feat:** add `math/base/assert/is-negative-integerf` _(by Philipp Burckhardt)_
2738

@@ -35,8 +46,9 @@
3546

3647
### Contributors
3748

38-
A total of 1 person contributed to this release. Thank you to this contributor:
49+
A total of 2 people contributed to this release. Thank you to the following contributors:
3950

51+
- Athan Reines
4052
- Philipp Burckhardt
4153

4254
</section>

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,6 @@ For more information on the project, filing bug reports and feature requests, an
248248
249249
---
250250
251-
## License
252-
253-
See [LICENSE][stdlib-license].
254-
255-
256251
## Copyright
257252
258253
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
@@ -299,8 +294,6 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
299294
[esm-readme]: https://github.com/stdlib-js/math-base-assert-is-negative-integerf/blob/esm/README.md
300295
[branches-url]: https://github.com/stdlib-js/math-base-assert-is-negative-integerf/blob/main/branches.md
301296
302-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-assert-is-negative-integerf/main/LICENSE
303-
304297
</section>
305298
306299
<!-- /.links -->

dist/index.js

Lines changed: 29 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native.js

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/addon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "stdlib/math/base/assert/is_negative_integerf.h"
2020
#include <node_api.h>
21+
#include <stdbool.h>
2122
#include <stdint.h>
2223
#include <assert.h>
2324

src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "stdlib/math/base/assert/is_negative_integerf.h"
2020
#include "stdlib/math/base/special/floorf.h"
21+
#include <stdbool.h>
2122

2223
/**
2324
* Tests if a finite single-precision floating-point number is a negative integer.
@@ -32,5 +33,5 @@
3233
* // returns true
3334
*/
3435
bool stdlib_base_is_negative_integerf( const float x ) {
35-
return ( x == stdlib_base_floorf( x ) && x < 0.0f );
36+
return ( stdlib_base_floorf( x ) == x && x < 0.0f );
3637
}

0 commit comments

Comments
 (0)