17db96d56Sopenharmony_ci------------------------------------------------------------------------
27db96d56Sopenharmony_ci-- log10.decTest -- decimal logarithm in base 10                      --
37db96d56Sopenharmony_ci-- Copyright (c) IBM Corporation, 2005, 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-- This emphasises the testing of notable cases, as they will often
237db96d56Sopenharmony_ci-- have unusual paths (especially the 10**n results).
247db96d56Sopenharmony_ci
257db96d56Sopenharmony_ciextended:    1
267db96d56Sopenharmony_ciprecision:   16
277db96d56Sopenharmony_cirounding:    half_even
287db96d56Sopenharmony_cimaxExponent: 384
297db96d56Sopenharmony_ciminexponent: -383
307db96d56Sopenharmony_ci
317db96d56Sopenharmony_ci-- examples in specification
327db96d56Sopenharmony_ciprecision:   9
337db96d56Sopenharmony_cilogxs000 log10  0                 -> -Infinity
347db96d56Sopenharmony_cilogxs001 log10  0.001             -> -3
357db96d56Sopenharmony_cilogxs002 log10  1                 ->  0
367db96d56Sopenharmony_cilogxs003 log10  2                 ->  0.301029996         Inexact Rounded
377db96d56Sopenharmony_cilogxs004 log10  10                ->  1
387db96d56Sopenharmony_cilogxs005 log10  70                ->  1.84509804          Inexact Rounded
397db96d56Sopenharmony_cilogxs006 log10 +Infinity          ->  Infinity
407db96d56Sopenharmony_ci
417db96d56Sopenharmony_ci
427db96d56Sopenharmony_ci-- basics (examples in specification, etc.)
437db96d56Sopenharmony_ciprecision:   16
447db96d56Sopenharmony_cilogx0000 log10  0                 -> -Infinity
457db96d56Sopenharmony_cilogx0001 log10  7E-1000           -> -999.1549019599857   Inexact Rounded
467db96d56Sopenharmony_cilogx0002 log10  1.1E-9            -> -8.958607314841775   Inexact Rounded
477db96d56Sopenharmony_cilogx0003 log10  0.0007            -> -3.154901959985743   Inexact Rounded
487db96d56Sopenharmony_cilogx0004 log10  0.11              -> -0.9586073148417750  Inexact Rounded
497db96d56Sopenharmony_cilogx0005 log10  0.7               -> -0.1549019599857432  Inexact Rounded
507db96d56Sopenharmony_cilogx0006 log10  1                 ->  0
517db96d56Sopenharmony_cilogx0007 log10  1.5               ->  0.1760912590556812  Inexact Rounded
527db96d56Sopenharmony_cilogx0008 log10  2                 ->  0.3010299956639812  Inexact Rounded
537db96d56Sopenharmony_cilogx0009 log10  2.718281828459045 ->  0.4342944819032518  Inexact Rounded
547db96d56Sopenharmony_cilogx0010 log10  2.718281828459046 ->  0.4342944819032519  Inexact Rounded
557db96d56Sopenharmony_cilogx0011 log10  2.718281828459047 ->  0.4342944819032521  Inexact Rounded
567db96d56Sopenharmony_cilogx0012 log10  7                 ->  0.8450980400142568  Inexact Rounded
577db96d56Sopenharmony_cilogx0013 log10  10                ->  1
587db96d56Sopenharmony_cilogx0014 log10  10.5              ->  1.021189299069938   Inexact Rounded
597db96d56Sopenharmony_cilogx0015 log10  11                ->  1.041392685158225   Inexact Rounded
607db96d56Sopenharmony_cilogx0016 log10  70                ->  1.845098040014257   Inexact Rounded
617db96d56Sopenharmony_cilogx0017 log10  9999              ->  3.999956568380192   Inexact Rounded
627db96d56Sopenharmony_cilogx0018 log10  1.21E6            ->  6.082785370316450   Inexact Rounded
637db96d56Sopenharmony_cilogx0019 log10  1.1E+9            ->  9.041392685158225   Inexact Rounded
647db96d56Sopenharmony_cilogx0020 log10  7E+1000           ->  1000.845098040014   Inexact Rounded
657db96d56Sopenharmony_cilogx0021 log10 +Infinity          ->  Infinity
667db96d56Sopenharmony_ci
677db96d56Sopenharmony_ci-- notable cases
687db96d56Sopenharmony_ci-- negatives
697db96d56Sopenharmony_cilogx0031 log10 -1E-9              -> NaN Invalid_operation
707db96d56Sopenharmony_cilogx0032 log10 -0.0007            -> NaN Invalid_operation
717db96d56Sopenharmony_cilogx0033 log10 -0.1               -> NaN Invalid_operation
727db96d56Sopenharmony_cilogx0034 log10 -0.7               -> NaN Invalid_operation
737db96d56Sopenharmony_cilogx0035 log10 -1                 -> NaN Invalid_operation
747db96d56Sopenharmony_cilogx0036 log10 -1.5               -> NaN Invalid_operation
757db96d56Sopenharmony_cilogx0037 log10 -2                 -> NaN Invalid_operation
767db96d56Sopenharmony_cilogx0038 log10 -10.5              -> NaN Invalid_operation
777db96d56Sopenharmony_cilogx0039 log10 -10.5              -> NaN Invalid_operation
787db96d56Sopenharmony_cilogx0040 log10 -9999              -> NaN Invalid_operation
797db96d56Sopenharmony_cilogx0041 log10 -10                -> NaN Invalid_operation
807db96d56Sopenharmony_cilogx0042 log10 -0                 -> -Infinity
817db96d56Sopenharmony_cilogx0043 log10 -0E+17             -> -Infinity
827db96d56Sopenharmony_cilogx0044 log10 -0E-17             -> -Infinity
837db96d56Sopenharmony_ci-- other zeros
847db96d56Sopenharmony_cilogx0051 log10  0                 -> -Infinity
857db96d56Sopenharmony_cilogx0052 log10  0E+17             -> -Infinity
867db96d56Sopenharmony_cilogx0053 log10  0E-17             -> -Infinity
877db96d56Sopenharmony_ci-- infinities
887db96d56Sopenharmony_cilogx0055 log10 -Infinity          -> NaN Invalid_operation
897db96d56Sopenharmony_cilogx0056 log10 +Infinity          -> Infinity
907db96d56Sopenharmony_ci-- ones
917db96d56Sopenharmony_cilogx0061 log10  1                 ->   0
927db96d56Sopenharmony_cilogx0062 log10  1.0               ->   0
937db96d56Sopenharmony_cilogx0063 log10  1.000000000000000 ->   0
947db96d56Sopenharmony_cilogx0064 log10  1.000000000000000000 ->   0
957db96d56Sopenharmony_ci
967db96d56Sopenharmony_ci-- notable cases -- exact powers of 10
977db96d56Sopenharmony_cilogx1100 log10 1             -> 0
987db96d56Sopenharmony_cilogx1101 log10 10            -> 1
997db96d56Sopenharmony_cilogx1102 log10 100           -> 2
1007db96d56Sopenharmony_cilogx1103 log10 1000          -> 3
1017db96d56Sopenharmony_cilogx1104 log10 10000         -> 4
1027db96d56Sopenharmony_cilogx1105 log10 100000        -> 5
1037db96d56Sopenharmony_cilogx1106 log10 1000000       -> 6
1047db96d56Sopenharmony_cilogx1107 log10 10000000      -> 7
1057db96d56Sopenharmony_cilogx1108 log10 100000000     -> 8
1067db96d56Sopenharmony_cilogx1109 log10 1000000000    -> 9
1077db96d56Sopenharmony_cilogx1110 log10 10000000000   -> 10
1087db96d56Sopenharmony_cilogx1111 log10 100000000000  -> 11
1097db96d56Sopenharmony_cilogx1112 log10 1000000000000 -> 12
1107db96d56Sopenharmony_cilogx1113 log10 0.00000000001 -> -11
1117db96d56Sopenharmony_cilogx1114 log10 0.0000000001 -> -10
1127db96d56Sopenharmony_cilogx1115 log10 0.000000001 -> -9
1137db96d56Sopenharmony_cilogx1116 log10 0.00000001 -> -8
1147db96d56Sopenharmony_cilogx1117 log10 0.0000001 -> -7
1157db96d56Sopenharmony_cilogx1118 log10 0.000001 -> -6
1167db96d56Sopenharmony_cilogx1119 log10 0.00001 -> -5
1177db96d56Sopenharmony_cilogx1120 log10 0.0001 -> -4
1187db96d56Sopenharmony_cilogx1121 log10 0.001 -> -3
1197db96d56Sopenharmony_cilogx1122 log10 0.01 -> -2
1207db96d56Sopenharmony_cilogx1123 log10 0.1 -> -1
1217db96d56Sopenharmony_cilogx1124 log10 1E-99  -> -99
1227db96d56Sopenharmony_cilogx1125 log10 1E-100 -> -100
1237db96d56Sopenharmony_cilogx1126 log10 1E-383 -> -383
1247db96d56Sopenharmony_ci
1257db96d56Sopenharmony_ci-- check normally exact cases round properly
1267db96d56Sopenharmony_ciprecision: 1
1277db96d56Sopenharmony_cilogx1141 log10 10000000000   -> 1E+1         Rounded
1287db96d56Sopenharmony_cilogx1142 log10 1000000000000 -> 1E+1 Inexact Rounded
1297db96d56Sopenharmony_cilogx1143 log10 1E+100        -> 1E+2         Rounded
1307db96d56Sopenharmony_cilogx1144 log10 1E+123        -> 1E+2 Inexact Rounded
1317db96d56Sopenharmony_cilogx1145 log10 1E+126        -> 1E+2 Inexact Rounded
1327db96d56Sopenharmony_cilogx1146 log10 1E+916        -> 9E+2 Inexact Rounded
1337db96d56Sopenharmony_cilogx1147 log10 1E+999        -> 1E+3 Inexact Rounded
1347db96d56Sopenharmony_ci
1357db96d56Sopenharmony_ciprecision: 2
1367db96d56Sopenharmony_cilogx1151 log10 10000000000   -> 10
1377db96d56Sopenharmony_cilogx1152 log10 1000000000000 -> 12
1387db96d56Sopenharmony_cilogx1153 log10 1E+100        -> 1.0E+2         Rounded
1397db96d56Sopenharmony_cilogx1154 log10 1E+123        -> 1.2E+2 Inexact Rounded
1407db96d56Sopenharmony_cilogx1155 log10 1E+126        -> 1.3E+2 Inexact Rounded
1417db96d56Sopenharmony_cilogx1156 log10 1E+916        -> 9.2E+2 Inexact Rounded
1427db96d56Sopenharmony_cilogx1157 log10 1E+999        -> 1.0E+3 Inexact Rounded
1437db96d56Sopenharmony_ci-- some half-way point rounds, other cases, and negatives
1447db96d56Sopenharmony_cilogx1158 log10 1E+125        -> 1.2E+2 Inexact Rounded
1457db96d56Sopenharmony_cilogx1159 log10 1E+135        -> 1.4E+2 Inexact Rounded
1467db96d56Sopenharmony_cilogx1160 log10 1E+129        -> 1.3E+2 Inexact Rounded
1477db96d56Sopenharmony_cilogx1161 log10 1E+131        -> 1.3E+2 Inexact Rounded
1487db96d56Sopenharmony_cilogx1162 log10 1E-123        -> -1.2E+2 Inexact Rounded
1497db96d56Sopenharmony_cilogx1163 log10 1E-126        -> -1.3E+2 Inexact Rounded
1507db96d56Sopenharmony_cilogx1164 log10 1E-916        -> -9.2E+2 Inexact Rounded
1517db96d56Sopenharmony_cilogx1165 log10 1E-999        -> -1.0E+3 Inexact Rounded
1527db96d56Sopenharmony_cilogx1166 log10 1E-125        -> -1.2E+2 Inexact Rounded
1537db96d56Sopenharmony_cilogx1167 log10 1E-135        -> -1.4E+2 Inexact Rounded
1547db96d56Sopenharmony_cilogx1168 log10 1E-129        -> -1.3E+2 Inexact Rounded
1557db96d56Sopenharmony_cilogx1169 log10 1E-131        -> -1.3E+2 Inexact Rounded
1567db96d56Sopenharmony_ci
1577db96d56Sopenharmony_ciprecision: 3
1587db96d56Sopenharmony_cilogx1171 log10 10000000000   -> 10
1597db96d56Sopenharmony_cilogx1172 log10 1000000000000 -> 12
1607db96d56Sopenharmony_cilogx1173 log10 1E+100        -> 100
1617db96d56Sopenharmony_cilogx1174 log10 1E+123        -> 123
1627db96d56Sopenharmony_cilogx1175 log10 1E+126        -> 126
1637db96d56Sopenharmony_cilogx1176 log10 1E+916        -> 916
1647db96d56Sopenharmony_cilogx1177 log10 1E+999        -> 999
1657db96d56Sopenharmony_ci
1667db96d56Sopenharmony_ci-- log10(2) .. tests both ln(2) and ln(10) constants, too
1677db96d56Sopenharmony_ciprecision: 50
1687db96d56Sopenharmony_cilogx1201 log10 2     -> 0.30102999566398119521373889472449302676818988146211 Inexact Rounded
1697db96d56Sopenharmony_cilogx1202 log10 2.000 -> 0.30102999566398119521373889472449302676818988146211 Inexact Rounded
1707db96d56Sopenharmony_cilogx1203 log10 0.2E1 -> 0.30102999566398119521373889472449302676818988146211 Inexact Rounded
1717db96d56Sopenharmony_ciprecision: 49
1727db96d56Sopenharmony_cilogx1204 log10 2 -> 0.3010299956639811952137388947244930267681898814621 Inexact Rounded
1737db96d56Sopenharmony_ciprecision: 48
1747db96d56Sopenharmony_cilogx1205 log10 2 -> 0.301029995663981195213738894724493026768189881462  Inexact Rounded
1757db96d56Sopenharmony_ciprecision: 47
1767db96d56Sopenharmony_cilogx1206 log10 2 -> 0.30102999566398119521373889472449302676818988146   Inexact Rounded
1777db96d56Sopenharmony_ciprecision: 46
1787db96d56Sopenharmony_cilogx1207 log10 2 -> 0.3010299956639811952137388947244930267681898815    Inexact Rounded
1797db96d56Sopenharmony_ciprecision: 45
1807db96d56Sopenharmony_cilogx1208 log10 2 -> 0.301029995663981195213738894724493026768189881     Inexact Rounded
1817db96d56Sopenharmony_ciprecision: 44
1827db96d56Sopenharmony_cilogx1209 log10 2 -> 0.30102999566398119521373889472449302676818988      Inexact Rounded
1837db96d56Sopenharmony_ciprecision: 43
1847db96d56Sopenharmony_cilogx1210 log10 2 -> 0.3010299956639811952137388947244930267681899       Inexact Rounded
1857db96d56Sopenharmony_ciprecision: 42
1867db96d56Sopenharmony_cilogx1211 log10 2 -> 0.301029995663981195213738894724493026768190        Inexact Rounded
1877db96d56Sopenharmony_ciprecision: 41
1887db96d56Sopenharmony_cilogx1212 log10 2 -> 0.30102999566398119521373889472449302676819         Inexact Rounded
1897db96d56Sopenharmony_ciprecision: 40
1907db96d56Sopenharmony_cilogx1213 log10 2 -> 0.3010299956639811952137388947244930267682          Inexact Rounded
1917db96d56Sopenharmony_ciprecision: 39
1927db96d56Sopenharmony_cilogx1214 log10 2 -> 0.301029995663981195213738894724493026768           Inexact Rounded
1937db96d56Sopenharmony_ciprecision: 38
1947db96d56Sopenharmony_cilogx1215 log10 2 -> 0.30102999566398119521373889472449302677            Inexact Rounded
1957db96d56Sopenharmony_ciprecision: 37
1967db96d56Sopenharmony_cilogx1216 log10 2 -> 0.3010299956639811952137388947244930268             Inexact Rounded
1977db96d56Sopenharmony_ciprecision: 36
1987db96d56Sopenharmony_cilogx1217 log10 2 -> 0.301029995663981195213738894724493027              Inexact Rounded
1997db96d56Sopenharmony_ciprecision: 35
2007db96d56Sopenharmony_cilogx1218 log10 2 -> 0.30102999566398119521373889472449303               Inexact Rounded
2017db96d56Sopenharmony_ciprecision: 34
2027db96d56Sopenharmony_cilogx1219 log10 2 -> 0.3010299956639811952137388947244930                Inexact Rounded
2037db96d56Sopenharmony_ciprecision: 33
2047db96d56Sopenharmony_cilogx1220 log10 2 -> 0.301029995663981195213738894724493                 Inexact Rounded
2057db96d56Sopenharmony_ciprecision: 32
2067db96d56Sopenharmony_cilogx1221 log10 2 -> 0.30102999566398119521373889472449                  Inexact Rounded
2077db96d56Sopenharmony_ciprecision: 31
2087db96d56Sopenharmony_cilogx1222 log10 2 -> 0.3010299956639811952137388947245                   Inexact Rounded
2097db96d56Sopenharmony_ciprecision: 30
2107db96d56Sopenharmony_cilogx1223 log10 2 -> 0.301029995663981195213738894724                    Inexact Rounded
2117db96d56Sopenharmony_ciprecision: 29
2127db96d56Sopenharmony_cilogx1224 log10 2 -> 0.30102999566398119521373889472                     Inexact Rounded
2137db96d56Sopenharmony_ciprecision: 28
2147db96d56Sopenharmony_cilogx1225 log10 2 -> 0.3010299956639811952137388947                      Inexact Rounded
2157db96d56Sopenharmony_ciprecision: 27
2167db96d56Sopenharmony_cilogx1226 log10 2 -> 0.301029995663981195213738895                       Inexact Rounded
2177db96d56Sopenharmony_ciprecision: 26
2187db96d56Sopenharmony_cilogx1227 log10 2 -> 0.30102999566398119521373889                        Inexact Rounded
2197db96d56Sopenharmony_ciprecision: 25
2207db96d56Sopenharmony_cilogx1228 log10 2 -> 0.3010299956639811952137389                         Inexact Rounded
2217db96d56Sopenharmony_ciprecision: 24
2227db96d56Sopenharmony_cilogx1229 log10 2 -> 0.301029995663981195213739                          Inexact Rounded
2237db96d56Sopenharmony_ciprecision: 23
2247db96d56Sopenharmony_cilogx1230 log10 2 -> 0.30102999566398119521374                           Inexact Rounded
2257db96d56Sopenharmony_ciprecision: 22
2267db96d56Sopenharmony_cilogx1231 log10 2 -> 0.3010299956639811952137                            Inexact Rounded
2277db96d56Sopenharmony_ciprecision: 21
2287db96d56Sopenharmony_cilogx1232 log10 2 -> 0.301029995663981195214                             Inexact Rounded
2297db96d56Sopenharmony_ciprecision: 20
2307db96d56Sopenharmony_cilogx1233 log10 2 -> 0.30102999566398119521                              Inexact Rounded
2317db96d56Sopenharmony_ciprecision: 19
2327db96d56Sopenharmony_cilogx1234 log10 2 -> 0.3010299956639811952                               Inexact Rounded
2337db96d56Sopenharmony_ciprecision: 18
2347db96d56Sopenharmony_cilogx1235 log10 2 -> 0.301029995663981195                                Inexact Rounded
2357db96d56Sopenharmony_ciprecision: 17
2367db96d56Sopenharmony_cilogx1236 log10 2 -> 0.30102999566398120                                 Inexact Rounded
2377db96d56Sopenharmony_ciprecision: 16
2387db96d56Sopenharmony_cilogx1237 log10 2 -> 0.3010299956639812                                  Inexact Rounded
2397db96d56Sopenharmony_ciprecision: 15
2407db96d56Sopenharmony_cilogx1238 log10 2 -> 0.301029995663981                                   Inexact Rounded
2417db96d56Sopenharmony_ciprecision: 14
2427db96d56Sopenharmony_cilogx1239 log10 2 -> 0.30102999566398                                    Inexact Rounded
2437db96d56Sopenharmony_ciprecision: 13
2447db96d56Sopenharmony_cilogx1240 log10 2 -> 0.3010299956640                                     Inexact Rounded
2457db96d56Sopenharmony_ciprecision: 12
2467db96d56Sopenharmony_cilogx1241 log10 2 -> 0.301029995664                                      Inexact Rounded
2477db96d56Sopenharmony_ciprecision: 11
2487db96d56Sopenharmony_cilogx1242 log10 2 -> 0.30102999566                                       Inexact Rounded
2497db96d56Sopenharmony_ciprecision: 10
2507db96d56Sopenharmony_cilogx1243 log10 2 -> 0.3010299957                                        Inexact Rounded
2517db96d56Sopenharmony_ciprecision:  9
2527db96d56Sopenharmony_cilogx1244 log10 2 -> 0.301029996                                         Inexact Rounded
2537db96d56Sopenharmony_ciprecision:  8
2547db96d56Sopenharmony_cilogx1245 log10 2 -> 0.30103000                                          Inexact Rounded
2557db96d56Sopenharmony_ciprecision:  7
2567db96d56Sopenharmony_cilogx1246 log10 2 -> 0.3010300                                           Inexact Rounded
2577db96d56Sopenharmony_ciprecision:  6
2587db96d56Sopenharmony_cilogx1247 log10 2 -> 0.301030                                            Inexact Rounded
2597db96d56Sopenharmony_ciprecision:  5
2607db96d56Sopenharmony_cilogx1248 log10 2 -> 0.30103                                             Inexact Rounded
2617db96d56Sopenharmony_ciprecision:  4
2627db96d56Sopenharmony_cilogx1249 log10 2 -> 0.3010                                              Inexact Rounded
2637db96d56Sopenharmony_ciprecision:  3
2647db96d56Sopenharmony_cilogx1250 log10 2 -> 0.301                                               Inexact Rounded
2657db96d56Sopenharmony_ciprecision:  2
2667db96d56Sopenharmony_cilogx1251 log10 2 -> 0.30                                                Inexact Rounded
2677db96d56Sopenharmony_ciprecision:  1
2687db96d56Sopenharmony_cilogx1252 log10 2 -> 0.3                                                 Inexact Rounded
2697db96d56Sopenharmony_ci
2707db96d56Sopenharmony_cimaxExponent: 384
2717db96d56Sopenharmony_ciminExponent: -383
2727db96d56Sopenharmony_ciprecision:   16
2737db96d56Sopenharmony_cirounding:    half_even
2747db96d56Sopenharmony_ci
2757db96d56Sopenharmony_ci-- More close-to-e, etc., tests
2767db96d56Sopenharmony_ciprecision:   34
2777db96d56Sopenharmony_cilogx1301 log10 2.718281828459045235360287471352661  -> 0.4342944819032518276511289189166048 Inexact Rounded
2787db96d56Sopenharmony_cilogx1302 log10 2.718281828459045235360287471352662  -> 0.4342944819032518276511289189166050 Inexact Rounded
2797db96d56Sopenharmony_cilogx1303 log10 2.718281828459045235360287471352663  -> 0.4342944819032518276511289189166052 Inexact Rounded
2807db96d56Sopenharmony_cilogx1304 log10 0.99999999999999999999999999999999   -> -4.342944819032518276511289189166073E-33 Inexact Rounded
2817db96d56Sopenharmony_cilogx1305 log10 0.999999999999999999999999999999999  -> -4.342944819032518276511289189166053E-34 Inexact Rounded
2827db96d56Sopenharmony_cilogx1306 log10 0.9999999999999999999999999999999999 -> -4.342944819032518276511289189166051E-35 Inexact Rounded
2837db96d56Sopenharmony_cilogx1307 log10 1.000000000000000000000000000000000  -> 0
2847db96d56Sopenharmony_cilogx1308 log10 1.0000000000000000000000000000000001 -> 4.342944819032518276511289189166051E-35 Inexact Rounded
2857db96d56Sopenharmony_cilogx1309 log10 1.000000000000000000000000000000001  -> 4.342944819032518276511289189166049E-34 Inexact Rounded
2867db96d56Sopenharmony_cilogx1310 log10 1.00000000000000000000000000000001   -> 4.342944819032518276511289189166029E-33 Inexact Rounded
2877db96d56Sopenharmony_ci-- lower p
2887db96d56Sopenharmony_ciprecision:    7
2897db96d56Sopenharmony_cilogx1320 log10 0.999999    -> -4.342947E-7  Inexact Rounded
2907db96d56Sopenharmony_cilogx1321 log10 0.9999999   -> -4.342945E-8  Inexact Rounded
2917db96d56Sopenharmony_cilogx1322 log10 0.99999999  -> -4.342945E-9  Inexact Rounded
2927db96d56Sopenharmony_cilogx1323 log10 0.999999999 -> -4.342945E-10 Inexact Rounded
2937db96d56Sopenharmony_cilogx1324 log10 1.00000000  ->  0
2947db96d56Sopenharmony_cilogx1325 log10 1.00000001  ->  4.342945E-9  Inexact Rounded
2957db96d56Sopenharmony_cilogx1326 log10 1.0000001   ->  4.342945E-8  Inexact Rounded
2967db96d56Sopenharmony_cilogx1327 log10 1.000001    ->  4.342943E-7  Inexact Rounded
2977db96d56Sopenharmony_ci
2987db96d56Sopenharmony_ci-- near 10^3
2997db96d56Sopenharmony_ciprecision:   9
3007db96d56Sopenharmony_cilogx1331 log10  999.9999998  -> 3.00000000 Inexact Rounded
3017db96d56Sopenharmony_cilogx1332 log10  999.9999999  -> 3.00000000 Inexact Rounded
3027db96d56Sopenharmony_cilogx1333 log10 1000.000000   -> 3
3037db96d56Sopenharmony_cilogx1334 log10 1000.000001   -> 3.00000000 Inexact Rounded
3047db96d56Sopenharmony_cilogx1335 log10 1000.000002   -> 3.00000000 Inexact Rounded
3057db96d56Sopenharmony_ciprecision: 16
3067db96d56Sopenharmony_cilogx1341 log10  999.9999998  -> 2.999999999913141 Inexact Rounded
3077db96d56Sopenharmony_cilogx1342 log10  999.9999999  -> 2.999999999956571 Inexact Rounded
3087db96d56Sopenharmony_cilogx1343 log10 1000.000000   -> 3
3097db96d56Sopenharmony_cilogx1344 log10 1000.000001   -> 3.000000000434294 Inexact Rounded
3107db96d56Sopenharmony_cilogx1345 log10 1000.000002   -> 3.000000000868589 Inexact Rounded
3117db96d56Sopenharmony_ci
3127db96d56Sopenharmony_ci-- suggestions from Ilan Nehama
3137db96d56Sopenharmony_cilogx1400 log10 10E-3    -> -2
3147db96d56Sopenharmony_cilogx1401 log10 10E-2    -> -1
3157db96d56Sopenharmony_cilogx1402 log10 100E-2   ->  0
3167db96d56Sopenharmony_cilogx1403 log10 1000E-2  ->  1
3177db96d56Sopenharmony_cilogx1404 log10 10000E-2 ->  2
3187db96d56Sopenharmony_cilogx1405 log10 10E-1    ->  0
3197db96d56Sopenharmony_cilogx1406 log10 100E-1   ->  1
3207db96d56Sopenharmony_cilogx1407 log10 1000E-1  ->  2
3217db96d56Sopenharmony_cilogx1408 log10 10000E-1 ->  3
3227db96d56Sopenharmony_cilogx1409 log10 10E0     ->  1
3237db96d56Sopenharmony_cilogx1410 log10 100E0    ->  2
3247db96d56Sopenharmony_cilogx1411 log10 1000E0   ->  3
3257db96d56Sopenharmony_cilogx1412 log10 10000E0  ->  4
3267db96d56Sopenharmony_cilogx1413 log10 10E1     ->  2
3277db96d56Sopenharmony_cilogx1414 log10 100E1    ->  3
3287db96d56Sopenharmony_cilogx1415 log10 1000E1   ->  4
3297db96d56Sopenharmony_cilogx1416 log10 10000E1  ->  5
3307db96d56Sopenharmony_cilogx1417 log10 10E2     ->  3
3317db96d56Sopenharmony_cilogx1418 log10 100E2    ->  4
3327db96d56Sopenharmony_cilogx1419 log10 1000E2   ->  5
3337db96d56Sopenharmony_cilogx1420 log10 10000E2  ->  6
3347db96d56Sopenharmony_ci
3357db96d56Sopenharmony_ci-- Randoms
3367db96d56Sopenharmony_ci-- P=50, within 0-9999
3377db96d56Sopenharmony_ciPrecision: 50
3387db96d56Sopenharmony_cilogx2501 log10 0.00035448001667968141775891246991912655961163345904 ->  -3.4504082425411775290864053318247274944685586188505 Inexact Rounded
3397db96d56Sopenharmony_cilogx2502 log10 70.636455726424311228255338637935330826995136597644  ->   1.8490288998408492045793070255302335558140975719247 Inexact Rounded
3407db96d56Sopenharmony_cilogx2503 log10 0.00000000000000233550362473821889060812804063040169 -> -14.631619454343834858023578299142866557717904223667 Inexact Rounded
3417db96d56Sopenharmony_cilogx2504 log10 97.783628621523244679901260358286898958832135433764  ->   1.9902661493224219517897657964362571690592734407330 Inexact Rounded
3427db96d56Sopenharmony_cilogx2505 log10 0062.2377135315858392802612812022807838599572017342  ->   1.7940536293085066199287632725026837018486533544141 Inexact Rounded
3437db96d56Sopenharmony_cilogx2506 log10 6.3767634652071053619977602804724129652981747879532  ->   0.80460030789825961615100163576080761326857374098644 Inexact Rounded
3447db96d56Sopenharmony_cilogx2507 log10 63.297088981313278529306533814195068850532666658798  ->   1.8013837373724427092417170149098614410849353839673 Inexact Rounded
3457db96d56Sopenharmony_cilogx2508 log10 0.00000077239693316881797717820110898167721602299187 ->  -6.1121594592718550613773886241951966264826760310047 Inexact Rounded
3467db96d56Sopenharmony_cilogx2509 log10 0.00000003953580359780185534830572461922527831395002 ->  -7.4030094293833847136252547069905477213541787177561 Inexact Rounded
3477db96d56Sopenharmony_cilogx2510 log10 754.62905817369989169188998111527272688791544577204  ->   2.8777335243761300047758534304371912099958057545416 Inexact Rounded
3487db96d56Sopenharmony_cilogx2511 log10 0.00000048360378410241428936607147056283282849158312 ->  -6.3155103095309353457604038397980091650760346334512 Inexact Rounded
3497db96d56Sopenharmony_cilogx2512 log10 0.00007509037583645612577196104591672080542932166089 ->  -4.1244157219700166314012344705538088030592896111026 Inexact Rounded
3507db96d56Sopenharmony_cilogx2513 log10 0.00000000000705475944638915053419839063567898092064 -> -11.151517790256466048553810002525868198178167950377 Inexact Rounded
3517db96d56Sopenharmony_cilogx2514 log10 9.6210300460497657917445410947099633479609165120661  ->   0.98322157093260978206633922877716078683518617768411 Inexact Rounded
3527db96d56Sopenharmony_cilogx2515 log10 0.00000000050150361386555527496607245976120864985611 ->  -9.2997259330798261040411086835563234390934934629340 Inexact Rounded
3537db96d56Sopenharmony_cilogx2516 log10 098.24754029731994125797723545333677604490074810751  ->   1.9923216862874337077795278629351060819105679670633 Inexact Rounded
3547db96d56Sopenharmony_cilogx2517 log10 7.5091998150046994320441463854301624742491015752980  ->   0.87559366078005924080766469158763499725414024128781 Inexact Rounded
3557db96d56Sopenharmony_cilogx2518 log10 0.00000000000079540571273330075193668596942268542425 -> -12.099411294165176028817305108475326325006250936963 Inexact Rounded
3567db96d56Sopenharmony_cilogx2519 log10 0.00000042395034799555215782907515074134154915491701 ->  -6.3726850039125381134069450802108893075604464135297 Inexact Rounded
3577db96d56Sopenharmony_cilogx2520 log10 56.683376304674355481905023145238799909301732694982  ->   1.7534557107853480435703421826077606250636580091754 Inexact Rounded
3587db96d56Sopenharmony_cilogx2521 log10 48.734033811444195070807606721517169810438049581227  ->   1.6878323602741065190942654710049433808208291564049 Inexact Rounded
3597db96d56Sopenharmony_cilogx2522 log10 0.00074830310930046865009851706989430228561880221063 ->  -3.1259224502209974082223667712016445572431791920618 Inexact Rounded
3607db96d56Sopenharmony_cilogx2523 log10 36.677348885111593384020836720396262497122708598359  ->   1.5643979364260796086754530282302605477567469395425 Inexact Rounded
3617db96d56Sopenharmony_cilogx2524 log10 0.00000000000000004495678560480432858812419145833744 -> -16.347204748239740510014320630363244015916029619561 Inexact Rounded
3627db96d56Sopenharmony_cilogx2525 log10 9509.5854013650642799374159131940108748594774307104  ->   3.9781615829916326741100166519726824430945406302661 Inexact Rounded
3637db96d56Sopenharmony_cilogx2526 log10 0.07834891268689177014044454793608715276615743819097 ->  -1.1059670262197643147805517398621288897669876996348 Inexact Rounded
3647db96d56Sopenharmony_cilogx2527 log10 0.00000029584529880706128444454688454999032801904794 ->  -6.5289353275814043710076526920566721570375026917206 Inexact Rounded
3657db96d56Sopenharmony_cilogx2528 log10 3.0713496544497618098794332787772186176981011904294  ->   0.48732926103896828546424341029492468100431414072994 Inexact Rounded
3667db96d56Sopenharmony_cilogx2529 log10 352.66392670788816474407442785460803833927136413943  ->   2.5473610388199562714709836398243933320284077008314 Inexact Rounded
3677db96d56Sopenharmony_cilogx2530 log10 0.00304743125181876267210516527361742185617091801650 ->  -2.5160660830163981967774124745311497447050056400207 Inexact Rounded
3687db96d56Sopenharmony_cilogx2531 log10 0.00000076120535894952136499250364604538117729437183 ->  -6.1184981629047051532448413863950776496652483019415 Inexact Rounded
3697db96d56Sopenharmony_cilogx2532 log10 769.88795978534353052965286195053735007473187735815  ->   2.8864275277862652709986498581064117950288798222100 Inexact Rounded
3707db96d56Sopenharmony_cilogx2533 log10 0.00000000000000041297494808612226304619570016336188 -> -15.384076292745415917510668454361868659468669804710 Inexact Rounded
3717db96d56Sopenharmony_cilogx2534 log10 860.88864595714426940247940960258558876903741966974  ->   2.9349469800554277915920278090647283233440859155176 Inexact Rounded
3727db96d56Sopenharmony_cilogx2535 log10 5839.0328812994787235900178587371051096898683972444  ->   3.7663409208972392569269125539438874737147906238543 Inexact Rounded
3737db96d56Sopenharmony_cilogx2536 log10 0.00000028532710151284840471670497112821201598377841 ->  -6.5446569753514027675878879843238065488490618159490 Inexact Rounded
3747db96d56Sopenharmony_cilogx2537 log10 0.00000000000000009734490059931638483445631835651581 -> -16.011686794011271135978633880864278692254243106931 Inexact Rounded
3757db96d56Sopenharmony_cilogx2538 log10 5.8610949526439529489252302463450302981511714144330  ->   0.76797875722452549281028552067645732490929361952278 Inexact Rounded
3767db96d56Sopenharmony_cilogx2539 log10 6.6282432221115923372151148990137179611977576327206  ->   0.82139843639227213211012044000785757267155736071361 Inexact Rounded
3777db96d56Sopenharmony_cilogx2540 log10 0.00000000001994071862386846626954819923923344413454 -> -10.700259194632339980266559224447212260115021637626 Inexact Rounded
3787db96d56Sopenharmony_ci
3797db96d56Sopenharmony_ci-- P=34, within 0-9999
3807db96d56Sopenharmony_ciPrecision: 34
3817db96d56Sopenharmony_cilogx2201 log10 1.522513203889714179088327328864183  -> 0.1825610677098896250496651330492109 Inexact Rounded
3827db96d56Sopenharmony_cilogx2202 log10 0.171123774769717316154080888930404  -> -0.7666896483548462582461898092764408 Inexact Rounded
3837db96d56Sopenharmony_cilogx2203 log10 0.0000000997467236251714283104963838 -> -7.001101360652518274271569010312115 Inexact Rounded
3847db96d56Sopenharmony_cilogx2204 log10 0.0008856103624122479769647543468633 -> -3.052757310476070891830490327138190 Inexact Rounded
3857db96d56Sopenharmony_cilogx2205 log10 1.938274868738032930709498221236758  -> 0.2874153648259449520201536171714594 Inexact Rounded
3867db96d56Sopenharmony_cilogx2206 log10 479.5667847823826713082613445010097  -> 2.680849095850361068709165157286435 Inexact Rounded
3877db96d56Sopenharmony_cilogx2207 log10 8856.136599178820202141823157336804  -> 3.947244306584767101480454261950559 Inexact Rounded
3887db96d56Sopenharmony_cilogx2208 log10 0.0000911026318801903982642871344858 -> -4.040469076434979398438617464033826 Inexact Rounded
3897db96d56Sopenharmony_cilogx2209 log10 0.0000000000017271112650427414732630 -> -11.76267968314038748995178212654921 Inexact Rounded
3907db96d56Sopenharmony_cilogx2210 log10 6.962605370078885647639503548229695  -> 0.8427717807200322352686396925992250 Inexact Rounded
3917db96d56Sopenharmony_cilogx2211 log10 0.3354804428992793132855923541692781 -> -0.4743327923012159170967636070844834 Inexact Rounded
3927db96d56Sopenharmony_cilogx2212 log10 2.079864257474859008252165836663504  -> 0.3180349916198059046812506741388856 Inexact Rounded
3937db96d56Sopenharmony_cilogx2213 log10 2805.479529292939499220276986621988  -> 3.448007104139974344565978780624744 Inexact Rounded
3947db96d56Sopenharmony_cilogx2214 log10 66.45731133034187374557028537213949  -> 1.822542767005644041661520936223086 Inexact Rounded
3957db96d56Sopenharmony_cilogx2215 log10 0.0000001206521261762681738274822835 -> -6.918465020390216969561494755767318 Inexact Rounded
3967db96d56Sopenharmony_cilogx2216 log10 0.0000000001884891916264401160472381 -> -9.724713548119065386091933007528633 Inexact Rounded
3977db96d56Sopenharmony_cilogx2217 log10 0.0000015467279551726326581314582759 -> -5.810586065070435383755759514608738 Inexact Rounded
3987db96d56Sopenharmony_cilogx2218 log10 0.0090776316728068586744633914135952 -> -2.042027442843745884503280954390114 Inexact Rounded
3997db96d56Sopenharmony_cilogx2219 log10 0.0000000000024541106528713393740030 -> -11.61010585935635713090119156069479 Inexact Rounded
4007db96d56Sopenharmony_cilogx2220 log10 14.12936879385863410081087750645856  -> 1.150122760895466989841057385742662 Inexact Rounded
4017db96d56Sopenharmony_cilogx2221 log10 0.0000036912481831392922922647231392 -> -5.432826753789892283556211380824203 Inexact Rounded
4027db96d56Sopenharmony_cilogx2222 log10 0.0000000004067477525420424270138734 -> -9.390674838050073122857868012475060 Inexact Rounded
4037db96d56Sopenharmony_cilogx2223 log10 7080.122562705399744969319589806194  -> 3.850040775747103318724330047546916 Inexact Rounded
4047db96d56Sopenharmony_cilogx2224 log10 261.3491411363679209175524790255725  -> 2.417221077227536319655699517530855 Inexact Rounded
4057db96d56Sopenharmony_cilogx2225 log10 003.9945581449915240094728380041494  -> 0.6014687471531988260823066997845691 Inexact Rounded
4067db96d56Sopenharmony_cilogx2226 log10 0.0000000000583549164588495206767840 -> -10.23392254834182677023231713519341 Inexact Rounded
4077db96d56Sopenharmony_cilogx2227 log10 9567.961832607240278342761088487484  -> 3.980819434211107631569386147016368 Inexact Rounded
4087db96d56Sopenharmony_cilogx2228 log10 06.26592979160342972777219828867033  -> 0.7969855243966221408595024012574729 Inexact Rounded
4097db96d56Sopenharmony_cilogx2229 log10 0.0000000000589847046598067273287319 -> -10.22926059078206218717755253582907 Inexact Rounded
4107db96d56Sopenharmony_cilogx2230 log10 567.9388648235589204769442863724997  -> 2.754301589058313576472380262907638 Inexact Rounded
4117db96d56Sopenharmony_cilogx2231 log10 039.7790325480037778918162264883415  -> 1.599654216592019199639285308997886 Inexact Rounded
4127db96d56Sopenharmony_cilogx2232 log10 0.0000000005123951921894162149817207 -> -9.290394953898862694847327137242690 Inexact Rounded
4137db96d56Sopenharmony_cilogx2233 log10 0.0000000000038500999723636904276723 -> -11.41452799337924056186867324854691 Inexact Rounded
4147db96d56Sopenharmony_cilogx2234 log10 0.0006726500658977759825616537935864 -> -3.172210810922768725687671849421792 Inexact Rounded
4157db96d56Sopenharmony_cilogx2235 log10 260.2400250475967528429943779126507  -> 2.415374092073799204236801383070064 Inexact Rounded
4167db96d56Sopenharmony_cilogx2236 log10 0.0000000006101942339385102585042548 -> -9.214531900562046557191261226632509 Inexact Rounded
4177db96d56Sopenharmony_cilogx2237 log10 0.0000000010846867501382746760066557 -> -8.964695664883282406359874242387236 Inexact Rounded
4187db96d56Sopenharmony_cilogx2238 log10 60.24078375568814769010333711509928  -> 1.779890613567084253168373266648922 Inexact Rounded
4197db96d56Sopenharmony_cilogx2239 log10 0.0012058738711757669337600252986093 -> -2.918698115012605915753728220896010 Inexact Rounded
4207db96d56Sopenharmony_cilogx2240 log10 230.9450930197841600611503095185600  -> 2.363508739056822846742942599628966 Inexact Rounded
4217db96d56Sopenharmony_ci
4227db96d56Sopenharmony_ci-- P=16, within 0-999
4237db96d56Sopenharmony_ciPrecision: 16
4247db96d56Sopenharmony_cilogx2101 log10 0.0072067119605184 -> -2.142262835573038 Inexact Rounded
4257db96d56Sopenharmony_cilogx2102 log10 503.6828482226624  -> 2.702157162195652 Inexact Rounded
4267db96d56Sopenharmony_cilogx2103 log10 64.96074447821815  -> 1.812650993464174 Inexact Rounded
4277db96d56Sopenharmony_cilogx2104 log10 48.75408597467246  -> 1.688011018842600 Inexact Rounded
4287db96d56Sopenharmony_cilogx2105 log10 0.0329009839269587 -> -1.482791113975280 Inexact Rounded
4297db96d56Sopenharmony_cilogx2106 log10 223.5320415060633  -> 2.349339784523410 Inexact Rounded
4307db96d56Sopenharmony_cilogx2107 log10 73.12765002292194  -> 1.864081617476268 Inexact Rounded
4317db96d56Sopenharmony_cilogx2108 log10 487.3749378358509  -> 2.687863192802252 Inexact Rounded
4327db96d56Sopenharmony_cilogx2109 log10 0.0000019671987621 -> -5.706151757557926 Inexact Rounded
4337db96d56Sopenharmony_cilogx2110 log10 0.0570680660609784 -> -1.243606844697873 Inexact Rounded
4347db96d56Sopenharmony_cilogx2111 log10 33.10311638788998  -> 1.519868880976773 Inexact Rounded
4357db96d56Sopenharmony_cilogx2112 log10 0.0687382699187077 -> -1.162801402868185 Inexact Rounded
4367db96d56Sopenharmony_cilogx2113 log10 258.9416193626484  -> 2.413201859654145 Inexact Rounded
4377db96d56Sopenharmony_cilogx2114 log10 0.0005306100136736 -> -3.275224558269725 Inexact Rounded
4387db96d56Sopenharmony_cilogx2115 log10 65.78490393408572  -> 1.818126244825109 Inexact Rounded
4397db96d56Sopenharmony_cilogx2116 log10 504.2328842073510  -> 2.702631165346958 Inexact Rounded
4407db96d56Sopenharmony_cilogx2117 log10 9.417432755815027  -> 0.9739325278524503 Inexact Rounded
4417db96d56Sopenharmony_cilogx2118 log10 006.7054835355498  -> 0.8264301004947640 Inexact Rounded
4427db96d56Sopenharmony_cilogx2119 log10 0.0917012272363915 -> -1.037624852133399 Inexact Rounded
4437db96d56Sopenharmony_cilogx2120 log10 5.959404385244921  -> 0.7752028561953401 Inexact Rounded
4447db96d56Sopenharmony_cilogx2121 log10 0.0001209759148486 -> -3.917301084968903 Inexact Rounded
4457db96d56Sopenharmony_cilogx2122 log10 0.0004706112139838 -> -3.327337728428039 Inexact Rounded
4467db96d56Sopenharmony_cilogx2123 log10 0.0069700457377046 -> -2.156764372035771 Inexact Rounded
4477db96d56Sopenharmony_cilogx2124 log10 0.5155584569852619 -> -0.2877220847805025 Inexact Rounded
4487db96d56Sopenharmony_cilogx2125 log10 88.06005885607414  -> 1.944778971389913 Inexact Rounded
4497db96d56Sopenharmony_cilogx2126 log10 0.0448240038219866 -> -1.348489353509709 Inexact Rounded
4507db96d56Sopenharmony_cilogx2127 log10 3.419622484059565  -> 0.5339781639101145 Inexact Rounded
4517db96d56Sopenharmony_cilogx2128 log10 5.171123353858721  -> 0.7135848977142854 Inexact Rounded
4527db96d56Sopenharmony_cilogx2129 log10 0.0002133188319807 -> -3.670970802945872 Inexact Rounded
4537db96d56Sopenharmony_cilogx2130 log10 46.21086703136966  -> 1.664744117045149 Inexact Rounded
4547db96d56Sopenharmony_cilogx2131 log10 0.0000631053714415 -> -4.199933672639880 Inexact Rounded
4557db96d56Sopenharmony_cilogx2132 log10 78.66019196870698  -> 1.895755001962469 Inexact Rounded
4567db96d56Sopenharmony_cilogx2133 log10 0.0007152278351188 -> -3.145555592082297 Inexact Rounded
4577db96d56Sopenharmony_cilogx2134 log10 45.52509819928536  -> 1.658250891256892 Inexact Rounded
4587db96d56Sopenharmony_cilogx2135 log10 0.0000703227795740 -> -4.152903971697183 Inexact Rounded
4597db96d56Sopenharmony_cilogx2136 log10 26.24438641426669  -> 1.419036423550599 Inexact Rounded
4607db96d56Sopenharmony_cilogx2137 log10 0.0000044654829535 -> -5.350131564166817 Inexact Rounded
4617db96d56Sopenharmony_cilogx2138 log10 0.7360702733062529 -> -0.1330807211893611 Inexact Rounded
4627db96d56Sopenharmony_cilogx2139 log10 8.417059176469655  -> 0.9251603805112778 Inexact Rounded
4637db96d56Sopenharmony_cilogx2140 log10 0.0002926570767968 -> -3.533640969664818 Inexact Rounded
4647db96d56Sopenharmony_ci
4657db96d56Sopenharmony_ci-- P=7, within 0-99
4667db96d56Sopenharmony_ciPrecision: 7
4677db96d56Sopenharmony_cilogx2001 log10 57.26089  -> 1.757858 Inexact Rounded
4687db96d56Sopenharmony_cilogx2002 log10 0.0575421 -> -1.240014 Inexact Rounded
4697db96d56Sopenharmony_cilogx2003 log10 0.5918465 -> -0.2277909 Inexact Rounded
4707db96d56Sopenharmony_cilogx2004 log10 0.0068776 -> -2.162563 Inexact Rounded
4717db96d56Sopenharmony_cilogx2005 log10 0.0066833 -> -2.175009 Inexact Rounded
4727db96d56Sopenharmony_cilogx2006 log10 9.926963  -> 0.9968164 Inexact Rounded
4737db96d56Sopenharmony_cilogx2007 log10 0.0041852 -> -2.378284 Inexact Rounded
4747db96d56Sopenharmony_cilogx2008 log10 84.15412  -> 1.925075 Inexact Rounded
4757db96d56Sopenharmony_cilogx2009 log10 2.466856  -> 0.3921438 Inexact Rounded
4767db96d56Sopenharmony_cilogx2010 log10 0.0058047 -> -2.236220 Inexact Rounded
4777db96d56Sopenharmony_cilogx2011 log10 9.885154  -> 0.9949834 Inexact Rounded
4787db96d56Sopenharmony_cilogx2012 log10 0.6667654 -> -0.1760269 Inexact Rounded
4797db96d56Sopenharmony_cilogx2013 log10 34.65736  -> 1.539795 Inexact Rounded
4807db96d56Sopenharmony_cilogx2014 log10 0.0026884 -> -2.570506 Inexact Rounded
4817db96d56Sopenharmony_cilogx2015 log10 0.0432767 -> -1.363746 Inexact Rounded
4827db96d56Sopenharmony_cilogx2016 log10 66.01407  -> 1.819637 Inexact Rounded
4837db96d56Sopenharmony_cilogx2017 log10 0.0070572 -> -2.151368 Inexact Rounded
4847db96d56Sopenharmony_cilogx2018 log10 0.0731613 -> -1.135719 Inexact Rounded
4857db96d56Sopenharmony_cilogx2019 log10 9.838983  -> 0.9929502 Inexact Rounded
4867db96d56Sopenharmony_cilogx2020 log10 15.89696  -> 1.201314 Inexact Rounded
4877db96d56Sopenharmony_cilogx2021 log10 8.459247  -> 0.9273317 Inexact Rounded
4887db96d56Sopenharmony_cilogx2022 log10 0.0010873 -> -2.963651 Inexact Rounded
4897db96d56Sopenharmony_cilogx2023 log10 0.6498619 -> -0.1871789 Inexact Rounded
4907db96d56Sopenharmony_cilogx2024 log10 0.0847008 -> -1.072112 Inexact Rounded
4917db96d56Sopenharmony_cilogx2025 log10 0.0075489 -> -2.122116 Inexact Rounded
4927db96d56Sopenharmony_cilogx2026 log10 51.11152  -> 1.708519 Inexact Rounded
4937db96d56Sopenharmony_cilogx2027 log10 0.7233866 -> -0.1406295 Inexact Rounded
4947db96d56Sopenharmony_cilogx2028 log10 2.254721  -> 0.3530928 Inexact Rounded
4957db96d56Sopenharmony_cilogx2029 log10 6.568444  -> 0.8174625 Inexact Rounded
4967db96d56Sopenharmony_cilogx2030 log10 83.72639  -> 1.922862 Inexact Rounded
4977db96d56Sopenharmony_cilogx2031 log10 6.720585  -> 0.8274071 Inexact Rounded
4987db96d56Sopenharmony_cilogx2032 log10 87.90366  -> 1.944007 Inexact Rounded
4997db96d56Sopenharmony_cilogx2033 log10 0.0433324 -> -1.363187 Inexact Rounded
5007db96d56Sopenharmony_cilogx2034 log10 34.63912  -> 1.539567 Inexact Rounded
5017db96d56Sopenharmony_cilogx2035 log10 0.8089059 -> -0.09210200 Inexact Rounded
5027db96d56Sopenharmony_cilogx2036 log10 7.793405  -> 0.8917272 Inexact Rounded
5037db96d56Sopenharmony_cilogx2037 log10 0.0041757 -> -2.379271 Inexact Rounded
5047db96d56Sopenharmony_cilogx2038 log10 7.135417  -> 0.8534194 Inexact Rounded
5057db96d56Sopenharmony_cilogx2039 log10 12.49570  -> 1.096761 Inexact Rounded
5067db96d56Sopenharmony_cilogx2040 log10 6.356276  -> 0.8032027 Inexact Rounded
5077db96d56Sopenharmony_ci
5087db96d56Sopenharmony_ci--------
5097db96d56Sopenharmony_cimaxExponent: 384
5107db96d56Sopenharmony_ciminExponent: -383
5117db96d56Sopenharmony_ciprecision:   16
5127db96d56Sopenharmony_cirounding:    half_even
5137db96d56Sopenharmony_ci
5147db96d56Sopenharmony_ci-- special values
5157db96d56Sopenharmony_cilogx820  log10   Infinity ->   Infinity
5167db96d56Sopenharmony_cilogx821  log10   0        ->  -Infinity
5177db96d56Sopenharmony_cilogx822  log10   NaN      ->   NaN
5187db96d56Sopenharmony_cilogx823  log10   sNaN     ->   NaN     Invalid_operation
5197db96d56Sopenharmony_ci-- propagating NaNs
5207db96d56Sopenharmony_cilogx824  log10   sNaN123  ->   NaN123  Invalid_operation
5217db96d56Sopenharmony_cilogx825  log10   -sNaN321 ->  -NaN321  Invalid_operation
5227db96d56Sopenharmony_cilogx826  log10   NaN456   ->   NaN456
5237db96d56Sopenharmony_cilogx827  log10   -NaN654  ->  -NaN654
5247db96d56Sopenharmony_cilogx828  log10   NaN1     ->   NaN1
5257db96d56Sopenharmony_ci
5267db96d56Sopenharmony_ci
5277db96d56Sopenharmony_ci-- Invalid operations due to restrictions
5287db96d56Sopenharmony_ci-- [next two probably skipped by most test harnesses]
5297db96d56Sopenharmony_ciprecision: 100000000
5307db96d56Sopenharmony_cilogx901  log10 1 ->  NaN            Invalid_context
5317db96d56Sopenharmony_ciprecision:  99999999
5327db96d56Sopenharmony_cilogx902  log10 0 ->  NaN            Invalid_context
5337db96d56Sopenharmony_ci
5347db96d56Sopenharmony_ciprecision: 9
5357db96d56Sopenharmony_cimaxExponent:   1000000
5367db96d56Sopenharmony_ciminExponent:   -999999
5377db96d56Sopenharmony_cilogx903  log10 1   ->  NaN            Invalid_context
5387db96d56Sopenharmony_cimaxExponent:    999999
5397db96d56Sopenharmony_ciminExponent:   -999999
5407db96d56Sopenharmony_cilogx904  log10 0 ->  -Infinity
5417db96d56Sopenharmony_cimaxExponent:    999999
5427db96d56Sopenharmony_ciminExponent:  -1000000
5437db96d56Sopenharmony_cilogx905  log10 1   ->  NaN            Invalid_context
5447db96d56Sopenharmony_cimaxExponent:    999999
5457db96d56Sopenharmony_ciminExponent:   -999998
5467db96d56Sopenharmony_cilogx906  log10 0 ->  -Infinity
5477db96d56Sopenharmony_ci
5487db96d56Sopenharmony_ci-- Null test
5497db96d56Sopenharmony_cilogx900  log10 #   -> NaN Invalid_operation
5507db96d56Sopenharmony_ci
5517db96d56Sopenharmony_ci
552