 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

-- This set of tests tests the extended specification 'round-to-integral
-- value' operation (from IEEE 854, later modified in 754r).
-- All non-zero results are defined as being those from either copy or
-- quantize, so those are assumed to have been tested.

-- This tests toIntegraExact, which may set Inexact

extended:    1
precision:   9
rounding:    half_up
maxExponent: 999
minExponent: -999

intxx001 tointegralx      0     ->  0
intxx002 tointegralx      0.0   ->  0
intxx003 tointegralx      0.1   ->  0 Inexact Rounded
intxx004 tointegralx      0.2   ->  0 Inexact Rounded
intxx005 tointegralx      0.3   ->  0 Inexact Rounded
intxx006 tointegralx      0.4   ->  0 Inexact Rounded
intxx007 tointegralx      0.5   ->  1 Inexact Rounded
intxx008 tointegralx      0.6   ->  1 Inexact Rounded
intxx009 tointegralx      0.7   ->  1 Inexact Rounded
intxx010 tointegralx      0.8   ->  1 Inexact Rounded
intxx011 tointegralx      0.9   ->  1 Inexact Rounded
intxx012 tointegralx      1     ->  1
intxx013 tointegralx      1.0   ->  1 Rounded
intxx014 tointegralx      1.1   ->  1 Inexact Rounded
intxx015 tointegralx      1.2   ->  1 Inexact Rounded
intxx016 tointegralx      1.3   ->  1 Inexact Rounded
intxx017 tointegralx      1.4   ->  1 Inexact Rounded
intxx018 tointegralx      1.5   ->  2 Inexact Rounded
intxx019 tointegralx      1.6   ->  2 Inexact Rounded
intxx020 tointegralx      1.7   ->  2 Inexact Rounded
intxx021 tointegralx      1.8   ->  2 Inexact Rounded
intxx022 tointegralx      1.9   ->  2 Inexact Rounded
-- negatives
intxx031 tointegralx     -0     -> -0
intxx032 tointegralx     -0.0   -> -0
intxx033 tointegralx     -0.1   -> -0 Inexact Rounded
intxx034 tointegralx     -0.2   -> -0 Inexact Rounded
intxx035 tointegralx     -0.3   -> -0 Inexact Rounded
intxx036 tointegralx     -0.4   -> -0 Inexact Rounded
intxx037 tointegralx     -0.5   -> -1 Inexact Rounded
intxx038 tointegralx     -0.6   -> -1 Inexact Rounded
intxx039 tointegralx     -0.7   -> -1 Inexact Rounded
intxx040 tointegralx     -0.8   -> -1 Inexact Rounded
intxx041 tointegralx     -0.9   -> -1 Inexact Rounded
intxx042 tointegralx     -1     -> -1
intxx043 tointegralx     -1.0   -> -1 Rounded
intxx044 tointegralx     -1.1   -> -1 Inexact Rounded
intxx045 tointegralx     -1.2   -> -1 Inexact Rounded
intxx046 tointegralx     -1.3   -> -1 Inexact Rounded
intxx047 tointegralx     -1.4   -> -1 Inexact Rounded
intxx048 tointegralx     -1.5   -> -2 Inexact Rounded
intxx049 tointegralx     -1.6   -> -2 Inexact Rounded
intxx050 tointegralx     -1.7   -> -2 Inexact Rounded
intxx051 tointegralx     -1.8   -> -2 Inexact Rounded
intxx052 tointegralx     -1.9   -> -2 Inexact Rounded
-- next two woul