Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{{alias}}( x )
Computes the cosecant of a degree.
Computes the cosecant of an angle measured in degrees.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// TypeScript Version: 4.1

/**
* Computes the cosecant of a degree.
* Computes the cosecant of an angle measured in degrees.
*
* @param x - input value (in degrees)
* @returns cosecant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {
#endif

/**
* Computes the cosecant of a degree.
* Computes the cosecant of an angle measured in degrees.
*/
double stdlib_base_cscd( const double x );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Compute the cosecant of a degree.
* Compute the cosecant of an angle measured in degrees.
*
* @module @stdlib/math/base/special/cscd
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var sind = require( '@stdlib/math/base/special/sind' );
// MAIN //

/**
* Computes the cosecant of a degree.
* Computes the cosecant of an angle measured in degrees.
*
* @param {number} x - input value (in degrees)
* @returns {number} cosecant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Computes the cosecant of a degree.
* Computes the cosecant of an angle measured in degrees.
*
* @private
* @param {number} x - input value (in degrees)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/math/base/special/cscd",
"version": "0.0.0",
"description": "Compute the cosecant of a degree.",
"description": "Compute the cosecant of an angle measured in degrees.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/special/cscd/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "stdlib/math/base/special/sind.h"

/**
* Computes the cosecant of a degree.
* Computes the cosecant of an angle measured in degrees.
*
* @param x input value (in degrees)
* @return cosecant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{alias}}( n )
Computes the nth non-Fibonacci number.

If not provided a nonnegative integer value, the function returns `NaN`.
If provided either a non-integer or `n < 1`, the function returns `NaN`.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* ## Notes
*
* - If not provided a nonnegative integer value, the function returns `NaN`.
* - If provided either a non-integer or `n < 1`, the function returns `NaN`.
*
* @param n - the non-Fibonacci number to compute
* @returns non-Fibonacci number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ for ( i = 1; i < 100; i++ ) {

#### stdlib_base_nonfibonaccif( x )

Computes the nth non-Fibonacci single-precision floating-point number.
Computes the nth non-Fibonacci number as a single-precision floating-point number.

```c
float out = stdlib_base_nonfibonaccif( 1.0f );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

{{alias}}( n )
Computes the nth non-Fibonacci single-precision floating-point number.
Computes the nth non-Fibonacci number as a single-precision floating-point
number.

If provided either a non-integer or `n < 1`, the function returns `NaN`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// TypeScript Version: 4.1

/**
* Computes the nth non-Fibonacci single-precision floating-point number.
* Computes the nth non-Fibonacci number as a single-precision floating-point number.
*
* ## Notes
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern "C"
#endif

/**
* Computes the nth non-Fibonacci single-precision floating-point number.
* Computes the nth non-Fibonacci number as a single-precision floating-point number.
*/
float stdlib_base_nonfibonaccif( const float n );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Compute the nth non-Fibonacci single-precision floating-point number.
* Compute the nth non-Fibonacci number as a single-precision floating-point number.
*
* @module @stdlib/math/base/special/nonfibonaccif
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var LN_PHI = lnf( PHI );
// MAIN //

/**
* Computes the nth non-Fibonacci single-precision floating-point number.
* Computes the nth non-Fibonacci number as a single-precision floating-point number.
*
* ## References
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Computes the nth non-Fibonacci single-precision floating-point number.
* Computes the nth non-Fibonacci number as a single-precision floating-point number.
*
* @private
* @param {NonNegativeInteger} n - the non-Fibonacci number to compute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/math/base/special/nonfibonaccif",
"version": "0.0.0",
"description": "Compute the nth non-Fibonacci single-precision floating-point number.",
"description": "Compute the nth non-Fibonacci number as a single-precision floating-point number.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down Expand Up @@ -71,8 +71,8 @@
"$schema": "math/base@v1.0",
"base_alias": "nonfibonacci",
"alias": "nonfibonaccif",
"pkg_desc": "compute the nth non-Fibonacci single-precision floating-point number",
"desc": "computes the nth non-Fibonacci single-precision floating-point number",
"pkg_desc": "compute the nth non-Fibonacci number as a single-precision floating-point number",
"desc": "computes the nth non-Fibonacci number as a single-precision floating-point number",
"short_desc": "non-Fibonacci number",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static const float SQRT5 = 2.23606797749979f;
static const float LN_PHI = 0.48121182506f;

/**
* Computes the nth non-Fibonacci single-precision floating-point number.
* Computes the nth non-Fibonacci number as a single-precision floating-point number.
*
* @param n input value
* @return output value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
* // returns 1.0
*
* @example
* var v = powf( 3.141592653589793, 5.0 );
* var v = powf( 3.1415927410125732, 5.0 );
* // returns ~306.0197
*
* @example
* var v = powf( 3.141592653589793, -0.2 );
* var v = powf( 3.1415927410125732, -0.2 );
* // returns ~0.7954
*
* @example
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/special/powf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
5.5,
100,
8.9,
3.141592653589793,
3.1415927410125732,
11.3,
-3.141592653589793,
-3.1415927410125732,
13.5,
14.6,
-15.7,
Expand Down