Skip to content

Commit 0d46457

Browse files
authored
docs: update examples
Signed-off-by: Athan <[email protected]>
1 parent f3290fa commit 0d46457

File tree

1 file changed

+7
-3
lines changed
  • lib/node_modules/@stdlib/complex/float64/base/assert/is-almost-equal-value/docs

1 file changed

+7
-3
lines changed

lib/node_modules/@stdlib/complex/float64/base/assert/is-almost-equal-value/docs/repl.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@
2929

3030
Examples
3131
--------
32-
> var z1 = new {{alias:@stdlib/complex/float64/ctor}}( 1.0, 3.0 );
33-
> var z2 = new {{alias:@stdlib/complex/float64/ctor}}( 1.0, 3.0 );
32+
> var re1 = 1.0;
33+
> var im1 = 3.0;
34+
> var re2 = 1.0 + {{alias:@stdlib/constants/float64/eps}};
35+
> var im2 = 3.0;
36+
> var z1 = new {{alias:@stdlib/complex/float64/ctor}}( re1, im1 );
37+
> var z2 = new {{alias:@stdlib/complex/float64/ctor}}( re2, im2 );
3438
> var v = {{alias}}( z1, z2, 0 )
35-
true
39+
false
3640
> v = {{alias}}( z1, z2, 1 )
3741
true
3842

0 commit comments

Comments
 (0)