17db96d56Sopenharmony_ci------------------------------------------------------------------------
27db96d56Sopenharmony_ci-- rescale.decTest -- decimal rescale operation                       --
37db96d56Sopenharmony_ci-- Copyright (c) IBM Corporation, 1981, 2008.  All rights reserved.   --
47db96d56Sopenharmony_ci------------------------------------------------------------------------
57db96d56Sopenharmony_ci-- Please see the document "General Decimal Arithmetic Testcases"     --
67db96d56Sopenharmony_ci-- at http://www2.hursley.ibm.com/decimal for the description of      --
77db96d56Sopenharmony_ci-- these testcases.                                                   --
87db96d56Sopenharmony_ci--                                                                    --
97db96d56Sopenharmony_ci-- These testcases are experimental ('beta' versions), and they       --
107db96d56Sopenharmony_ci-- may contain errors.  They are offered on an as-is basis.  In       --
117db96d56Sopenharmony_ci-- particular, achieving the same results as the tests here is not    --
127db96d56Sopenharmony_ci-- a guarantee that an implementation complies with any Standard      --
137db96d56Sopenharmony_ci-- or specification.  The tests are not exhaustive.                   --
147db96d56Sopenharmony_ci--                                                                    --
157db96d56Sopenharmony_ci-- Please send comments, suggestions, and corrections to the author:  --
167db96d56Sopenharmony_ci--   Mike Cowlishaw, IBM Fellow                                       --
177db96d56Sopenharmony_ci--   IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK         --
187db96d56Sopenharmony_ci--   mfc@uk.ibm.com                                                   --
197db96d56Sopenharmony_ci------------------------------------------------------------------------
207db96d56Sopenharmony_civersion: 2.59
217db96d56Sopenharmony_ci
227db96d56Sopenharmony_ci-- [obsolete]   Quantize.decTest has the improved version
237db96d56Sopenharmony_ci
247db96d56Sopenharmony_ci-- 2004.03.15 Underflow for quantize is suppressed
257db96d56Sopenharmony_ci
267db96d56Sopenharmony_ciextended:    1
277db96d56Sopenharmony_ciprecision:   9
287db96d56Sopenharmony_cirounding:    half_up
297db96d56Sopenharmony_cimaxExponent: 999
307db96d56Sopenharmony_ciminexponent: -999
317db96d56Sopenharmony_ci
327db96d56Sopenharmony_ci-- sanity checks
337db96d56Sopenharmony_ci
347db96d56Sopenharmony_ciresx001 rescale 0       0   -> 0
357db96d56Sopenharmony_ciresx002 rescale 1       0   -> 1
367db96d56Sopenharmony_ciresx003 rescale 0.1    +2   -> 0E+2 Inexact Rounded
377db96d56Sopenharmony_ciresx005 rescale 0.1    +1   -> 0E+1 Inexact Rounded
387db96d56Sopenharmony_ciresx006 rescale 0.1     0   -> 0 Inexact Rounded
397db96d56Sopenharmony_ciresx007 rescale 0.1    -1   -> 0.1
407db96d56Sopenharmony_ciresx008 rescale 0.1    -2   -> 0.10
417db96d56Sopenharmony_ciresx009 rescale 0.1    -3   -> 0.100
427db96d56Sopenharmony_ciresx010 rescale 0.9    +2   -> 0E+2 Inexact Rounded
437db96d56Sopenharmony_ciresx011 rescale 0.9    +1   -> 0E+1 Inexact Rounded
447db96d56Sopenharmony_ciresx012 rescale 0.9    +0   -> 1 Inexact Rounded
457db96d56Sopenharmony_ciresx013 rescale 0.9    -1   -> 0.9
467db96d56Sopenharmony_ciresx014 rescale 0.9    -2   -> 0.90
477db96d56Sopenharmony_ciresx015 rescale 0.9    -3   -> 0.900
487db96d56Sopenharmony_ci-- negatives
497db96d56Sopenharmony_ciresx021 rescale -0      0   -> -0
507db96d56Sopenharmony_ciresx022 rescale -1      0   -> -1
517db96d56Sopenharmony_ciresx023 rescale -0.1   +2   -> -0E+2 Inexact Rounded
527db96d56Sopenharmony_ciresx025 rescale -0.1   +1   -> -0E+1 Inexact Rounded
537db96d56Sopenharmony_ciresx026 rescale -0.1    0   -> -0 Inexact Rounded
547db96d56Sopenharmony_ciresx027 rescale -0.1   -1   -> -0.1
557db96d56Sopenharmony_ciresx028 rescale -0.1   -2   -> -0.10
567db96d56Sopenharmony_ciresx029 rescale -0.1   -3   -> -0.100
577db96d56Sopenharmony_ciresx030 rescale -0.9   +2   -> -0E+2 Inexact Rounded
587db96d56Sopenharmony_ciresx031 rescale -0.9   +1   -> -0E+1 Inexact Rounded
597db96d56Sopenharmony_ciresx032 rescale -0.9   +0   -> -1 Inexact Rounded
607db96d56Sopenharmony_ciresx033 rescale -0.9   -1   -> -0.9
617db96d56Sopenharmony_ciresx034 rescale -0.9   -2   -> -0.90
627db96d56Sopenharmony_ciresx035 rescale -0.9   -3   -> -0.900
637db96d56Sopenharmony_ciresx036 rescale -0.5   +2   -> -0E+2 Inexact Rounded
647db96d56Sopenharmony_ciresx037 rescale -0.5   +1   -> -0E+1 Inexact Rounded
657db96d56Sopenharmony_ciresx038 rescale -0.5   +0   -> -1 Inexact Rounded
667db96d56Sopenharmony_ciresx039 rescale -0.5   -1   -> -0.5
677db96d56Sopenharmony_ciresx040 rescale -0.5   -2   -> -0.50
687db96d56Sopenharmony_ciresx041 rescale -0.5   -3   -> -0.500
697db96d56Sopenharmony_ciresx042 rescale -0.9   +2   -> -0E+2 Inexact Rounded
707db96d56Sopenharmony_ciresx043 rescale -0.9   +1   -> -0E+1 Inexact Rounded
717db96d56Sopenharmony_ciresx044 rescale -0.9   +0   -> -1 Inexact Rounded
727db96d56Sopenharmony_ciresx045 rescale -0.9   -1   -> -0.9
737db96d56Sopenharmony_ciresx046 rescale -0.9   -2   -> -0.90
747db96d56Sopenharmony_ciresx047 rescale -0.9   -3   -> -0.900
757db96d56Sopenharmony_ci
767db96d56Sopenharmony_ci-- examples from Specification
777db96d56Sopenharmony_ciresx060 rescale 2.17   -3   -> 2.170
787db96d56Sopenharmony_ciresx061 rescale 2.17   -2   -> 2.17
797db96d56Sopenharmony_ciresx062 rescale 2.17   -1   -> 2.2 Inexact Rounded
807db96d56Sopenharmony_ciresx063 rescale 2.17    0   -> 2 Inexact Rounded
817db96d56Sopenharmony_ciresx064 rescale 2.17   +1   -> 0E+1 Inexact Rounded
827db96d56Sopenharmony_ciresx065 rescale 2      Inf  -> NaN Invalid_operation
837db96d56Sopenharmony_ciresx066 rescale -0.1    0   -> -0 Inexact Rounded
847db96d56Sopenharmony_ciresx067 rescale -0      5   -> -0E+5
857db96d56Sopenharmony_ciresx068 rescale +35236450.6 -2 -> NaN Invalid_operation
867db96d56Sopenharmony_ciresx069 rescale -35236450.6 -2 -> NaN Invalid_operation
877db96d56Sopenharmony_ciresx070 rescale 217    -1   -> 217.0
887db96d56Sopenharmony_ciresx071 rescale 217     0   -> 217
897db96d56Sopenharmony_ciresx072 rescale 217    +1   -> 2.2E+2 Inexact Rounded
907db96d56Sopenharmony_ciresx073 rescale 217    +2   -> 2E+2 Inexact Rounded
917db96d56Sopenharmony_ci
927db96d56Sopenharmony_ci-- general tests ..
937db96d56Sopenharmony_ciresx089 rescale 12     +4   -> 0E+4 Inexact Rounded
947db96d56Sopenharmony_ciresx090 rescale 12     +3   -> 0E+3 Inexact Rounded
957db96d56Sopenharmony_ciresx091 rescale 12     +2   -> 0E+2 Inexact Rounded
967db96d56Sopenharmony_ciresx092 rescale 12     +1   -> 1E+1 Inexact Rounded
977db96d56Sopenharmony_ciresx093 rescale 1.2345 -2   -> 1.23 Inexact Rounded
987db96d56Sopenharmony_ciresx094 rescale 1.2355 -2   -> 1.24 Inexact Rounded
997db96d56Sopenharmony_ciresx095 rescale 1.2345 -6   -> 1.234500
1007db96d56Sopenharmony_ciresx096 rescale 9.9999 -2   -> 10.00 Inexact Rounded
1017db96d56Sopenharmony_ciresx097 rescale 0.0001 -2   -> 0.00 Inexact Rounded
1027db96d56Sopenharmony_ciresx098 rescale 0.001  -2   -> 0.00 Inexact Rounded
1037db96d56Sopenharmony_ciresx099 rescale 0.009  -2   -> 0.01 Inexact Rounded
1047db96d56Sopenharmony_ciresx100 rescale 92     +2   -> 1E+2 Inexact Rounded
1057db96d56Sopenharmony_ci
1067db96d56Sopenharmony_ciresx101 rescale -1      0   ->  -1
1077db96d56Sopenharmony_ciresx102 rescale -1     -1   ->  -1.0
1087db96d56Sopenharmony_ciresx103 rescale -1     -2   ->  -1.00
1097db96d56Sopenharmony_ciresx104 rescale  0      0   ->  0
1107db96d56Sopenharmony_ciresx105 rescale  0     -1   ->  0.0
1117db96d56Sopenharmony_ciresx106 rescale  0     -2   ->  0.00
1127db96d56Sopenharmony_ciresx107 rescale  0.00   0   ->  0
1137db96d56Sopenharmony_ciresx108 rescale  0     +1   ->  0E+1
1147db96d56Sopenharmony_ciresx109 rescale  0     +2   ->  0E+2
1157db96d56Sopenharmony_ciresx110 rescale +1      0   ->  1
1167db96d56Sopenharmony_ciresx111 rescale +1     -1   ->  1.0
1177db96d56Sopenharmony_ciresx112 rescale +1     -2   ->  1.00
1187db96d56Sopenharmony_ci
1197db96d56Sopenharmony_ciresx120 rescale   1.04  -3 ->  1.040
1207db96d56Sopenharmony_ciresx121 rescale   1.04  -2 ->  1.04
1217db96d56Sopenharmony_ciresx122 rescale   1.04  -1 ->  1.0 Inexact Rounded
1227db96d56Sopenharmony_ciresx123 rescale   1.04   0 ->  1 Inexact Rounded
1237db96d56Sopenharmony_ciresx124 rescale   1.05  -3 ->  1.050
1247db96d56Sopenharmony_ciresx125 rescale   1.05  -2 ->  1.05
1257db96d56Sopenharmony_ciresx126 rescale   1.05  -1 ->  1.1 Inexact Rounded
1267db96d56Sopenharmony_ciresx127 rescale   1.05   0 ->  1 Inexact Rounded
1277db96d56Sopenharmony_ciresx128 rescale   1.05  -3 ->  1.050
1287db96d56Sopenharmony_ciresx129 rescale   1.05  -2 ->  1.05
1297db96d56Sopenharmony_ciresx130 rescale   1.05  -1 ->  1.1 Inexact Rounded
1307db96d56Sopenharmony_ciresx131 rescale   1.05   0 ->  1 Inexact Rounded
1317db96d56Sopenharmony_ciresx132 rescale   1.06  -3 ->  1.060
1327db96d56Sopenharmony_ciresx133 rescale   1.06  -2 ->  1.06
1337db96d56Sopenharmony_ciresx134 rescale   1.06  -1 ->  1.1 Inexact Rounded
1347db96d56Sopenharmony_ciresx135 rescale   1.06   0 ->  1 Inexact Rounded
1357db96d56Sopenharmony_ci
1367db96d56Sopenharmony_ciresx140 rescale   -10    -2  ->  -10.00
1377db96d56Sopenharmony_ciresx141 rescale   +1     -2  ->  1.00
1387db96d56Sopenharmony_ciresx142 rescale   +10    -2  ->  10.00
1397db96d56Sopenharmony_ciresx143 rescale   1E+10  -2  ->  NaN Invalid_operation
1407db96d56Sopenharmony_ciresx144 rescale   1E-10  -2  ->  0.00 Inexact Rounded
1417db96d56Sopenharmony_ciresx145 rescale   1E-3   -2  ->  0.00 Inexact Rounded
1427db96d56Sopenharmony_ciresx146 rescale   1E-2   -2  ->  0.01
1437db96d56Sopenharmony_ciresx147 rescale   1E-1   -2  ->  0.10
1447db96d56Sopenharmony_ciresx148 rescale   0E-10  -2  ->  0.00
1457db96d56Sopenharmony_ci
1467db96d56Sopenharmony_ciresx150 rescale   1.0600 -5 ->  1.06000
1477db96d56Sopenharmony_ciresx151 rescale   1.0600 -4 ->  1.0600
1487db96d56Sopenharmony_ciresx152 rescale   1.0600 -3 ->  1.060 Rounded
1497db96d56Sopenharmony_ciresx153 rescale   1.0600 -2 ->  1.06 Rounded
1507db96d56Sopenharmony_ciresx154 rescale   1.0600 -1 ->  1.1 Inexact Rounded
1517db96d56Sopenharmony_ciresx155 rescale   1.0600  0 ->  1 Inexact Rounded
1527db96d56Sopenharmony_ci
1537db96d56Sopenharmony_ci-- +ve exponents ..
1547db96d56Sopenharmony_ciresx201 rescale   -1   +0 ->  -1
1557db96d56Sopenharmony_ciresx202 rescale   -1   +1 ->  -0E+1 Inexact Rounded
1567db96d56Sopenharmony_ciresx203 rescale   -1   +2 ->  -0E+2 Inexact Rounded
1577db96d56Sopenharmony_ciresx204 rescale    0   +0 ->  0
1587db96d56Sopenharmony_ciresx205 rescale    0   +1 ->  0E+1
1597db96d56Sopenharmony_ciresx206 rescale    0   +2 ->  0E+2
1607db96d56Sopenharmony_ciresx207 rescale   +1   +0 ->  1
1617db96d56Sopenharmony_ciresx208 rescale   +1   +1 ->  0E+1 Inexact Rounded
1627db96d56Sopenharmony_ciresx209 rescale   +1   +2 ->  0E+2 Inexact Rounded
1637db96d56Sopenharmony_ci
1647db96d56Sopenharmony_ciresx220 rescale   1.04 +3 ->  0E+3 Inexact Rounded
1657db96d56Sopenharmony_ciresx221 rescale   1.04 +2 ->  0E+2 Inexact Rounded
1667db96d56Sopenharmony_ciresx222 rescale   1.04 +1 ->  0E+1 Inexact Rounded
1677db96d56Sopenharmony_ciresx223 rescale   1.04 +0 ->  1 Inexact Rounded
1687db96d56Sopenharmony_ciresx224 rescale   1.05 +3 ->  0E+3 Inexact Rounded
1697db96d56Sopenharmony_ciresx225 rescale   1.05 +2 ->  0E+2 Inexact Rounded
1707db96d56Sopenharmony_ciresx226 rescale   1.05 +1 ->  0E+1 Inexact Rounded
1717db96d56Sopenharmony_ciresx227 rescale   1.05 +0 ->  1 Inexact Rounded
1727db96d56Sopenharmony_ciresx228 rescale   1.05 +3 ->  0E+3 Inexact Rounded
1737db96d56Sopenharmony_ciresx229 rescale   1.05 +2 ->  0E+2 Inexact Rounded
1747db96d56Sopenharmony_ciresx230 rescale   1.05 +1 ->  0E+1 Inexact Rounded
1757db96d56Sopenharmony_ciresx231 rescale   1.05 +0 ->  1 Inexact Rounded
1767db96d56Sopenharmony_ciresx232 rescale   1.06 +3 ->  0E+3 Inexact Rounded
1777db96d56Sopenharmony_ciresx233 rescale   1.06 +2 ->  0E+2 Inexact Rounded
1787db96d56Sopenharmony_ciresx234 rescale   1.06 +1 ->  0E+1 Inexact Rounded
1797db96d56Sopenharmony_ciresx235 rescale   1.06 +0 ->  1 Inexact Rounded
1807db96d56Sopenharmony_ci
1817db96d56Sopenharmony_ciresx240 rescale   -10   +1  ->  -1E+1 Rounded
1827db96d56Sopenharmony_ciresx241 rescale   +1    +1  ->  0E+1 Inexact Rounded
1837db96d56Sopenharmony_ciresx242 rescale   +10   +1  ->  1E+1 Rounded
1847db96d56Sopenharmony_ciresx243 rescale   1E+1  +1  ->  1E+1          -- underneath this is E+1
1857db96d56Sopenharmony_ciresx244 rescale   1E+2  +1  ->  1.0E+2        -- underneath this is E+1
1867db96d56Sopenharmony_ciresx245 rescale   1E+3  +1  ->  1.00E+3       -- underneath this is E+1
1877db96d56Sopenharmony_ciresx246 rescale   1E+4  +1  ->  1.000E+4      -- underneath this is E+1
1887db96d56Sopenharmony_ciresx247 rescale   1E+5  +1  ->  1.0000E+5     -- underneath this is E+1
1897db96d56Sopenharmony_ciresx248 rescale   1E+6  +1  ->  1.00000E+6    -- underneath this is E+1
1907db96d56Sopenharmony_ciresx249 rescale   1E+7  +1  ->  1.000000E+7   -- underneath this is E+1
1917db96d56Sopenharmony_ciresx250 rescale   1E+8  +1  ->  1.0000000E+8  -- underneath this is E+1
1927db96d56Sopenharmony_ciresx251 rescale   1E+9  +1  ->  1.00000000E+9 -- underneath this is E+1
1937db96d56Sopenharmony_ci-- next one tries to add 9 zeros
1947db96d56Sopenharmony_ciresx252 rescale   1E+10 +1  ->  NaN Invalid_operation
1957db96d56Sopenharmony_ciresx253 rescale   1E-10 +1  ->  0E+1 Inexact Rounded
1967db96d56Sopenharmony_ciresx254 rescale   1E-2  +1  ->  0E+1 Inexact Rounded
1977db96d56Sopenharmony_ciresx255 rescale   0E-10 +1  ->  0E+1
1987db96d56Sopenharmony_ciresx256 rescale  -0E-10 +1  -> -0E+1
1997db96d56Sopenharmony_ciresx257 rescale  -0E-1  +1  -> -0E+1
2007db96d56Sopenharmony_ciresx258 rescale  -0     +1  -> -0E+1
2017db96d56Sopenharmony_ciresx259 rescale  -0E+1  +1  -> -0E+1
2027db96d56Sopenharmony_ci
2037db96d56Sopenharmony_ciresx260 rescale   -10   +2  ->  -0E+2 Inexact Rounded
2047db96d56Sopenharmony_ciresx261 rescale   +1    +2  ->  0E+2 Inexact Rounded
2057db96d56Sopenharmony_ciresx262 rescale   +10   +2  ->  0E+2 Inexact Rounded
2067db96d56Sopenharmony_ciresx263 rescale   1E+1  +2  ->  0E+2 Inexact Rounded
2077db96d56Sopenharmony_ciresx264 rescale   1E+2  +2  ->  1E+2
2087db96d56Sopenharmony_ciresx265 rescale   1E+3  +2  ->  1.0E+3
2097db96d56Sopenharmony_ciresx266 rescale   1E+4  +2  ->  1.00E+4
2107db96d56Sopenharmony_ciresx267 rescale   1E+5  +2  ->  1.000E+5
2117db96d56Sopenharmony_ciresx268 rescale   1E+6  +2  ->  1.0000E+6
2127db96d56Sopenharmony_ciresx269 rescale   1E+7  +2  ->  1.00000E+7
2137db96d56Sopenharmony_ciresx270 rescale   1E+8  +2  ->  1.000000E+8
2147db96d56Sopenharmony_ciresx271 rescale   1E+9  +2  ->  1.0000000E+9
2157db96d56Sopenharmony_ciresx272 rescale   1E+10 +2  ->  1.00000000E+10
2167db96d56Sopenharmony_ciresx273 rescale   1E-10 +2  ->  0E+2 Inexact Rounded
2177db96d56Sopenharmony_ciresx274 rescale   1E-2  +2  ->  0E+2 Inexact Rounded
2187db96d56Sopenharmony_ciresx275 rescale   0E-10 +2  ->  0E+2
2197db96d56Sopenharmony_ci
2207db96d56Sopenharmony_ciresx280 rescale   -10   +3  ->  -0E+3 Inexact Rounded
2217db96d56Sopenharmony_ciresx281 rescale   +1    +3  ->  0E+3 Inexact Rounded
2227db96d56Sopenharmony_ciresx282 rescale   +10   +3  ->  0E+3 Inexact Rounded
2237db96d56Sopenharmony_ciresx283 rescale   1E+1  +3  ->  0E+3 Inexact Rounded
2247db96d56Sopenharmony_ciresx284 rescale   1E+2  +3  ->  0E+3 Inexact Rounded
2257db96d56Sopenharmony_ciresx285 rescale   1E+3  +3  ->  1E+3
2267db96d56Sopenharmony_ciresx286 rescale   1E+4  +3  ->  1.0E+4
2277db96d56Sopenharmony_ciresx287 rescale   1E+5  +3  ->  1.00E+5
2287db96d56Sopenharmony_ciresx288 rescale   1E+6  +3  ->  1.000E+6
2297db96d56Sopenharmony_ciresx289 rescale   1E+7  +3  ->  1.0000E+7
2307db96d56Sopenharmony_ciresx290 rescale   1E+8  +3  ->  1.00000E+8
2317db96d56Sopenharmony_ciresx291 rescale   1E+9  +3  ->  1.000000E+9
2327db96d56Sopenharmony_ciresx292 rescale   1E+10 +3  ->  1.0000000E+10
2337db96d56Sopenharmony_ciresx293 rescale   1E-10 +3  ->  0E+3 Inexact Rounded
2347db96d56Sopenharmony_ciresx294 rescale   1E-2  +3  ->  0E+3 Inexact Rounded
2357db96d56Sopenharmony_ciresx295 rescale   0E-10 +3  ->  0E+3
2367db96d56Sopenharmony_ci
2377db96d56Sopenharmony_ci-- round up from below [sign wrong in JIT compiler once]
2387db96d56Sopenharmony_ciresx300 rescale   0.0078 -5 ->  0.00780
2397db96d56Sopenharmony_ciresx301 rescale   0.0078 -4 ->  0.0078
2407db96d56Sopenharmony_ciresx302 rescale   0.0078 -3 ->  0.008 Inexact Rounded
2417db96d56Sopenharmony_ciresx303 rescale   0.0078 -2 ->  0.01 Inexact Rounded
2427db96d56Sopenharmony_ciresx304 rescale   0.0078 -1 ->  0.0 Inexact Rounded
2437db96d56Sopenharmony_ciresx305 rescale   0.0078  0 ->  0 Inexact Rounded
2447db96d56Sopenharmony_ciresx306 rescale   0.0078 +1 ->  0E+1 Inexact Rounded
2457db96d56Sopenharmony_ciresx307 rescale   0.0078 +2 ->  0E+2 Inexact Rounded
2467db96d56Sopenharmony_ci
2477db96d56Sopenharmony_ciresx310 rescale  -0.0078 -5 -> -0.00780
2487db96d56Sopenharmony_ciresx311 rescale  -0.0078 -4 -> -0.0078
2497db96d56Sopenharmony_ciresx312 rescale  -0.0078 -3 -> -0.008 Inexact Rounded
2507db96d56Sopenharmony_ciresx313 rescale  -0.0078 -2 -> -0.01 Inexact Rounded
2517db96d56Sopenharmony_ciresx314 rescale  -0.0078 -1 -> -0.0 Inexact Rounded
2527db96d56Sopenharmony_ciresx315 rescale  -0.0078  0 -> -0 Inexact Rounded
2537db96d56Sopenharmony_ciresx316 rescale  -0.0078 +1 -> -0E+1 Inexact Rounded
2547db96d56Sopenharmony_ciresx317 rescale  -0.0078 +2 -> -0E+2 Inexact Rounded
2557db96d56Sopenharmony_ci
2567db96d56Sopenharmony_ciresx320 rescale   0.078 -5 ->  0.07800
2577db96d56Sopenharmony_ciresx321 rescale   0.078 -4 ->  0.0780
2587db96d56Sopenharmony_ciresx322 rescale   0.078 -3 ->  0.078
2597db96d56Sopenharmony_ciresx323 rescale   0.078 -2 ->  0.08 Inexact Rounded
2607db96d56Sopenharmony_ciresx324 rescale   0.078 -1 ->  0.1 Inexact Rounded
2617db96d56Sopenharmony_ciresx325 rescale   0.078  0 ->  0 Inexact Rounded
2627db96d56Sopenharmony_ciresx326 rescale   0.078 +1 ->  0E+1 Inexact Rounded
2637db96d56Sopenharmony_ciresx327 rescale   0.078 +2 ->  0E+2 Inexact Rounded
2647db96d56Sopenharmony_ci
2657db96d56Sopenharmony_ciresx330 rescale  -0.078 -5 -> -0.07800
2667db96d56Sopenharmony_ciresx331 rescale  -0.078 -4 -> -0.0780
2677db96d56Sopenharmony_ciresx332 rescale  -0.078 -3 -> -0.078
2687db96d56Sopenharmony_ciresx333 rescale  -0.078 -2 -> -0.08 Inexact Rounded
2697db96d56Sopenharmony_ciresx334 rescale  -0.078 -1 -> -0.1 Inexact Rounded
2707db96d56Sopenharmony_ciresx335 rescale  -0.078  0 -> -0 Inexact Rounded
2717db96d56Sopenharmony_ciresx336 rescale  -0.078 +1 -> -0E+1 Inexact Rounded
2727db96d56Sopenharmony_ciresx337 rescale  -0.078 +2 -> -0E+2 Inexact Rounded
2737db96d56Sopenharmony_ci
2747db96d56Sopenharmony_ciresx340 rescale   0.78 -5 ->  0.78000
2757db96d56Sopenharmony_ciresx341 rescale   0.78 -4 ->  0.7800
2767db96d56Sopenharmony_ciresx342 rescale   0.78 -3 ->  0.780
2777db96d56Sopenharmony_ciresx343 rescale   0.78 -2 ->  0.78
2787db96d56Sopenharmony_ciresx344 rescale   0.78 -1 ->  0.8 Inexact Rounded
2797db96d56Sopenharmony_ciresx345 rescale   0.78  0 ->  1 Inexact Rounded
2807db96d56Sopenharmony_ciresx346 rescale   0.78 +1 ->  0E+1 Inexact Rounded
2817db96d56Sopenharmony_ciresx347 rescale   0.78 +2 ->  0E+2 Inexact Rounded
2827db96d56Sopenharmony_ci
2837db96d56Sopenharmony_ciresx350 rescale  -0.78 -5 -> -0.78000
2847db96d56Sopenharmony_ciresx351 rescale  -0.78 -4 -> -0.7800
2857db96d56Sopenharmony_ciresx352 rescale  -0.78 -3 -> -0.780
2867db96d56Sopenharmony_ciresx353 rescale  -0.78 -2 -> -0.78
2877db96d56Sopenharmony_ciresx354 rescale  -0.78 -1 -> -0.8 Inexact Rounded
2887db96d56Sopenharmony_ciresx355 rescale  -0.78  0 -> -1 Inexact Rounded
2897db96d56Sopenharmony_ciresx356 rescale  -0.78 +1 -> -0E+1 Inexact Rounded
2907db96d56Sopenharmony_ciresx357 rescale  -0.78 +2 -> -0E+2 Inexact Rounded
2917db96d56Sopenharmony_ci
2927db96d56Sopenharmony_ciresx360 rescale   7.8 -5 ->  7.80000
2937db96d56Sopenharmony_ciresx361 rescale   7.8 -4 ->  7.8000
2947db96d56Sopenharmony_ciresx362 rescale   7.8 -3 ->  7.800
2957db96d56Sopenharmony_ciresx363 rescale   7.8 -2 ->  7.80
2967db96d56Sopenharmony_ciresx364 rescale   7.8 -1 ->  7.8
2977db96d56Sopenharmony_ciresx365 rescale   7.8  0 ->  8 Inexact Rounded
2987db96d56Sopenharmony_ciresx366 rescale   7.8 +1 ->  1E+1 Inexact Rounded
2997db96d56Sopenharmony_ciresx367 rescale   7.8 +2 ->  0E+2 Inexact Rounded
3007db96d56Sopenharmony_ciresx368 rescale   7.8 +3 ->  0E+3 Inexact Rounded
3017db96d56Sopenharmony_ci
3027db96d56Sopenharmony_ciresx370 rescale  -7.8 -5 -> -7.80000
3037db96d56Sopenharmony_ciresx371 rescale  -7.8 -4 -> -7.8000
3047db96d56Sopenharmony_ciresx372 rescale  -7.8 -3 -> -7.800
3057db96d56Sopenharmony_ciresx373 rescale  -7.8 -2 -> -7.80
3067db96d56Sopenharmony_ciresx374 rescale  -7.8 -1 -> -7.8
3077db96d56Sopenharmony_ciresx375 rescale  -7.8  0 -> -8 Inexact Rounded
3087db96d56Sopenharmony_ciresx376 rescale  -7.8 +1 -> -1E+1 Inexact Rounded
3097db96d56Sopenharmony_ciresx377 rescale  -7.8 +2 -> -0E+2 Inexact Rounded
3107db96d56Sopenharmony_ciresx378 rescale  -7.8 +3 -> -0E+3 Inexact Rounded
3117db96d56Sopenharmony_ci
3127db96d56Sopenharmony_ci-- some individuals
3137db96d56Sopenharmony_ciprecision: 9
3147db96d56Sopenharmony_ciresx380 rescale   352364.506 -2 -> 352364.51 Inexact Rounded
3157db96d56Sopenharmony_ciresx381 rescale   3523645.06 -2 -> 3523645.06
3167db96d56Sopenharmony_ciresx382 rescale   35236450.6 -2 -> NaN Invalid_operation
3177db96d56Sopenharmony_ciresx383 rescale   352364506  -2 -> NaN Invalid_operation
3187db96d56Sopenharmony_ciresx384 rescale  -352364.506 -2 -> -352364.51 Inexact Rounded
3197db96d56Sopenharmony_ciresx385 rescale  -3523645.06 -2 -> -3523645.06
3207db96d56Sopenharmony_ciresx386 rescale  -35236450.6 -2 -> NaN Invalid_operation
3217db96d56Sopenharmony_ciresx387 rescale  -352364506  -2 -> NaN Invalid_operation
3227db96d56Sopenharmony_ci
3237db96d56Sopenharmony_cirounding: down
3247db96d56Sopenharmony_ciresx389 rescale   35236450.6 -2 -> NaN Invalid_operation
3257db96d56Sopenharmony_ci-- ? should that one instead have been:
3267db96d56Sopenharmony_ci-- resx389 rescale   35236450.6 -2 -> NaN Invalid_operation
3277db96d56Sopenharmony_cirounding: half_up
3287db96d56Sopenharmony_ci
3297db96d56Sopenharmony_ci-- and a few more from e-mail discussions
3307db96d56Sopenharmony_ciprecision: 7
3317db96d56Sopenharmony_ciresx391 rescale  12.34567  -3 -> 12.346   Inexact Rounded
3327db96d56Sopenharmony_ciresx392 rescale  123.4567  -3 -> 123.457  Inexact Rounded
3337db96d56Sopenharmony_ciresx393 rescale  1234.567  -3 -> 1234.567
3347db96d56Sopenharmony_ciresx394 rescale  12345.67  -3 -> NaN Invalid_operation
3357db96d56Sopenharmony_ciresx395 rescale  123456.7  -3 -> NaN Invalid_operation
3367db96d56Sopenharmony_ciresx396 rescale  1234567.  -3 -> NaN Invalid_operation
3377db96d56Sopenharmony_ci
3387db96d56Sopenharmony_ci-- some 9999 round-up cases
3397db96d56Sopenharmony_ciprecision: 9
3407db96d56Sopenharmony_ciresx400 rescale   9.999        -5  ->  9.99900
3417db96d56Sopenharmony_ciresx401 rescale   9.999        -4  ->  9.9990
3427db96d56Sopenharmony_ciresx402 rescale   9.999        -3  ->  9.999
3437db96d56Sopenharmony_ciresx403 rescale   9.999        -2  -> 10.00     Inexact Rounded
3447db96d56Sopenharmony_ciresx404 rescale   9.999        -1  -> 10.0      Inexact Rounded
3457db96d56Sopenharmony_ciresx405 rescale   9.999         0  -> 10        Inexact Rounded
3467db96d56Sopenharmony_ciresx406 rescale   9.999         1  -> 1E+1      Inexact Rounded
3477db96d56Sopenharmony_ciresx407 rescale   9.999         2  -> 0E+2      Inexact Rounded
3487db96d56Sopenharmony_ci
3497db96d56Sopenharmony_ciresx410 rescale   0.999        -5  ->  0.99900
3507db96d56Sopenharmony_ciresx411 rescale   0.999        -4  ->  0.9990
3517db96d56Sopenharmony_ciresx412 rescale   0.999        -3  ->  0.999
3527db96d56Sopenharmony_ciresx413 rescale   0.999        -2  ->  1.00     Inexact Rounded
3537db96d56Sopenharmony_ciresx414 rescale   0.999        -1  ->  1.0      Inexact Rounded
3547db96d56Sopenharmony_ciresx415 rescale   0.999         0  ->  1        Inexact Rounded
3557db96d56Sopenharmony_ciresx416 rescale   0.999         1  -> 0E+1      Inexact Rounded
3567db96d56Sopenharmony_ci
3577db96d56Sopenharmony_ciresx420 rescale   0.0999       -5  ->  0.09990
3587db96d56Sopenharmony_ciresx421 rescale   0.0999       -4  ->  0.0999
3597db96d56Sopenharmony_ciresx422 rescale   0.0999       -3  ->  0.100    Inexact Rounded
3607db96d56Sopenharmony_ciresx423 rescale   0.0999       -2  ->  0.10     Inexact Rounded
3617db96d56Sopenharmony_ciresx424 rescale   0.0999       -1  ->  0.1      Inexact Rounded
3627db96d56Sopenharmony_ciresx425 rescale   0.0999        0  ->  0        Inexact Rounded
3637db96d56Sopenharmony_ciresx426 rescale   0.0999        1  -> 0E+1      Inexact Rounded
3647db96d56Sopenharmony_ci
3657db96d56Sopenharmony_ciresx430 rescale   0.00999      -5  ->  0.00999
3667db96d56Sopenharmony_ciresx431 rescale   0.00999      -4  ->  0.0100   Inexact Rounded
3677db96d56Sopenharmony_ciresx432 rescale   0.00999      -3  ->  0.010    Inexact Rounded
3687db96d56Sopenharmony_ciresx433 rescale   0.00999      -2  ->  0.01     Inexact Rounded
3697db96d56Sopenharmony_ciresx434 rescale   0.00999      -1  ->  0.0      Inexact Rounded
3707db96d56Sopenharmony_ciresx435 rescale   0.00999       0  ->  0        Inexact Rounded
3717db96d56Sopenharmony_ciresx436 rescale   0.00999       1  -> 0E+1      Inexact Rounded
3727db96d56Sopenharmony_ci
3737db96d56Sopenharmony_ciresx440 rescale   0.000999     -5  ->  0.00100  Inexact Rounded
3747db96d56Sopenharmony_ciresx441 rescale   0.000999     -4  ->  0.0010   Inexact Rounded
3757db96d56Sopenharmony_ciresx442 rescale   0.000999     -3  ->  0.001    Inexact Rounded
3767db96d56Sopenharmony_ciresx443 rescale   0.000999     -2  ->  0.00     Inexact Rounded
3777db96d56Sopenharmony_ciresx444 rescale   0.000999     -1  ->  0.0      Inexact Rounded
3787db96d56Sopenharmony_ciresx445 rescale   0.000999      0  ->  0        Inexact Rounded
3797db96d56Sopenharmony_ciresx446 rescale   0.000999      1  -> 0E+1      Inexact Rounded
3807db96d56Sopenharmony_ci
3817db96d56Sopenharmony_ciprecision: 8
3827db96d56Sopenharmony_ciresx449 rescale   9.999E-15    -23 ->  NaN      Invalid_operation
3837db96d56Sopenharmony_ciresx450 rescale   9.999E-15    -22 ->  9.9990000E-15
3847db96d56Sopenharmony_ciresx451 rescale   9.999E-15    -21 ->  9.999000E-15
3857db96d56Sopenharmony_ciresx452 rescale   9.999E-15    -20 ->  9.99900E-15
3867db96d56Sopenharmony_ciresx453 rescale   9.999E-15    -19 ->  9.9990E-15
3877db96d56Sopenharmony_ciresx454 rescale   9.999E-15    -18 ->  9.999E-15
3887db96d56Sopenharmony_ciresx455 rescale   9.999E-15    -17 ->  1.000E-14 Inexact Rounded
3897db96d56Sopenharmony_ciresx456 rescale   9.999E-15    -16 ->  1.00E-14  Inexact Rounded
3907db96d56Sopenharmony_ciresx457 rescale   9.999E-15    -15 ->  1.0E-14   Inexact Rounded
3917db96d56Sopenharmony_ciresx458 rescale   9.999E-15    -14 ->  1E-14     Inexact Rounded
3927db96d56Sopenharmony_ciresx459 rescale   9.999E-15    -13 ->  0E-13     Inexact Rounded
3937db96d56Sopenharmony_ciresx460 rescale   9.999E-15    -12 ->  0E-12     Inexact Rounded
3947db96d56Sopenharmony_ciresx461 rescale   9.999E-15    -11 ->  0E-11     Inexact Rounded
3957db96d56Sopenharmony_ciresx462 rescale   9.999E-15    -10 ->  0E-10     Inexact Rounded
3967db96d56Sopenharmony_ciresx463 rescale   9.999E-15     -9 ->  0E-9      Inexact Rounded
3977db96d56Sopenharmony_ciresx464 rescale   9.999E-15     -8 ->  0E-8      Inexact Rounded
3987db96d56Sopenharmony_ciresx465 rescale   9.999E-15     -7 ->  0E-7      Inexact Rounded
3997db96d56Sopenharmony_ciresx466 rescale   9.999E-15     -6 ->  0.000000  Inexact Rounded
4007db96d56Sopenharmony_ciresx467 rescale   9.999E-15     -5 ->  0.00000   Inexact Rounded
4017db96d56Sopenharmony_ciresx468 rescale   9.999E-15     -4 ->  0.0000    Inexact Rounded
4027db96d56Sopenharmony_ciresx469 rescale   9.999E-15     -3 ->  0.000     Inexact Rounded
4037db96d56Sopenharmony_ciresx470 rescale   9.999E-15     -2 ->  0.00      Inexact Rounded
4047db96d56Sopenharmony_ciresx471 rescale   9.999E-15     -1 ->  0.0       Inexact Rounded
4057db96d56Sopenharmony_ciresx472 rescale   9.999E-15      0 ->  0         Inexact Rounded
4067db96d56Sopenharmony_ciresx473 rescale   9.999E-15      1 ->  0E+1      Inexact Rounded
4077db96d56Sopenharmony_ci
4087db96d56Sopenharmony_ci-- [additional tests for "don't fit" edge cases are in
4097db96d56Sopenharmony_ci-- quantize.decTest.  Here's a critical one.]
4107db96d56Sopenharmony_ciprecision: 3
4117db96d56Sopenharmony_ciresx480 rescale   0.9999        -3 ->  NaN       Invalid_operation
4127db96d56Sopenharmony_ci
4137db96d56Sopenharmony_ci
4147db96d56Sopenharmony_ci-- long operand checks [rhs checks removed]
4157db96d56Sopenharmony_cimaxexponent: 999
4167db96d56Sopenharmony_ciminexponent: -999
4177db96d56Sopenharmony_ciprecision: 9
4187db96d56Sopenharmony_ciresx481 rescale 12345678000 +3 -> 1.2345678E+10 Rounded
4197db96d56Sopenharmony_ciresx482 rescale 1234567800  +1 -> 1.23456780E+9 Rounded
4207db96d56Sopenharmony_ciresx483 rescale 1234567890  +1 -> 1.23456789E+9 Rounded
4217db96d56Sopenharmony_ciresx484 rescale 1234567891  +1 -> 1.23456789E+9 Inexact Rounded
4227db96d56Sopenharmony_ciresx485 rescale 12345678901 +2 -> 1.23456789E+10 Inexact Rounded
4237db96d56Sopenharmony_ciresx486 rescale 1234567896  +1 -> 1.23456790E+9 Inexact Rounded
4247db96d56Sopenharmony_ci-- a potential double-round
4257db96d56Sopenharmony_ciresx487 rescale 1234.987643 -4 -> 1234.9876 Inexact Rounded
4267db96d56Sopenharmony_ciresx488 rescale 1234.987647 -4 -> 1234.9876 Inexact Rounded
4277db96d56Sopenharmony_ci
4287db96d56Sopenharmony_ciprecision: 15
4297db96d56Sopenharmony_ciresx491 rescale 12345678000 +3 -> 1.2345678E+10 Rounded
4307db96d56Sopenharmony_ciresx492 rescale 1234567800  +1 -> 1.23456780E+9 Rounded
4317db96d56Sopenharmony_ciresx493 rescale 1234567890  +1 -> 1.23456789E+9 Rounded
4327db96d56Sopenharmony_ciresx494 rescale 1234567891  +1 -> 1.23456789E+9 Inexact Rounded
4337db96d56Sopenharmony_ciresx495 rescale 12345678901 +2 -> 1.23456789E+10 Inexact Rounded
4347db96d56Sopenharmony_ciresx496 rescale 1234567896  +1 -> 1.23456790E+9 Inexact Rounded
4357db96d56Sopenharmony_ciresx497 rescale 1234.987643 -4 -> 1234.9876 Inexact Rounded
4367db96d56Sopenharmony_ciresx498 rescale 1234.987647 -4 -> 1234.9876 Inexact Rounded
4377db96d56Sopenharmony_ci
4387db96d56Sopenharmony_ci-- Zeros
4397db96d56Sopenharmony_ciresx500 rescale   0     1 ->  0E+1
4407db96d56Sopenharmony_ciresx501 rescale   0     0 ->  0
4417db96d56Sopenharmony_ciresx502 rescale   0    -1 ->  0.0
4427db96d56Sopenharmony_ciresx503 rescale   0.0  -1 ->  0.0
4437db96d56Sopenharmony_ciresx504 rescale   0.0   0 ->  0
4447db96d56Sopenharmony_ciresx505 rescale   0.0  +1 ->  0E+1
4457db96d56Sopenharmony_ciresx506 rescale   0E+1 -1 ->  0.0
4467db96d56Sopenharmony_ciresx507 rescale   0E+1  0 ->  0
4477db96d56Sopenharmony_ciresx508 rescale   0E+1 +1 ->  0E+1
4487db96d56Sopenharmony_ciresx509 rescale  -0     1 -> -0E+1
4497db96d56Sopenharmony_ciresx510 rescale  -0     0 -> -0
4507db96d56Sopenharmony_ciresx511 rescale  -0    -1 -> -0.0
4517db96d56Sopenharmony_ciresx512 rescale  -0.0  -1 -> -0.0
4527db96d56Sopenharmony_ciresx513 rescale  -0.0   0 -> -0
4537db96d56Sopenharmony_ciresx514 rescale  -0.0  +1 -> -0E+1
4547db96d56Sopenharmony_ciresx515 rescale  -0E+1 -1 -> -0.0
4557db96d56Sopenharmony_ciresx516 rescale  -0E+1  0 -> -0
4567db96d56Sopenharmony_ciresx517 rescale  -0E+1 +1 -> -0E+1
4577db96d56Sopenharmony_ci
4587db96d56Sopenharmony_ci-- Suspicious RHS values
4597db96d56Sopenharmony_cimaxexponent: 999999999
4607db96d56Sopenharmony_ciminexponent: -999999999
4617db96d56Sopenharmony_ciprecision: 15
4627db96d56Sopenharmony_ciresx520 rescale   1.234    999999E+3 -> 0E+999999000 Inexact Rounded
4637db96d56Sopenharmony_ciresx521 rescale 123.456    999999E+3 -> 0E+999999000 Inexact Rounded
4647db96d56Sopenharmony_ciresx522 rescale   1.234    999999999 -> 0E+999999999 Inexact Rounded
4657db96d56Sopenharmony_ciresx523 rescale 123.456    999999999 -> 0E+999999999 Inexact Rounded
4667db96d56Sopenharmony_ciresx524 rescale 123.456   1000000000 -> NaN Invalid_operation
4677db96d56Sopenharmony_ciresx525 rescale 123.456  12345678903 -> NaN Invalid_operation
4687db96d56Sopenharmony_ci-- next four are "won't fit" overflows
4697db96d56Sopenharmony_ciresx526 rescale   1.234   -999999E+3 -> NaN Invalid_operation
4707db96d56Sopenharmony_ciresx527 rescale 123.456   -999999E+3 -> NaN Invalid_operation
4717db96d56Sopenharmony_ciresx528 rescale   1.234   -999999999 -> NaN Invalid_operation
4727db96d56Sopenharmony_ciresx529 rescale 123.456   -999999999 -> NaN Invalid_operation
4737db96d56Sopenharmony_ciresx530 rescale 123.456  -1000000014 -> NaN Invalid_operation
4747db96d56Sopenharmony_ciresx531 rescale 123.456 -12345678903 -> NaN Invalid_operation
4757db96d56Sopenharmony_ci
4767db96d56Sopenharmony_cimaxexponent: 999
4777db96d56Sopenharmony_ciminexponent: -999
4787db96d56Sopenharmony_ciprecision: 15
4797db96d56Sopenharmony_ciresx532 rescale   1.234E+999    999 -> 1E+999    Inexact Rounded
4807db96d56Sopenharmony_ciresx533 rescale   1.234E+998    999 -> 0E+999    Inexact Rounded
4817db96d56Sopenharmony_ciresx534 rescale   1.234         999 -> 0E+999    Inexact Rounded
4827db96d56Sopenharmony_ciresx535 rescale   1.234        1000 -> NaN Invalid_operation
4837db96d56Sopenharmony_ciresx536 rescale   1.234        5000 -> NaN Invalid_operation
4847db96d56Sopenharmony_ciresx537 rescale   0            -999 -> 0E-999
4857db96d56Sopenharmony_ci-- next two are "won't fit" overflows
4867db96d56Sopenharmony_ciresx538 rescale   1.234        -999 -> NaN Invalid_operation
4877db96d56Sopenharmony_ciresx539 rescale   1.234       -1000 -> NaN Invalid_operation
4887db96d56Sopenharmony_ciresx540 rescale   1.234       -5000 -> NaN Invalid_operation
4897db96d56Sopenharmony_ci-- [more below]
4907db96d56Sopenharmony_ci
4917db96d56Sopenharmony_ci-- check bounds (lhs maybe out of range for destination, etc.)
4927db96d56Sopenharmony_ciprecision:     7
4937db96d56Sopenharmony_ciresx541 rescale   1E+999   +999 -> 1E+999
4947db96d56Sopenharmony_ciresx542 rescale   1E+1000  +999 -> NaN Invalid_operation
4957db96d56Sopenharmony_ciresx543 rescale   1E+999  +1000 -> NaN Invalid_operation
4967db96d56Sopenharmony_ciresx544 rescale   1E-999   -999 -> 1E-999
4977db96d56Sopenharmony_ciresx545 rescale   1E-1000  -999 -> 0E-999    Inexact Rounded
4987db96d56Sopenharmony_ciresx546 rescale   1E-999  -1000 -> 1.0E-999
4997db96d56Sopenharmony_ciresx547 rescale   1E-1005  -999 -> 0E-999    Inexact Rounded
5007db96d56Sopenharmony_ciresx548 rescale   1E-1006  -999 -> 0E-999    Inexact Rounded
5017db96d56Sopenharmony_ciresx549 rescale   1E-1007  -999 -> 0E-999    Inexact Rounded
5027db96d56Sopenharmony_ciresx550 rescale   1E-998  -1005 -> NaN Invalid_operation  -- won't fit
5037db96d56Sopenharmony_ciresx551 rescale   1E-999  -1005 -> 1.000000E-999
5047db96d56Sopenharmony_ciresx552 rescale   1E-1000 -1005 -> 1.00000E-1000 Subnormal
5057db96d56Sopenharmony_ciresx553 rescale   1E-999  -1006 -> NaN Invalid_operation
5067db96d56Sopenharmony_ciresx554 rescale   1E-999  -1007 -> NaN Invalid_operation
5077db96d56Sopenharmony_ci-- related subnormal rounding
5087db96d56Sopenharmony_ciresx555 rescale   1.666666E-999  -1005 -> 1.666666E-999
5097db96d56Sopenharmony_ciresx556 rescale   1.666666E-1000 -1005 -> 1.66667E-1000  Subnormal Inexact Rounded
5107db96d56Sopenharmony_ciresx557 rescale   1.666666E-1001 -1005 -> 1.6667E-1001  Subnormal Inexact Rounded
5117db96d56Sopenharmony_ciresx558 rescale   1.666666E-1002 -1005 -> 1.667E-1002  Subnormal Inexact Rounded
5127db96d56Sopenharmony_ciresx559 rescale   1.666666E-1003 -1005 -> 1.67E-1003  Subnormal Inexact Rounded
5137db96d56Sopenharmony_ciresx560 rescale   1.666666E-1004 -1005 -> 1.7E-1004  Subnormal Inexact Rounded
5147db96d56Sopenharmony_ciresx561 rescale   1.666666E-1005 -1005 -> 2E-1005  Subnormal Inexact Rounded
5157db96d56Sopenharmony_ciresx562 rescale   1.666666E-1006 -1005 -> 0E-1005   Inexact Rounded
5167db96d56Sopenharmony_ciresx563 rescale   1.666666E-1007 -1005 -> 0E-1005   Inexact Rounded
5177db96d56Sopenharmony_ci
5187db96d56Sopenharmony_ci-- fractional RHS, some good and some bad
5197db96d56Sopenharmony_ciprecision: 9
5207db96d56Sopenharmony_ciresx564 rescale   222 +2.0           -> 2E+2 Inexact Rounded
5217db96d56Sopenharmony_ciresx565 rescale   222 +2.00000000    -> 2E+2 Inexact Rounded
5227db96d56Sopenharmony_ciresx566 rescale   222 +2.00100000000 -> NaN Invalid_operation
5237db96d56Sopenharmony_ciresx567 rescale   222 +2.000001      -> NaN Invalid_operation
5247db96d56Sopenharmony_ciresx568 rescale   222 +2.000000001   -> NaN Invalid_operation
5257db96d56Sopenharmony_ciresx569 rescale   222 +2.0000000001  -> NaN Invalid_operation
5267db96d56Sopenharmony_ciresx570 rescale   222 +2.00000000001 -> NaN Invalid_operation
5277db96d56Sopenharmony_ciresx571 rescale   222 +2.99999999999 -> NaN Invalid_operation
5287db96d56Sopenharmony_ciresx572 rescale   222 -2.00000000    -> 222.00
5297db96d56Sopenharmony_ciresx573 rescale   222 -2.00100000000 -> NaN Invalid_operation
5307db96d56Sopenharmony_ciresx574 rescale   222 -2.0000001000  -> NaN Invalid_operation
5317db96d56Sopenharmony_ciresx575 rescale   222 -2.00000000001 -> NaN Invalid_operation
5327db96d56Sopenharmony_ciresx576 rescale   222 -2.99999999999 -> NaN Invalid_operation
5337db96d56Sopenharmony_ci
5347db96d56Sopenharmony_ci-- Specials
5357db96d56Sopenharmony_ciresx580 rescale  Inf  -Inf   ->  Infinity
5367db96d56Sopenharmony_ciresx581 rescale  Inf  -1000  ->  NaN  Invalid_operation
5377db96d56Sopenharmony_ciresx582 rescale  Inf  -1     ->  NaN  Invalid_operation
5387db96d56Sopenharmony_ciresx583 rescale  Inf   0     ->  NaN  Invalid_operation
5397db96d56Sopenharmony_ciresx584 rescale  Inf   1     ->  NaN  Invalid_operation
5407db96d56Sopenharmony_ciresx585 rescale  Inf   1000  ->  NaN  Invalid_operation
5417db96d56Sopenharmony_ciresx586 rescale  Inf   Inf   ->  Infinity
5427db96d56Sopenharmony_ciresx587 rescale -1000  Inf   ->  NaN  Invalid_operation
5437db96d56Sopenharmony_ciresx588 rescale -Inf   Inf   ->  -Infinity
5447db96d56Sopenharmony_ciresx589 rescale -1     Inf   ->  NaN  Invalid_operation
5457db96d56Sopenharmony_ciresx590 rescale  0     Inf   ->  NaN  Invalid_operation
5467db96d56Sopenharmony_ciresx591 rescale  1     Inf   ->  NaN  Invalid_operation
5477db96d56Sopenharmony_ciresx592 rescale  1000  Inf   ->  NaN  Invalid_operation
5487db96d56Sopenharmony_ciresx593 rescale  Inf   Inf   ->  Infinity
5497db96d56Sopenharmony_ciresx594 rescale  Inf  -0     ->  NaN  Invalid_operation
5507db96d56Sopenharmony_ciresx595 rescale -0     Inf   ->  NaN  Invalid_operation
5517db96d56Sopenharmony_ci
5527db96d56Sopenharmony_ciresx600 rescale -Inf  -Inf   ->  -Infinity
5537db96d56Sopenharmony_ciresx601 rescale -Inf  -1000  ->  NaN  Invalid_operation
5547db96d56Sopenharmony_ciresx602 rescale -Inf  -1     ->  NaN  Invalid_operation
5557db96d56Sopenharmony_ciresx603 rescale -Inf   0     ->  NaN  Invalid_operation
5567db96d56Sopenharmony_ciresx604 rescale -Inf   1     ->  NaN  Invalid_operation
5577db96d56Sopenharmony_ciresx605 rescale -Inf   1000  ->  NaN  Invalid_operation
5587db96d56Sopenharmony_ciresx606 rescale -Inf   Inf   ->  -Infinity
5597db96d56Sopenharmony_ciresx607 rescale -1000  Inf   ->  NaN  Invalid_operation
5607db96d56Sopenharmony_ciresx608 rescale -Inf  -Inf   ->  -Infinity
5617db96d56Sopenharmony_ciresx609 rescale -1    -Inf   ->  NaN  Invalid_operation
5627db96d56Sopenharmony_ciresx610 rescale  0    -Inf   ->  NaN  Invalid_operation
5637db96d56Sopenharmony_ciresx611 rescale  1    -Inf   ->  NaN  Invalid_operation
5647db96d56Sopenharmony_ciresx612 rescale  1000 -Inf   ->  NaN  Invalid_operation
5657db96d56Sopenharmony_ciresx613 rescale  Inf  -Inf   ->  Infinity
5667db96d56Sopenharmony_ciresx614 rescale -Inf  -0     ->  NaN  Invalid_operation
5677db96d56Sopenharmony_ciresx615 rescale -0    -Inf   ->  NaN  Invalid_operation
5687db96d56Sopenharmony_ci
5697db96d56Sopenharmony_ciresx621 rescale  NaN -Inf    ->  NaN
5707db96d56Sopenharmony_ciresx622 rescale  NaN -1000   ->  NaN
5717db96d56Sopenharmony_ciresx623 rescale  NaN -1      ->  NaN
5727db96d56Sopenharmony_ciresx624 rescale  NaN  0      ->  NaN
5737db96d56Sopenharmony_ciresx625 rescale  NaN  1      ->  NaN
5747db96d56Sopenharmony_ciresx626 rescale  NaN  1000   ->  NaN
5757db96d56Sopenharmony_ciresx627 rescale  NaN  Inf    ->  NaN
5767db96d56Sopenharmony_ciresx628 rescale  NaN  NaN    ->  NaN
5777db96d56Sopenharmony_ciresx629 rescale -Inf  NaN    ->  NaN
5787db96d56Sopenharmony_ciresx630 rescale -1000 NaN    ->  NaN
5797db96d56Sopenharmony_ciresx631 rescale -1    NaN    ->  NaN
5807db96d56Sopenharmony_ciresx632 rescale  0    NaN    ->  NaN
5817db96d56Sopenharmony_ciresx633 rescale  1   -NaN    -> -NaN
5827db96d56Sopenharmony_ciresx634 rescale  1000 NaN    ->  NaN
5837db96d56Sopenharmony_ciresx635 rescale  Inf  NaN    ->  NaN
5847db96d56Sopenharmony_ciresx636 rescale  NaN -0      ->  NaN
5857db96d56Sopenharmony_ciresx637 rescale -0    NaN    ->  NaN
5867db96d56Sopenharmony_ci
5877db96d56Sopenharmony_ciresx641 rescale  sNaN -Inf   ->  NaN  Invalid_operation
5887db96d56Sopenharmony_ciresx642 rescale  sNaN -1000  ->  NaN  Invalid_operation
5897db96d56Sopenharmony_ciresx643 rescale  sNaN -1     ->  NaN  Invalid_operation
5907db96d56Sopenharmony_ciresx644 rescale  sNaN  0     ->  NaN  Invalid_operation
5917db96d56Sopenharmony_ciresx645 rescale  sNaN  1     ->  NaN  Invalid_operation
5927db96d56Sopenharmony_ciresx646 rescale  sNaN  1000  ->  NaN  Invalid_operation
5937db96d56Sopenharmony_ciresx647 rescale -sNaN  NaN   -> -NaN  Invalid_operation
5947db96d56Sopenharmony_ciresx648 rescale  sNaN -sNaN  ->  NaN  Invalid_operation
5957db96d56Sopenharmony_ciresx649 rescale  NaN  sNaN   ->  NaN  Invalid_operation
5967db96d56Sopenharmony_ciresx650 rescale -Inf  sNaN   ->  NaN  Invalid_operation
5977db96d56Sopenharmony_ciresx651 rescale -1000 sNaN   ->  NaN  Invalid_operation
5987db96d56Sopenharmony_ciresx652 rescale -1    sNaN   ->  NaN  Invalid_operation
5997db96d56Sopenharmony_ciresx653 rescale  0    sNaN   ->  NaN  Invalid_operation
6007db96d56Sopenharmony_ciresx654 rescale  1   -sNaN   -> -NaN  Invalid_operation
6017db96d56Sopenharmony_ciresx655 rescale  1000 sNaN   ->  NaN  Invalid_operation
6027db96d56Sopenharmony_ciresx656 rescale  Inf  sNaN   ->  NaN  Invalid_operation
6037db96d56Sopenharmony_ciresx657 rescale  NaN  sNaN   ->  NaN  Invalid_operation
6047db96d56Sopenharmony_ciresx658 rescale  sNaN -0     ->  NaN  Invalid_operation
6057db96d56Sopenharmony_ciresx659 rescale -0    sNaN   ->  NaN  Invalid_operation
6067db96d56Sopenharmony_ci
6077db96d56Sopenharmony_ci-- propagating NaNs
6087db96d56Sopenharmony_ciresx661 rescale  NaN9 -Inf   ->  NaN9
6097db96d56Sopenharmony_ciresx662 rescale  NaN81 919   ->  NaN81
6107db96d56Sopenharmony_ciresx663 rescale  NaN72 Inf   ->  NaN72
6117db96d56Sopenharmony_ciresx664 rescale -NaN66 NaN5  -> -NaN66
6127db96d56Sopenharmony_ciresx665 rescale -Inf   NaN4  ->  NaN4
6137db96d56Sopenharmony_ciresx666 rescale -919   NaN32 ->  NaN32
6147db96d56Sopenharmony_ciresx667 rescale  Inf   NaN2  ->  NaN2
6157db96d56Sopenharmony_ci
6167db96d56Sopenharmony_ciresx671 rescale  sNaN99 -Inf    ->  NaN99 Invalid_operation
6177db96d56Sopenharmony_ciresx672 rescale -sNaN98 -11     -> -NaN98 Invalid_operation
6187db96d56Sopenharmony_ciresx673 rescale  sNaN97  NaN    ->  NaN97 Invalid_operation
6197db96d56Sopenharmony_ciresx674 rescale  sNaN16 sNaN94  ->  NaN16 Invalid_operation
6207db96d56Sopenharmony_ciresx675 rescale  NaN95  sNaN93  ->  NaN93 Invalid_operation
6217db96d56Sopenharmony_ciresx676 rescale -Inf    sNaN92  ->  NaN92 Invalid_operation
6227db96d56Sopenharmony_ciresx677 rescale  088   -sNaN91  -> -NaN91 Invalid_operation
6237db96d56Sopenharmony_ciresx678 rescale  Inf   -sNaN90  -> -NaN90 Invalid_operation
6247db96d56Sopenharmony_ciresx679 rescale  NaN    sNaN87  ->  NaN87 Invalid_operation
6257db96d56Sopenharmony_ci
6267db96d56Sopenharmony_ci-- subnormals and underflow
6277db96d56Sopenharmony_ciprecision: 4
6287db96d56Sopenharmony_cimaxexponent: 999
6297db96d56Sopenharmony_ciminexponent: -999
6307db96d56Sopenharmony_ciresx710 rescale  1.00E-999    -999  ->   1E-999    Rounded
6317db96d56Sopenharmony_ciresx711 rescale  0.1E-999    -1000  ->   1E-1000   Subnormal
6327db96d56Sopenharmony_ciresx712 rescale  0.10E-999   -1000  ->   1E-1000   Subnormal Rounded
6337db96d56Sopenharmony_ciresx713 rescale  0.100E-999  -1000  ->   1E-1000   Subnormal Rounded
6347db96d56Sopenharmony_ciresx714 rescale  0.01E-999   -1001  ->   1E-1001   Subnormal
6357db96d56Sopenharmony_ci-- next is rounded to Emin
6367db96d56Sopenharmony_ciresx715 rescale  0.999E-999   -999  ->   1E-999    Inexact Rounded
6377db96d56Sopenharmony_ciresx716 rescale  0.099E-999  -1000  ->   1E-1000   Inexact Rounded Subnormal
6387db96d56Sopenharmony_ci
6397db96d56Sopenharmony_ciresx717 rescale  0.009E-999  -1001  ->   1E-1001   Inexact Rounded Subnormal
6407db96d56Sopenharmony_ciresx718 rescale  0.001E-999  -1001  ->   0E-1001   Inexact Rounded
6417db96d56Sopenharmony_ciresx719 rescale  0.0009E-999 -1001  ->   0E-1001   Inexact Rounded
6427db96d56Sopenharmony_ciresx720 rescale  0.0001E-999 -1001  ->   0E-1001   Inexact Rounded
6437db96d56Sopenharmony_ci
6447db96d56Sopenharmony_ciresx730 rescale -1.00E-999   -999  ->  -1E-999     Rounded
6457db96d56Sopenharmony_ciresx731 rescale -0.1E-999    -999  ->  -0E-999     Rounded Inexact
6467db96d56Sopenharmony_ciresx732 rescale -0.10E-999   -999  ->  -0E-999     Rounded Inexact
6477db96d56Sopenharmony_ciresx733 rescale -0.100E-999  -999  ->  -0E-999     Rounded Inexact
6487db96d56Sopenharmony_ciresx734 rescale -0.01E-999   -999  ->  -0E-999     Inexact Rounded
6497db96d56Sopenharmony_ci-- next is rounded to Emin
6507db96d56Sopenharmony_ciresx735 rescale -0.999E-999  -999  ->  -1E-999     Inexact Rounded
6517db96d56Sopenharmony_ciresx736 rescale -0.099E-999  -999  ->  -0E-999     Inexact Rounded
6527db96d56Sopenharmony_ciresx737 rescale -0.009E-999  -999  ->  -0E-999     Inexact Rounded
6537db96d56Sopenharmony_ciresx738 rescale -0.001E-999  -999  ->  -0E-999     Inexact Rounded
6547db96d56Sopenharmony_ciresx739 rescale -0.0001E-999 -999  ->  -0E-999     Inexact Rounded
6557db96d56Sopenharmony_ci
6567db96d56Sopenharmony_ciresx740 rescale -1.00E-999   -1000 ->  -1.0E-999   Rounded
6577db96d56Sopenharmony_ciresx741 rescale -0.1E-999    -1000 ->  -1E-1000    Subnormal
6587db96d56Sopenharmony_ciresx742 rescale -0.10E-999   -1000 ->  -1E-1000    Subnormal Rounded
6597db96d56Sopenharmony_ciresx743 rescale -0.100E-999  -1000 ->  -1E-1000    Subnormal Rounded
6607db96d56Sopenharmony_ciresx744 rescale -0.01E-999   -1000 ->  -0E-1000    Inexact Rounded
6617db96d56Sopenharmony_ci-- next is rounded to Emin
6627db96d56Sopenharmony_ciresx745 rescale -0.999E-999  -1000 ->  -1.0E-999   Inexact Rounded
6637db96d56Sopenharmony_ciresx746 rescale -0.099E-999  -1000 ->  -1E-1000    Inexact Rounded Subnormal
6647db96d56Sopenharmony_ciresx747 rescale -0.009E-999  -1000 ->  -0E-1000    Inexact Rounded
6657db96d56Sopenharmony_ciresx748 rescale -0.001E-999  -1000 ->  -0E-1000    Inexact Rounded
6667db96d56Sopenharmony_ciresx749 rescale -0.0001E-999 -1000 ->  -0E-1000    Inexact Rounded
6677db96d56Sopenharmony_ci
6687db96d56Sopenharmony_ciresx750 rescale -1.00E-999   -1001 ->  -1.00E-999
6697db96d56Sopenharmony_ciresx751 rescale -0.1E-999    -1001 ->  -1.0E-1000  Subnormal
6707db96d56Sopenharmony_ciresx752 rescale -0.10E-999   -1001 ->  -1.0E-1000  Subnormal
6717db96d56Sopenharmony_ciresx753 rescale -0.100E-999  -1001 ->  -1.0E-1000  Subnormal Rounded
6727db96d56Sopenharmony_ciresx754 rescale -0.01E-999   -1001 ->  -1E-1001    Subnormal
6737db96d56Sopenharmony_ci-- next is rounded to Emin
6747db96d56Sopenharmony_ciresx755 rescale -0.999E-999  -1001 ->  -1.00E-999  Inexact Rounded
6757db96d56Sopenharmony_ciresx756 rescale -0.099E-999  -1001 ->  -1.0E-1000  Inexact Rounded Subnormal
6767db96d56Sopenharmony_ciresx757 rescale -0.009E-999  -1001 ->  -1E-1001    Inexact Rounded Subnormal
6777db96d56Sopenharmony_ciresx758 rescale -0.001E-999  -1001 ->  -0E-1001    Inexact Rounded
6787db96d56Sopenharmony_ciresx759 rescale -0.0001E-999 -1001 ->  -0E-1001    Inexact Rounded
6797db96d56Sopenharmony_ci
6807db96d56Sopenharmony_ciresx760 rescale -1.00E-999   -1002 ->  -1.000E-999
6817db96d56Sopenharmony_ciresx761 rescale -0.1E-999    -1002 ->  -1.00E-1000  Subnormal
6827db96d56Sopenharmony_ciresx762 rescale -0.10E-999   -1002 ->  -1.00E-1000  Subnormal
6837db96d56Sopenharmony_ciresx763 rescale -0.100E-999  -1002 ->  -1.00E-1000  Subnormal
6847db96d56Sopenharmony_ciresx764 rescale -0.01E-999   -1002 ->  -1.0E-1001   Subnormal
6857db96d56Sopenharmony_ciresx765 rescale -0.999E-999  -1002 ->  -9.99E-1000  Subnormal
6867db96d56Sopenharmony_ciresx766 rescale -0.099E-999  -1002 ->  -9.9E-1001   Subnormal
6877db96d56Sopenharmony_ciresx767 rescale -0.009E-999  -1002 ->  -9E-1002     Subnormal
6887db96d56Sopenharmony_ciresx768 rescale -0.001E-999  -1002 ->  -1E-1002     Subnormal
6897db96d56Sopenharmony_ciresx769 rescale -0.0001E-999 -1002 ->  -0E-1002     Inexact Rounded
6907db96d56Sopenharmony_ci
6917db96d56Sopenharmony_ci-- rhs must be no less than Etiny
6927db96d56Sopenharmony_ciresx770 rescale -1.00E-999   -1003 ->  NaN Invalid_operation
6937db96d56Sopenharmony_ciresx771 rescale -0.1E-999    -1003 ->  NaN Invalid_operation
6947db96d56Sopenharmony_ciresx772 rescale -0.10E-999   -1003 ->  NaN Invalid_operation
6957db96d56Sopenharmony_ciresx773 rescale -0.100E-999  -1003 ->  NaN Invalid_operation
6967db96d56Sopenharmony_ciresx774 rescale -0.01E-999   -1003 ->  NaN Invalid_operation
6977db96d56Sopenharmony_ciresx775 rescale -0.999E-999  -1003 ->  NaN Invalid_operation
6987db96d56Sopenharmony_ciresx776 rescale -0.099E-999  -1003 ->  NaN Invalid_operation
6997db96d56Sopenharmony_ciresx777 rescale -0.009E-999  -1003 ->  NaN Invalid_operation
7007db96d56Sopenharmony_ciresx778 rescale -0.001E-999  -1003 ->  NaN Invalid_operation
7017db96d56Sopenharmony_ciresx779 rescale -0.0001E-999 -1003 ->  NaN Invalid_operation
7027db96d56Sopenharmony_ci
7037db96d56Sopenharmony_ciprecision:   9
7047db96d56Sopenharmony_cimaxExponent: 999999999
7057db96d56Sopenharmony_ciminexponent: -999999999
7067db96d56Sopenharmony_ci
7077db96d56Sopenharmony_ci-- getInt worries
7087db96d56Sopenharmony_ciresx801 rescale   0   1000000000 -> NaN Invalid_operation
7097db96d56Sopenharmony_ciresx802 rescale   0  -1000000000 -> 0E-1000000000
7107db96d56Sopenharmony_ciresx803 rescale   0   2000000000 -> NaN Invalid_operation
7117db96d56Sopenharmony_ciresx804 rescale   0  -2000000000 -> NaN Invalid_operation
7127db96d56Sopenharmony_ciresx805 rescale   0   3000000000 -> NaN Invalid_operation
7137db96d56Sopenharmony_ciresx806 rescale   0  -3000000000 -> NaN Invalid_operation
7147db96d56Sopenharmony_ciresx807 rescale   0   4000000000 -> NaN Invalid_operation
7157db96d56Sopenharmony_ciresx808 rescale   0  -4000000000 -> NaN Invalid_operation
7167db96d56Sopenharmony_ciresx809 rescale   0   5000000000 -> NaN Invalid_operation
7177db96d56Sopenharmony_ciresx810 rescale   0  -5000000000 -> NaN Invalid_operation
7187db96d56Sopenharmony_ciresx811 rescale   0   6000000000 -> NaN Invalid_operation
7197db96d56Sopenharmony_ciresx812 rescale   0  -6000000000 -> NaN Invalid_operation
7207db96d56Sopenharmony_ciresx813 rescale   0   7000000000 -> NaN Invalid_operation
7217db96d56Sopenharmony_ciresx814 rescale   0  -7000000000 -> NaN Invalid_operation
7227db96d56Sopenharmony_ciresx815 rescale   0   8000000000 -> NaN Invalid_operation
7237db96d56Sopenharmony_ciresx816 rescale   0  -8000000000 -> NaN Invalid_operation
7247db96d56Sopenharmony_ciresx817 rescale   0   9000000000 -> NaN Invalid_operation
7257db96d56Sopenharmony_ciresx818 rescale   0  -9000000000 -> NaN Invalid_operation
7267db96d56Sopenharmony_ciresx819 rescale   0   9999999999 -> NaN Invalid_operation
7277db96d56Sopenharmony_ciresx820 rescale   0  -9999999999 -> NaN Invalid_operation
7287db96d56Sopenharmony_ciresx821 rescale   0   10000000000 -> NaN Invalid_operation
7297db96d56Sopenharmony_ciresx822 rescale   0  -10000000000 -> NaN Invalid_operation
7307db96d56Sopenharmony_ci
7317db96d56Sopenharmony_ciresx831 rescale   1   0E-1       -> 1
7327db96d56Sopenharmony_ciresx832 rescale   1   0E-2       -> 1
7337db96d56Sopenharmony_ciresx833 rescale   1   0E-3       -> 1
7347db96d56Sopenharmony_ciresx834 rescale   1   0E-4       -> 1
7357db96d56Sopenharmony_ciresx835 rescale   1   0E-100     -> 1
7367db96d56Sopenharmony_ciresx836 rescale   1   0E-100000  -> 1
7377db96d56Sopenharmony_ciresx837 rescale   1   0E+100     -> 1
7387db96d56Sopenharmony_ciresx838 rescale   1   0E+100000  -> 1
7397db96d56Sopenharmony_ci
7407db96d56Sopenharmony_ciresx841 rescale   0   5E-1000000 -> NaN Invalid_operation
7417db96d56Sopenharmony_ciresx842 rescale   0   5E-1000000 -> NaN Invalid_operation
7427db96d56Sopenharmony_ciresx843 rescale   0    999999999 -> 0E+999999999
7437db96d56Sopenharmony_ciresx844 rescale   0   1000000000 -> NaN Invalid_operation
7447db96d56Sopenharmony_ciresx845 rescale   0   -999999999 -> 0E-999999999
7457db96d56Sopenharmony_ciresx846 rescale   0  -1000000000 -> 0E-1000000000
7467db96d56Sopenharmony_ciresx847 rescale   0  -1000000001 -> 0E-1000000001
7477db96d56Sopenharmony_ciresx848 rescale   0  -1000000002 -> 0E-1000000002
7487db96d56Sopenharmony_ciresx849 rescale   0  -1000000003 -> 0E-1000000003
7497db96d56Sopenharmony_ciresx850 rescale   0  -1000000004 -> 0E-1000000004
7507db96d56Sopenharmony_ciresx851 rescale   0  -1000000005 -> 0E-1000000005
7517db96d56Sopenharmony_ciresx852 rescale   0  -1000000006 -> 0E-1000000006
7527db96d56Sopenharmony_ciresx853 rescale   0  -1000000007 -> 0E-1000000007
7537db96d56Sopenharmony_ciresx854 rescale   0  -1000000008 -> NaN Invalid_operation
7547db96d56Sopenharmony_ci
7557db96d56Sopenharmony_ciresx861 rescale   1  +2147483649 -> NaN Invalid_operation
7567db96d56Sopenharmony_ciresx862 rescale   1  +2147483648 -> NaN Invalid_operation
7577db96d56Sopenharmony_ciresx863 rescale   1  +2147483647 -> NaN Invalid_operation
7587db96d56Sopenharmony_ciresx864 rescale   1  -2147483647 -> NaN Invalid_operation
7597db96d56Sopenharmony_ciresx865 rescale   1  -2147483648 -> NaN Invalid_operation
7607db96d56Sopenharmony_ciresx866 rescale   1  -2147483649 -> NaN Invalid_operation
7617db96d56Sopenharmony_ci
7627db96d56Sopenharmony_ci-- Null tests
7637db96d56Sopenharmony_cires900 rescale 10  # -> NaN Invalid_operation
7647db96d56Sopenharmony_cires901 rescale  # 10 -> NaN Invalid_operation
765