Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r58096 | brett.cannon | 2007-09-10 23:38:27 +0200 (Mon, 10 Sep 2007) | 4 lines
Fix a possible segfault from recursing too deep to get the repr of a list.
Closes issue #1096.
........
r58097 | bill.janssen | 2007-09-10 23:51:02 +0200 (Mon, 10 Sep 2007) | 33 lines
More work on SSL support.
* Much expanded test suite:
All protocols tested against all other protocols.
All protocols tested with all certificate options.
Tests for bad key and bad cert.
Test of STARTTLS functionality.
Test of RAND_* functions.
* Fixes for threading/malloc bug.
* Issue 1065 fixed:
sslsocket class renamed to SSLSocket.
sslerror class renamed to SSLError.
Function "wrap_socket" now used to wrap an existing socket.
* Issue 1583946 finally fixed:
Support for subjectAltName added.
Subject name now returned as proper DN list of RDNs.
* SSLError exported from socket as "sslerror".
* RAND_* functions properly exported from ssl.py.
* Documentation improved:
Example of how to create a self-signed certificate.
Better indexing.
........
r58098 | guido.van.rossum | 2007-09-11 00:02:25 +0200 (Tue, 11 Sep 2007) | 9 lines
Patch # 1140 (my code, approved by Effbot).
Make sure the type of the return value of re.sub(x, y, z) is the type
of y+x (i.e. unicode if either is unicode, str if they are both str)
even if there are no substitutions or if x==z (which triggered various
special cases in join_list()).
Could be backported to 2.5; no need to port to 3.0.
........
r58099 | guido.van.rossum | 2007-09-11 00:36:02 +0200 (Tue, 11 Sep 2007) | 8 lines
Patch # 1026 by Benjamin Aranguren (with Alex Martelli):
Backport abc.py and isinstance/issubclass overloading to 2.6.
I had to backport test_typechecks.py myself, and make one small change
to abc.py to avoid duplicate work when x.__class__ and type(x) are the
same.
........
r58100 | bill.janssen | 2007-09-11 01:41:24 +0200 (Tue, 11 Sep 2007) | 3 lines
A better way of finding an open port to test with.
........
r58101 | bill.janssen | 2007-09-11 03:09:19 +0200 (Tue, 11 Sep 2007) | 4 lines
Make sure test_ssl doesn't reference the ssl module in a
context where it can't be imported.
........
r58102 | bill.janssen | 2007-09-11 04:42:07 +0200 (Tue, 11 Sep 2007) | 3 lines
Fix some documentation bugs.
........
r58103 | nick.coghlan | 2007-09-11 16:01:18 +0200 (Tue, 11 Sep 2007) | 1 line
Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)
........
r58106 | thomas.heller | 2007-09-11 21:17:48 +0200 (Tue, 11 Sep 2007) | 3 lines
Disable some tests that fail on the 'ppc Debian unstable' buildbot to
find out if they cause the segfault on the 'alpha Debian' machine.
........
r58108 | brett.cannon | 2007-09-11 23:02:28 +0200 (Tue, 11 Sep 2007) | 6 lines
Generators had their throw() method allowing string exceptions. That's a
no-no.
Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string
exception is passed in.
........
r58112 | georg.brandl | 2007-09-12 20:03:51 +0200 (Wed, 12 Sep 2007) | 3 lines
New documentation page for the bdb module.
(This doesn't need to be merged to Py3k.)
........
r58114 | georg.brandl | 2007-09-12 20:05:57 +0200 (Wed, 12 Sep 2007) | 2 lines
Bug #1152: use non-deprecated name in example.
........
r58115 | georg.brandl | 2007-09-12 20:08:33 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1122: wrong return type documented for various _Size() functions.
........
r58117 | georg.brandl | 2007-09-12 20:10:56 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
........
r58119 | georg.brandl | 2007-09-12 20:29:18 +0200 (Wed, 12 Sep 2007) | 2 lines
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
........
r58121 | bill.janssen | 2007-09-12 20:52:05 +0200 (Wed, 12 Sep 2007) | 1 line
root certificate for https://svn.python.org/, used in test_ssl
........
r58122 | georg.brandl | 2007-09-12 21:00:07 +0200 (Wed, 12 Sep 2007) | 3 lines
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
........
r58125 | georg.brandl | 2007-09-12 21:29:28 +0200 (Wed, 12 Sep 2007) | 4 lines
#1120: put explicit version in the shebang lines of pydoc, idle
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
........
r58139 | mark.summerfield | 2007-09-13 16:54:30 +0200 (Thu, 13 Sep 2007) | 9 lines
Replaced variable o with obj in operator.rst because o is easy to
confuse.
Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.
Added xrefs between os, os.path, fileinput, and open().
........
r58143 | facundo.batista | 2007-09-13 20:13:15 +0200 (Thu, 13 Sep 2007) | 7 lines
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
fully updated to the latests Decimal Specification (v1.66) and the
latests test cases (v2.56).
Thanks to Mark Dickinson for all his help during this process.
........
r58145 | facundo.batista | 2007-09-13 20:42:09 +0200 (Thu, 13 Sep 2007) | 7 lines
Put the parameter watchexp back in (changed watchexp from an int
to a bool). Also second argument to watchexp is now converted
to Decimal, just as with all the other two-argument operations.
Thanks Mark Dickinson.
........
r58147 | andrew.kuchling | 2007-09-14 00:49:34 +0200 (Fri, 14 Sep 2007) | 1 line
Add various items
........
r58148 | andrew.kuchling | 2007-09-14 00:50:10 +0200 (Fri, 14 Sep 2007) | 1 line
Make target unique
........
r58154 | facundo.batista | 2007-09-14 20:58:34 +0200 (Fri, 14 Sep 2007) | 3 lines
Included the new functions, and new descriptions.
........
r58155 | thomas.heller | 2007-09-14 21:40:35 +0200 (Fri, 14 Sep 2007) | 2 lines
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #1777530; will backport to release25-maint.
........
r58159 | facundo.batista | 2007-09-14 23:29:52 +0200 (Fri, 14 Sep 2007) | 3 lines
Some additions (examples and a bit on the tutorial).
........
r58160 | georg.brandl | 2007-09-15 18:53:36 +0200 (Sat, 15 Sep 2007) | 2 lines
Remove bdb from the "undocumented modules" list.
........
r58164 | bill.janssen | 2007-09-17 00:06:00 +0200 (Mon, 17 Sep 2007) | 15 lines
Add support for asyncore server-side SSL support. This requires
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.
Added sample HTTPS server to test_ssl.py, and test that uses it.
Change SSL tests to use https://svn.python.org/, instead of
www.sf.net and pop.gmail.com.
Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
........
r58173 | bill.janssen | 2007-09-17 01:16:46 +0200 (Mon, 17 Sep 2007) | 1 line
use binary mode when reading files for testAsyncore to make Windows happy
........
r58175 | raymond.hettinger | 2007-09-17 02:55:00 +0200 (Mon, 17 Sep 2007) | 7 lines
Sync-up named tuples with the latest version of the ASPN recipe.
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.
........
r58176 | brett.cannon | 2007-09-17 05:28:34 +0200 (Mon, 17 Sep 2007) | 5 lines
Add a bunch of GIL release/acquire points in tp_print implementations and for
PyObject_Print().
Closes issue #1164.
........
r58177 | sean.reifschneider | 2007-09-17 07:45:04 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
........
r58180 | facundo.batista | 2007-09-17 18:26:50 +0200 (Mon, 17 Sep 2007) | 3 lines
Decimal is updated, :)
........
r58181 | facundo.batista | 2007-09-17 19:30:13 +0200 (Mon, 17 Sep 2007) | 5 lines
The methods always return Decimal classes, even if they're
executed through a subclass (thanks Mark Dickinson).
Added a bit of testing for this.
........
r58183 | sean.reifschneider | 2007-09-17 22:53:21 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1082: Fixing platform and system for Vista.
........
r58185 | andrew.kuchling | 2007-09-18 03:36:16 +0200 (Tue, 18 Sep 2007) | 1 line
Add item; sort properly
........
r58186 | raymond.hettinger | 2007-09-18 05:33:19 +0200 (Tue, 18 Sep 2007) | 1 line
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
........
r58192 | georg.brandl | 2007-09-18 09:24:40 +0200 (Tue, 18 Sep 2007) | 2 lines
A bit of reordering, also show more subheadings in the lang ref index.
........
r58193 | facundo.batista | 2007-09-18 18:53:18 +0200 (Tue, 18 Sep 2007) | 4 lines
Speed up of the various division operations (remainder, divide,
divideint and divmod). Thanks Mark Dickinson.
........
r58197 | raymond.hettinger | 2007-09-19 00:18:02 +0200 (Wed, 19 Sep 2007) | 1 line
Cleanup docs for NamedTuple.
........
2007-09-19 00:06:30 -03:00
|
|
|
------------------------------------------------------------------------
|
|
|
|
-- dqRotate.decTest -- rotate decQuad coefficient left or right --
|
2008-07-31 13:32:12 -03:00
|
|
|
-- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --
|
Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r58096 | brett.cannon | 2007-09-10 23:38:27 +0200 (Mon, 10 Sep 2007) | 4 lines
Fix a possible segfault from recursing too deep to get the repr of a list.
Closes issue #1096.
........
r58097 | bill.janssen | 2007-09-10 23:51:02 +0200 (Mon, 10 Sep 2007) | 33 lines
More work on SSL support.
* Much expanded test suite:
All protocols tested against all other protocols.
All protocols tested with all certificate options.
Tests for bad key and bad cert.
Test of STARTTLS functionality.
Test of RAND_* functions.
* Fixes for threading/malloc bug.
* Issue 1065 fixed:
sslsocket class renamed to SSLSocket.
sslerror class renamed to SSLError.
Function "wrap_socket" now used to wrap an existing socket.
* Issue 1583946 finally fixed:
Support for subjectAltName added.
Subject name now returned as proper DN list of RDNs.
* SSLError exported from socket as "sslerror".
* RAND_* functions properly exported from ssl.py.
* Documentation improved:
Example of how to create a self-signed certificate.
Better indexing.
........
r58098 | guido.van.rossum | 2007-09-11 00:02:25 +0200 (Tue, 11 Sep 2007) | 9 lines
Patch # 1140 (my code, approved by Effbot).
Make sure the type of the return value of re.sub(x, y, z) is the type
of y+x (i.e. unicode if either is unicode, str if they are both str)
even if there are no substitutions or if x==z (which triggered various
special cases in join_list()).
Could be backported to 2.5; no need to port to 3.0.
........
r58099 | guido.van.rossum | 2007-09-11 00:36:02 +0200 (Tue, 11 Sep 2007) | 8 lines
Patch # 1026 by Benjamin Aranguren (with Alex Martelli):
Backport abc.py and isinstance/issubclass overloading to 2.6.
I had to backport test_typechecks.py myself, and make one small change
to abc.py to avoid duplicate work when x.__class__ and type(x) are the
same.
........
r58100 | bill.janssen | 2007-09-11 01:41:24 +0200 (Tue, 11 Sep 2007) | 3 lines
A better way of finding an open port to test with.
........
r58101 | bill.janssen | 2007-09-11 03:09:19 +0200 (Tue, 11 Sep 2007) | 4 lines
Make sure test_ssl doesn't reference the ssl module in a
context where it can't be imported.
........
r58102 | bill.janssen | 2007-09-11 04:42:07 +0200 (Tue, 11 Sep 2007) | 3 lines
Fix some documentation bugs.
........
r58103 | nick.coghlan | 2007-09-11 16:01:18 +0200 (Tue, 11 Sep 2007) | 1 line
Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)
........
r58106 | thomas.heller | 2007-09-11 21:17:48 +0200 (Tue, 11 Sep 2007) | 3 lines
Disable some tests that fail on the 'ppc Debian unstable' buildbot to
find out if they cause the segfault on the 'alpha Debian' machine.
........
r58108 | brett.cannon | 2007-09-11 23:02:28 +0200 (Tue, 11 Sep 2007) | 6 lines
Generators had their throw() method allowing string exceptions. That's a
no-no.
Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string
exception is passed in.
........
r58112 | georg.brandl | 2007-09-12 20:03:51 +0200 (Wed, 12 Sep 2007) | 3 lines
New documentation page for the bdb module.
(This doesn't need to be merged to Py3k.)
........
r58114 | georg.brandl | 2007-09-12 20:05:57 +0200 (Wed, 12 Sep 2007) | 2 lines
Bug #1152: use non-deprecated name in example.
........
r58115 | georg.brandl | 2007-09-12 20:08:33 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1122: wrong return type documented for various _Size() functions.
........
r58117 | georg.brandl | 2007-09-12 20:10:56 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
........
r58119 | georg.brandl | 2007-09-12 20:29:18 +0200 (Wed, 12 Sep 2007) | 2 lines
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
........
r58121 | bill.janssen | 2007-09-12 20:52:05 +0200 (Wed, 12 Sep 2007) | 1 line
root certificate for https://svn.python.org/, used in test_ssl
........
r58122 | georg.brandl | 2007-09-12 21:00:07 +0200 (Wed, 12 Sep 2007) | 3 lines
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
........
r58125 | georg.brandl | 2007-09-12 21:29:28 +0200 (Wed, 12 Sep 2007) | 4 lines
#1120: put explicit version in the shebang lines of pydoc, idle
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
........
r58139 | mark.summerfield | 2007-09-13 16:54:30 +0200 (Thu, 13 Sep 2007) | 9 lines
Replaced variable o with obj in operator.rst because o is easy to
confuse.
Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.
Added xrefs between os, os.path, fileinput, and open().
........
r58143 | facundo.batista | 2007-09-13 20:13:15 +0200 (Thu, 13 Sep 2007) | 7 lines
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
fully updated to the latests Decimal Specification (v1.66) and the
latests test cases (v2.56).
Thanks to Mark Dickinson for all his help during this process.
........
r58145 | facundo.batista | 2007-09-13 20:42:09 +0200 (Thu, 13 Sep 2007) | 7 lines
Put the parameter watchexp back in (changed watchexp from an int
to a bool). Also second argument to watchexp is now converted
to Decimal, just as with all the other two-argument operations.
Thanks Mark Dickinson.
........
r58147 | andrew.kuchling | 2007-09-14 00:49:34 +0200 (Fri, 14 Sep 2007) | 1 line
Add various items
........
r58148 | andrew.kuchling | 2007-09-14 00:50:10 +0200 (Fri, 14 Sep 2007) | 1 line
Make target unique
........
r58154 | facundo.batista | 2007-09-14 20:58:34 +0200 (Fri, 14 Sep 2007) | 3 lines
Included the new functions, and new descriptions.
........
r58155 | thomas.heller | 2007-09-14 21:40:35 +0200 (Fri, 14 Sep 2007) | 2 lines
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #1777530; will backport to release25-maint.
........
r58159 | facundo.batista | 2007-09-14 23:29:52 +0200 (Fri, 14 Sep 2007) | 3 lines
Some additions (examples and a bit on the tutorial).
........
r58160 | georg.brandl | 2007-09-15 18:53:36 +0200 (Sat, 15 Sep 2007) | 2 lines
Remove bdb from the "undocumented modules" list.
........
r58164 | bill.janssen | 2007-09-17 00:06:00 +0200 (Mon, 17 Sep 2007) | 15 lines
Add support for asyncore server-side SSL support. This requires
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.
Added sample HTTPS server to test_ssl.py, and test that uses it.
Change SSL tests to use https://svn.python.org/, instead of
www.sf.net and pop.gmail.com.
Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
........
r58173 | bill.janssen | 2007-09-17 01:16:46 +0200 (Mon, 17 Sep 2007) | 1 line
use binary mode when reading files for testAsyncore to make Windows happy
........
r58175 | raymond.hettinger | 2007-09-17 02:55:00 +0200 (Mon, 17 Sep 2007) | 7 lines
Sync-up named tuples with the latest version of the ASPN recipe.
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.
........
r58176 | brett.cannon | 2007-09-17 05:28:34 +0200 (Mon, 17 Sep 2007) | 5 lines
Add a bunch of GIL release/acquire points in tp_print implementations and for
PyObject_Print().
Closes issue #1164.
........
r58177 | sean.reifschneider | 2007-09-17 07:45:04 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
........
r58180 | facundo.batista | 2007-09-17 18:26:50 +0200 (Mon, 17 Sep 2007) | 3 lines
Decimal is updated, :)
........
r58181 | facundo.batista | 2007-09-17 19:30:13 +0200 (Mon, 17 Sep 2007) | 5 lines
The methods always return Decimal classes, even if they're
executed through a subclass (thanks Mark Dickinson).
Added a bit of testing for this.
........
r58183 | sean.reifschneider | 2007-09-17 22:53:21 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1082: Fixing platform and system for Vista.
........
r58185 | andrew.kuchling | 2007-09-18 03:36:16 +0200 (Tue, 18 Sep 2007) | 1 line
Add item; sort properly
........
r58186 | raymond.hettinger | 2007-09-18 05:33:19 +0200 (Tue, 18 Sep 2007) | 1 line
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
........
r58192 | georg.brandl | 2007-09-18 09:24:40 +0200 (Tue, 18 Sep 2007) | 2 lines
A bit of reordering, also show more subheadings in the lang ref index.
........
r58193 | facundo.batista | 2007-09-18 18:53:18 +0200 (Tue, 18 Sep 2007) | 4 lines
Speed up of the various division operations (remainder, divide,
divideint and divmod). Thanks Mark Dickinson.
........
r58197 | raymond.hettinger | 2007-09-19 00:18:02 +0200 (Wed, 19 Sep 2007) | 1 line
Cleanup docs for NamedTuple.
........
2007-09-19 00:06:30 -03:00
|
|
|
------------------------------------------------------------------------
|
|
|
|
-- Please see the document "General Decimal Arithmetic Testcases" --
|
|
|
|
-- at http://www2.hursley.ibm.com/decimal for the description of --
|
|
|
|
-- these testcases. --
|
|
|
|
-- --
|
|
|
|
-- These testcases are experimental ('beta' versions), and they --
|
|
|
|
-- may contain errors. They are offered on an as-is basis. In --
|
|
|
|
-- particular, achieving the same results as the tests here is not --
|
|
|
|
-- a guarantee that an implementation complies with any Standard --
|
|
|
|
-- or specification. The tests are not exhaustive. --
|
|
|
|
-- --
|
|
|
|
-- Please send comments, suggestions, and corrections to the author: --
|
|
|
|
-- Mike Cowlishaw, IBM Fellow --
|
|
|
|
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
|
|
|
|
-- mfc@uk.ibm.com --
|
|
|
|
------------------------------------------------------------------------
|
2008-07-31 13:32:12 -03:00
|
|
|
version: 2.58
|
Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r58096 | brett.cannon | 2007-09-10 23:38:27 +0200 (Mon, 10 Sep 2007) | 4 lines
Fix a possible segfault from recursing too deep to get the repr of a list.
Closes issue #1096.
........
r58097 | bill.janssen | 2007-09-10 23:51:02 +0200 (Mon, 10 Sep 2007) | 33 lines
More work on SSL support.
* Much expanded test suite:
All protocols tested against all other protocols.
All protocols tested with all certificate options.
Tests for bad key and bad cert.
Test of STARTTLS functionality.
Test of RAND_* functions.
* Fixes for threading/malloc bug.
* Issue 1065 fixed:
sslsocket class renamed to SSLSocket.
sslerror class renamed to SSLError.
Function "wrap_socket" now used to wrap an existing socket.
* Issue 1583946 finally fixed:
Support for subjectAltName added.
Subject name now returned as proper DN list of RDNs.
* SSLError exported from socket as "sslerror".
* RAND_* functions properly exported from ssl.py.
* Documentation improved:
Example of how to create a self-signed certificate.
Better indexing.
........
r58098 | guido.van.rossum | 2007-09-11 00:02:25 +0200 (Tue, 11 Sep 2007) | 9 lines
Patch # 1140 (my code, approved by Effbot).
Make sure the type of the return value of re.sub(x, y, z) is the type
of y+x (i.e. unicode if either is unicode, str if they are both str)
even if there are no substitutions or if x==z (which triggered various
special cases in join_list()).
Could be backported to 2.5; no need to port to 3.0.
........
r58099 | guido.van.rossum | 2007-09-11 00:36:02 +0200 (Tue, 11 Sep 2007) | 8 lines
Patch # 1026 by Benjamin Aranguren (with Alex Martelli):
Backport abc.py and isinstance/issubclass overloading to 2.6.
I had to backport test_typechecks.py myself, and make one small change
to abc.py to avoid duplicate work when x.__class__ and type(x) are the
same.
........
r58100 | bill.janssen | 2007-09-11 01:41:24 +0200 (Tue, 11 Sep 2007) | 3 lines
A better way of finding an open port to test with.
........
r58101 | bill.janssen | 2007-09-11 03:09:19 +0200 (Tue, 11 Sep 2007) | 4 lines
Make sure test_ssl doesn't reference the ssl module in a
context where it can't be imported.
........
r58102 | bill.janssen | 2007-09-11 04:42:07 +0200 (Tue, 11 Sep 2007) | 3 lines
Fix some documentation bugs.
........
r58103 | nick.coghlan | 2007-09-11 16:01:18 +0200 (Tue, 11 Sep 2007) | 1 line
Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)
........
r58106 | thomas.heller | 2007-09-11 21:17:48 +0200 (Tue, 11 Sep 2007) | 3 lines
Disable some tests that fail on the 'ppc Debian unstable' buildbot to
find out if they cause the segfault on the 'alpha Debian' machine.
........
r58108 | brett.cannon | 2007-09-11 23:02:28 +0200 (Tue, 11 Sep 2007) | 6 lines
Generators had their throw() method allowing string exceptions. That's a
no-no.
Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string
exception is passed in.
........
r58112 | georg.brandl | 2007-09-12 20:03:51 +0200 (Wed, 12 Sep 2007) | 3 lines
New documentation page for the bdb module.
(This doesn't need to be merged to Py3k.)
........
r58114 | georg.brandl | 2007-09-12 20:05:57 +0200 (Wed, 12 Sep 2007) | 2 lines
Bug #1152: use non-deprecated name in example.
........
r58115 | georg.brandl | 2007-09-12 20:08:33 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1122: wrong return type documented for various _Size() functions.
........
r58117 | georg.brandl | 2007-09-12 20:10:56 +0200 (Wed, 12 Sep 2007) | 2 lines
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
........
r58119 | georg.brandl | 2007-09-12 20:29:18 +0200 (Wed, 12 Sep 2007) | 2 lines
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
........
r58121 | bill.janssen | 2007-09-12 20:52:05 +0200 (Wed, 12 Sep 2007) | 1 line
root certificate for https://svn.python.org/, used in test_ssl
........
r58122 | georg.brandl | 2007-09-12 21:00:07 +0200 (Wed, 12 Sep 2007) | 3 lines
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
........
r58125 | georg.brandl | 2007-09-12 21:29:28 +0200 (Wed, 12 Sep 2007) | 4 lines
#1120: put explicit version in the shebang lines of pydoc, idle
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
........
r58139 | mark.summerfield | 2007-09-13 16:54:30 +0200 (Thu, 13 Sep 2007) | 9 lines
Replaced variable o with obj in operator.rst because o is easy to
confuse.
Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.
Added xrefs between os, os.path, fileinput, and open().
........
r58143 | facundo.batista | 2007-09-13 20:13:15 +0200 (Thu, 13 Sep 2007) | 7 lines
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
fully updated to the latests Decimal Specification (v1.66) and the
latests test cases (v2.56).
Thanks to Mark Dickinson for all his help during this process.
........
r58145 | facundo.batista | 2007-09-13 20:42:09 +0200 (Thu, 13 Sep 2007) | 7 lines
Put the parameter watchexp back in (changed watchexp from an int
to a bool). Also second argument to watchexp is now converted
to Decimal, just as with all the other two-argument operations.
Thanks Mark Dickinson.
........
r58147 | andrew.kuchling | 2007-09-14 00:49:34 +0200 (Fri, 14 Sep 2007) | 1 line
Add various items
........
r58148 | andrew.kuchling | 2007-09-14 00:50:10 +0200 (Fri, 14 Sep 2007) | 1 line
Make target unique
........
r58154 | facundo.batista | 2007-09-14 20:58:34 +0200 (Fri, 14 Sep 2007) | 3 lines
Included the new functions, and new descriptions.
........
r58155 | thomas.heller | 2007-09-14 21:40:35 +0200 (Fri, 14 Sep 2007) | 2 lines
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #1777530; will backport to release25-maint.
........
r58159 | facundo.batista | 2007-09-14 23:29:52 +0200 (Fri, 14 Sep 2007) | 3 lines
Some additions (examples and a bit on the tutorial).
........
r58160 | georg.brandl | 2007-09-15 18:53:36 +0200 (Sat, 15 Sep 2007) | 2 lines
Remove bdb from the "undocumented modules" list.
........
r58164 | bill.janssen | 2007-09-17 00:06:00 +0200 (Mon, 17 Sep 2007) | 15 lines
Add support for asyncore server-side SSL support. This requires
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.
Added sample HTTPS server to test_ssl.py, and test that uses it.
Change SSL tests to use https://svn.python.org/, instead of
www.sf.net and pop.gmail.com.
Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
........
r58173 | bill.janssen | 2007-09-17 01:16:46 +0200 (Mon, 17 Sep 2007) | 1 line
use binary mode when reading files for testAsyncore to make Windows happy
........
r58175 | raymond.hettinger | 2007-09-17 02:55:00 +0200 (Mon, 17 Sep 2007) | 7 lines
Sync-up named tuples with the latest version of the ASPN recipe.
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.
........
r58176 | brett.cannon | 2007-09-17 05:28:34 +0200 (Mon, 17 Sep 2007) | 5 lines
Add a bunch of GIL release/acquire points in tp_print implementations and for
PyObject_Print().
Closes issue #1164.
........
r58177 | sean.reifschneider | 2007-09-17 07:45:04 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
........
r58180 | facundo.batista | 2007-09-17 18:26:50 +0200 (Mon, 17 Sep 2007) | 3 lines
Decimal is updated, :)
........
r58181 | facundo.batista | 2007-09-17 19:30:13 +0200 (Mon, 17 Sep 2007) | 5 lines
The methods always return Decimal classes, even if they're
executed through a subclass (thanks Mark Dickinson).
Added a bit of testing for this.
........
r58183 | sean.reifschneider | 2007-09-17 22:53:21 +0200 (Mon, 17 Sep 2007) | 2 lines
issue1082: Fixing platform and system for Vista.
........
r58185 | andrew.kuchling | 2007-09-18 03:36:16 +0200 (Tue, 18 Sep 2007) | 1 line
Add item; sort properly
........
r58186 | raymond.hettinger | 2007-09-18 05:33:19 +0200 (Tue, 18 Sep 2007) | 1 line
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
........
r58192 | georg.brandl | 2007-09-18 09:24:40 +0200 (Tue, 18 Sep 2007) | 2 lines
A bit of reordering, also show more subheadings in the lang ref index.
........
r58193 | facundo.batista | 2007-09-18 18:53:18 +0200 (Tue, 18 Sep 2007) | 4 lines
Speed up of the various division operations (remainder, divide,
divideint and divmod). Thanks Mark Dickinson.
........
r58197 | raymond.hettinger | 2007-09-19 00:18:02 +0200 (Wed, 19 Sep 2007) | 1 line
Cleanup docs for NamedTuple.
........
2007-09-19 00:06:30 -03:00
|
|
|
|
|
|
|
extended: 1
|
|
|
|
clamp: 1
|
|
|
|
precision: 34
|
|
|
|
maxExponent: 6144
|
|
|
|
minExponent: -6143
|
|
|
|
rounding: half_even
|
|
|
|
|
|
|
|
-- Sanity check
|
|
|
|
dqrot001 rotate 0 0 -> 0
|
|
|
|
dqrot002 rotate 0 2 -> 0
|
|
|
|
dqrot003 rotate 1 2 -> 100
|
|
|
|
dqrot004 rotate 1 33 -> 1000000000000000000000000000000000
|
|
|
|
dqrot005 rotate 1 34 -> 1
|
|
|
|
dqrot006 rotate 1 -1 -> 1000000000000000000000000000000000
|
|
|
|
dqrot007 rotate 0 -2 -> 0
|
|
|
|
dqrot008 rotate 1234567890123456789012345678901234 -1 -> 4123456789012345678901234567890123
|
|
|
|
dqrot009 rotate 1234567890123456789012345678901234 -33 -> 2345678901234567890123456789012341
|
|
|
|
dqrot010 rotate 1234567890123456789012345678901234 -34 -> 1234567890123456789012345678901234
|
|
|
|
dqrot011 rotate 9934567890123456789012345678901234 -33 -> 9345678901234567890123456789012349
|
|
|
|
dqrot012 rotate 9934567890123456789012345678901234 -34 -> 9934567890123456789012345678901234
|
|
|
|
|
|
|
|
-- rhs must be an integer
|
|
|
|
dqrot015 rotate 1 1.5 -> NaN Invalid_operation
|
|
|
|
dqrot016 rotate 1 1.0 -> NaN Invalid_operation
|
|
|
|
dqrot017 rotate 1 0.1 -> NaN Invalid_operation
|
|
|
|
dqrot018 rotate 1 0.0 -> NaN Invalid_operation
|
|
|
|
dqrot019 rotate 1 1E+1 -> NaN Invalid_operation
|
|
|
|
dqrot020 rotate 1 1E+99 -> NaN Invalid_operation
|
|
|
|
dqrot021 rotate 1 Inf -> NaN Invalid_operation
|
|
|
|
dqrot022 rotate 1 -Inf -> NaN Invalid_operation
|
|
|
|
-- and |rhs| <= precision
|
|
|
|
dqrot025 rotate 1 -1000 -> NaN Invalid_operation
|
|
|
|
dqrot026 rotate 1 -35 -> NaN Invalid_operation
|
|
|
|
dqrot027 rotate 1 35 -> NaN Invalid_operation
|
|
|
|
dqrot028 rotate 1 1000 -> NaN Invalid_operation
|
|
|
|
|
|
|
|
-- full pattern
|
|
|
|
dqrot030 rotate 1234567890123456789012345678901234 -34 -> 1234567890123456789012345678901234
|
|
|
|
dqrot031 rotate 1234567890123456789012345678901234 -33 -> 2345678901234567890123456789012341
|
|
|
|
dqrot032 rotate 1234567890123456789012345678901234 -32 -> 3456789012345678901234567890123412
|
|
|
|
dqrot033 rotate 1234567890123456789012345678901234 -31 -> 4567890123456789012345678901234123
|
|
|
|
dqrot034 rotate 1234567890123456789012345678901234 -30 -> 5678901234567890123456789012341234
|
|
|
|
dqrot035 rotate 1234567890123456789012345678901234 -29 -> 6789012345678901234567890123412345
|
|
|
|
dqrot036 rotate 1234567890123456789012345678901234 -28 -> 7890123456789012345678901234123456
|
|
|
|
dqrot037 rotate 1234567890123456789012345678901234 -27 -> 8901234567890123456789012341234567
|
|
|
|
dqrot038 rotate 1234567890123456789012345678901234 -26 -> 9012345678901234567890123412345678
|
|
|
|
dqrot039 rotate 1234567890123456789012345678901234 -25 -> 123456789012345678901234123456789
|
|
|
|
dqrot040 rotate 1234567890123456789012345678901234 -24 -> 1234567890123456789012341234567890
|
|
|
|
dqrot041 rotate 1234567890123456789012345678901234 -23 -> 2345678901234567890123412345678901
|
|
|
|
dqrot042 rotate 1234567890123456789012345678901234 -22 -> 3456789012345678901234123456789012
|
|
|
|
dqrot043 rotate 1234567890123456789012345678901234 -21 -> 4567890123456789012341234567890123
|
|
|
|
dqrot044 rotate 1234567890123456789012345678901234 -20 -> 5678901234567890123412345678901234
|
|
|
|
dqrot045 rotate 1234567890123456789012345678901234 -19 -> 6789012345678901234123456789012345
|
|
|
|
dqrot047 rotate 1234567890123456789012345678901234 -18 -> 7890123456789012341234567890123456
|
|
|
|
dqrot048 rotate 1234567890123456789012345678901234 -17 -> 8901234567890123412345678901234567
|
|
|
|
dqrot049 rotate 1234567890123456789012345678901234 -16 -> 9012345678901234123456789012345678
|
|
|
|
dqrot050 rotate 1234567890123456789012345678901234 -15 -> 123456789012341234567890123456789
|
|
|
|
dqrot051 rotate 1234567890123456789012345678901234 -14 -> 1234567890123412345678901234567890
|
|
|
|
dqrot052 rotate 1234567890123456789012345678901234 -13 -> 2345678901234123456789012345678901
|
|
|
|
dqrot053 rotate 1234567890123456789012345678901234 -12 -> 3456789012341234567890123456789012
|
|
|
|
dqrot054 rotate 1234567890123456789012345678901234 -11 -> 4567890123412345678901234567890123
|
|
|
|
dqrot055 rotate 1234567890123456789012345678901234 -10 -> 5678901234123456789012345678901234
|
|
|
|
dqrot056 rotate 1234567890123456789012345678901234 -9 -> 6789012341234567890123456789012345
|
|
|
|
dqrot057 rotate 1234567890123456789012345678901234 -8 -> 7890123412345678901234567890123456
|
|
|
|
dqrot058 rotate 1234567890123456789012345678901234 -7 -> 8901234123456789012345678901234567
|
|
|
|
dqrot059 rotate 1234567890123456789012345678901234 -6 -> 9012341234567890123456789012345678
|
|
|
|
dqrot060 rotate 1234567890123456789012345678901234 -5 -> 123412345678901234567890123456789
|
|
|
|
dqrot061 rotate 1234567890123456789012345678901234 -4 -> 1234123456789012345678901234567890
|
|
|
|
dqrot062 rotate 1234567890123456789012345678901234 -3 -> 2341234567890123456789012345678901
|
|
|
|
dqrot063 rotate 1234567890123456789012345678901234 -2 -> 3412345678901234567890123456789012
|
|
|
|
dqrot064 rotate 1234567890123456789012345678901234 -1 -> 4123456789012345678901234567890123
|
|
|
|
dqrot065 rotate 1234567890123456789012345678901234 -0 -> 1234567890123456789012345678901234
|
|
|
|
|
|
|
|
dqrot066 rotate 1234567890123456789012345678901234 +0 -> 1234567890123456789012345678901234
|
|
|
|
dqrot067 rotate 1234567890123456789012345678901234 +1 -> 2345678901234567890123456789012341
|
|
|
|
dqrot068 rotate 1234567890123456789012345678901234 +2 -> 3456789012345678901234567890123412
|
|
|
|
dqrot069 rotate 1234567890123456789012345678901234 +3 -> 4567890123456789012345678901234123
|
|
|
|
dqrot070 rotate 1234567890123456789012345678901234 +4 -> 5678901234567890123456789012341234
|
|
|
|
dqrot071 rotate 1234567890123456789012345678901234 +5 -> 6789012345678901234567890123412345
|
|
|
|
dqrot072 rotate 1234567890123456789012345678901234 +6 -> 7890123456789012345678901234123456
|
|
|
|
dqrot073 rotate 1234567890123456789012345678901234 +7 -> 8901234567890123456789012341234567
|
|
|
|
dqrot074 rotate 1234567890123456789012345678901234 +8 -> 9012345678901234567890123412345678
|
|
|
|
dqrot075 rotate 1234567890123456789012345678901234 +9 -> 123456789012345678901234123456789
|
|
|
|
dqrot076 rotate 1234567890123456789012345678901234 +10 -> 1234567890123456789012341234567890
|
|
|
|
dqrot077 rotate 1234567890123456789012345678901234 +11 -> 2345678901234567890123412345678901
|
|
|
|
dqrot078 rotate 1234567890123456789012345678901234 +12 -> 3456789012345678901234123456789012
|
|
|
|
dqrot079 rotate 1234567890123456789012345678901234 +13 -> 4567890123456789012341234567890123
|
|
|
|
dqrot080 rotate 1234567890123456789012345678901234 +14 -> 5678901234567890123412345678901234
|
|
|
|
dqrot081 rotate 1234567890123456789012345678901234 +15 -> 6789012345678901234123456789012345
|
|
|
|
dqrot082 rotate 1234567890123456789012345678901234 +16 -> 7890123456789012341234567890123456
|
|
|
|
dqrot083 rotate 1234567890123456789012345678901234 +17 -> 8901234567890123412345678901234567
|
|
|
|
dqrot084 rotate 1234567890123456789012345678901234 +18 -> 9012345678901234123456789012345678
|
|
|
|
dqrot085 rotate 1234567890123456789012345678901234 +19 -> 123456789012341234567890123456789
|
|
|
|
dqrot086 rotate 1234567890123456789012345678901234 +20 -> 1234567890123412345678901234567890
|
|
|
|
dqrot087 rotate 1234567890123456789012345678901234 +21 -> 2345678901234123456789012345678901
|
|
|
|
dqrot088 rotate 1234567890123456789012345678901234 +22 -> 3456789012341234567890123456789012
|
|
|
|
dqrot089 rotate 1234567890123456789012345678901234 +23 -> 4567890123412345678901234567890123
|
|
|
|
dqrot090 rotate 1234567890123456789012345678901234 +24 -> 5678901234123456789012345678901234
|
|
|
|
dqrot091 rotate 1234567890123456789012345678901234 +25 -> 6789012341234567890123456789012345
|
|
|
|
dqrot092 rotate 1234567890123456789012345678901234 +26 -> 7890123412345678901234567890123456
|
|
|
|
dqrot093 rotate 1234567890123456789012345678901234 +27 -> 8901234123456789012345678901234567
|
|
|
|
dqrot094 rotate 1234567890123456789012345678901234 +28 -> 9012341234567890123456789012345678
|
|
|
|
dqrot095 rotate 1234567890123456789012345678901234 +29 -> 123412345678901234567890123456789
|
|
|
|
dqrot096 rotate 1234567890123456789012345678901234 +30 -> 1234123456789012345678901234567890
|
|
|
|
dqrot097 rotate 1234567890123456789012345678901234 +31 -> 2341234567890123456789012345678901
|
|
|
|
dqrot098 rotate 1234567890123456789012345678901234 +32 -> 3412345678901234567890123456789012
|
|
|
|
dqrot099 rotate 1234567890123456789012345678901234 +33 -> 4123456789012345678901234567890123
|
|
|
|
dqrot100 rotate 1234567890123456789012345678901234 +34 -> 1234567890123456789012345678901234
|
|
|
|
|
|
|
|
-- zeros
|
|
|
|
dqrot270 rotate 0E-10 +29 -> 0E-10
|
|
|
|
dqrot271 rotate 0E-10 -29 -> 0E-10
|
|
|
|
dqrot272 rotate 0.000 +29 -> 0.000
|
|
|
|
dqrot273 rotate 0.000 -29 -> 0.000
|
|
|
|
dqrot274 rotate 0E+10 +29 -> 0E+10
|
|
|
|
dqrot275 rotate 0E+10 -29 -> 0E+10
|
|
|
|
dqrot276 rotate -0E-10 +29 -> -0E-10
|
|
|
|
dqrot277 rotate -0E-10 -29 -> -0E-10
|
|
|
|
dqrot278 rotate -0.000 +29 -> -0.000
|
|
|
|
dqrot279 rotate -0.000 -29 -> -0.000
|
|
|
|
dqrot280 rotate -0E+10 +29 -> -0E+10
|
|
|
|
dqrot281 rotate -0E+10 -29 -> -0E+10
|
|
|
|
|
|
|
|
-- Nmax, Nmin, Ntiny
|
|
|
|
dqrot141 rotate 9.999999999999999999999999999999999E+6144 -1 -> 9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot142 rotate 9.999999999999999999999999999999999E+6144 -33 -> 9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot143 rotate 9.999999999999999999999999999999999E+6144 1 -> 9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot144 rotate 9.999999999999999999999999999999999E+6144 33 -> 9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot145 rotate 1E-6143 -1 -> 1.000000000000000000000000000000000E-6110
|
|
|
|
dqrot146 rotate 1E-6143 -33 -> 1.0E-6142
|
|
|
|
dqrot147 rotate 1E-6143 1 -> 1.0E-6142
|
|
|
|
dqrot148 rotate 1E-6143 33 -> 1.000000000000000000000000000000000E-6110
|
|
|
|
dqrot151 rotate 1.000000000000000000000000000000000E-6143 -1 -> 1.00000000000000000000000000000000E-6144
|
|
|
|
dqrot152 rotate 1.000000000000000000000000000000000E-6143 -33 -> 1E-6176
|
|
|
|
dqrot153 rotate 1.000000000000000000000000000000000E-6143 1 -> 1E-6176
|
|
|
|
dqrot154 rotate 1.000000000000000000000000000000000E-6143 33 -> 1.00000000000000000000000000000000E-6144
|
|
|
|
dqrot155 rotate 9.000000000000000000000000000000000E-6143 -1 -> 9.00000000000000000000000000000000E-6144
|
|
|
|
dqrot156 rotate 9.000000000000000000000000000000000E-6143 -33 -> 9E-6176
|
|
|
|
dqrot157 rotate 9.000000000000000000000000000000000E-6143 1 -> 9E-6176
|
|
|
|
dqrot158 rotate 9.000000000000000000000000000000000E-6143 33 -> 9.00000000000000000000000000000000E-6144
|
|
|
|
dqrot160 rotate 1E-6176 -1 -> 1.000000000000000000000000000000000E-6143
|
|
|
|
dqrot161 rotate 1E-6176 -33 -> 1.0E-6175
|
|
|
|
dqrot162 rotate 1E-6176 1 -> 1.0E-6175
|
|
|
|
dqrot163 rotate 1E-6176 33 -> 1.000000000000000000000000000000000E-6143
|
|
|
|
-- negatives
|
|
|
|
dqrot171 rotate -9.999999999999999999999999999999999E+6144 -1 -> -9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot172 rotate -9.999999999999999999999999999999999E+6144 -33 -> -9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot173 rotate -9.999999999999999999999999999999999E+6144 1 -> -9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot174 rotate -9.999999999999999999999999999999999E+6144 33 -> -9.999999999999999999999999999999999E+6144
|
|
|
|
dqrot175 rotate -1E-6143 -1 -> -1.000000000000000000000000000000000E-6110
|
|
|
|
dqrot176 rotate -1E-6143 -33 -> -1.0E-6142
|
|
|
|
dqrot177 rotate -1E-6143 1 -> -1.0E-6142
|
|
|
|
dqrot178 rotate -1E-6143 33 -> -1.000000000000000000000000000000000E-6110
|
|
|
|
dqrot181 rotate -1.000000000000000000000000000000000E-6143 -1 -> -1.00000000000000000000000000000000E-6144
|
|
|
|
dqrot182 rotate -1.000000000000000000000000000000000E-6143 -33 -> -1E-6176
|
|
|
|
dqrot183 rotate -1.000000000000000000000000000000000E-6143 1 -> -1E-6176
|
|
|
|
dqrot184 rotate -1.000000000000000000000000000000000E-6143 33 -> -1.00000000000000000000000000000000E-6144
|
|
|
|
dqrot185 rotate -9.000000000000000000000000000000000E-6143 -1 -> -9.00000000000000000000000000000000E-6144
|
|
|
|
dqrot186 rotate -9.000000000000000000000000000000000E-6143 -33 -> -9E-6176
|
|
|
|
dqrot187 rotate -9.000000000000000000000000000000000E-6143 1 -> -9E-6176
|
|
|
|
dqrot188 rotate -9.000000000000000000000000000000000E-6143 33 -> -9.00000000000000000000000000000000E-6144
|
|
|
|
dqrot190 rotate -1E-6176 -1 -> -1.000000000000000000000000000000000E-6143
|
|
|
|
dqrot191 rotate -1E-6176 -33 -> -1.0E-6175
|
|
|
|
dqrot192 rotate -1E-6176 1 -> -1.0E-6175
|
|
|
|
dqrot193 rotate -1E-6176 33 -> -1.000000000000000000000000000000000E-6143
|
|
|
|
|
|
|
|
-- more negatives (of sanities)
|
|
|
|
dqrot201 rotate -0 0 -> -0
|
|
|
|
dqrot202 rotate -0 2 -> -0
|
|
|
|
dqrot203 rotate -1 2 -> -100
|
|
|
|
dqrot204 rotate -1 33 -> -1000000000000000000000000000000000
|
|
|
|
dqrot205 rotate -1 34 -> -1
|
|
|
|
dqrot206 rotate -1 -1 -> -1000000000000000000000000000000000
|
|
|
|
dqrot207 rotate -0 -2 -> -0
|
|
|
|
dqrot208 rotate -1234567890123456789012345678901234 -1 -> -4123456789012345678901234567890123
|
|
|
|
dqrot209 rotate -1234567890123456789012345678901234 -33 -> -2345678901234567890123456789012341
|
|
|
|
dqrot210 rotate -1234567890123456789012345678901234 -34 -> -1234567890123456789012345678901234
|
|
|
|
dqrot211 rotate -9934567890123456789012345678901234 -33 -> -9345678901234567890123456789012349
|
|
|
|
dqrot212 rotate -9934567890123456789012345678901234 -34 -> -9934567890123456789012345678901234
|
|
|
|
|
|
|
|
|
|
|
|
-- Specials; NaNs are handled as usual
|
|
|
|
dqrot781 rotate -Inf -8 -> -Infinity
|
|
|
|
dqrot782 rotate -Inf -1 -> -Infinity
|
|
|
|
dqrot783 rotate -Inf -0 -> -Infinity
|
|
|
|
dqrot784 rotate -Inf 0 -> -Infinity
|
|
|
|
dqrot785 rotate -Inf 1 -> -Infinity
|
|
|
|
dqrot786 rotate -Inf 8 -> -Infinity
|
|
|
|
dqrot787 rotate -1000 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot788 rotate -Inf -Inf -> NaN Invalid_operation
|
|
|
|
dqrot789 rotate -1 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot790 rotate -0 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot791 rotate 0 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot792 rotate 1 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot793 rotate 1000 -Inf -> NaN Invalid_operation
|
|
|
|
dqrot794 rotate Inf -Inf -> NaN Invalid_operation
|
|
|
|
|
|
|
|
dqrot800 rotate Inf -Inf -> NaN Invalid_operation
|
|
|
|
dqrot801 rotate Inf -8 -> Infinity
|
|
|
|
dqrot802 rotate Inf -1 -> Infinity
|
|
|
|
dqrot803 rotate Inf -0 -> Infinity
|
|
|
|
dqrot804 rotate Inf 0 -> Infinity
|
|
|
|
dqrot805 rotate Inf 1 -> Infinity
|
|
|
|
dqrot806 rotate Inf 8 -> Infinity
|
|
|
|
dqrot807 rotate Inf Inf -> NaN Invalid_operation
|
|
|
|
dqrot808 rotate -1000 Inf -> NaN Invalid_operation
|
|
|
|
dqrot809 rotate -Inf Inf -> NaN Invalid_operation
|
|
|
|
dqrot810 rotate -1 Inf -> NaN Invalid_operation
|
|
|
|
dqrot811 rotate -0 Inf -> NaN Invalid_operation
|
|
|
|
dqrot812 rotate 0 Inf -> NaN Invalid_operation
|
|
|
|
dqrot813 rotate 1 Inf -> NaN Invalid_operation
|
|
|
|
dqrot814 rotate 1000 Inf -> NaN Invalid_operation
|
|
|
|
dqrot815 rotate Inf Inf -> NaN Invalid_operation
|
|
|
|
|
|
|
|
dqrot821 rotate NaN -Inf -> NaN
|
|
|
|
dqrot822 rotate NaN -1000 -> NaN
|
|
|
|
dqrot823 rotate NaN -1 -> NaN
|
|
|
|
dqrot824 rotate NaN -0 -> NaN
|
|
|
|
dqrot825 rotate NaN 0 -> NaN
|
|
|
|
dqrot826 rotate NaN 1 -> NaN
|
|
|
|
dqrot827 rotate NaN 1000 -> NaN
|
|
|
|
dqrot828 rotate NaN Inf -> NaN
|
|
|
|
dqrot829 rotate NaN NaN -> NaN
|
|
|
|
dqrot830 rotate -Inf NaN -> NaN
|
|
|
|
dqrot831 rotate -1000 NaN -> NaN
|
|
|
|
dqrot832 rotate -1 NaN -> NaN
|
|
|
|
dqrot833 rotate -0 NaN -> NaN
|
|
|
|
dqrot834 rotate 0 NaN -> NaN
|
|
|
|
dqrot835 rotate 1 NaN -> NaN
|
|
|
|
dqrot836 rotate 1000 NaN -> NaN
|
|
|
|
dqrot837 rotate Inf NaN -> NaN
|
|
|
|
|
|
|
|
dqrot841 rotate sNaN -Inf -> NaN Invalid_operation
|
|
|
|
dqrot842 rotate sNaN -1000 -> NaN Invalid_operation
|
|
|
|
dqrot843 rotate sNaN -1 -> NaN Invalid_operation
|
|
|
|
dqrot844 rotate sNaN -0 -> NaN Invalid_operation
|
|
|
|
dqrot845 rotate sNaN 0 -> NaN Invalid_operation
|
|
|
|
dqrot846 rotate sNaN 1 -> NaN Invalid_operation
|
|
|
|
dqrot847 rotate sNaN 1000 -> NaN Invalid_operation
|
|
|
|
dqrot848 rotate sNaN NaN -> NaN Invalid_operation
|
|
|
|
dqrot849 rotate sNaN sNaN -> NaN Invalid_operation
|
|
|
|
dqrot850 rotate NaN sNaN -> NaN Invalid_operation
|
|
|
|
dqrot851 rotate -Inf sNaN -> NaN Invalid_operation
|
|
|
|
dqrot852 rotate -1000 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot853 rotate -1 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot854 rotate -0 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot855 rotate 0 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot856 rotate 1 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot857 rotate 1000 sNaN -> NaN Invalid_operation
|
|
|
|
dqrot858 rotate Inf sNaN -> NaN Invalid_operation
|
|
|
|
dqrot859 rotate NaN sNaN -> NaN Invalid_operation
|
|
|
|
|
|
|
|
-- propagating NaNs
|
|
|
|
dqrot861 rotate NaN1 -Inf -> NaN1
|
|
|
|
dqrot862 rotate +NaN2 -1000 -> NaN2
|
|
|
|
dqrot863 rotate NaN3 1000 -> NaN3
|
|
|
|
dqrot864 rotate NaN4 Inf -> NaN4
|
|
|
|
dqrot865 rotate NaN5 +NaN6 -> NaN5
|
|
|
|
dqrot866 rotate -Inf NaN7 -> NaN7
|
|
|
|
dqrot867 rotate -1000 NaN8 -> NaN8
|
|
|
|
dqrot868 rotate 1000 NaN9 -> NaN9
|
|
|
|
dqrot869 rotate Inf +NaN10 -> NaN10
|
|
|
|
dqrot871 rotate sNaN11 -Inf -> NaN11 Invalid_operation
|
|
|
|
dqrot872 rotate sNaN12 -1000 -> NaN12 Invalid_operation
|
|
|
|
dqrot873 rotate sNaN13 1000 -> NaN13 Invalid_operation
|
|
|
|
dqrot874 rotate sNaN14 NaN17 -> NaN14 Invalid_operation
|
|
|
|
dqrot875 rotate sNaN15 sNaN18 -> NaN15 Invalid_operation
|
|
|
|
dqrot876 rotate NaN16 sNaN19 -> NaN19 Invalid_operation
|
|
|
|
dqrot877 rotate -Inf +sNaN20 -> NaN20 Invalid_operation
|
|
|
|
dqrot878 rotate -1000 sNaN21 -> NaN21 Invalid_operation
|
|
|
|
dqrot879 rotate 1000 sNaN22 -> NaN22 Invalid_operation
|
|
|
|
dqrot880 rotate Inf sNaN23 -> NaN23 Invalid_operation
|
|
|
|
dqrot881 rotate +NaN25 +sNaN24 -> NaN24 Invalid_operation
|
|
|
|
dqrot882 rotate -NaN26 NaN28 -> -NaN26
|
|
|
|
dqrot883 rotate -sNaN27 sNaN29 -> -NaN27 Invalid_operation
|
|
|
|
dqrot884 rotate 1000 -NaN30 -> -NaN30
|
|
|
|
dqrot885 rotate 1000 -sNaN31 -> -NaN31 Invalid_operation
|