blob: 3cce732ead583724934ba86c4126d12d988aeefb [file] [log] [blame]
Raymond Hettinger7c85fa42004-07-01 11:01:35 +00001------------------------------------------------------------------------
2-- testall.decTest -- run all general decimal arithmetic testcases --
Benjamin Petersonf17ff4e2008-07-31 16:32:12 +00003-- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --
Raymond Hettinger7c85fa42004-07-01 11:01:35 +00004------------------------------------------------------------------------
5-- Please see the document "General Decimal Arithmetic Testcases" --
6-- at http://www2.hursley.ibm.com/decimal for the description of --
7-- these testcases. --
8-- --
9-- These testcases are experimental ('beta' versions), and they --
10-- may contain errors. They are offered on an as-is basis. In --
11-- particular, achieving the same results as the tests here is not --
12-- a guarantee that an implementation complies with any Standard --
13-- or specification. The tests are not exhaustive. --
14-- --
15-- Please send comments, suggestions, and corrections to the author: --
16-- Mike Cowlishaw, IBM Fellow --
17-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
18-- mfc@uk.ibm.com --
19------------------------------------------------------------------------
Mark Dickinson8a546532009-10-08 16:30:38 +000020version: 2.59
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000021
22-- core tests (using Extended: 1) --------------------------------------
23dectest: base
Thomas Wouters1b7f8912007-09-19 03:06:30 +000024
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000025dectest: abs
26dectest: add
Thomas Wouters1b7f8912007-09-19 03:06:30 +000027dectest: and
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000028dectest: clamp
Thomas Wouters1b7f8912007-09-19 03:06:30 +000029dectest: class
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000030dectest: compare
Thomas Wouters1b7f8912007-09-19 03:06:30 +000031dectest: comparesig
32dectest: comparetotal
33dectest: comparetotmag
34dectest: copy
35dectest: copyabs
36dectest: copynegate
37dectest: copysign
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000038dectest: divide
39dectest: divideint
Thomas Wouters1b7f8912007-09-19 03:06:30 +000040dectest: exp
41dectest: fma
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000042dectest: inexact
Thomas Wouters1b7f8912007-09-19 03:06:30 +000043dectest: invert
44dectest: ln
45dectest: logb
46dectest: log10
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000047dectest: max
Thomas Wouters1b7f8912007-09-19 03:06:30 +000048dectest: maxmag
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000049dectest: min
Thomas Wouters1b7f8912007-09-19 03:06:30 +000050dectest: minmag
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000051dectest: minus
52dectest: multiply
Thomas Wouters1b7f8912007-09-19 03:06:30 +000053dectest: nextminus
54dectest: nextplus
55dectest: nexttoward
56dectest: or
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000057dectest: plus
58dectest: power
Thomas Wouters1b7f8912007-09-19 03:06:30 +000059dectest: powersqrt
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000060dectest: quantize
61dectest: randoms
Thomas Wouters1b7f8912007-09-19 03:06:30 +000062dectest: reduce -- [was called normalize]
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000063dectest: remainder
64dectest: remaindernear
65dectest: rescale -- [obsolete]
Thomas Wouters1b7f8912007-09-19 03:06:30 +000066dectest: rotate
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000067dectest: rounding
68dectest: samequantum
Thomas Wouters1b7f8912007-09-19 03:06:30 +000069dectest: scaleb
70dectest: shift
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000071dectest: squareroot
72dectest: subtract
73dectest: tointegral
Thomas Wouters1b7f8912007-09-19 03:06:30 +000074dectest: tointegralx
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000075dectest: trim
Thomas Wouters1b7f8912007-09-19 03:06:30 +000076dectest: xor
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000077
Thomas Wouters1b7f8912007-09-19 03:06:30 +000078-- The next are for the Strawman 4d concrete representations and
79-- tests at those sizes [including dsEncode, ddEncode, and dqEncode,
80-- which replace decimal32, decimal64, and decimal128]
81dectest: decSingle
82dectest: decDouble
83dectest: decQuad
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000084
85-- General 31->33-digit boundary tests
Raymond Hettinger3ee3ed22004-08-17 06:42:13 +000086dectest: randombound32
Raymond Hettinger7c85fa42004-07-01 11:01:35 +000087