summaryrefslogtreecommitdiffstats
path: root/Lib/test/decimaltestdata/testall.decTest
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-17 06:39:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-17 06:39:37 (GMT)
commitd6c700a320eacd6f04cbcc60996b84e765766890 (patch)
treed07c64797ec5e9cfce7464a8f9fdc60b1d78351c /Lib/test/decimaltestdata/testall.decTest
parentf63ba43733aca984272540040d43ddf0c3fbdae9 (diff)
downloadcpython-d6c700a320eacd6f04cbcc60996b84e765766890.zip
cpython-d6c700a320eacd6f04cbcc60996b84e765766890.tar.gz
cpython-d6c700a320eacd6f04cbcc60996b84e765766890.tar.bz2
Revise max() and min() to comply with the 8/2/2004 update to the specification
(version 1.45): The max and min operations follow the rules in the current IEEE 754 revision draft: if one operand is a quiet NaN and the other is number, then the number is always returned if both operands are finite and equal in numerical value then an ordering is applied: if the signs differ then max returns the operand with the positive sign and min returns the operand with the negative sign; if the signs are the same then the exponent is used to select the result.
Diffstat (limited to 'Lib/test/decimaltestdata/testall.decTest')
0 files changed, 0 insertions, 0 deletions