@@ -75,12 +75,12 @@ tape( 'the accumulator function incrementally computes a product', function test
7575	prod  =  1.0 ; 
7676	for  (  i  =  0 ;  i  <  N ;  i ++  )  { 
7777		d  =  data [  i  ] ; 
78-          if (  ! isnan (  d  )  ) { 
79- 		     prod  *=  d ; 
80- 	     } 
78+ 		 if (  ! isnan (  d  )  ) { 
79+ 			 prod  *=  d ; 
80+ 		 } 
8181		expected [  i  ]  =  prod ; 
8282    	actual [  i  ]  =  acc (  d  ) ; 
83-      } 
83+ 	 } 
8484	t . deepEqual (  actual ,  expected ,  'returns expected value'  ) ; 
8585	t . end ( ) ; 
8686} ) ; 
@@ -115,9 +115,9 @@ tape( 'the accumulator function incrementally computes a product (special series
115115		}  else  { 
116116			acc (  1.0 / x  ) ; 
117117		} 
118-          if (  i  %  10  ==  0  ) { 
119-              acc (  NaN  ) ; 
120-          } 
118+ 		 if (  i  %  10  ==  0  ) { 
119+ 			 acc (  NaN  ) ; 
120+ 		 } 
121121	} 
122122	t . strictEqual (  acc ( ) ,  1.0 ,  'returns expected value'  ) ; 
123123	t . end ( ) ; 
@@ -152,7 +152,7 @@ tape( 'overflow may be transient', function test( t ) {
152152	z  =  ldexp (  0.2 ,  - 1000  ) ;  // ~1.87e-302 
153153
154154	acc (  x  ) ; 
155-      acc (  NaN  ) ; 
155+ 	 acc (  NaN  ) ; 
156156	acc (  y  ) ; 
157157	acc (  z  ) ; 
158158
@@ -167,7 +167,7 @@ tape( 'the accumulator function can return a result which underflows', function
167167	var  acc  =  incrnanprod ( ) ; 
168168
169169	acc (  4.0e-302  ) ; 
170-      acc (  NaN  ) ; 
170+ 	 acc (  NaN  ) ; 
171171	acc (  9.0e-303  ) ; 
172172
173173	t . strictEqual (  acc ( ) ,  0.0 ,  'returns 0'  ) ; 
@@ -192,7 +192,7 @@ tape( 'underflow may be transient', function test( t ) {
192192	z  =  ldexp (  0.2 ,  1000  ) ;  // ~2.14e300 
193193
194194	acc (  x  ) ; 
195-      acc (  NaN  ) ; 
195+ 	 acc (  NaN  ) ; 
196196	acc (  y  ) ; 
197197
198198	t . strictEqual (  acc ( ) ,  0.0 ,  'returns 0 due to underflow'  ) ; 
@@ -219,8 +219,8 @@ tape( 'if provided `+infinity`, the accumulator function always returns `NaN` if
219219	acc (  PINF  ) ; 
220220	t . strictEqual (  acc ( ) ,  PINF ,  'returns +infinity'  ) ; 
221221
222-      acc (  NaN  ) ; 
223-      t . strictEqual (  acc ( ) ,  PINF ,  'ignores NaN and retains +infinity'  ) ; 
222+ 	 acc (  NaN  ) ; 
223+ 	 t . strictEqual (  acc ( ) ,  PINF ,  'ignores NaN and retains +infinity'  ) ; 
224224
225225	acc (  0.0  ) ; 
226226	t . strictEqual (  isnan (  acc ( )  ) ,  true ,  'returns NaN'  ) ; 
@@ -245,8 +245,8 @@ tape( 'if provided `-infinity`, the accumulator function always returns `NaN` if
245245	acc (  NINF  ) ; 
246246	t . strictEqual (  acc ( ) ,  NINF ,  'returns -infinity'  ) ; 
247247
248-      acc (  NaN  ) ; 
249-      t . strictEqual (  acc ( ) ,  NINF ,  'ignores NaN and retains -infinity'  ) ; 
248+ 	 acc (  NaN  ) ; 
249+ 	 t . strictEqual (  acc ( ) ,  NINF ,  'ignores NaN and retains -infinity'  ) ; 
250250
251251	acc (  0.0  ) ; 
252252	t . strictEqual (  isnan (  acc ( )  ) ,  true ,  'returns NaN'  ) ; 
@@ -268,8 +268,8 @@ tape( 'if provided `0`, the accumulator function always returns `0` (no +-infini
268268
269269	t . strictEqual (  acc ( ) ,  5.0 ,  'returns expected value'  ) ; 
270270
271-      acc (  NaN  ) ; 
272-      t . strictEqual (  acc ( ) ,  5.0 ,  'ignores NaN and retains product'  ) ; 
271+ 	 acc (  NaN  ) ; 
272+ 	 t . strictEqual (  acc ( ) ,  5.0 ,  'ignores NaN and retains product'  ) ; 
273273
274274	acc (  0.0  ) ; 
275275	t . strictEqual (  acc ( ) ,  0.0 ,  'returns 0.0'  ) ; 
@@ -289,7 +289,7 @@ tape( 'the accumulator function returns a signed zero', function test( t ) {
289289	acc  =  incrnanprod ( ) ; 
290290	acc (  - 0.0  ) ; 
291291	for  (  i  =  0 ;  i  <  100 ;  i ++  )  { 
292-          acc (  NaN  ) ; 
292+ 		 acc (  NaN  ) ; 
293293		p  =  acc (  - 0.0  ) ; 
294294		if  (  isEven (  i  )  )  { 
295295			t . strictEqual (  isPositiveZero (  p  ) ,  true ,  'returns +0'  ) ; 
@@ -316,9 +316,9 @@ tape( 'if provided values of normal magnitude (i.e., far away from the extremes)
316316	prod  =  1.0 ; 
317317	for  (  i  =  0 ;  i  <  1000 ;  i ++  )  { 
318318		r  =  randn ( ) ; 
319-          if (  isnan (  r  )  ) { 
320-              continue ; 
321-          } 
319+ 		 if (  isnan (  r  )  ) { 
320+ 			 continue ; 
321+ 		 } 
322322		acc (  r  ) ; 
323323		prod  *=  r ; 
324324	} 
0 commit comments