File tree 2 files changed +10
-10
lines changed
lib/node_modules/@stdlib/complex
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ var Complex64 = require( './../lib' );
23
23
var z = new Complex64 ( 3.0 , - 2.0 ) ;
24
24
25
25
console . log ( 'type: %s' , typeof z ) ;
26
- // => type: object
26
+ // => ' type: object'
27
27
28
28
console . log ( 'str: %s' , z ) ;
29
- // => str: 3 - 2i
29
+ // => ' str: 3 - 2i'
30
30
31
31
console . log ( 'real: %d' , z . re ) ;
32
- // => real: 3.0
32
+ // => ' real: 3'
33
33
34
34
console . log ( 'imag: %d' , z . im ) ;
35
- // => imag: -2.0
35
+ // => ' imag: -2'
36
36
37
37
console . log ( 'JSON: %s' , JSON . stringify ( z ) ) ;
38
- // => JSON: {"type":"Complex64","re":3,"im":-2}
38
+ // => ' JSON: {"type":"Complex64","re":3,"im":-2}'
Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ var Complex128 = require( './../lib' );
23
23
var z = new Complex128 ( 3.0 , - 2.0 ) ;
24
24
25
25
console . log ( 'type: %s' , typeof z ) ;
26
- // => typed : object
26
+ // => 'type : object'
27
27
28
28
console . log ( 'str: %s' , z ) ;
29
- // => str: 3 - 2i
29
+ // => ' str: 3 - 2i'
30
30
31
31
console . log ( 'real: %d' , z . re ) ;
32
- // => real: 3.0
32
+ // => ' real: 3'
33
33
34
34
console . log ( 'imag: %d' , z . im ) ;
35
- // => imag: -2.0
35
+ // => ' imag: -2'
36
36
37
37
console . log ( 'JSON: %s' , JSON . stringify ( z ) ) ;
38
- // => JSON: {"type":"Complex128","real ":3,"imag ":-2}
38
+ // => ' JSON: {"type":"Complex128","re ":3,"im ":-2}'
You can’t perform that action at this time.
0 commit comments