Skip to content

Commit dfc4bbf

Browse files
committed
Move single-precision constants to own namespace
1 parent da9ef4c commit dfc4bbf

File tree

272 files changed

+1062
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+1062
-742
lines changed

lib/node_modules/@stdlib/array/min-dtype/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var isInteger = require( '@stdlib/math/base/assert/is-integer' );
2424
var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' );
2525
var PINF = require( '@stdlib/constants/math/float64-pinf' );
2626
var NINF = require( '@stdlib/constants/math/float64-ninf' );
27-
var FLOAT32_SMALLEST_SUBNORMAL = require( '@stdlib/constants/math/float32-smallest-subnormal' ); // eslint-disable-line id-length
27+
var FLOAT32_SMALLEST_SUBNORMAL = require( '@stdlib/constants/math/float32/smallest-subnormal' ); // eslint-disable-line id-length
2828
var INT8_MIN = require( '@stdlib/constants/math/int8-min' );
2929
var INT16_MIN = require( '@stdlib/constants/math/int16-min' );
3030
var INT32_MIN = require( '@stdlib/constants/math/int32-min' );

lib/node_modules/@stdlib/constants/math/README.md

+26-26
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,19 @@ var c = constants;
112112

113113
<div class="namespace-toc">
114114

115-
- <span class="signature">[`FLOAT32_CBRT_EPS`][@stdlib/constants/math/float32-cbrt-eps]</span><span class="delimiter">: </span><span class="description">cube root of single-precision floating-point epsilon.</span>
116-
- <span class="signature">[`FLOAT32_EPS`][@stdlib/constants/math/float32-eps]</span><span class="delimiter">: </span><span class="description">difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.</span>
117-
- <span class="signature">[`FLOAT32_EXPONENT_BIAS`][@stdlib/constants/math/float32-exponent-bias]</span><span class="delimiter">: </span><span class="description">the bias of a single-precision floating-point number's exponent.</span>
118-
- <span class="signature">[`FLOAT32_MAX`][@stdlib/constants/math/float32-max]</span><span class="delimiter">: </span><span class="description">maximum single-precision floating-point number.</span>
119-
- <span class="signature">[`FLOAT32_MAX_SAFE_INTEGER`][@stdlib/constants/math/float32-max-safe-integer]</span><span class="delimiter">: </span><span class="description">maximum safe single-precision floating-point integer.</span>
120-
- <span class="signature">[`FLOAT32_MIN_SAFE_INTEGER`][@stdlib/constants/math/float32-min-safe-integer]</span><span class="delimiter">: </span><span class="description">minimum safe single-precision floating-point integer.</span>
121-
- <span class="signature">[`FLOAT32_NINF`][@stdlib/constants/math/float32-ninf]</span><span class="delimiter">: </span><span class="description">single-precision floating-point negative infinity.</span>
122-
- <span class="signature">[`FLOAT32_NUM_BYTES`][@stdlib/constants/math/float32-num-bytes]</span><span class="delimiter">: </span><span class="description">size (in bytes) of a single-precision floating-point number.</span>
123-
- <span class="signature">[`FLOAT32_PINF`][@stdlib/constants/math/float32-pinf]</span><span class="delimiter">: </span><span class="description">single-precision floating-point positive infinity.</span>
124-
- <span class="signature">[`FLOAT32_PRECISION`][@stdlib/constants/math/float32-precision]</span><span class="delimiter">: </span><span class="description">effective number of bits in the significand of a single-precision floating-point number.</span>
125-
- <span class="signature">[`FLOAT32_SMALLEST_NORMAL`][@stdlib/constants/math/float32-smallest-normal]</span><span class="delimiter">: </span><span class="description">smallest positive **normalized** single-precision floating-point number.</span>
126-
- <span class="signature">[`FLOAT32_SMALLEST_SUBNORMAL`][@stdlib/constants/math/float32-smallest-subnormal]</span><span class="delimiter">: </span><span class="description">smallest positive **denormalized** single-precision floating-point number.</span>
127-
- <span class="signature">[`FLOAT32_SQRT_EPS`][@stdlib/constants/math/float32-sqrt-eps]</span><span class="delimiter">: </span><span class="description">square root of single-precision floating-point epsilon.</span>
115+
- <span class="signature">[`FLOAT32_CBRT_EPS`][@stdlib/constants/math/float32/cbrt-eps]</span><span class="delimiter">: </span><span class="description">cube root of single-precision floating-point epsilon.</span>
116+
- <span class="signature">[`FLOAT32_EPS`][@stdlib/constants/math/float32/eps]</span><span class="delimiter">: </span><span class="description">difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.</span>
117+
- <span class="signature">[`FLOAT32_EXPONENT_BIAS`][@stdlib/constants/math/float32/exponent-bias]</span><span class="delimiter">: </span><span class="description">the bias of a single-precision floating-point number's exponent.</span>
118+
- <span class="signature">[`FLOAT32_MAX`][@stdlib/constants/math/float32/max]</span><span class="delimiter">: </span><span class="description">maximum single-precision floating-point number.</span>
119+
- <span class="signature">[`FLOAT32_MAX_SAFE_INTEGER`][@stdlib/constants/math/float32/max-safe-integer]</span><span class="delimiter">: </span><span class="description">maximum safe single-precision floating-point integer.</span>
120+
- <span class="signature">[`FLOAT32_MIN_SAFE_INTEGER`][@stdlib/constants/math/float32/min-safe-integer]</span><span class="delimiter">: </span><span class="description">minimum safe single-precision floating-point integer.</span>
121+
- <span class="signature">[`FLOAT32_NINF`][@stdlib/constants/math/float32/ninf]</span><span class="delimiter">: </span><span class="description">single-precision floating-point negative infinity.</span>
122+
- <span class="signature">[`FLOAT32_NUM_BYTES`][@stdlib/constants/math/float32/num-bytes]</span><span class="delimiter">: </span><span class="description">size (in bytes) of a single-precision floating-point number.</span>
123+
- <span class="signature">[`FLOAT32_PINF`][@stdlib/constants/math/float32/pinf]</span><span class="delimiter">: </span><span class="description">single-precision floating-point positive infinity.</span>
124+
- <span class="signature">[`FLOAT32_PRECISION`][@stdlib/constants/math/float32/precision]</span><span class="delimiter">: </span><span class="description">effective number of bits in the significand of a single-precision floating-point number.</span>
125+
- <span class="signature">[`FLOAT32_SMALLEST_NORMAL`][@stdlib/constants/math/float32/smallest-normal]</span><span class="delimiter">: </span><span class="description">smallest positive **normalized** single-precision floating-point number.</span>
126+
- <span class="signature">[`FLOAT32_SMALLEST_SUBNORMAL`][@stdlib/constants/math/float32/smallest-subnormal]</span><span class="delimiter">: </span><span class="description">smallest positive **denormalized** single-precision floating-point number.</span>
127+
- <span class="signature">[`FLOAT32_SQRT_EPS`][@stdlib/constants/math/float32/sqrt-eps]</span><span class="delimiter">: </span><span class="description">square root of single-precision floating-point epsilon.</span>
128128

