Skip to content

Commit a4dee7d

Browse files
committed
fix: move repl.txt file and address feedback
1 parent ce25d7e commit a4dee7d

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

lib/node_modules/@stdlib/math/base/special/nanmax/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bench( pkg, function benchmark( b ) {
3535
var z;
3636
var i;
3737

38-
values = [ 3, 2, 2.0, 1.5, NaN ];
38+
values = [ 3.0, 2.0, 2.0, 1.5, NaN ];
3939
x = 0.4;
4040

4141
b.tic();
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
{{alias}}( x, y )
3+
Returns the maximum value.
4+
5+
If one operand is NaN, the other operand is always returned.
6+
7+
Parameters
8+
----------
9+
x: number
10+
First number.
11+
12+
y: number
13+
Second number.
14+
15+
Returns
16+
-------
17+
out: number
18+
Maximum value.
19+
20+
Examples
21+
--------
22+
> var v = {{alias}}( 3.14, 4.2 )
23+
4.2
24+
> v = {{alias}}( 3.14, NaN )
25+
3.14
26+
> v = {{alias}}( NaN, 4.2 )
27+
4.2
28+
> v = {{alias}}( NaN, NaN )
29+
NaN
30+
31+
See Also
32+
--------

lib/node_modules/@stdlib/math/base/special/nanmax/docs/types/index.d.ts

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

2121
/**
22-
* Return the maximum value, ignoring NaN.
22+
* Returns the maximum value, ignoring NaN.
2323
*
2424
* @param x - first number
2525
* @param y - second number

0 commit comments

Comments
 (0)