Skip to content

Commit 38f2b0f

Browse files
committed
chore: apply suggestions from review
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: passed - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 79678ef commit 38f2b0f

File tree

9 files changed

+12
-17
lines changed

9 files changed

+12
-17
lines changed

lib/node_modules/@stdlib/math/base/special/kernel-sinf/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# kernelSinf
2222

23-
> Compute the [sine][sine] of a single-precision floating-point number on `[-π/4, π/4]`.
23+
> Compute the [sine][sine] of a number on `[-π/4, π/4]` in single-precision floating-point format.
2424
2525
<section class="usage">
2626

@@ -32,7 +32,7 @@ var kernelSinf = require( '@stdlib/math/base/special/kernel-sinf' );
3232

3333
#### kernelSinf( x )
3434

35-
Computes the [sine][sine] of a single-precision floating-point number on `[-π/4, π/4]`.
35+
Computes the [sine][sine] of a number on `[-π/4, π/4]` in single-precision floating-point format.
3636

3737
```javascript
3838
var v = kernelSinf( 0.0 );
@@ -101,7 +101,7 @@ logEachMap( 'kernelSinf(%0.4f) = %0.4f', x, kernelSinf );
101101

102102
#### stdlib_base_kernel_sinf( x )
103103

104-
Computes the [sine][sine] of a single-precision floating-point number on `[-π/4, π/4]`.
104+
Computes the [sine][sine] of a number on `[-π/4, π/4]` in single-precision floating-point format.
105105

106106
```c
107107
float v = stdlib_base_kernel_sinf( 0.0 );

lib/node_modules/@stdlib/math/base/special/kernel-sinf/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}( x )
3-
Computes the sine of a single-precision floating-point number on the
4-
interval [-π/4, π/4].
3+
Computes the sine of a number on the interval [-π/4, π/4] in
4+
single-precision floating-point format.
55

66
If provided `NaN`, the function returns `NaN`.
77

lib/node_modules/@stdlib/math/base/special/kernel-sinf/docs/types/index.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Computes the sine of a single-precision floating-point number on \\( \[-\pi/4, \pi/4] \\), where \\( \pi/4 \approx 0.785398164 \\).
23-
*
24-
* ## Notes
25-
*
26-
* - \\( | \sin(x) - s(x) | < 2^{-37.5} \\), where \\( 2^{-37.5} \approx \[ -4.89 \times 10^{-12}, 4.824 \times 10^{-12} \] \\).
22+
* Computes the sine of a number on \\( \[-\pi/4, \pi/4] \\) in single-precision floating-point format, where \\( \pi/4 \approx 0.785398164 \\).
2723
*
2824
* @param x - input value (in radians, assumed to be bounded by ~pi/4 in magnitude)
2925
* @returns sine

lib/node_modules/@stdlib/math/base/special/kernel-sinf/examples/c/example.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
2019
#include "stdlib/math/base/special/kernel_sinf.h"
2120
#include <stdio.h>
2221

@@ -27,6 +26,6 @@ int main( void ) {
2726
int i;
2827
for ( i = 0; i < 10; i++ ) {
2928
out = stdlib_base_kernel_sinf( x[ i ] );
30-
printf ( "x[ i ]: %lf, out: %f\n", x[ i ], out );
29+
printf ( "kernelSinf(%lf) = %f\n", x[ i ], out );
3130
}
3231
}

lib/node_modules/@stdlib/math/base/special/kernel-sinf/include/stdlib/math/base/special/kernel_sinf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Computes the sine of a single-precision floating-point number on [-π/4, π/4].
30+
* Computes the sine of a number on [-π/4, π/4] in single-precision floating-point format.
3131
*/
3232
float stdlib_base_kernel_sinf( const double x );
3333

lib/node_modules/@stdlib/math/base/special/kernel-sinf/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Compute the sine of a single-precision floating-point number on `[-π/4, π/4]`.
22+
* Compute the sine of a number on `[-π/4, π/4]` in single-precision floating-point format.
2323
*
2424
* @module @stdlib/math/base/special/kernel-sinf
2525
*

lib/node_modules/@stdlib/math/base/special/kernel-sinf/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var polyval34 = require( './polyval_s34.js' );
4242
// MAIN //
4343

4444
/**
45-
* Computes the sine of a single-precision floating-point number on \\( \[-\pi/4, \pi/4] \\), where \\( \pi/4 \approx 0.785398164 \\).
45+
* Computes the sine of a number on \\( \[-\pi/4, \pi/4] \\) in single-precision floating-point format, where \\( \pi/4 \approx 0.785398164 \\).
4646
*
4747
* ## Notes
4848
*

lib/node_modules/@stdlib/math/base/special/kernel-sinf/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
2626
// MAIN //
2727

2828
/**
29-
* Computes the sine of a single-precision floating-point number on \\( \[-\pi/4, \pi/4] \\), where \\( \pi/4 \approx 0.785398164 \\).
29+
* Computes the sine of a number on \\( \[-\pi/4, \pi/4] \\) in single-precision floating-point format, where \\( \pi/4 \approx 0.785398164 \\).
3030
*
3131
* @private
3232
* @param {number} x - input value (in radians, assumed to be bounded by ~pi/4 in magnitude)

lib/node_modules/@stdlib/math/base/special/kernel-sinf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/special/kernel-sinf",
33
"version": "0.0.0",
4-
"description": "Compute the sine of a single-precision floating-point number on [-π/4, π/4].",
4+
"description": "Compute the sine of a number on [-π/4, π/4] in single-precision floating-point format.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

0 commit comments

Comments
 (0)