/usr/lib/python2.7/test/decimaltestdata/testall.decTest is in libpython2.7-testsuite 2.7.6-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | ------------------------------------------------------------------------
-- testall.decTest -- run all general decimal arithmetic testcases --
-- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --
------------------------------------------------------------------------
-- 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 --
------------------------------------------------------------------------
version: 2.59
-- core tests (using Extended: 1) --------------------------------------
dectest: base
dectest: abs
dectest: add
dectest: and
dectest: clamp
dectest: class
dectest: compare
dectest: comparesig
dectest: comparetotal
dectest: comparetotmag
dectest: copy
dectest: copyabs
dectest: copynegate
dectest: copysign
dectest: divide
dectest: divideint
dectest: exp
dectest: fma
dectest: inexact
dectest: invert
dectest: ln
dectest: logb
dectest: log10
dectest: max
dectest: maxmag
dectest: min
dectest: minmag
dectest: minus
dectest: multiply
dectest: nextminus
dectest: nextplus
dectest: nexttoward
dectest: or
dectest: plus
dectest: power
dectest: powersqrt
dectest: quantize
dectest: randoms
dectest: reduce -- [was called normalize]
dectest: remainder
dectest: remaindernear
dectest: rescale -- [obsolete]
dectest: rotate
dectest: rounding
dectest: samequantum
dectest: scaleb
dectest: shift
dectest: squareroot
dectest: subtract
dectest: tointegral
dectest: tointegralx
dectest: trim
dectest: xor
-- The next are for the Strawman 4d concrete representations and
-- tests at those sizes [including dsEncode, ddEncode, and dqEncode,
-- which replace decimal32, decimal64, and decimal128]
dectest: decSingle
dectest: decDouble
dectest: decQuad
-- General 31->33-digit boundary tests
dectest: randombound32
|