PageRenderTime 530ms CodeModel.GetById 222ms app.highlight 6ms RepoModel.GetById 174ms app.codeStats 1ms

/Lib/test/cmath_testcases.txt

http://unladen-swallow.googlecode.com/
Plain Text | 2365 lines | 2239 code | 126 blank | 0 comment | 0 complexity | 8a3bd5814b8853c0b1e7657bd4fa1138 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1-- Testcases for functions in cmath.
  2--
  3-- Each line takes the form:
  4--
  5-- <testid> <function> <input_value> -> <output_value> <flags>
  6--
  7-- where:
  8--
  9--   <testid> is a short name identifying the test,
 10--
 11--   <function> is the function to be tested (exp, cos, asinh, ...),
 12--
 13--   <input_value> is a pair of floats separated by whitespace
 14--     representing real and imaginary parts of a complex number, and
 15--
 16--   <output_value> is the expected (ideal) output value, again
 17--     represented as a pair of floats.
 18--
 19--   <flags> is a list of the floating-point flags required by C99
 20--
 21-- The possible flags are:
 22--
 23--   divide-by-zero : raised when a finite input gives a
 24--     mathematically infinite result.
 25--
 26--   overflow : raised when a finite input gives a finite result whose
 27--     real or imaginary part is too large to fit in the usual range
 28--     of an IEEE 754 double.
 29--
 30--   invalid : raised for invalid inputs.
 31--
 32--   ignore-real-sign : indicates that the sign of the real part of
 33--     the result is unspecified; if the real part of the result is
 34--     given as inf, then both -inf and inf should be accepted as
 35--     correct.
 36--
 37--   ignore-imag-sign : indicates that the sign of the imaginary part
 38--     of the result is unspecified.
 39--
 40-- Flags may appear in any order.
 41--
 42-- Lines beginning with '--' (like this one) start a comment, and are
 43-- ignored.  Blank lines, or lines containing only whitespace, are also
 44-- ignored.
 45
 46-- The majority of the values below were computed with the help of
 47-- version 2.3 of the MPFR library for multiple-precision
 48-- floating-point computations with correct rounding.  All output
 49-- values in this file are (modulo yet-to-be-discovered bugs)
 50-- correctly rounded, provided that each input and output decimal
 51-- floating-point value below is interpreted as a representation of
 52-- the corresponding nearest IEEE 754 double-precision value.  See the
 53-- MPFR homepage at http://www.mpfr.org for more information about the
 54-- MPFR project.
 55
 56
 57--------------------------
 58-- acos: Inverse cosine --
 59--------------------------
 60
 61-- zeros
 62acos0000 acos 0.0 0.0 -> 1.5707963267948966 -0.0
 63acos0001 acos 0.0 -0.0 -> 1.5707963267948966 0.0
 64acos0002 acos -0.0 0.0 -> 1.5707963267948966 -0.0
 65acos0003 acos -0.0 -0.0 -> 1.5707963267948966 0.0
 66
 67-- branch points: +/-1
 68acos0010 acos 1.0 0.0 -> 0.0 -0.0
 69acos0011 acos 1.0 -0.0 -> 0.0 0.0
 70acos0012 acos -1.0 0.0 -> 3.1415926535897931 -0.0
 71acos0013 acos -1.0 -0.0 -> 3.1415926535897931 0.0
 72
 73-- values along both sides of real axis
 74acos0020 acos -9.8813129168249309e-324 0.0 -> 1.5707963267948966 -0.0
 75acos0021 acos -9.8813129168249309e-324 -0.0 -> 1.5707963267948966 0.0
 76acos0022 acos -1e-305 0.0 -> 1.5707963267948966 -0.0
 77acos0023 acos -1e-305 -0.0 -> 1.5707963267948966 0.0
 78acos0024 acos -1e-150 0.0 -> 1.5707963267948966 -0.0
 79acos0025 acos -1e-150 -0.0 -> 1.5707963267948966 0.0
 80acos0026 acos -9.9999999999999998e-17 0.0 -> 1.5707963267948968 -0.0
 81acos0027 acos -9.9999999999999998e-17 -0.0 -> 1.5707963267948968 0.0
 82acos0028 acos -0.001 0.0 -> 1.5717963269615634 -0.0
 83acos0029 acos -0.001 -0.0 -> 1.5717963269615634 0.0
 84acos0030 acos -0.57899999999999996 0.0 -> 2.1882979816120667 -0.0
 85acos0031 acos -0.57899999999999996 -0.0 -> 2.1882979816120667 0.0
 86acos0032 acos -0.99999999999999989 0.0 -> 3.1415926386886319 -0.0
 87acos0033 acos -0.99999999999999989 -0.0 -> 3.1415926386886319 0.0
 88acos0034 acos -1.0000000000000002 0.0 -> 3.1415926535897931 -2.1073424255447014e-08
 89acos0035 acos -1.0000000000000002 -0.0 -> 3.1415926535897931 2.1073424255447014e-08
 90acos0036 acos -1.0009999999999999 0.0 -> 3.1415926535897931 -0.044717633608306849
 91acos0037 acos -1.0009999999999999 -0.0 -> 3.1415926535897931 0.044717633608306849
 92acos0038 acos -2.0 0.0 -> 3.1415926535897931 -1.3169578969248168
 93acos0039 acos -2.0 -0.0 -> 3.1415926535897931 1.3169578969248168
 94acos0040 acos -23.0 0.0 -> 3.1415926535897931 -3.8281684713331012
 95acos0041 acos -23.0 -0.0 -> 3.1415926535897931 3.8281684713331012
 96acos0042 acos -10000000000000000.0 0.0 -> 3.1415926535897931 -37.534508668464674
 97acos0043 acos -10000000000000000.0 -0.0 -> 3.1415926535897931 37.534508668464674
 98acos0044 acos -9.9999999999999998e+149 0.0 -> 3.1415926535897931 -346.08091112966679
 99acos0045 acos -9.9999999999999998e+149 -0.0 -> 3.1415926535897931 346.08091112966679
