diff --git a/lib/node_modules/@stdlib/math/base/special/sinpi/lib/main.js b/lib/node_modules/@stdlib/math/base/special/sinpi/lib/main.js index 54c0c6171b4..15cd857184d 100644 --- a/lib/node_modules/@stdlib/math/base/special/sinpi/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/sinpi/lib/main.js @@ -18,15 +18,6 @@ 'use strict'; -/* -* Notes: -* => sin(-x) = -sin(x) -* => sin(+n) = +0, where `n` is a positive integer -* => sin(-n) = -sin(+n) = -0, where `n` is a positive integer -* => cos(-x) = cos(x) -*/ - - // MODULES // var isnan = require( '@stdlib/math/base/assert/is-nan' ); @@ -43,6 +34,13 @@ var PI = require( '@stdlib/constants/float64/pi' ); /** * Computes the value of `sin(πx)`. * +* ## Notes +* +* - `sin(-x) = -sin(x)` +* - `sin(+n) = +0`, where `n` is a positive integer +* - `sin(-n) = -sin(+n) = -0`, where `n` is a positive integer +* - `cos(-x) = cos(x)` +* * @param {number} x - input value * @returns {number} function value * diff --git a/lib/node_modules/@stdlib/math/base/special/sinpi/src/main.c b/lib/node_modules/@stdlib/math/base/special/sinpi/src/main.c index 991b8b3f7a2..4267f2b1722 100644 --- a/lib/node_modules/@stdlib/math/base/special/sinpi/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/sinpi/src/main.c @@ -16,14 +16,6 @@ * limitations under the License. */ -/* -* Notes: -* => sin(-x) = -sin(x) -* => sin(+n) = +0, where `n` is a positive integer -* => sin(-n) = -sin(+n) = -0, where `n` is a positive integer -* => cos(-x) = cos(x) -*/ - #include "stdlib/math/base/special/sinpi.h" #include "stdlib/math/base/assert/is_nan.h" #include "stdlib/math/base/assert/is_infinite.h" @@ -37,6 +29,13 @@ /** * Computes the value of `sin(πx)`. * +* ## Notes +* +* - `sin(-x) = -sin(x)` +* - `sin(+n) = +0`, where `n` is a positive integer +* - `sin(-n) = -sin(+n) = -0`, where `n` is a positive integer +* - `cos(-x) = cos(x)` +* * @param x input value * @return function value *