Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

  Update decimal test data to the most recent set from Mike Cowlishaw.
........
diff --git a/Lib/test/decimaltestdata/scaleb.decTest b/Lib/test/decimaltestdata/scaleb.decTest
index b4a5a34..372e3dd 100644
--- a/Lib/test/decimaltestdata/scaleb.decTest
+++ b/Lib/test/decimaltestdata/scaleb.decTest
@@ -17,7 +17,7 @@
 --   IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK         --

 --   mfc@uk.ibm.com                                                   --

 ------------------------------------------------------------------------

-version: 2.58

+version: 2.59

 

 extended:    1

 precision:   9

@@ -198,3 +198,12 @@
 scbx161 scaleb  -9.99999999E+999 -1  -> -9.99999999E+998

 scbx162 scaleb  -9E+999          +1  -> -Infinity        Overflow Inexact Rounded

 scbx163 scaleb  -1E+999          +1  -> -Infinity        Overflow Inexact Rounded

+

+-- Krah examples

+precision:   34

+maxExponent: 999999999

+minExponent: -999999999

+-- integer overflow in 3.61 or earlier

+scbx164 scaleb  1E-999999999  -1200000000  -> NaN Invalid_operation

+-- out of range

+scbx165 scaleb  -1E-999999999  +1200000000  -> NaN Invalid_operation