100acos0046 acos -1.0000000000000001e+299 0.0 -> 3.1415926535897931 -689.16608998577965
101acos0047 acos -1.0000000000000001e+299 -0.0 -> 3.1415926535897931 689.16608998577965
102acos0048 acos 9.8813129168249309e-324 0.0 -> 1.5707963267948966 -0.0
103acos0049 acos 9.8813129168249309e-324 -0.0 -> 1.5707963267948966 0.0
104acos0050 acos 1e-305 0.0 -> 1.5707963267948966 -0.0
105acos0051 acos 1e-305 -0.0 -> 1.5707963267948966 0.0
106acos0052 acos 1e-150 0.0 -> 1.5707963267948966 -0.0
107acos0053 acos 1e-150 -0.0 -> 1.5707963267948966 0.0
108acos0054 acos 9.9999999999999998e-17 0.0 -> 1.5707963267948966 -0.0
109acos0055 acos 9.9999999999999998e-17 -0.0 -> 1.5707963267948966 0.0
110acos0056 acos 0.001 0.0 -> 1.56979632662823 -0.0
111acos0057 acos 0.001 -0.0 -> 1.56979632662823 0.0
112acos0058 acos 0.57899999999999996 0.0 -> 0.95329467197772655 -0.0
113acos0059 acos 0.57899999999999996 -0.0 -> 0.95329467197772655 0.0
114acos0060 acos 0.99999999999999989 0.0 -> 1.4901161193847656e-08 -0.0
115acos0061 acos 0.99999999999999989 -0.0 -> 1.4901161193847656e-08 0.0
116acos0062 acos 1.0000000000000002 0.0 -> 0.0 -2.1073424255447014e-08
117acos0063 acos 1.0000000000000002 -0.0 -> 0.0 2.1073424255447014e-08
118acos0064 acos 1.0009999999999999 0.0 -> 0.0 -0.044717633608306849
119acos0065 acos 1.0009999999999999 -0.0 -> 0.0 0.044717633608306849
120acos0066 acos 2.0 0.0 -> 0.0 -1.3169578969248168
121acos0067 acos 2.0 -0.0 -> 0.0 1.3169578969248168
122acos0068 acos 23.0 0.0 -> 0.0 -3.8281684713331012
123acos0069 acos 23.0 -0.0 -> 0.0 3.8281684713331012
124acos0070 acos 10000000000000000.0 0.0 -> 0.0 -37.534508668464674
125acos0071 acos 10000000000000000.0 -0.0 -> 0.0 37.534508668464674
126acos0072 acos 9.9999999999999998e+149 0.0 -> 0.0 -346.08091112966679
127acos0073 acos 9.9999999999999998e+149 -0.0 -> 0.0 346.08091112966679
128acos0074 acos 1.0000000000000001e+299 0.0 -> 0.0 -689.16608998577965
129acos0075 acos 1.0000000000000001e+299 -0.0 -> 0.0 689.16608998577965
130
131-- random inputs
132acos0100 acos -3.3307113324596682 -10.732007530863266 -> 1.8706085694482339 3.113986806554613
133acos0101 acos -2863.952991743291 -2681013315.2571239 -> 1.5707973950301699 22.402607843274758
134acos0102 acos -0.33072639793220088 -0.85055464658253055 -> 1.8219426895922601 0.79250166729311966
135acos0103 acos -2.5722325842097802 -12.703940809821574 -> 1.7699942413107408 3.2565170156527325
136acos0104 acos -42.495233785459583 -0.54039320751337161 -> 3.1288732573153304 4.4424815519735601
137acos0105 acos -1.1363818625856401 9641.1325498630376 -> 1.5709141948820049 -9.8669410553254284
138acos0106 acos -2.4398426824157866e-11 0.33002051890266165 -> 1.570796326818066 -0.32430578041578667
139acos0107 acos -1.3521340428186552 2.9369737912076772 -> 1.9849059192339338 -1.8822893674117942
140acos0108 acos -1.827364706477915 1.0355459232147557 -> 2.5732246307960032 -1.4090688267854969
141acos0109 acos -0.25978373706403546 10.09712669185833 -> 1.5963940386378306 -3.0081673050196063
142acos0110 acos 0.33561778471072551 -4587350.6823999118 -> 1.5707962536333251 16.031960402579539
143acos0111 acos 0.49133444610998445 -0.8071422362990015 -> 1.1908761712801788 0.78573345813187867
144acos0112 acos 0.42196734507823974 -2.4812965431745115 -> 1.414091186100692 1.651707260988172
145acos0113 acos 2.961426210100655 -219.03295695248664 -> 1.5572768319822778 6.0824659885827304
146acos0114 acos 2.886209063652641 -20.38011207220606 -> 1.4302765252297889 3.718201853147642
147acos0115 acos 0.4180568075276509 1.4833433990823484 -> 1.3393834558303042 -1.2079847758301576
148acos0116 acos 52.376111405924718 0.013930429001941001 -> 0.00026601761804024188 -4.6515066691204714
149acos0117 acos 41637948387.625969 1.563418292894041 -> 3.7547918507883548e-11 -25.145424989809381
150acos0118 acos 0.061226659122249526 0.8447234394615154 -> 1.5240280306367315 -0.76791798971140812
151acos0119 acos 2.4480466420442959e+26 0.18002339201384662 -> 7.353756620564798e-28 -61.455650015996376
152
153-- values near infinity
154acos0200 acos 1.6206860518683021e+308 1.0308426226285283e+308 -> 0.56650826093826223 -710.54206874241561
155acos0201 acos 1.2067735875070062e+308 -1.3429173724390276e+308 -> 0.83874369390864889 710.48017794027498
156acos0202 acos -7.4130145132549047e+307 1.1759130543927645e+308 -> 2.1332729346478536 -710.21871115698752
157acos0203 acos -8.6329426442257249e+307 -1.2316282952184133e+308 -> 2.1821511032444838 710.29752145697148
158acos0204 acos 0.0 1.4289713855849746e+308 -> 1.5707963267948966 -710.24631069738996
159acos0205 acos -0.0 1.3153524545987432e+308 -> 1.5707963267948966 -710.1634604787539
160acos0206 acos 0.0 -9.6229037669269321e+307 -> 1.5707963267948966 709.85091679573691
161acos0207 acos -0.0 -4.9783616421107088e+307 -> 1.5707963267948966 709.19187157911233
162acos0208 acos 1.3937541925739389e+308 0.0 -> 0.0 -710.22135678707264
163acos0209 acos 9.1362388967371536e+307 -0.0 -> 0.0 709.79901953124613
164acos0210 acos -1.3457361220697436e+308 0.0 -> 3.1415926535897931 -710.18629698871848
165acos0211 acos -5.4699090056144284e+307 -0.0 -> 3.1415926535897931 709.28603271085649
166acos0212 acos 1.5880716932358901e+308 5.5638401252339929 -> 3.503519487773873e-308 -710.35187633140583
167acos0213 acos 1.2497211663463164e+308 -3.0456477717911024 -> 2.4370618453197486e-308 710.11227628223412
168acos0214 acos -9.9016224006029528e+307 4.9570427340789056 -> 3.1415926535897931 -709.87946935229468
169acos0215 acos -1.5854071066874139e+308 -4.4233577741497783 -> 3.1415926535897931 710.35019704672004
170acos0216 acos 9.3674623083647628 1.5209559051877979e+308 -> 1.5707963267948966 -710.30869484491086
171acos0217 acos 8.1773832021784383 -6.6093445795000056e+307 -> 1.5707963267948966 709.4752552227792
172acos0218 acos -3.1845935000665104 1.5768856396650893e+308 -> 1.5707963267948966 -710.34480761042687
173acos0219 acos -1.0577303880953903 -6.4574626815735613e+307 -> 1.5707963267948966 709.45200719662046
174
175-- values near 0
176acos0220 acos 1.8566986970714045e-320 3.1867234156760402e-321 -> 1.5707963267948966 -3.1867234156760402e-321
177acos0221 acos 7.9050503334599447e-323 -8.8931816251424378e-323 -> 1.5707963267948966 8.8931816251424378e-323
178acos0222 acos -4.4465908125712189e-323 2.4654065097222727e-311 -> 1.5707963267948966 -2.4654065097222727e-311
179acos0223 acos -6.1016916408192619e-311 -2.4703282292062327e-323 -> 1.5707963267948966 2.4703282292062327e-323
180acos0224 acos 0.0 3.4305783621842729e-311 -> 1.5707963267948966 -3.4305783621842729e-311
181acos0225 acos -0.0 1.6117409498633145e-319 -> 1.5707963267948966 -1.6117409498633145e-319
182acos0226 acos 0.0 -4.9900630229965901e-322 -> 1.5707963267948966 4.9900630229965901e-322
183acos0227 acos -0.0 -4.4889279210592818e-311 -> 1.5707963267948966 4.4889279210592818e-311
184acos0228 acos 5.3297678681477214e-312 0.0 -> 1.5707963267948966 -0.0
185acos0229 acos 6.2073425897211614e-313 -0.0 -> 1.5707963267948966 0.0
186acos0230 acos -4.9406564584124654e-324 0.0 -> 1.5707963267948966 -0.0
187acos0231 acos -1.7107517052899003e-318 -0.0 -> 1.5707963267948966 0.0
188
189-- special values
190acos1000 acos 0.0 0.0 -> 1.5707963267948966 -0.0
191acos1001 acos 0.0 -0.0 -> 1.5707963267948966 0.0
192acos1002 acos -0.0 0.0 -> 1.5707963267948966 -0.0
193acos1003 acos -0.0 -0.0 -> 1.5707963267948966 0.0
194acos1004 acos 0.0 nan -> 1.5707963267948966 nan
195acos1005 acos -0.0 nan -> 1.5707963267948966 nan
196acos1006 acos -2.3 inf -> 1.5707963267948966 -inf
197acos1007 acos -0.0 inf -> 1.5707963267948966 -inf
198acos1008 acos 0.0 inf -> 1.5707963267948966 -inf
199acos1009 acos 2.3 inf -> 1.5707963267948966 -inf
200acos1010 acos -2.3 nan -> nan nan
201acos1011 acos 2.3 nan -> nan nan
202acos1012 acos -inf 2.3 -> 3.1415926535897931 -inf
203acos1013 acos -inf 0.0 -> 3.1415926535897931 -inf
204acos1014 acos inf 2.3 -> 0.0 -inf
205acos1015 acos inf 0.0 -> 0.0 -inf
206acos1016 acos -inf inf -> 2.3561944901923448 -inf
207acos1017 acos inf inf -> 0.78539816339744828 -inf
208acos1018 acos inf nan -> nan inf                        ignore-imag-sign
209acos1019 acos -inf nan -> nan inf                       ignore-imag-sign
210acos1020 acos nan 0.0 -> nan nan
211acos1021 acos nan 2.3 -> nan nan
212acos1022 acos nan inf -> nan -inf
213acos1023 acos nan nan -> nan nan
214acos1024 acos -2.3 -inf -> 1.5707963267948966 inf
215acos1025 acos -0.0 -inf -> 1.5707963267948966 inf
216acos1026 acos 0.0 -inf -> 1.5707963267948966 inf
217acos1027 acos 2.3 -inf -> 1.5707963267948966 inf
218acos1028 acos -inf -2.3 -> 3.1415926535897931 inf
219acos1029 acos -inf -0.0 -> 3.1415926535897931 inf
220acos1030 acos inf -2.3 -> 0.0 inf
221acos1031 acos inf -0.0 -> 0.0 inf
222acos1032 acos -inf -inf -> 2.3561944901923448 inf
223acos1033 acos inf -inf -> 0.78539816339744828 inf
224acos1034 acos nan -0.0 -> nan nan
225acos1035 acos nan -2.3 -> nan nan
226acos1036 acos nan -inf -> nan inf
227
228
229--------------------------------------
230-- acosh: Inverse hyperbolic cosine --
231--------------------------------------
232
233-- zeros
234acosh0000 acosh 0.0 0.0 -> 0.0 1.5707963267948966
235acosh0001 acosh 0.0 -0.0 -> 0.0 -1.5707963267948966
236acosh0002 acosh -0.0 0.0 -> 0.0 1.5707963267948966
237acosh0003 acosh -0.0 -0.0 -> 0.0 -1.5707963267948966
238
239-- branch points: +/-1
240acosh0010 acosh 1.0 0.0 -> 0.0 0.0
241acosh0011 acosh 1.0 -0.0 -> 0.0 -0.0
242acosh0012 acosh -1.0 0.0 -> 0.0 3.1415926535897931
243acosh0013 acosh -1.0 -0.0 -> 0.0 -3.1415926535897931
244
245-- values along both sides of real axis
246acosh0020 acosh -9.8813129168249309e-324 0.0 -> 0.0 1.5707963267948966
247acosh0021 acosh -9.8813129168249309e-324 -0.0 -> 0.0 -1.5707963267948966
248acosh0022 acosh -1e-305 0.0 -> 0.0 1.5707963267948966
249acosh0023 acosh -1e-305 -0.0 -> 0.0 -1.5707963267948966
250acosh0024 acosh -1e-150 0.0 -> 0.0 1.5707963267948966
251acosh0025 acosh -1e-150 -0.0 -> 0.0 -1.5707963267948966
252acosh0026 acosh -9.9999999999999998e-17 0.0 -> 0.0 1.5707963267948968
253acosh0027 acosh -9.9999999999999998e-17 -0.0 -> 0.0 -1.5707963267948968
254acosh0028 acosh -0.001 0.0 -> 0.0 1.5717963269615634
255acosh0029 acosh -0.001 -0.0 -> 0.0 -1.5717963269615634
256acosh0030 acosh -0.57899999999999996 0.0 -> 0.0 2.1882979816120667
257acosh0031 acosh -0.57899999999999996 -0.0 -> 0.0 -2.1882979816120667
258acosh0032 acosh -0.99999999999999989 0.0 -> 0.0 3.1415926386886319
259acosh0033 acosh -0.99999999999999989 -0.0 -> 0.0 -3.1415926386886319
260acosh0034 acosh -1.0000000000000002 0.0 -> 2.1073424255447014e-08 3.1415926535897931
261acosh0035 acosh -1.0000000000000002 -0.0 -> 2.1073424255447014e-08 -3.1415926535897931
262acosh0036 acosh -1.0009999999999999 0.0 -> 0.044717633608306849 3.1415926535897931
263acosh0037 acosh -1.0009999999999999 -0.0 -> 0.044717633608306849 -3.1415926535897931
264acosh0038 acosh -2.0 0.0 -> 1.3169578969248168 3.1415926535897931
265acosh0039 acosh -2.0 -0.0 -> 1.3169578969248168 -3.1415926535897931
266acosh0040 acosh -23.0 0.0 -> 3.8281684713331012 3.1415926535897931
267acosh0041 acosh -23.0 -0.0 -> 3.8281684713331012 -3.1415926535897931
268acosh0042 acosh -10000000000000000.0 0.0 -> 37.534508668464674 3.1415926535897931
269acosh0043 acosh -10000000000000000.0 -0.0 -> 37.534508668464674 -3.1415926535897931
270acosh0044 acosh -9.9999999999999998e+149 0.0 -> 346.08091112966679 3.1415926535897931
271acosh0045 acosh -9.9999999999999998e+149 -0.0 -> 346.08091112966679 -3.1415926535897931
272acosh0046 acosh -1.0000000000000001e+299 0.0 -> 689.16608998577965 3.1415926535897931
273acosh0047 acosh -1.0000000000000001e+299 -0.0 -> 689.16608998577965 -3.1415926535897931
274acosh0048 acosh 9.8813129168249309e-324 0.0 -> 0.0 1.5707963267948966
275acosh0049 acosh 9.8813129168249309e-324 -0.0 -> 0.0 -1.5707963267948966
276acosh0050 acosh 1e-305 0.0 -> 0.0 1.5707963267948966
277acosh0051 acosh 1e-305 -0.0 -> 0.0 -1.5707963267948966
278acosh0052 acosh 1e-150 0.0 -> 0.0 1.5707963267948966
279acosh0053 acosh 1e-150 -0.0 -> 0.0 -1.5707963267948966
280acosh0054 acosh 9.9999999999999998e-17 0.0 -> 0.0 1.5707963267948966
281acosh0055 acosh 9.9999999999999998e-17 -0.0 -> 0.0 -1.5707963267948966
282acosh0056 acosh 0.001 0.0 -> 0.0 1.56979632662823
283acosh0057 acosh 0.001 -0.0 -> 0.0 -1.56979632662823
284acosh0058 acosh 0.57899999999999996 0.0 -> 0.0 0.95329467197772655
285acosh0059 acosh 0.57899999999999996 -0.0 -> 0.0 -0.95329467197772655
286acosh0060 acosh 0.99999999999999989 0.0 -> 0.0 1.4901161193847656e-08
287acosh0061 acosh 0.99999999999999989 -0.0 -> 0.0 -1.4901161193847656e-08
288acosh0062 acosh 1.0000000000000002 0.0 -> 2.1073424255447014e-08 0.0
289acosh0063 acosh 1.0000000000000002 -0.0 -> 2.1073424255447014e-08 -0.0
290acosh0064 acosh 1.0009999999999999 0.0 -> 0.044717633608306849 0.0
291acosh0065 acosh 1.0009999999999999 -0.0 -> 0.044717633608306849 -0.0
292acosh0066 acosh 2.0 0.0 -> 1.3169578969248168 0.0
293acosh0067 acosh 2.0 -0.0 -> 1.3169578969248168 -0.0
294acosh0068 acosh 23.0 0.0 -> 3.8281684713331012 0.0
295acosh0069 acosh 23.0 -0.0 -> 3.8281684713331012 -0.0
296acosh0070 acosh 10000000000000000.0 0.0 -> 37.534508668464674 0.0
297acosh0071 acosh 10000000000000000.0 -0.0 -> 37.534508668464674 -0.0
298acosh0072 acosh 9.9999999999999998e+149 0.0 -> 346.08091112966679 0.0
299acosh0073 acosh 9.9999999999999998e+149 -0.0 -> 346.08091112966679 -0.0
300acosh0074 acosh 1.0000000000000001e+299 0.0 -> 689.16608998577965 0.0
301acosh0075 acosh 1.0000000000000001e+299 -0.0 -> 689.16608998577965 -0.0
302
303-- random inputs
304acosh0100 acosh -1.4328589581250843 -1.8370347775558309 -> 1.5526962646549587 -2.190250168435786
305acosh0101 acosh -0.31075819156220957 -1.0772555786839297 -> 0.95139168286193709 -1.7812228089636479
306acosh0102 acosh -1.9044776578070453 -20.485370158932124 -> 3.7177411088932359 -1.6633888745861227
307acosh0103 acosh -0.075642506000858742 -21965976320.873051 -> 24.505907742881991 -1.5707963267983402
308acosh0104 acosh -1.6162271181056307 -3.0369343458696099 -> 1.9407057262861227 -2.0429549461750209
309acosh0105 acosh -0.3103780280298063 0.00018054880018078987 -> 0.00018992877058761416 1.886386995096728
310acosh0106 acosh -9159468751.5897655 5.8014747664273649 -> 23.631201197959193 3.1415926529564078
311acosh0107 acosh -0.037739157550933884 0.21841357493510705 -> 0.21685844960602488 1.6076735133449402
312acosh0108 acosh -8225991.0508394297 0.28318543008913644 -> 16.615956520420287 3.1415926191641019
313acosh0109 acosh -35.620070502302639 0.31303237005015 -> 4.2658980006943965 3.1328013255541873
314acosh0110 acosh 96.729939906820917 -0.029345228372365334 -> 5.2650434775863548 -0.00030338895866972843
315acosh0111 acosh 0.59656024007966491 -2.0412294654163978 -> 1.4923002024287835 -1.312568421900338
316acosh0112 acosh 109.29384112677828 -0.00015454863061533812 -> 5.3871662961545477 -1.4141245154061214e-06
317acosh0113 acosh 8.6705651969361597 -3.6723631649787465 -> 2.9336180958363545 -0.40267362031872861
318acosh0114 acosh 1.8101646445052686 -0.012345132721855478 -> 1.1997148566285769 -0.0081813912760150265
319acosh0115 acosh 52.56897195025288 0.001113916065985443 -> 4.6551827622264135 2.1193445872040307e-05
320acosh0116 acosh 0.28336786164214739 355643992457.40485 -> 27.290343226816528 1.5707963267940999
321acosh0117 acosh 0.73876621291911437 2.8828594541104322e-20 -> 4.2774820978159067e-20 0.73955845836827927
322acosh0118 acosh 0.025865471781718878 37125746064318.492 -> 31.938478989418012 1.5707963267948959
323acosh0119 acosh 2.2047353511780132 0.074712248143489271 -> 1.4286403248698021 0.037997904971626598
324
325-- values near infinity
326acosh0200 acosh 8.1548592876467785e+307 9.0943779335951128e+307 -> 710.08944620800605 0.83981165425478954
327acosh0201 acosh 1.4237229680972531e+308 -1.0336966617874858e+308 -> 710.4543331094759 -0.6279972876348755
328acosh0202 acosh -1.5014526899738939e+308 1.5670700378448792e+308 -> 710.66420706795464 2.3348137299106697
329acosh0203 acosh -1.0939040375213928e+308 -1.0416960351127978e+308 -> 710.30182863115886 -2.380636147787027
330acosh0204 acosh 0.0 1.476062433559588e+308 -> 710.27873384716929 1.5707963267948966
331acosh0205 acosh -0.0 6.2077210326221094e+307 -> 709.41256457484769 1.5707963267948966
332acosh0206 acosh 0.0 -1.5621899909968308e+308 -> 710.33544449990734 -1.5707963267948966
333acosh0207 acosh -0.0 -8.3556624833839122e+307 -> 709.70971018048317 -1.5707963267948966
334acosh0208 acosh 1.3067079752499342e+308 0.0 -> 710.15686680107228 0.0
335acosh0209 acosh 1.5653640340214026e+308 -0.0 -> 710.33747422926706 -0.0
336acosh0210 acosh -6.9011375992290636e+307 0.0 -> 709.51845699719922 3.1415926535897931
337acosh0211 acosh -9.9539576809926973e+307 -0.0 -> 709.88474095870185 -3.1415926535897931
338acosh0212 acosh 7.6449598518914925e+307 9.5706540768268358 -> 709.62081731754802 1.2518906916769345e-307
339acosh0213 acosh 5.4325410972602197e+307 -7.8064807816522706 -> 709.279177727925 -1.4369851312471974e-307
340acosh0214 acosh -1.1523626112360465e+308 7.0617510038869336 -> 710.03117010216909 3.1415926535897931
341acosh0215 acosh -1.1685027786862599e+308 -5.1568558357925625 -> 710.04507907571417 -3.1415926535897931
342acosh0216 acosh 3.0236370339788721 1.7503248720096417e+308 -> 710.44915723458064 1.5707963267948966
343acosh0217 acosh 6.6108007926031149 -9.1469968225806149e+307 -> 709.80019633903328 -1.5707963267948966
344acosh0218 acosh -5.1096262905623959 6.4484926785412395e+307 -> 709.45061713997973 1.5707963267948966
345acosh0219 acosh -2.8080920608735846 -1.7716118836519368e+308 -> 710.46124562363445 -1.5707963267948966
346
347-- values near 0
348acosh0220 acosh 4.5560530326699304e-317 7.3048989121436657e-318 -> 7.3048989121436657e-318 1.5707963267948966
349acosh0221 acosh 4.8754274133585331e-314 -9.8469794897684199e-315 -> 9.8469794897684199e-315 -1.5707963267948966
350acosh0222 acosh -4.6748876009960097e-312 9.7900342887557606e-318 -> 9.7900342887557606e-318 1.5707963267948966
351acosh0223 acosh -4.3136871538399236e-320 -4.9406564584124654e-323 -> 4.9406564584124654e-323 -1.5707963267948966
352acosh0224 acosh 0.0 4.3431013866496774e-314 -> 4.3431013866496774e-314 1.5707963267948966
353acosh0225 acosh -0.0 6.0147334335829184e-317 -> 6.0147334335829184e-317 1.5707963267948966
354acosh0226 acosh 0.0 -1.2880291387081297e-320 -> 1.2880291387081297e-320 -1.5707963267948966
355acosh0227 acosh -0.0 -1.4401563976534621e-317 -> 1.4401563976534621e-317 -1.5707963267948966
356acosh0228 acosh 1.3689680570863091e-313 0.0 -> 0.0 1.5707963267948966
357acosh0229 acosh 1.5304346893494371e-312 -0.0 -> 0.0 -1.5707963267948966
358acosh0230 acosh -3.7450175954766488e-320 0.0 -> 0.0 1.5707963267948966
359acosh0231 acosh -8.4250563080885801e-311 -0.0 -> 0.0 -1.5707963267948966
360
361-- special values
362acosh1000 acosh 0.0 0.0 -> 0.0 1.5707963267948966
363acosh1001 acosh -0.0 0.0 -> 0.0 1.5707963267948966
364acosh1002 acosh 0.0 inf -> inf 1.5707963267948966
365acosh1003 acosh 2.3 inf -> inf 1.5707963267948966
366acosh1004 acosh -0.0 inf -> inf 1.5707963267948966
367acosh1005 acosh -2.3 inf -> inf 1.5707963267948966
368acosh1006 acosh 0.0 nan -> nan nan
369acosh1007 acosh 2.3 nan -> nan nan
370acosh1008 acosh -0.0 nan -> nan nan
371acosh1009 acosh -2.3 nan -> nan nan
372acosh1010 acosh -inf 0.0 -> inf 3.1415926535897931
373acosh1011 acosh -inf 2.3 -> inf 3.1415926535897931
374acosh1012 acosh inf 0.0 -> inf 0.0
375acosh1013 acosh inf 2.3 -> inf 0.0
376acosh1014 acosh -inf inf -> inf 2.3561944901923448
377acosh1015 acosh inf inf -> inf 0.78539816339744828
378acosh1016 acosh inf nan -> inf nan
379acosh1017 acosh -inf nan -> inf nan
380acosh1018 acosh nan 0.0 -> nan nan
381acosh1019 acosh nan 2.3 -> nan nan
382acosh1020 acosh nan inf -> inf nan
383acosh1021 acosh nan nan -> nan nan
384acosh1022 acosh 0.0 -0.0 -> 0.0 -1.5707963267948966
385acosh1023 acosh -0.0 -0.0 -> 0.0 -1.5707963267948966
386acosh1024 acosh 0.0 -inf -> inf -1.5707963267948966
387acosh1025 acosh 2.3 -inf -> inf -1.5707963267948966
388acosh1026 acosh -0.0 -inf -> inf -1.5707963267948966
389acosh1027 acosh -2.3 -inf -> inf -1.5707963267948966
390acosh1028 acosh -inf -0.0 -> inf -3.1415926535897931
391acosh1029 acosh -inf -2.3 -> inf -3.1415926535897931
392acosh1030 acosh inf -0.0 -> inf -0.0
393acosh1031 acosh inf -2.3 -> inf -0.0
394acosh1032 acosh -inf -inf -> inf -2.3561944901923448
395acosh1033 acosh inf -inf -> inf -0.78539816339744828
396acosh1034 acosh nan -0.0 -> nan nan
397acosh1035 acosh nan -2.3 -> nan nan
398acosh1036 acosh nan -inf -> inf nan
399
400
401------------------------
402-- asin: Inverse sine --
403------------------------
404
405-- zeros
406asin0000 asin 0.0 0.0 -> 0.0 0.0
407asin0001 asin 0.0 -0.0 -> 0.0 -0.0
408asin0002 asin -0.0 0.0 -> -0.0 0.0
409asin0003 asin -0.0 -0.0 -> -0.0 -0.0
410
411-- branch points: +/-1
412asin0010 asin 1.0 0.0 -> 1.5707963267948966 0.0
413asin0011 asin 1.0 -0.0 -> 1.5707963267948966 -0.0
414asin0012 asin -1.0 0.0 -> -1.5707963267948966 0.0
415asin0013 asin -1.0 -0.0 -> -1.5707963267948966 -0.0
416
417-- values along both sides of real axis
418asin0020 asin -9.8813129168249309e-324 0.0 -> -9.8813129168249309e-324 0.0
419asin0021 asin -9.8813129168249309e-324 -0.0 -> -9.8813129168249309e-324 -0.0
420asin0022 asin -1e-305 0.0 -> -1e-305 0.0
421asin0023 asin -1e-305 -0.0 -> -1e-305 -0.0
422asin0024 asin -1e-150 0.0 -> -1e-150 0.0
423asin0025 asin -1e-150 -0.0 -> -1e-150 -0.0
424asin0026 asin -9.9999999999999998e-17 0.0 -> -9.9999999999999998e-17 0.0
425asin0027 asin -9.9999999999999998e-17 -0.0 -> -9.9999999999999998e-17 -0.0
426asin0028 asin -0.001 0.0 -> -0.0010000001666667416 0.0
427asin0029 asin -0.001 -0.0 -> -0.0010000001666667416 -0.0
428asin0030 asin -0.57899999999999996 0.0 -> -0.61750165481717001 0.0
429asin0031 asin -0.57899999999999996 -0.0 -> -0.61750165481717001 -0.0
430asin0032 asin -0.99999999999999989 0.0 -> -1.5707963118937354 0.0
431asin0033 asin -0.99999999999999989 -0.0 -> -1.5707963118937354 -0.0
432asin0034 asin -1.0000000000000002 0.0 -> -1.5707963267948966 2.1073424255447014e-08
433asin0035 asin -1.0000000000000002 -0.0 -> -1.5707963267948966 -2.1073424255447014e-08
434asin0036 asin -1.0009999999999999 0.0 -> -1.5707963267948966 0.044717633608306849
435asin0037 asin -1.0009999999999999 -0.0 -> -1.5707963267948966 -0.044717633608306849
436asin0038 asin -2.0 0.0 -> -1.5707963267948966 1.3169578969248168
437asin0039 asin -2.0 -0.0 -> -1.5707963267948966 -1.3169578969248168
438asin0040 asin -23.0 0.0 -> -1.5707963267948966 3.8281684713331012
439asin0041 asin -23.0 -0.0 -> -1.5707963267948966 -3.8281684713331012
440asin0042 asin -10000000000000000.0 0.0 -> -1.5707963267948966 37.534508668464674
441asin0043 asin -10000000000000000.0 -0.0 -> -1.5707963267948966 -37.534508668464674
442asin0044 asin -9.9999999999999998e+149 0.0 -> -1.5707963267948966 346.08091112966679
443asin0045 asin -9.9999999999999998e+149 -0.0 -> -1.5707963267948966 -346.08091112966679
444asin0046 asin -1.0000000000000001e+299 0.0 -> -1.5707963267948966 689.16608998577965
445asin0047 asin -1.0000000000000001e+299 -0.0 -> -1.5707963267948966 -689.16608998577965
446asin0048 asin 9.8813129168249309e-324 0.0 -> 9.8813129168249309e-324 0.0
447asin0049 asin 9.8813129168249309e-324 -0.0 -> 9.8813129168249309e-324 -0.0
448asin0050 asin 1e-305 0.0 -> 1e-305 0.0
449asin0051 asin 1e-305 -0.0 -> 1e-305 -0.0
450asin0052 asin 1e-150 0.0 -> 1e-150 0.0
451asin0053 asin 1e-150 -0.0 -> 1e-150 -0.0
452asin0054 asin 9.9999999999999998e-17 0.0 -> 9.9999999999999998e-17 0.0
453asin0055 asin 9.9999999999999998e-17 -0.0 -> 9.9999999999999998e-17 -0.0
454asin0056 asin 0.001 0.0 -> 0.0010000001666667416 0.0
455asin0057 asin 0.001 -0.0 -> 0.0010000001666667416 -0.0
456asin0058 asin 0.57899999999999996 0.0 -> 0.61750165481717001 0.0
457asin0059 asin 0.57899999999999996 -0.0 -> 0.61750165481717001 -0.0
458asin0060 asin 0.99999999999999989 0.0 -> 1.5707963118937354 0.0
459asin0061 asin 0.99999999999999989 -0.0 -> 1.5707963118937354 -0.0
460asin0062 asin 1.0000000000000002 0.0 -> 1.5707963267948966 2.1073424255447014e-08
461asin0063 asin 1.0000000000000002 -0.0 -> 1.5707963267948966 -2.1073424255447014e-08
462asin0064 asin 1.0009999999999999 0.0 -> 1.5707963267948966 0.044717633608306849
463asin0065 asin 1.0009999999999999 -0.0 -> 1.5707963267948966 -0.044717633608306849
464asin0066 asin 2.0 0.0 -> 1.5707963267948966 1.3169578969248168
465asin0067 asin 2.0 -0.0 -> 1.5707963267948966 -1.3169578969248168
466asin0068 asin 23.0 0.0 -> 1.5707963267948966 3.8281684713331012
467asin0069 asin 23.0 -0.0 -> 1.5707963267948966 -3.8281684713331012
468asin0070 asin 10000000000000000.0 0.0 -> 1.5707963267948966 37.534508668464674
469asin0071 asin 10000000000000000.0 -0.0 -> 1.5707963267948966 -37.534508668464674
470asin0072 asin 9.9999999999999998e+149 0.0 -> 1.5707963267948966 346.08091112966679
471asin0073 asin 9.9999999999999998e+149 -0.0 -> 1.5707963267948966 -346.08091112966679
472asin0074 asin 1.0000000000000001e+299 0.0 -> 1.5707963267948966 689.16608998577965
473asin0075 asin 1.0000000000000001e+299 -0.0 -> 1.5707963267948966 -689.16608998577965
474
475-- random inputs
476asin0100 asin -1.5979555835086083 -0.15003009814595247 -> -1.4515369557405788 -1.0544476399790823
477asin0101 asin -0.57488225895317679 -9.6080397838952743e-13 -> -0.61246024460412851 -1.174238005400403e-12
478asin0102 asin -3.6508087930516249 -0.36027527093220152 -> -1.4685890605305874 -1.9742273007152038
479asin0103 asin -1.5238659792326819 -1.1360813516996364 -> -0.86080051691147275 -1.3223742205689195
480asin0104 asin -1592.0639045555306 -0.72362427935018236 -> -1.5703418071175179 -8.0659336918729228
481asin0105 asin -0.19835471371312019 4.2131508416697709 -> -0.045777831019935149 2.1461732751933171
482asin0106 asin -1.918471054430213 0.40603305079779234 -> -1.3301396585791556 1.30263642314981
483asin0107 asin -254495.01623373642 0.71084414434470822 -> -1.5707935336394359 13.140183712762321
484asin0108 asin -0.31315882715691157 3.9647994288429866 -> -0.076450403840916004 2.0889762138713457
485asin0109 asin -0.90017064284720816 1.2530659485907105 -> -0.53466509741943447 1.1702811557577
486asin0110 asin 2.1615181696571075 -0.14058647488229523 -> 1.4976166323896871 -1.4085811039334604
487asin0111 asin 1.2104749210707795 -0.85732484485298999 -> 0.83913071588343924 -1.0681719250525901
488asin0112 asin 1.7059733185128891 -0.84032966373156581 -> 1.0510900815816229 -1.2967979791361652
489asin0113 asin 9.9137085017290687 -1.4608383970250893 -> 1.4237704820128891 -2.995414677560686
490asin0114 asin 117.12344751041495 -5453908091.5334015 -> 2.1475141411392012e-08 -23.112745450217066
491asin0115 asin 0.081041187798029227 0.067054349860173196 -> 0.080946786856771813 0.067223991060639698
492asin0116 asin 46.635472322049949 2.3835190718056678 -> 1.5197194940010779 4.5366989600972083
493asin0117 asin 3907.0687961127105 19.144021886390181 -> 1.5658965233083235 8.9637018715924217
494asin0118 asin 1.0889312322308273 509.01577883554768 -> 0.0021392803817829316 6.9256294494524706
495asin0119 asin 0.10851518277509224 1.5612510908217476 -> 0.058491014243902621 1.2297075725621327
496
497-- values near infinity
498asin0200 asin 1.5230241998821499e+308 5.5707228994084525e+307 -> 1.2201446370892068 710.37283486535966
499asin0201 asin 8.1334317698672204e+307 -9.2249425197872451e+307 -> 0.72259991284020042 -710.0962453049026
500asin0202 asin -9.9138506659241768e+307 6.701544526434995e+307 -> -0.97637511742194594 710.06887486671371
501asin0203 asin -1.4141298868173842e+308 -5.401505134514191e+307 -> -1.2059319055160587 -710.30396478954628
502asin0204 asin 0.0 9.1618092977897431e+307 -> 0.0 709.80181441050593
503asin0205 asin -0.0 6.8064342551939755e+307 -> -0.0 709.50463910853489
504asin0206 asin 0.0 -6.4997516454798215e+307 -> 0.0 -709.45853469751592
505asin0207 asin -0.0 -1.6767449053345242e+308 -> -0.0 -710.4062101803022
506asin0208 asin 5.4242749957378916e+307 0.0 -> 1.5707963267948966 709.27765497888902
507asin0209 asin 9.5342145121164749e+307 -0.0 -> 1.5707963267948966 -709.84165758595907
508asin0210 asin -7.0445698006201847e+307 0.0 -> -1.5707963267948966 709.53902780872136
509asin0211 asin -1.0016025569769706e+308 -0.0 -> -1.5707963267948966 -709.89095709697881
510asin0212 asin 1.6552203778877204e+308 0.48761543336249491 -> 1.5707963267948966 710.39328998153474
511asin0213 asin 1.2485712830384869e+308 -4.3489311161278899 -> 1.5707963267948966 -710.1113557467786
512asin0214 asin -1.5117842813353125e+308 5.123452666102434 -> -1.5707963267948966 710.30264641923031
513asin0215 asin -1.3167634313008016e+308 -0.52939679793528982 -> -1.5707963267948966 -710.16453260239768
514asin0216 asin 0.80843929176985907 1.0150851827767876e+308 -> 7.9642507396113875e-309 709.90432835561637
515asin0217 asin 8.2544809829680901 -1.7423548140539474e+308 -> 4.7375430746865733e-308 -710.44459336242164
516asin0218 asin -5.2499000118824295 4.6655578977512214e+307 -> -1.1252459249113292e-307 709.1269781491103
517asin0219 asin -5.9904782760833433 -4.7315689314781163e+307 -> -1.2660659419394637e-307 -709.14102757522312
518
519-- special values
520asin1000 asin -0.0 0.0 -> -0.0 0.0
521asin1001 asin 0.0 0.0 -> 0.0 0.0
522asin1002 asin -0.0 -0.0 -> -0.0 -0.0
523asin1003 asin 0.0 -0.0 -> 0.0 -0.0
524asin1004 asin -inf 0.0 -> -1.5707963267948966 inf
525asin1005 asin -inf 2.2999999999999998 -> -1.5707963267948966 inf
526asin1006 asin nan 0.0 -> nan nan
527asin1007 asin nan 2.2999999999999998 -> nan nan
528asin1008 asin -0.0 inf -> -0.0 inf
529asin1009 asin -2.2999999999999998 inf -> -0.0 inf
530asin1010 asin -inf inf -> -0.78539816339744828 inf
531asin1011 asin nan inf -> nan inf
532asin1012 asin -0.0 nan -> -0.0 nan
533asin1013 asin -2.2999999999999998 nan -> nan nan
534asin1014 asin -inf nan -> nan inf ignore-imag-sign
535asin1015 asin nan nan -> nan nan
536asin1016 asin inf 0.0 -> 1.5707963267948966 inf
537asin1017 asin inf 2.2999999999999998 -> 1.5707963267948966 inf
538asin1018 asin 0.0 inf -> 0.0 inf
539asin1019 asin 2.2999999999999998 inf -> 0.0 inf
540asin1020 asin inf inf -> 0.78539816339744828 inf
541asin1021 asin 0.0 nan -> 0.0 nan
542asin1022 asin 2.2999999999999998 nan -> nan nan
543asin1023 asin inf nan -> nan inf ignore-imag-sign
544asin1024 asin inf -0.0 -> 1.5707963267948966 -inf
545asin1025 asin inf -2.2999999999999998 -> 1.5707963267948966 -inf
546asin1026 asin nan -0.0 -> nan nan
547asin1027 asin nan -2.2999999999999998 -> nan nan
548asin1028 asin 0.0 -inf -> 0.0 -inf
549asin1029 asin 2.2999999999999998 -inf -> 0.0 -inf
550asin1030 asin inf -inf -> 0.78539816339744828 -inf
551asin1031 asin nan -inf -> nan -inf
552asin1032 asin -inf -0.0 -> -1.5707963267948966 -inf
553asin1033 asin -inf -2.2999999999999998 -> -1.5707963267948966 -inf
554asin1034 asin -0.0 -inf -> -0.0 -inf
555asin1035 asin -2.2999999999999998 -inf -> -0.0 -inf
556asin1036 asin -inf -inf -> -0.78539816339744828 -inf
557
558
559------------------------------------
560-- asinh: Inverse hyperbolic sine --
561------------------------------------
562
563-- zeros
564asinh0000 asinh 0.0 0.0 -> 0.0 0.0
565asinh0001 asinh 0.0 -0.0 -> 0.0 -0.0
566asinh0002 asinh -0.0 0.0 -> -0.0 0.0
567asinh0003 asinh -0.0 -0.0 -> -0.0 -0.0
568
569-- branch points: +/-i
570asinh0010 asinh 0.0 1.0 -> 0.0 1.5707963267948966
571asinh0011 asinh 0.0 -1.0 -> 0.0 -1.5707963267948966
572asinh0012 asinh -0.0 1.0 -> -0.0 1.5707963267948966
573asinh0013 asinh -0.0 -1.0 -> -0.0 -1.5707963267948966
574
575-- values along both sides of imaginary axis
576asinh0020 asinh 0.0 -9.8813129168249309e-324 -> 0.0 -9.8813129168249309e-324
577asinh0021 asinh -0.0 -9.8813129168249309e-324 -> -0.0 -9.8813129168249309e-324
578asinh0022 asinh 0.0 -1e-305 -> 0.0 -1e-305
579asinh0023 asinh -0.0 -1e-305 -> -0.0 -1e-305
580asinh0024 asinh 0.0 -1e-150 -> 0.0 -1e-150
581asinh0025 asinh -0.0 -1e-150 -> -0.0 -1e-150
582asinh0026 asinh 0.0 -9.9999999999999998e-17 -> 0.0 -9.9999999999999998e-17
583asinh0027 asinh -0.0 -9.9999999999999998e-17 -> -0.0 -9.9999999999999998e-17
584asinh0028 asinh 0.0 -0.001 -> 0.0 -0.0010000001666667416
585asinh0029 asinh -0.0 -0.001 -> -0.0 -0.0010000001666667416
586asinh0030 asinh 0.0 -0.57899999999999996 -> 0.0 -0.61750165481717001
587asinh0031 asinh -0.0 -0.57899999999999996 -> -0.0 -0.61750165481717001
588asinh0032 asinh 0.0 -0.99999999999999989 -> 0.0 -1.5707963118937354
589asinh0033 asinh -0.0 -0.99999999999999989 -> -0.0 -1.5707963118937354
590asinh0034 asinh 0.0 -1.0000000000000002 -> 2.1073424255447014e-08 -1.5707963267948966
591asinh0035 asinh -0.0 -1.0000000000000002 -> -2.1073424255447014e-08 -1.5707963267948966
592asinh0036 asinh 0.0 -1.0009999999999999 -> 0.044717633608306849 -1.5707963267948966
593asinh0037 asinh -0.0 -1.0009999999999999 -> -0.044717633608306849 -1.5707963267948966
594asinh0038 asinh 0.0 -2.0 -> 1.3169578969248168 -1.5707963267948966
595asinh0039 asinh -0.0 -2.0 -> -1.3169578969248168 -1.5707963267948966
596asinh0040 asinh 0.0 -20.0 -> 3.6882538673612966 -1.5707963267948966
597asinh0041 asinh -0.0 -20.0 -> -3.6882538673612966 -1.5707963267948966
598asinh0042 asinh 0.0 -10000000000000000.0 -> 37.534508668464674 -1.5707963267948966
599asinh0043 asinh -0.0 -10000000000000000.0 -> -37.534508668464674 -1.5707963267948966
600asinh0044 asinh 0.0 -9.9999999999999998e+149 -> 346.08091112966679 -1.5707963267948966
601asinh0045 asinh -0.0 -9.9999999999999998e+149 -> -346.08091112966679 -1.5707963267948966
602asinh0046 asinh 0.0 -1.0000000000000001e+299 -> 689.16608998577965 -1.5707963267948966
603asinh0047 asinh -0.0 -1.0000000000000001e+299 -> -689.16608998577965 -1.5707963267948966
604asinh0048 asinh 0.0 9.8813129168249309e-324 -> 0.0 9.8813129168249309e-324
605asinh0049 asinh -0.0 9.8813129168249309e-324 -> -0.0 9.8813129168249309e-324
606asinh0050 asinh 0.0 1e-305 -> 0.0 1e-305
607asinh0051 asinh -0.0 1e-305 -> -0.0 1e-305
608asinh0052 asinh 0.0 1e-150 -> 0.0 1e-150
609asinh0053 asinh -0.0 1e-150 -> -0.0 1e-150
610asinh0054 asinh 0.0 9.9999999999999998e-17 -> 0.0 9.9999999999999998e-17
611asinh0055 asinh -0.0 9.9999999999999998e-17 -> -0.0 9.9999999999999998e-17
612asinh0056 asinh 0.0 0.001 -> 0.0 0.0010000001666667416
613asinh0057 asinh -0.0 0.001 -> -0.0 0.0010000001666667416
614asinh0058 asinh 0.0 0.57899999999999996 -> 0.0 0.61750165481717001
615asinh0059 asinh -0.0 0.57899999999999996 -> -0.0 0.61750165481717001
616asinh0060 asinh 0.0 0.99999999999999989 -> 0.0 1.5707963118937354
617asinh0061 asinh -0.0 0.99999999999999989 -> -0.0 1.5707963118937354
618asinh0062 asinh 0.0 1.0000000000000002 -> 2.1073424255447014e-08 1.5707963267948966
619asinh0063 asinh -0.0 1.0000000000000002 -> -2.1073424255447014e-08 1.5707963267948966
620asinh0064 asinh 0.0 1.0009999999999999 -> 0.044717633608306849 1.5707963267948966
621asinh0065 asinh -0.0 1.0009999999999999 -> -0.044717633608306849 1.5707963267948966
622asinh0066 asinh 0.0 2.0 -> 1.3169578969248168 1.5707963267948966
623asinh0067 asinh -0.0 2.0 -> -1.3169578969248168 1.5707963267948966
624asinh0068 asinh 0.0 20.0 -> 3.6882538673612966 1.5707963267948966
625asinh0069 asinh -0.0 20.0 -> -3.6882538673612966 1.5707963267948966
626asinh0070 asinh 0.0 10000000000000000.0 -> 37.534508668464674 1.5707963267948966
627asinh0071 asinh -0.0 10000000000000000.0 -> -37.534508668464674 1.5707963267948966
628asinh0072 asinh 0.0 9.9999999999999998e+149 -> 346.08091112966679 1.5707963267948966
629asinh0073 asinh -0.0 9.9999999999999998e+149 -> -346.08091112966679 1.5707963267948966
630asinh0074 asinh 0.0 1.0000000000000001e+299 -> 689.16608998577965 1.5707963267948966
631asinh0075 asinh -0.0 1.0000000000000001e+299 -> -689.16608998577965 1.5707963267948966
632
633-- random inputs
634asinh0100 asinh -0.5946402853710423 -0.044506548910000145 -> -0.56459775392653022 -0.038256221441536356
635asinh0101 asinh -0.19353958046180916 -0.017489624793193454 -> -0.19237926804196651 -0.017171741895336792
636asinh0102 asinh -0.033117585138955893 -8.5256414015933757 -> -2.8327758348650969 -1.5668848791092411
637asinh0103 asinh -1.5184043184035716 -0.73491245339073275 -> -1.2715891419764005 -0.39204624408542355
638asinh0104 asinh -0.60716120271208818 -0.28900743958436542 -> -0.59119299421187232 -0.24745931678118135
639asinh0105 asinh -0.0237177865112429 2.8832601052166313 -> -1.7205820772413236 1.5620261702963094
640asinh0106 asinh -2.3906812342743979 2.6349216848574013 -> -1.9609636249445124 0.8142142660574706
641asinh0107 asinh -0.0027605019787620517 183.85588476550555 -> -5.9072920005445066 1.5707813120847871
642asinh0108 asinh -0.99083661164404713 0.028006797051617648 -> -0.8750185251283995 0.019894099615994653
643asinh0109 asinh -3.0362951937986393 0.86377266758504867 -> -1.8636030714685221 0.26475058859950168
644asinh0110 asinh 0.34438464536152769 -0.71603790174885029 -> 0.43985415690734164 -0.71015037409294324
645asinh0111 asinh 4.4925124413876256 -60604595352.871613 -> 25.520783738612078 -1.5707963267207683
646asinh0112 asinh 2.3213991428170337 -7.5459667007307258 -> 2.7560464993451643 -1.270073210856117
647asinh0113 asinh 0.21291939741682028 -1.2720428814784408 -> 0.77275088137338266 -1.3182099250896895
648asinh0114 asinh 6.6447359379455957 -0.97196191666946996 -> 2.602830695139672 -0.14368247412319965
649asinh0115 asinh 7.1326256655083746 2.1516360452706857 -> 2.7051146374367212 0.29051701669727581
650asinh0116 asinh 0.18846550905063442 3.4705348585339832 -> 1.917697875799296 1.514155593347924
651asinh0117 asinh 0.19065075303281598 0.26216814548222012 -> 0.19603050785932474 0.26013422809614117
652asinh0118 asinh 2.0242004665739719 0.70510281647495787 -> 1.4970366212896002 0.30526007200481453
653asinh0119 asinh 37.336596461576057 717.29157391678234 -> 7.269981997945294 1.5187910219576033
654
655-- values near infinity
656asinh0200 asinh 1.0760517500874541e+308 1.1497786241240167e+308 -> 710.34346055651815 0.81850936961793475
657asinh0201 asinh 1.1784839328845529e+308 -1.6478429586716638e+308 -> 710.59536255783678 -0.94996311735607697
658asinh0202 asinh -4.8777682248909193e+307 1.4103736217538474e+308 -> -710.28970147376992 1.2378239519096443
659asinh0203 asinh -1.2832478903233108e+308 -1.5732392613155698e+308 -> -710.59750164290745 -0.88657181439322452
660asinh0204 asinh 0.0 6.8431383856345372e+307 -> 709.51001718444604 1.5707963267948966
661asinh0205 asinh -0.0 8.601822432238051e+307 -> -709.73874482126689 1.5707963267948966
662asinh0206 asinh 0.0 -5.5698396067303782e+307 -> 709.30413698733742 -1.5707963267948966
663asinh0207 asinh -0.0 -7.1507777734621804e+307 -> -709.55399186002705 -1.5707963267948966
664asinh0208 asinh 1.6025136110019349e+308 0.0 -> 710.3609292261076 0.0
665asinh0209 asinh 1.3927819858239114e+308 -0.0 -> 710.22065899832899 -0.0
666asinh0210 asinh -6.0442994056210995e+307 0.0 -> -709.38588631057621 0.0
667asinh0211 asinh -1.2775271979042634e+308 -0.0 -> -710.13428215553972 -0.0
668asinh0212 asinh 1.0687496260268489e+308 1.0255615699476961 -> 709.95584521407841 9.5959010882679093e-309
669asinh0213 asinh 1.0050967333370962e+308 -0.87668970117333433 -> 709.89443961168183 -8.7224410556242882e-309
670asinh0214 asinh -5.7161452814862392e+307 8.2377808413450122 -> -709.33006540611166 1.4411426644501116e-307
671asinh0215 asinh -8.2009040727653315e+307 -6.407409526654976 -> -709.69101513070109 -7.8130526461510088e-308
672asinh0216 asinh 6.4239368496483982 1.6365990821551427e+308 -> 710.38197618101287 1.5707963267948966
673asinh0217 asinh 5.4729111423315882 -1.1227237438144211e+308 -> 710.00511346983546 -1.5707963267948966
674asinh0218 asinh -8.3455818297412723 1.443172020182019e+308 -> -710.25619930551818 1.5707963267948966
675asinh0219 asinh -2.6049726230372441 -1.7952291144022702e+308 -> -710.47448847685644 -1.5707963267948966
676
677-- values near 0
678asinh0220 asinh 1.2940113339664088e-314 6.9169190417774516e-323 -> 1.2940113339664088e-314 6.9169190417774516e-323
679asinh0221 asinh 2.3848478863874649e-315 -3.1907655025717717e-310 -> 2.3848478863874649e-315 -3.1907655025717717e-310
680asinh0222 asinh -3.0097643679641622e-316 4.6936236354918422e-322 -> -3.0097643679641622e-316 4.6936236354918422e-322
681asinh0223 asinh -1.787997087755751e-308 -8.5619622834902341e-310 -> -1.787997087755751e-308 -8.5619622834902341e-310
682asinh0224 asinh 0.0 1.2491433448427325e-314 -> 0.0 1.2491433448427325e-314
683asinh0225 asinh -0.0 2.5024072154538062e-308 -> -0.0 2.5024072154538062e-308
684asinh0226 asinh 0.0 -2.9643938750474793e-323 -> 0.0 -2.9643938750474793e-323
685asinh0227 asinh -0.0 -2.9396905927554169e-320 -> -0.0 -2.9396905927554169e-320
686asinh0228 asinh 5.64042930029359e-317 0.0 -> 5.64042930029359e-317 0.0
687asinh0229 asinh 3.3833911866596068e-318 -0.0 -> 3.3833911866596068e-318 -0.0
688asinh0230 asinh -4.9406564584124654e-324 0.0 -> -4.9406564584124654e-324 0.0
689asinh0231 asinh -2.2211379227994845e-308 -0.0 -> -2.2211379227994845e-308 -0.0
690
691-- special values
692asinh1000 asinh 0.0 0.0 -> 0.0 0.0
693asinh1001 asinh 0.0 -0.0 -> 0.0 -0.0
694asinh1002 asinh -0.0 0.0 -> -0.0 0.0
695asinh1003 asinh -0.0 -0.0 -> -0.0 -0.0
696asinh1004 asinh 0.0 inf -> inf 1.5707963267948966
697asinh1005 asinh 2.3 inf -> inf 1.5707963267948966
698asinh1006 asinh 0.0 nan -> nan nan
699asinh1007 asinh 2.3 nan -> nan nan
700asinh1008 asinh inf 0.0 -> inf 0.0
701asinh1009 asinh inf 2.3 -> inf 0.0
702asinh1010 asinh inf inf -> inf 0.78539816339744828
703asinh1011 asinh inf nan -> inf nan
704asinh1012 asinh nan 0.0 -> nan 0.0
705asinh1013 asinh nan 2.3 -> nan nan
706asinh1014 asinh nan inf -> inf nan                      ignore-real-sign
707asinh1015 asinh nan nan -> nan nan
708asinh1016 asinh 0.0 -inf -> inf -1.5707963267948966
709asinh1017 asinh 2.3 -inf -> inf -1.5707963267948966
710asinh1018 asinh inf -0.0 -> inf -0.0
711asinh1019 asinh inf -2.3 -> inf -0.0
712asinh1020 asinh inf -inf -> inf -0.78539816339744828
713asinh1021 asinh nan -0.0 -> nan -0.0
714asinh1022 asinh nan -2.3 -> nan nan
715asinh1023 asinh nan -inf -> inf nan                     ignore-real-sign
716asinh1024 asinh -0.0 -inf -> -inf -1.5707963267948966
717asinh1025 asinh -2.3 -inf -> -inf -1.5707963267948966
718asinh1026 asinh -0.0 nan -> nan nan
719asinh1027 asinh -2.3 nan -> nan nan
720asinh1028 asinh -inf -0.0 -> -inf -0.0
721asinh1029 asinh -inf -2.3 -> -inf -0.0
722asinh1030 asinh -inf -inf -> -inf -0.78539816339744828
723asinh1031 asinh -inf nan -> -inf nan
724asinh1032 asinh -0.0 inf -> -inf 1.5707963267948966
725asinh1033 asinh -2.3 inf -> -inf 1.5707963267948966
726asinh1034 asinh -inf 0.0 -> -inf 0.0
727asinh1035 asinh -inf 2.3 -> -inf 0.0
728asinh1036 asinh -inf inf -> -inf 0.78539816339744828
729
730
731---------------------------
732-- atan: Inverse tangent --
733---------------------------
734
735-- zeros
736atan0000 atan 0.0 0.0 -> 0.0 0.0
737atan0001 atan 0.0 -0.0 -> 0.0 -0.0
738atan0002 atan -0.0 0.0 -> -0.0 0.0
739atan0003 atan -0.0 -0.0 -> -0.0 -0.0
740
741-- values along both sides of imaginary axis
742atan0010 atan 0.0 -9.8813129168249309e-324 -> 0.0 -9.8813129168249309e-324
743atan0011 atan -0.0 -9.8813129168249309e-324 -> -0.0 -9.8813129168249309e-324
744atan0012 atan 0.0 -1e-305 -> 0.0 -1e-305
745atan0013 atan -0.0 -1e-305 -> -0.0 -1e-305
746atan0014 atan 0.0 -1e-150 -> 0.0 -1e-150
747atan0015 atan -0.0 -1e-150 -> -0.0 -1e-150
748atan0016 atan 0.0 -9.9999999999999998e-17 -> 0.0 -9.9999999999999998e-17
749atan0017 atan -0.0 -9.9999999999999998e-17 -> -0.0 -9.9999999999999998e-17
750atan0018 atan 0.0 -0.001 -> 0.0 -0.0010000003333335333
751atan0019 atan -0.0 -0.001 -> -0.0 -0.0010000003333335333
752atan0020 atan 0.0 -0.57899999999999996 -> 0.0 -0.6609570902866303
753atan0021 atan -0.0 -0.57899999999999996 -> -0.0 -0.6609570902866303
754atan0022 atan 0.0 -0.99999999999999989 -> 0.0 -18.714973875118524
755atan0023 atan -0.0 -0.99999999999999989 -> -0.0 -18.714973875118524
756atan0024 atan 0.0 -1.0000000000000002 -> 1.5707963267948966 -18.36840028483855
757atan0025 atan -0.0 -1.0000000000000002 -> -1.5707963267948966 -18.36840028483855
758atan0026 atan 0.0 -1.0009999999999999 -> 1.5707963267948966 -3.8007011672919218
759atan0027 atan -0.0 -1.0009999999999999 -> -1.5707963267948966 -3.8007011672919218
760atan0028 atan 0.0 -2.0 -> 1.5707963267948966 -0.54930614433405489
761atan0029 atan -0.0 -2.0 -> -1.5707963267948966 -0.54930614433405489
762atan0030 atan 0.0 -20.0 -> 1.5707963267948966 -0.050041729278491265
763atan0031 atan -0.0 -20.0 -> -1.5707963267948966 -0.050041729278491265
764atan0032 atan 0.0 -10000000000000000.0 -> 1.5707963267948966 -9.9999999999999998e-17
765atan0033 atan -0.0 -10000000000000000.0 -> -1.5707963267948966 -9.9999999999999998e-17
766atan0034 atan 0.0 -9.9999999999999998e+149 -> 1.5707963267948966 -1e-150
767atan0035 atan -0.0 -9.9999999999999998e+149 -> -1.5707963267948966 -1e-150
768atan0036 atan 0.0 -1.0000000000000001e+299 -> 1.5707963267948966 -9.9999999999999999e-300
769atan0037 atan -0.0 -1.0000000000000001e+299 -> -1.5707963267948966 -9.9999999999999999e-300
770atan0038 atan 0.0 9.8813129168249309e-324 -> 0.0 9.8813129168249309e-324
771atan0039 atan -0.0 9.8813129168249309e-324 -> -0.0 9.8813129168249309e-324
772atan0040 atan 0.0 1e-305 -> 0.0 1e-305
773atan0041 atan -0.0 1e-305 -> -0.0 1e-305
774atan0042 atan 0.0 1e-150 -> 0.0 1e-150
775atan0043 atan -0.0 1e-150 -> -0.0 1e-150
776atan0044 atan 0.0 9.9999999999999998e-17 -> 0.0 9.9999999999999998e-17
777atan0045 atan -0.0 9.9999999999999998e-17 -> -0.0 9.9999999999999998e-17
778atan0046 atan 0.0 0.001 -> 0.0 0.0010000003333335333
779atan0047 atan -0.0 0.001 -> -0.0 0.0010000003333335333
780atan0048 atan 0.0 0.57899999999999996 -> 0.0 0.6609570902866303
781atan0049 atan -0.0 0.57899999999999996 -> -0.0 0.6609570902866303
782atan0050 atan 0.0 0.99999999999999989 -> 0.0 18.714973875118524
783atan0051 atan -0.0 0.99999999999999989 -> -0.0 18.714973875118524
784atan0052 atan 0.0 1.0000000000000002 -> 1.5707963267948966 18.36840028483855
785atan0053 atan -0.0 1.0000000000000002 -> -1.5707963267948966 18.36840028483855
786atan0054 atan 0.0 1.0009999999999999 -> 1.5707963267948966 3.8007011672919218
787atan0055 atan -0.0 1.0009999999999999 -> -1.5707963267948966 3.8007011672919218
788atan0056 atan 0.0 2.0 -> 1.5707963267948966 0.54930614433405489
789atan0057 atan -0.0 2.0 -> -1.5707963267948966 0.54930614433405489
790atan0058 atan 0.0 20.0 -> 1.5707963267948966 0.050041729278491265
791atan0059 atan -0.0 20.0 -> -1.5707963267948966 0.050041729278491265
792atan0060 atan 0.0 10000000000000000.0 -> 1.5707963267948966 9.9999999999999998e-17
793atan0061 atan -0.0 10000000000000000.0 -> -1.5707963267948966 9.9999999999999998e-17
794atan0062 atan 0.0 9.9999999999999998e+149 -> 1.5707963267948966 1e-150
795atan0063 atan -0.0 9.9999999999999998e+149 -> -1.5707963267948966 1e-150
796atan0064 atan 0.0 1.0000000000000001e+299 -> 1.5707963267948966 9.9999999999999999e-300
797atan0065 atan -0.0 1.0000000000000001e+299 -> -1.5707963267948966 9.9999999999999999e-300
798
799-- random inputs
800atan0100 atan -0.32538873661060214 -1.5530461550412578 -> -1.3682728427554227 -0.69451401598762041
801atan0101 atan -0.45863393495197929 -4799.1747094903594 -> -1.5707963068820623 -0.00020836916050636145
802atan0102 atan -8.3006999685976162 -2.6788890251790938 -> -1.4619862771810199 -0.034811669653327826
803atan0103 atan -1.8836307682985314 -1.1441976638861771 -> -1.1839984370871612 -0.20630956157312796
804atan0104 atan -0.00063230482407491669 -4.9312520961829485 -> -1.5707692093223147 -0.20563867743008304
805atan0105 atan -0.84278137150065946 179012.37493146997 -> -1.5707963267685969 5.5862059836425272e-06
806atan0106 atan -0.95487853984049287 14.311334539886177 -> -1.5661322859434561 0.069676024526232005
807atan0107 atan -1.3513252539663239 6.0500727021632198e-08 -> -0.93371676315220975 2.140800269742656e-08
808atan0108 atan -0.20566254458595795 0.11933771944159823 -> -0.20556463711174916 0.11493405387141732
809atan0109 atan -…

Large files files are truncated, but you can click here to view the full file