129129
</div>
130130

@@ -280,31 +280,31 @@ console.log( objectKeys( constants ) );
280280

281281
[@stdlib/constants/math/float16-sqrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float16-sqrt-eps
282282

283-
[@stdlib/constants/math/float32-cbrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-cbrt-eps
283+
[@stdlib/constants/math/float32/cbrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/cbrt-eps
284284

285-
[@stdlib/constants/math/float32-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-eps
285+
[@stdlib/constants/math/float32/eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/eps
286286

287-
[@stdlib/constants/math/float32-exponent-bias]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-exponent-bias
287+
[@stdlib/constants/math/float32/exponent-bias]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/exponent-bias
288288

289-
[@stdlib/constants/math/float32-max]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-max
289+
[@stdlib/constants/math/float32/max]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/max
290290

291-
[@stdlib/constants/math/float32-max-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-max-safe-integer
291+
[@stdlib/constants/math/float32/max-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/max-safe-integer
292292

293-
[@stdlib/constants/math/float32-min-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-min-safe-integer
293+
[@stdlib/constants/math/float32/min-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/min-safe-integer
294294

295-
[@stdlib/constants/math/float32-ninf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-ninf
295+
[@stdlib/constants/math/float32/ninf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/ninf
296296

297-
[@stdlib/constants/math/float32-num-bytes]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-num-bytes
297+
[@stdlib/constants/math/float32/num-bytes]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/num-bytes
298298

299-
[@stdlib/constants/math/float32-pinf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-pinf
299+
[@stdlib/constants/math/float32/pinf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/pinf
300300

301-
[@stdlib/constants/math/float32-precision]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-precision
301+
[@stdlib/constants/math/float32/precision]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/precision
302302

303-
[@stdlib/constants/math/float32-smallest-normal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-smallest-normal
303+
[@stdlib/constants/math/float32/smallest-normal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/smallest-normal
304304

305-
[@stdlib/constants/math/float32-smallest-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-smallest-subnormal
305+
[@stdlib/constants/math/float32/smallest-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/smallest-subnormal
306306

307-
[@stdlib/constants/math/float32-sqrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-sqrt-eps
307+
[@stdlib/constants/math/float32/sqrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/sqrt-eps
308308

309309
[@stdlib/constants/math/float64-apery]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float64-apery
310310

lib/node_modules/@stdlib/constants/math/docs/types/index.d.ts

-130
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,6 @@ import FLOAT16_PRECISION = require( '@stdlib/constants/math/float16-precision' )
3636
import FLOAT16_SMALLEST_NORMAL = require( '@stdlib/constants/math/float16-smallest-normal' );
3737
import FLOAT16_SMALLEST_SUBNORMAL = require( '@stdlib/constants/math/float16-smallest-subnormal' );
3838
import FLOAT16_SQRT_EPS = require( '@stdlib/constants/math/float16-sqrt-eps' );
39-
import FLOAT32_CBRT_EPS = require( '@stdlib/constants/math/float32-cbrt-eps' );
40-
import FLOAT32_EPS = require( '@stdlib/constants/math/float32-eps' );
41-
import FLOAT32_EXPONENT_BIAS = require( '@stdlib/constants/math/float32-exponent-bias' );
42-
import FLOAT32_MAX = require( '@stdlib/constants/math/float32-max' );
43-
import FLOAT32_MAX_SAFE_INTEGER = require( '@stdlib/constants/math/float32-max-safe-integer' );
44-
import FLOAT32_MIN_SAFE_INTEGER = require( '@stdlib/constants/math/float32-min-safe-integer' );
45-
import FLOAT32_NINF = require( '@stdlib/constants/math/float32-ninf' );
46-
import FLOAT32_NUM_BYTES = require( '@stdlib/constants/math/float32-num-bytes' );
47-
import FLOAT32_PINF = require( '@stdlib/constants/math/float32-pinf' );
48-
import FLOAT32_PRECISION = require( '@stdlib/constants/math/float32-precision' );
49-
import FLOAT32_SMALLEST_NORMAL = require( '@stdlib/constants/math/float32-smallest-normal' );
50-
import FLOAT32_SMALLEST_SUBNORMAL = require( '@stdlib/constants/math/float32-smallest-subnormal' );
51-
import FLOAT32_SQRT_EPS = require( '@stdlib/constants/math/float32-sqrt-eps' );
5239
import APERY = require( '@stdlib/constants/math/float64-apery' );
5340
import CATALAN = require( '@stdlib/constants/math/float64-catalan' );
5441
import CBRT_EPS = require( '@stdlib/constants/math/float64-cbrt-eps' );
@@ -262,123 +249,6 @@ interface Namespace {
262249
*/
263250
FLOAT16_SQRT_EPS: typeof FLOAT16_SQRT_EPS;
264251

265-
/**
266-
* Cube root of single-precision floating-point epsilon.
267-
*
268-
* @example
269-
* var eps = ns.FLOAT32_CBRT_EPS;
270-
* // returns 0.004921566601151848
271-
*/
272-
FLOAT32_CBRT_EPS: typeof FLOAT32_CBRT_EPS;
273-
274-
/**
275-
* Difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.
276-
*
277-
* @example
278-
* var eps = ns.FLOAT32_EPS;
279-
* // returns 1.1920928955078125e-7
280-
*/
281-
FLOAT32_EPS: typeof FLOAT32_EPS;
282-
283-
/**
284-
* The bias of a single-precision floating-point number's exponent.
285-
*
286-
* @example
287-
* var bias = ns.FLOAT32_EXPONENT_BIAS;
288-
* // returns 127
289-
*/
290-
FLOAT32_EXPONENT_BIAS: typeof FLOAT32_EXPONENT_BIAS;
291-
292-
/**
293-
* Maximum single-precision floating-point number.
294-
*
295-
* @example
296-
* var max = ns.FLOAT32_MAX;
297-
* // returns 3.4028234663852886e+38
298-
*/
299-
FLOAT32_MAX: typeof FLOAT32_MAX;
300-
301-
/**
302-
* Maximum safe single-precision floating-point integer.
303-
*
304-
* @example
305-
* var max = ns.FLOAT32_MAX_SAFE_INTEGER;
306-
* // returns 16777215
307-
*/
308-
FLOAT32_MAX_SAFE_INTEGER: typeof FLOAT32_MAX_SAFE_INTEGER;
309-
310-
/**
311-
* Minimum safe single-precision floating-point integer.
312-
*
313-
* @example
314-
* var min = ns.FLOAT32_MIN_SAFE_INTEGER;
315-
* // returns -16777215
316-
*/
317-
FLOAT32_MIN_SAFE_INTEGER: typeof FLOAT32_MIN_SAFE_INTEGER;
318-
319-
/**
320-
* Single-precision floating-point negative infinity.
321-
*
322-
* @example
323-
* var ninf = ns.FLOAT32_NINF;
324-
* // returns -infinity
325-
*/
326-
FLOAT32_NINF: typeof FLOAT32_NINF;
327-
328-
/**
329-
* Size (in bytes) of a single-precision floating-point number.
330-
*
331-
* @example
332-
* var bytes = ns.FLOAT32_NUM_BYTES
333-
* // returns 4
334-
*/
335-
FLOAT32_NUM_BYTES: typeof FLOAT32_NUM_BYTES;
336-
337-
/**
338-
* Single-precision floating-point positive infinity.
339-
*
340-
* @example
341-
* var pinf = ns.FLOAT32_PINF;
342-
* // returns +infinity
343-
*/
344-
FLOAT32_PINF: typeof FLOAT32_PINF;
345-
346-
/**
347-
* Effective number of bits in the significand of a single-precision floating-point number.
348-
*
349-
* @example
350-
* var precision = ns.FLOAT32_PRECISION;
351-
* // returns 24
352-
*/
353-
FLOAT32_PRECISION: typeof FLOAT32_PRECISION;
354-
355-
/**
356-
* Smallest positive single-precision floating-point normal number.
357-
*
358-
* @example
359-
* var smallest = ns.FLOAT32_SMALLEST_NORMAL;
360-
* // returns 1.1754943508222875e-38
361-
*/
362-
FLOAT32_SMALLEST_NORMAL: typeof FLOAT32_SMALLEST_NORMAL;
363-
364-
/**
365-
* Smallest positive single-precision floating-point subnormal number.
366-
*
367-
* @example
368-
* var smallest = ns.FLOAT32_SMALLEST_SUBNORMAL;
369-
* // returns 1.401298464324817e-45
370-
*/
371-
FLOAT32_SMALLEST_SUBNORMAL: typeof FLOAT32_SMALLEST_SUBNORMAL;
372-
373-
/**
374-
* Square root of single-precision floating-point epsilon.
375-
*
376-
* @example
377-
* var eps = ns.FLOAT32_SQRT_EPS;
378-
* // returns 0.0003452669770922512
379-
*/
380-
FLOAT32_SQRT_EPS: typeof FLOAT32_SQRT_EPS;
381-
382252
/**
383253
* Apéry's constant.
384254
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!--
2+
3+
@license Apache-2.0
4+
5+
Copyright (c) 2018 The Stdlib Authors.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
21+
# Constants
22+
23+
> Single-precision floating-point mathematical constants.
24+
25+
<section class="usage">
26+
27+
## Usage
28+
29+
```javascript
30+
var constants = require( '@stdlib/constants/math/float32' );
31+
```
32+
33+
#### constants
34+
35+
Single-precision floating-point mathematical constants.
36+
37+
```javascript
38+
var c = constants;
39+
// returns {...}
40+
```
41+
42+
<!-- <toc pattern="*" > -->
43+
44+
<div class="namespace-toc">
45+
46+
<!-- </toc> -->
47+
48+
</section>
49+
50+
<!-- /.usage -->
51+
52+
<section class="examples">
53+
54+
## Examples
55+
56+
<!-- TODO: better examples -->
57+
58+
<!-- eslint no-undef: "error" -->
59+
60+
```javascript
61+
var objectKeys = require( '@stdlib/utils/keys' );
62+
var constants = require( '@stdlib/constants/math/float32' );
63+
64+
console.log( objectKeys( constants ) );
65+
```
66+
67+
</section>
68+
69+
<!-- /.examples -->
70+
71+
<section class="links">
72+
73+
<!-- <toc-links> -->
74+
75+
<!-- </toc-links> -->
76+
77+
</section>
78+
79+
<!-- /.links -->

lib/node_modules/@stdlib/constants/math/float32-cbrt-eps/README.md renamed to lib/node_modules/@stdlib/constants/math/float32/cbrt-eps/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ limitations under the License.
2020

2121
# Cube Root of Epsilon
2222

23-
> [Cube root][@stdlib/math/base/special/cbrt] of [single-precision floating-point epsilon][@stdlib/constants/math/float32-eps].
23+
> [Cube root][@stdlib/math/base/special/cbrt] of [single-precision floating-point epsilon][@stdlib/constants/math/float32/eps].
2424
2525
<section class="usage">
2626

2727
## Usage
2828

2929
```javascript
30-
var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32-cbrt-eps' );
30+
var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32/cbrt-eps' );
3131
```
3232

3333
#### FLOAT32_CBRT_EPSILON
3434

35-
[Cube root][@stdlib/math/base/special/cbrt] of [single-precision floating-point epsilon][@stdlib/constants/math/float32-eps].
35+
[Cube root][@stdlib/math/base/special/cbrt] of [single-precision floating-point epsilon][@stdlib/constants/math/float32/eps].
3636

3737
```javascript
3838
var bool = ( FLOAT32_CBRT_EPSILON === 0.004921566601151848 );
@@ -54,7 +54,7 @@ var abs = require( '@stdlib/math/base/special/abs' );
5454
var max = require( '@stdlib/math/base/special/max' );
5555
var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
5656
var randu = require( '@stdlib/random/base/randu' );
57-
var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32-cbrt-eps' );
57+
var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32/cbrt-eps' );
5858

5959
var bool;
6060
var a;
@@ -87,7 +87,7 @@ for ( i = 0; i < 100; i++ ) {
8787

8888
[@stdlib/math/base/special/cbrt]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/cbrt
8989

90-
[@stdlib/constants/math/float32-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32-eps
90+
[@stdlib/constants/math/float32/eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/math/float32/eps
9191

9292
</section>
9393

lib/node_modules/@stdlib/constants/math/float32-cbrt-eps/lib/index.js renamed to lib/node_modules/@stdlib/constants/math/float32/cbrt-eps/lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
/**
2222
* Cube root of single-precision floating-point epsilon.
2323
*
24-
* @module @stdlib/constants/math/float32-cbrt-eps
24+
* @module @stdlib/constants/math/float32/cbrt-eps
2525
* @type {number}
2626
*
2727
* @example
28-
* var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32-cbrt-eps' );
28+
* var FLOAT32_CBRT_EPSILON = require( '@stdlib/constants/math/float32/cbrt-eps' );
2929
* // returns 0.004921566601151848
3030
*/
3131

lib/node_modules/@stdlib/constants/math/float32-cbrt-eps/package.json renamed to lib/node_modules/@stdlib/constants/math/float32/cbrt-eps/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/constants/math/float32-cbrt-eps",
2+
"name": "@stdlib/constants/math/float32/cbrt-eps",
33
"version": "0.0.0",
44
"description": "Cube root of single-precision floating-point epsilon.",
55
"license": "Apache-2.0",

lib/node_modules/@stdlib/constants/math/float32-cbrt-eps/test/test.js renamed to lib/node_modules/@stdlib/constants/math/float32/cbrt-eps/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var tape = require( 'tape' );
2424
var cbrt = require( '@stdlib/math/base/special/cbrt' );
2525
var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
26-
var FLOAT32_EPSILON = require( '@stdlib/constants/math/float32-eps' );
26+
var FLOAT32_EPSILON = require( '@stdlib/constants/math/float32/eps' );
2727
var FLOAT32_CBRT_EPSILON = require( './../lib' );
2828

2929

0 commit comments

Comments
 (0)