From cb2d1a839ae4c6111d2af91575da494207d34fcf Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 12 Nov 2024 02:52:35 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 3 +- base/special/ldexpf/README.md | 9 ++- base/special/ldexpf/docs/repl.txt | 2 +- base/special/ldexpf/examples/c/example.c | 10 +-- base/special/ldexpf/lib/main.js | 41 ++++++------ base/special/ldexpf/manifest.json | 16 ++++- base/special/ldexpf/src/addon.c | 82 +----------------------- base/special/ldexpf/src/main.c | 39 ++++++----- base/special/ldexpf/test/test.js | 6 ++ base/special/ldexpf/test/test.native.js | 6 ++ 10 files changed, 85 insertions(+), 129 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cea731e5d..645ff669a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-11-11) +## Unreleased (2024-11-12)
@@ -237,6 +237,7 @@ A total of 4 people contributed to this release. Thank you to the following cont
+- [`d88cd86`](https://github.com/stdlib-js/stdlib/commit/d88cd86622b7a4ebffcb4b57aa60d5b7292fee73) - **refactor:** use constants, `FI_F` for addon and style fixes in `math/base/special/ldexpf` [(#2868)](https://github.com/stdlib-js/stdlib/pull/2868) _(by Gunj Joshi)_ - [`d9a93be`](https://github.com/stdlib-js/stdlib/commit/d9a93be954f04720bb5b03512be42c9ce6201088) - **feat:** add `math/base/special/croundf` [(#3061)](https://github.com/stdlib-js/stdlib/pull/3061) _(by Gururaj Gurram, Philipp Burckhardt)_ - [`f8bcfd8`](https://github.com/stdlib-js/stdlib/commit/f8bcfd832483d46068c710b6854d5f97bcb778fd) - **feat:** add `math/base/special/gcdf` [(#2997)](https://github.com/stdlib-js/stdlib/pull/2997) _(by Aayush Khanna, Philipp Burckhardt)_ - [`6556a46`](https://github.com/stdlib-js/stdlib/commit/6556a46aa3a6dffdff6becd4fb98d32421b3e7f2) - **feat:** add `math/base/special/cfloorf` [(#3058)](https://github.com/stdlib-js/stdlib/pull/3058) _(by Aayush Khanna)_ diff --git a/base/special/ldexpf/README.md b/base/special/ldexpf/README.md index 2ed0f269d..978005130 100644 --- a/base/special/ldexpf/README.md +++ b/base/special/ldexpf/README.md @@ -32,7 +32,7 @@ var ldexpf = require( '@stdlib/math/base/special/ldexpf' ); #### ldexpf( frac, exp ) -Multiplies a [single-precision floating-point number][ieee754] by an `integer` power of two (i.e., `x = frac * 2^exp`). +Multiplies a [single-precision floating-point number][ieee754] by an integer power of two (i.e., `x = frac * 2^exp`). ```javascript var x = ldexpf( 0.5, 3 ); // => 0.5 * 2^3 = 0.5 * 8 @@ -67,9 +67,7 @@ x = ldexpf( -Infinity, -118 ); ## Notes -// TODO: update this once we have `frexpf`. - -- This function is the inverse of [`frexp`][@stdlib/math/base/special/frexp]. +- This function is the inverse of [`frexpf`][@stdlib/math/base/special/frexpf].
@@ -201,7 +199,8 @@ int main( void ) {