@@ -26,14 +26,14 @@ import dapxsumkbn = require( './index' );
2626
2727// Attached to the main export is a `main` method which returns a number...
2828{
29- const x = new float32Array ( 10 ) ;
29+ const x = new Float64Array ( 10 ) ;
3030
3131 dapxsumkbn . main ( x . length , 5.0 , x , 1 ) ; // $ExpectType number
3232}
3333
3434// The compiler throws an error if the `main` method is provided a first argument which is not a number...
3535{
36- const x = new float32Array ( 10 ) ;
36+ const x = new Float64Array ( 10 ) ;
3737
3838 dapxsumkbn . main ( '10' , 5.0 , x , 1 ) ; // $ExpectError
3939 dapxsumkbn . main ( true , 5.0 , x , 1 ) ; // $ExpectError
@@ -47,7 +47,7 @@ import dapxsumkbn = require( './index' );
4747
4848// The compiler throws an error if the `main` method is provided a second argument which is not a number...
4949{
50- const x = new float32Array ( 10 ) ;
50+ const x = new Float64Array ( 10 ) ;
5151
5252 dapxsumkbn . main ( x . length , '10' , x , 1 ) ; // $ExpectError
5353 dapxsumkbn . main ( x . length , true , x , 1 ) ; // $ExpectError
@@ -59,9 +59,9 @@ import dapxsumkbn = require( './index' );
5959 dapxsumkbn . main ( x . length , ( x : number ) : number => x , x , 1 ) ; // $ExpectError
6060}
6161
62- // The compiler throws an error if the `main` method is provided a third argument which is not a float32Array ...
62+ // The compiler throws an error if the `main` method is provided a third argument which is not a Float64Array ...
6363{
64- const x = new float32Array ( 10 ) ;
64+ const x = new Float64Array ( 10 ) ;
6565
6666 dapxsumkbn . main ( x . length , 5.0 , 10 , 1 ) ; // $ExpectError
6767 dapxsumkbn . main ( x . length , 5.0 , '10' , 1 ) ; // $ExpectError
@@ -76,7 +76,7 @@ import dapxsumkbn = require( './index' );
7676
7777// The compiler throws an error if the `main` method is provided a fourth argument which is not a number...
7878{
79- const x = new float32Array ( 10 ) ;
79+ const x = new Float64Array ( 10 ) ;
8080
8181 dapxsumkbn . main ( x . length , 5.0 , x , '10' ) ; // $ExpectError
8282 dapxsumkbn . main ( x . length , 5.0 , x , true ) ; // $ExpectError
@@ -90,7 +90,7 @@ import dapxsumkbn = require( './index' );
9090
9191// The compiler throws an error if the `main` method is provided an unsupported number of arguments...
9292{
93- const x = new float32Array ( 10 ) ;
93+ const x = new Float64Array ( 10 ) ;
9494
9595 dapxsumkbn . main ( ) ; // $ExpectError
9696 dapxsumkbn . main ( x . length ) ; // $ExpectError
@@ -101,14 +101,14 @@ import dapxsumkbn = require( './index' );
101101
102102// Attached to main export is an `ndarray` method which returns a number...
103103{
104- const x = new float32Array ( 10 ) ;
104+ const x = new Float64Array ( 10 ) ;
105105
106106 dapxsumkbn . ndarray ( x . length , 5.0 , x , 1 , 0 ) ; // $ExpectType number
107107}
108108
109109// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...
110110{
111- const x = new float32Array ( 10 ) ;
111+ const x = new Float64Array ( 10 ) ;
112112
113113 dapxsumkbn . ndarray ( '10' , 5.0 , x , 1 , 0 ) ; // $ExpectError
114114 dapxsumkbn . ndarray ( true , 5.0 , x , 1 , 0 ) ; // $ExpectError
@@ -122,7 +122,7 @@ import dapxsumkbn = require( './index' );
122122
123123// The compiler throws an error if the `ndarray` method is provided a second argument which is not a number...
124124{
125- const x = new float32Array ( 10 ) ;
125+ const x = new Float64Array ( 10 ) ;
126126
127127 dapxsumkbn . ndarray ( x . length , '10' , x , 1 , 0 ) ; // $ExpectError
128128 dapxsumkbn . ndarray ( x . length , true , x , 1 , 0 ) ; // $ExpectError
@@ -134,9 +134,9 @@ import dapxsumkbn = require( './index' );
134134 dapxsumkbn . ndarray ( x . length , ( x : number ) : number => x , x , 1 , 0 ) ; // $ExpectError
135135}
136136
137- // The compiler throws an error if the `ndarray` method is provided a third argument which is not a float32Array ...
137+ // The compiler throws an error if the `ndarray` method is provided a third argument which is not a Float64Array ...
138138{
139- const x = new float32Array ( 10 ) ;
139+ const x = new Float64Array ( 10 ) ;
140140
141141 dapxsumkbn . ndarray ( x . length , 5.0 , 10 , 1 , 0 ) ; // $ExpectError
142142 dapxsumkbn . ndarray ( x . length , 5.0 , '10' , 1 , 0 ) ; // $ExpectError
@@ -151,7 +151,7 @@ import dapxsumkbn = require( './index' );
151151
152152// The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number...
153153{
154- const x = new float32Array ( 10 ) ;
154+ const x = new Float64Array ( 10 ) ;
155155
156156 dapxsumkbn . ndarray ( x . length , 5.0 , x , '10' , 0 ) ; // $ExpectError
157157 dapxsumkbn . ndarray ( x . length , 5.0 , x , true , 0 ) ; // $ExpectError
@@ -165,7 +165,7 @@ import dapxsumkbn = require( './index' );
165165
166166// The compiler throws an error if the `ndarray` method is provided a fifth argument which is not a number...
167167{
168- const x = new float32Array ( 10 ) ;
168+ const x = new Float64Array ( 10 ) ;
169169
170170 dapxsumkbn . ndarray ( x . length , 5.0 , x , 1 , '10' ) ; // $ExpectError
171171 dapxsumkbn . ndarray ( x . length , 5.0 , x , 1 , true ) ; // $ExpectError
@@ -179,7 +179,7 @@ import dapxsumkbn = require( './index' );
179179
180180// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
181181{
182- const x = new float32Array ( 10 ) ;
182+ const x = new Float64Array ( 10 ) ;
183183
184184 dapxsumkbn . ndarray ( ) ; // $ExpectError
185185 dapxsumkbn . ndarray ( x . length ) ; // $ExpectError
0 commit comments