brintos

brintos / llvm-project-archived public Read only

0
0
Text · 441 B · c026dd2 Raw
11 lines · plain
1! REQUIRES: flang-supports-f128-math2! RUN: bbc -emit-fir %s -o - | FileCheck %s3! RUN: bbc --math-runtime=precise -emit-fir %s -o - | FileCheck %s --check-prefixes="PRECISE"4! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s5 6! PRECISE: fir.call @_FortranACPowF128({{.*}}){{.*}}: (complex<f128>, complex<f128>) -> complex<f128>7! CHECK: complex.pow %{{.*}}, %{{.*}} fastmath<contract> : complex<f128>8  complex(16) :: a, b9  b = a ** b10end11