Skip to content

Commit 8879b1d

Browse files
authored
docs: tidy doc and C macro drift in @stdlib/constants/float32
PR-URL: #12432 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0f2cc7c commit 8879b1d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/constants/float32/half-ln-two/include/stdlib/constants/float32/half_ln_two.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
/**
2323
* Macro for one half times the natural logarithm of 2 as a single-precision floating-point number.
2424
*/
25-
#define STDLIB_CONSTANT_FLOAT32_HALF_LN_TWO 0.3465735912322998
25+
#define STDLIB_CONSTANT_FLOAT32_HALF_LN_TWO 0.3465735912322998f
2626

2727
#endif // !STDLIB_CONSTANTS_FLOAT32_HALF_LN_TWO_H

lib/node_modules/@stdlib/constants/float32/log10-e/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
4343
* @type {number}
4444
* @default 0.4342944920063019
4545
* @see [OEIS]{@link https://oeis.org/A001113}
46-
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_%27mathematical_constant%28}
46+
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_(mathematical_constant)}
4747
*/
4848
var FLOAT32_LOG10E = float64ToFloat32( 0.4342944819032518 );
4949

lib/node_modules/@stdlib/constants/float32/log2-e/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
4343
* @type {number}
4444
* @default 1.4426950216293335
4545
* @see [OEIS]{@link https://oeis.org/A001113}
46-
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_%27mathematical_constant%28}
46+
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_(mathematical_constant)}
4747
*/
4848
var FLOAT32_LOG2E = float64ToFloat32( 1.4426950408889634 );
4949

lib/node_modules/@stdlib/constants/float32/nan/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# NAN
21+
# FLOAT32_NAN
2222

2323
> [Single-precision floating-point][ieee754] `NaN`.
2424

0 commit comments

Comments
 (0)