[Python-checkins] r87932 - in python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests: cov.c fntcov.c karatsuba_fnt.c karatsuba_fnt2.c mpd_mpz_add.c mpd_mpz_divmod.c mpd_mpz_mul.c mpd_mpz_sub.c runtest.c test_transpose.c

stefan.krah python-checkins at python.org
Tue Jan 11 15:49:16 CET 2011


Author: stefan.krah
Date: Tue Jan 11 15:49:16 2011
New Revision: 87932

Log:
Whitespace only.



Modified:
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/cov.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/fntcov.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt2.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_add.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_divmod.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_mul.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_sub.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/runtest.c
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/test_transpose.c

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/cov.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/cov.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/cov.c	Tue Jan 11 15:49:16 2011
@@ -198,13 +198,13 @@
 	mpd_set_string(a, "nan", &ctx);
 	ASSERT(mpd_qget_uint(a, &status) == MPD_UINT_MAX)
 	ASSERT(status&MPD_Invalid_operation)
- 
+
 	/* non-integer */
 	status = 0;
 	mpd_set_string(a, "2345e-1", &ctx);
 	ASSERT(mpd_qget_uint(a, &status) == MPD_UINT_MAX)
 	ASSERT(status&MPD_Invalid_operation)
-  
+
 	/* too large */
 	status = 0;
 	mpd_set_uint(a, 8, &ctx);
@@ -217,7 +217,7 @@
 	mpd_set_uint(a, ((uint64_t)MPD_SSIZE_MAX)+1, &ctx);
 	ASSERT(mpd_qget_ssize(a, &status) == MPD_SSIZE_MAX)
 	ASSERT(status&MPD_Invalid_operation)
- 
+
 	mpd_del(a);
 }
 

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/fntcov.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/fntcov.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/fntcov.c	Tue Jan 11 15:49:16 2011
@@ -152,7 +152,7 @@
                 exit(1);
             }
         }
-    
+
         mpd_free(fntresult);
         mpd_free(kresult);
         mpd_free(kfntresult);
@@ -173,7 +173,7 @@
                     exit(1);
                 }
             }
-    
+
             mpd_free(fntresult);
             mpd_free(kresult);
             mpd_free(kfntresult);
@@ -317,7 +317,7 @@
             goto malloc_error;
         }
 
-        ASSERT(z->data[0] == 1) 
+        ASSERT(z->data[0] == 1)
         for (k = 1; k < ylen; k++) {
             ASSERT(z->data[k] == 0)
         }

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt.c	Tue Jan 11 15:49:16 2011
@@ -91,7 +91,7 @@
 					exit(1);
 				}
 			}
-	
+
 			mpd_free(fntresult);
 			mpd_free(kresult);
 		}
@@ -129,7 +129,7 @@
 					exit(1);
 				}
 			}
-	
+
 			mpd_free(fntresult);
 			mpd_free(kresult);
 		}

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt2.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt2.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/karatsuba_fnt2.c	Tue Jan 11 15:49:16 2011
@@ -92,7 +92,7 @@
 					exit(1);
 				}
 			}
-	
+
 			mpd_free(fntresult);
 			mpd_free(kresult);
 		}
@@ -130,7 +130,7 @@
 					exit(1);
 				}
 			}
-	
+
 			mpd_free(fntresult);
 			mpd_free(kresult);
 		}

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_add.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_add.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_add.c	Tue Jan 11 15:49:16 2011
@@ -119,7 +119,7 @@
                     fprintf(stderr, " FAIL: seed = %"PRI_time_t"\n", seed);
                     exit(1);
                 }
-    
+
                 mpd_free(mpdresult);
                 mpd_free(mpzresult);
             }

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_divmod.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_divmod.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_divmod.c	Tue Jan 11 15:49:16 2011
@@ -135,7 +135,7 @@
                     fprintf(stderr, " FAIL: seed = %"PRI_time_t"\n", seed);
                     exit(1);
                 }
-    
+
                 mpd_free(q_mpd);
                 mpd_free(r_mpd);
                 mpd_free(q_mpz);

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_mul.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_mul.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_mul.c	Tue Jan 11 15:49:16 2011
@@ -119,7 +119,7 @@
                     fprintf(stderr, " FAIL: seed = %"PRI_time_t"\n", seed);
                     exit(1);
                 }
-    
+
                 mpd_free(mpdresult);
                 mpd_free(mpzresult);
             }

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_sub.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_sub.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/mpd_mpz_sub.c	Tue Jan 11 15:49:16 2011
@@ -119,7 +119,7 @@
                     fprintf(stderr, " FAIL: seed = %"PRI_time_t"\n", seed);
                     exit(1);
                 }
-    
+
                 mpd_free(mpdresult);
                 mpd_free(mpzresult);
             }

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/runtest.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/runtest.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/runtest.c	Tue Jan 11 15:49:16 2011
@@ -632,7 +632,7 @@
 static int
 scan_1op_result(mpd_t *op1, char **result, char *token[], mpd_context_t *ctx)
 {
-	/* operand 1 */ 
+	/* operand 1 */
 	if (token[2] == NULL) {
 		mpd_err_fatal("parse error at id %s", token[0]);
 	}
@@ -656,7 +656,7 @@
 static int
 scan_1op_2results(mpd_t *op1, char **result1, char **result2, char *token[], mpd_context_t *ctx)
 {
-	/* operand 1 */ 
+	/* operand 1 */
 	if (token[2] == NULL) {
 		mpd_err_fatal("parse error at id %s", token[0]);
 	}
@@ -994,7 +994,7 @@
 	free(expected);
 }
 
-/* 
+/*
  * Test a function returning pointer to const char, accepting:
  *     op1, context
  */

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/test_transpose.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/test_transpose.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/test_transpose.c	Tue Jan 11 15:49:16 2011
@@ -145,7 +145,7 @@
 				next = mulmod_size_t(next, r, m);
 			        hp = matrix + next*cols/2;
 
-			} 
+			}
 
 			memcpy(hp+offset, writebuf, stride*(sizeof *writebuf));
 
@@ -245,7 +245,7 @@
 					to += size;
 				}
 			}
-	  	}
+		}
 	}
 
 }


More information about the Python-checkins mailing list