1 ------------------------------------------------------------------------ 2 -- decDouble.decTest -- run all decDouble decimal arithmetic tests -- 3 -- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. -- 4 ------------------------------------------------------------------------ 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 (a] uk.ibm.com -- 19 ------------------------------------------------------------------------ 20 version: 2.59 21 22 -- decDouble tests 23 dectest: ddAbs 24 dectest: ddAdd 25 dectest: ddAnd 26 dectest: ddBase 27 dectest: ddCanonical 28 dectest: ddClass 29 dectest: ddCompare 30 dectest: ddCompareSig 31 dectest: ddCompareTotal 32 dectest: ddCompareTotalMag 33 dectest: ddCopy 34 dectest: ddCopyAbs 35 dectest: ddCopyNegate 36 dectest: ddCopySign 37 dectest: ddDivide 38 dectest: ddDivideInt 39 dectest: ddEncode 40 dectest: ddFMA 41 dectest: ddInvert 42 dectest: ddLogB 43 dectest: ddMax 44 dectest: ddMaxMag 45 dectest: ddMin 46 dectest: ddMinMag 47 dectest: ddMinus 48 dectest: ddMultiply 49 dectest: ddNextMinus 50 dectest: ddNextPlus 51 dectest: ddNextToward 52 dectest: ddOr 53 dectest: ddPlus 54 dectest: ddQuantize 55 dectest: ddReduce 56 dectest: ddRemainder 57 dectest: ddRemainderNear 58 dectest: ddRotate 59 dectest: ddSameQuantum 60 dectest: ddScaleB 61 dectest: ddShift 62 dectest: ddSubtract 63 dectest: ddToIntegral 64 dectest: ddXor 65 66