248 lines · plain
1; powf.tst - Directed test cases for powf2;3; Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4; See https://llvm.org/LICENSE.txt for license information.5; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 7func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i8func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i9func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i10func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i11func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i12func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i13func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i14func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i15func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i16func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i17func=powf op1=7f800001 op2=bf000000 result=7fc00001 errno=0 status=i18func=powf op1=7f800001 op2=c0400000 result=7fc00001 errno=0 status=i19func=powf op1=7f800001 op2=c0800000 result=7fc00001 errno=0 status=i20func=powf op1=7f800001 op2=ff800000 result=7fc00001 errno=0 status=i21func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i22func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i23func=powf op1=ff800001 op2=7fc00001 result=7fc00001 errno=0 status=i24func=powf op1=ff800001 op2=ffc00001 result=7fc00001 errno=0 status=i25func=powf op1=ff800001 op2=7f800000 result=7fc00001 errno=0 status=i26func=powf op1=ff800001 op2=40800000 result=7fc00001 errno=0 status=i27func=powf op1=ff800001 op2=40400000 result=7fc00001 errno=0 status=i28func=powf op1=ff800001 op2=3f000000 result=7fc00001 errno=0 status=i29func=powf op1=ff800001 op2=00000000 result=7fc00001 errno=0 status=i30func=powf op1=ff800001 op2=80000000 result=7fc00001 errno=0 status=i31func=powf op1=ff800001 op2=bf000000 result=7fc00001 errno=0 status=i32func=powf op1=ff800001 op2=c0400000 result=7fc00001 errno=0 status=i33func=powf op1=ff800001 op2=c0800000 result=7fc00001 errno=0 status=i34func=powf op1=ff800001 op2=ff800000 result=7fc00001 errno=0 status=i35func=powf op1=7fc00001 op2=7f800001 result=7fc00001 errno=0 status=i36func=powf op1=7fc00001 op2=ff800001 result=7fc00001 errno=0 status=i37func=powf op1=7fc00001 op2=7fc00001 result=7fc00001 errno=038func=powf op1=7fc00001 op2=ffc00001 result=7fc00001 errno=039func=powf op1=7fc00001 op2=7f800000 result=7fc00001 errno=040func=powf op1=7fc00001 op2=40800000 result=7fc00001 errno=041func=powf op1=7fc00001 op2=40400000 result=7fc00001 errno=042func=powf op1=7fc00001 op2=3f000000 result=7fc00001 errno=043func=powf op1=7fc00001 op2=00000000 result=3f800000 errno=044func=powf op1=7fc00001 op2=80000000 result=3f800000 errno=045func=powf op1=7fc00001 op2=bf000000 result=7fc00001 errno=046func=powf op1=7fc00001 op2=c0400000 result=7fc00001 errno=047func=powf op1=7fc00001 op2=c0800000 result=7fc00001 errno=048func=powf op1=7fc00001 op2=ff800000 result=7fc00001 errno=049func=powf op1=ffc00001 op2=7f800001 result=7fc00001 errno=0 status=i50func=powf op1=ffc00001 op2=ff800001 result=7fc00001 errno=0 status=i51func=powf op1=ffc00001 op2=7fc00001 result=7fc00001 errno=052func=powf op1=ffc00001 op2=ffc00001 result=7fc00001 errno=053func=powf op1=ffc00001 op2=7f800000 result=7fc00001 errno=054func=powf op1=ffc00001 op2=40800000 result=7fc00001 errno=055func=powf op1=ffc00001 op2=40400000 result=7fc00001 errno=056func=powf op1=ffc00001 op2=3f000000 result=7fc00001 errno=057func=powf op1=ffc00001 op2=00000000 result=3f800000 errno=058func=powf op1=ffc00001 op2=80000000 result=3f800000 errno=059func=powf op1=ffc00001 op2=bf000000 result=7fc00001 errno=060func=powf op1=ffc00001 op2=c0400000 result=7fc00001 errno=061func=powf op1=ffc00001 op2=c0800000 result=7fc00001 errno=062func=powf op1=ffc00001 op2=ff800000 result=7fc00001 errno=063func=powf op1=7f800000 op2=7f800001 result=7fc00001 errno=0 status=i64func=powf op1=7f800000 op2=ff800001 result=7fc00001 errno=0 status=i65func=powf op1=7f800000 op2=7fc00001 result=7fc00001 errno=066func=powf op1=7f800000 op2=ffc00001 result=7fc00001 errno=067func=powf op1=7f800000 op2=7f800000 result=7f800000 errno=068func=powf op1=7f800000 op2=40800000 result=7f800000 errno=069func=powf op1=7f800000 op2=40400000 result=7f800000 errno=070func=powf op1=7f800000 op2=3f000000 result=7f800000 errno=071func=powf op1=7f800000 op2=00000001 result=7f800000 errno=072func=powf op1=7f800000 op2=00000000 result=3f800000 errno=073func=powf op1=7f800000 op2=80000000 result=3f800000 errno=074func=powf op1=7f800000 op2=bf000000 result=00000000 errno=075func=powf op1=7f800000 op2=c0400000 result=00000000 errno=076func=powf op1=7f800000 op2=c0800000 result=00000000 errno=077func=powf op1=7f800000 op2=ff800000 result=00000000 errno=078func=powf op1=40800000 op2=7f800001 result=7fc00001 errno=0 status=i79func=powf op1=40800000 op2=ff800001 result=7fc00001 errno=0 status=i80func=powf op1=40800000 op2=7fc00001 result=7fc00001 errno=081func=powf op1=40800000 op2=ffc00001 result=7fc00001 errno=082func=powf op1=40800000 op2=7f800000 result=7f800000 errno=083func=powf op1=40800000 op2=40800000 result=43800000 errno=084func=powf op1=40800000 op2=40400000 result=42800000 errno=085func=powf op1=40800000 op2=3f000000 result=40000000 errno=086func=powf op1=40800000 op2=00000000 result=3f800000 errno=087func=powf op1=40800000 op2=80000000 result=3f800000 errno=088func=powf op1=40800000 op2=bf000000 result=3f000000 errno=089func=powf op1=40800000 op2=c0400000 result=3c800000 errno=090func=powf op1=40800000 op2=c0800000 result=3b800000 errno=091func=powf op1=40800000 op2=ff800000 result=00000000 errno=092func=powf op1=3f800000 op2=7f800001 result=7fc00001 errno=0 status=i93func=powf op1=3f800000 op2=ff800001 result=7fc00001 errno=0 status=i94func=powf op1=3f800000 op2=7fc00001 result=3f800000 errno=095func=powf op1=3f800000 op2=ffc00001 result=3f800000 errno=096func=powf op1=3f800000 op2=7f800000 result=3f800000 errno=097func=powf op1=3f800000 op2=40800000 result=3f800000 errno=098func=powf op1=3f800000 op2=40400000 result=3f800000 errno=099func=powf op1=3f800000 op2=3f000000 result=3f800000 errno=0100func=powf op1=3f800000 op2=00000000 result=3f800000 errno=0101func=powf op1=3f800000 op2=80000000 result=3f800000 errno=0102func=powf op1=3f800000 op2=bf000000 result=3f800000 errno=0103func=powf op1=3f800000 op2=c0400000 result=3f800000 errno=0104func=powf op1=3f800000 op2=c0800000 result=3f800000 errno=0105func=powf op1=3f800000 op2=ff800000 result=3f800000 errno=0106func=powf op1=3e800000 op2=7f800001 result=7fc00001 errno=0 status=i107func=powf op1=3e800000 op2=ff800001 result=7fc00001 errno=0 status=i108func=powf op1=3e800000 op2=7fc00001 result=7fc00001 errno=0109func=powf op1=3e800000 op2=ffc00001 result=7fc00001 errno=0110func=powf op1=3e800000 op2=7f800000 result=00000000 errno=0111func=powf op1=3e800000 op2=40800000 result=3b800000 errno=0112func=powf op1=3e800000 op2=40400000 result=3c800000 errno=0113func=powf op1=3e800000 op2=3f000000 result=3f000000 errno=0114func=powf op1=3e800000 op2=00000000 result=3f800000 errno=0115func=powf op1=3e800000 op2=80000000 result=3f800000 errno=0116func=powf op1=3e800000 op2=bf000000 result=40000000 errno=0117func=powf op1=3e800000 op2=c0400000 result=42800000 errno=0118func=powf op1=3e800000 op2=c0800000 result=43800000 errno=0119func=powf op1=3e800000 op2=ff800000 result=7f800000 errno=0120func=powf op1=00000001 op2=bf800000 result=7f800000 errno=ERANGE status=ox121func=powf op1=00000000 op2=7f800001 result=7fc00001 errno=0 status=i122func=powf op1=00000000 op2=ff800001 result=7fc00001 errno=0 status=i123func=powf op1=00000000 op2=7fc00001 result=7fc00001 errno=0124func=powf op1=00000000 op2=ffc00001 result=7fc00001 errno=0125func=powf op1=00000000 op2=7f800000 result=00000000 errno=0126func=powf op1=00000000 op2=40800000 result=00000000 errno=0127func=powf op1=00000000 op2=40400000 result=00000000 errno=0128func=powf op1=00000000 op2=3f000000 result=00000000 errno=0129func=powf op1=00000000 op2=00000000 result=3f800000 errno=0130func=powf op1=00000000 op2=80000000 result=3f800000 errno=0131func=powf op1=00000000 op2=bf000000 result=7f800000 errno=ERANGE status=z132func=powf op1=00000000 op2=c0400000 result=7f800000 errno=ERANGE status=z133func=powf op1=00000000 op2=c0800000 result=7f800000 errno=ERANGE status=z134func=powf op1=00000000 op2=ff800000 result=7f800000 errno=ERANGE135func=powf op1=80000000 op2=7f800001 result=7fc00001 errno=0 status=i136func=powf op1=80000000 op2=ff800001 result=7fc00001 errno=0 status=i137func=powf op1=80000000 op2=7fc00001 result=7fc00001 errno=0138func=powf op1=80000000 op2=ffc00001 result=7fc00001 errno=0139func=powf op1=80000000 op2=7f800000 result=00000000 errno=0140func=powf op1=80000000 op2=40800000 result=00000000 errno=0141func=powf op1=80000000 op2=40400000 result=80000000 errno=0142func=powf op1=80000000 op2=3f000000 result=00000000 errno=0143func=powf op1=80000000 op2=00000000 result=3f800000 errno=0144func=powf op1=80000000 op2=80000000 result=3f800000 errno=0145func=powf op1=80000000 op2=bf000000 result=7f800000 errno=ERANGE status=z146func=powf op1=80000000 op2=c0400000 result=ff800000 errno=ERANGE status=z147func=powf op1=80000000 op2=c0800000 result=7f800000 errno=ERANGE status=z148func=powf op1=80000000 op2=ff800000 result=7f800000 errno=ERANGE149func=powf op1=be800000 op2=7f800001 result=7fc00001 errno=0 status=i150func=powf op1=be800000 op2=ff800001 result=7fc00001 errno=0 status=i151func=powf op1=be800000 op2=7fc00001 result=7fc00001 errno=0152func=powf op1=be800000 op2=ffc00001 result=7fc00001 errno=0153func=powf op1=be800000 op2=7f800000 result=00000000 errno=0154func=powf op1=be800000 op2=40800000 result=3b800000 errno=0155func=powf op1=be800000 op2=40400000 result=bc800000 errno=0156func=powf op1=be800000 op2=3f000000 result=7fc00001 errno=EDOM status=i157func=powf op1=be800000 op2=00000000 result=3f800000 errno=0158func=powf op1=be800000 op2=80000000 result=3f800000 errno=0159func=powf op1=be800000 op2=bf000000 result=7fc00001 errno=EDOM status=i160func=powf op1=be800000 op2=c0400000 result=c2800000 errno=0161func=powf op1=be800000 op2=c0800000 result=43800000 errno=0162func=powf op1=be800000 op2=ff800000 result=7f800000 errno=0163func=powf op1=bf800000 op2=7f800001 result=7fc00001 errno=0 status=i164func=powf op1=bf800000 op2=ff800001 result=7fc00001 errno=0 status=i165func=powf op1=bf800000 op2=7fc00001 result=7fc00001 errno=0166func=powf op1=bf800000 op2=ffc00001 result=7fc00001 errno=0167func=powf op1=bf800000 op2=7f800000 result=3f800000 errno=0168func=powf op1=bf800000 op2=40800000 result=3f800000 errno=0169func=powf op1=bf800000 op2=40400000 result=bf800000 errno=0170func=powf op1=bf800000 op2=3f000000 result=7fc00001 errno=EDOM status=i171func=powf op1=bf800000 op2=00000000 result=3f800000 errno=0172func=powf op1=bf800000 op2=80000000 result=3f800000 errno=0173func=powf op1=bf800000 op2=bf000000 result=7fc00001 errno=EDOM status=i174func=powf op1=bf800000 op2=c0400000 result=bf800000 errno=0175func=powf op1=bf800000 op2=c0800000 result=3f800000 errno=0176func=powf op1=bf800000 op2=ff800000 result=3f800000 errno=0177func=powf op1=c0800000 op2=7f800001 result=7fc00001 errno=0 status=i178func=powf op1=c0800000 op2=ff800001 result=7fc00001 errno=0 status=i179func=powf op1=c0800000 op2=7fc00001 result=7fc00001 errno=0180func=powf op1=c0800000 op2=ffc00001 result=7fc00001 errno=0181func=powf op1=c0800000 op2=7f800000 result=7f800000 errno=0182func=powf op1=c0800000 op2=40800000 result=43800000 errno=0183func=powf op1=c0800000 op2=40400000 result=c2800000 errno=0184func=powf op1=c0800000 op2=3f000000 result=7fc00001 errno=EDOM status=i185func=powf op1=c0800000 op2=00000000 result=3f800000 errno=0186func=powf op1=c0800000 op2=80000000 result=3f800000 errno=0187func=powf op1=c0800000 op2=bf000000 result=7fc00001 errno=EDOM status=i188func=powf op1=c0800000 op2=c0400000 result=bc800000 errno=0189func=powf op1=c0800000 op2=c0800000 result=3b800000 errno=0190func=powf op1=c0800000 op2=ff800000 result=00000000 errno=0191func=powf op1=ff800000 op2=7f800001 result=7fc00001 errno=0 status=i192func=powf op1=ff800000 op2=ff800001 result=7fc00001 errno=0 status=i193func=powf op1=ff800000 op2=7fc00001 result=7fc00001 errno=0194func=powf op1=ff800000 op2=ffc00001 result=7fc00001 errno=0195func=powf op1=ff800000 op2=7f800000 result=7f800000 errno=0196func=powf op1=ff800000 op2=40800000 result=7f800000 errno=0197func=powf op1=ff800000 op2=40400000 result=ff800000 errno=0198func=powf op1=ff800000 op2=3f000000 result=7f800000 errno=0199func=powf op1=ff800000 op2=00000000 result=3f800000 errno=0200func=powf op1=ff800000 op2=80000000 result=3f800000 errno=0201func=powf op1=ff800000 op2=bf000000 result=00000000 errno=0202func=powf op1=ff800000 op2=c0400000 result=80000000 errno=0203func=powf op1=ff800000 op2=c0800000 result=00000000 errno=0204func=powf op1=ff800000 op2=ff800000 result=00000000 errno=0205 206 207func=powf op1=36c27f9d op2=4109fa51 result=00000000 errno=ERANGE status=ux208func=powf op1=351738cd op2=c0c55691 result=7f800000 errno=ERANGE status=ox209func=powf op1=42836035 op2=41a99f40 result=7f800000 errno=ERANGE status=ox210func=powf op1=32bd53f3 op2=40bcba58 result=00000000 errno=ERANGE status=ux211func=powf op1=32dc5bff op2=40be62ea result=00000000 errno=ERANGE status=ux212func=powf op1=3a8a3f66 op2=4172bd43 result=00000000 errno=ERANGE status=ux213func=powf op1=28f0e770 op2=c035b4ca result=7f800000 errno=ERANGE status=ox214func=powf op1=40886699 op2=c28f703a result=00000000 errno=ERANGE status=ux215func=powf op1=414bd593 op2=c22370cf result=00000000 errno=ERANGE status=ux216func=powf op1=3a2f1163 op2=c1422d45 result=7f800000 errno=ERANGE status=ox217func=powf op1=434f5cf3 op2=41851272 result=7f800000 errno=ERANGE status=ox218func=powf op1=2e0e27a4 op2=c06b13f5 result=7f800000 errno=ERANGE status=ox219func=powf op1=39aef7a6 op2=414fd60a result=00000000 errno=ERANGE status=ux220func=powf op1=21c80729 op2=c00a04ab result=7f800000 errno=ERANGE status=ox221func=powf op1=42455a4b op2=c1d55905 result=00000000 errno=ERANGE status=ux222func=powf op1=2d173e0b op2=c05ee797 result=7f800000 errno=ERANGE status=ox223func=powf op1=452edf9a op2=4132dd7f result=7f800000 errno=ERANGE status=ox224func=powf op1=406bf67b op2=c29f5f12 result=00000000 errno=ERANGE status=ux225func=powf op1=2d82a6fc op2=4085779e result=00000000 errno=ERANGE status=ux226func=powf op1=4551f827 op2=41304516 result=7f800000 errno=ERANGE status=ox227func=powf op1=3a917c51 op2=41726c0a result=00000001.37f errno=0 status=ux228; iso c allows both errno=ERANGE and errno=0229;func=powf op1=3b19bbaa op2=4188e6fb result=00000000.b5f errno=0 status=ux230;func=powf op1=4088bd18 op2=c28ef056 result=00000000.986 errno=0 status=ux231func=powf op1=3f7ffd76 op2=4a09221e result=00aa9d24.3ad error=0232 233func=powf op1=007fffff op2=bf000001 result=5f00002c.2b2 error=0234func=powf op1=000007ff op2=bf000001 result=62000830.96f error=0235func=powf op1=007fffff op2=80800001 result=3f800000.000 error=0236func=powf op1=00000000 op2=800007ff result=7f800000 errno=ERANGE status=z237func=powf op1=00000000 op2=000007ff result=00000000 error=0238func=powf op1=bf800000 op2=ff7fffff result=3f800000 error=0239func=powf op1=2e4e4f30 op2=406b0dc2 result=007e9c59.eb4 errno=0 status=u240 241; SDCOMP-25549: ensure the biggest overflow case possible is not242; mishandled. Also check the analogous underflow, and also ensure that243; our massive-overflow checks do not affect numbers _just within_ the244; range.245func=powf op1=7f7fffff op2=7f7fffff result=7f800000 error=overflow246func=powf op1=7f7fffff op2=ff7fffff result=00000000 error=underflow247func=powf op1=54cb3000 op2=403fffff result=7f7fffb2.a95 error=0248