You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			56 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			56 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
------------------------------------------------------------------------
 | 
						|
-- testall0.decTest -- run all subset 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.58
 | 
						|
 | 
						|
-- subset arithmetic tests (using Extended: 0) ---------------------
 | 
						|
dectest: base0
 | 
						|
dectest: abs0
 | 
						|
dectest: add0
 | 
						|
dectest: compare0
 | 
						|
dectest: comparetotal0
 | 
						|
dectest: divide0
 | 
						|
dectest: divideint0
 | 
						|
dectest: exp0
 | 
						|
dectest: fma0
 | 
						|
dectest: inexact0
 | 
						|
dectest: ln0
 | 
						|
dectest: log100
 | 
						|
dectest: max0
 | 
						|
dectest: min0
 | 
						|
dectest: minus0
 | 
						|
dectest: multiply0
 | 
						|
dectest: plus0
 | 
						|
dectest: power0
 | 
						|
dectest: quantize0
 | 
						|
dectest: randoms0
 | 
						|
dectest: reduce0
 | 
						|
dectest: remainder0
 | 
						|
dectest: remaindernear0
 | 
						|
dectest: rescale0             -- [obsolete]
 | 
						|
dectest: rounding0
 | 
						|
dectest: samequantum0
 | 
						|
dectest: squareroot0
 | 
						|
dectest: subtract0
 | 
						|
dectest: tointegral0
 | 
						|
dectest: trim0
 | 
						|
 | 
						|
-- General 31->33-digit boundary tests
 | 
						|
dectest: randombound320
 |