Home
last modified time | relevance | path

Searched refs:ValueWithRealFlags (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dreal.h110 ValueWithRealFlags<Real> Add(const Real &,
118 ValueWithRealFlags<Real> Divide(const Real &,
121 ValueWithRealFlags<Real> SQRT(
127 ValueWithRealFlags<Real> HYPOT(const Real &,
130 ValueWithRealFlags<Real> DIM(const Real &,
134 ValueWithRealFlags<Real> MOD(const Real &,
236 ValueWithRealFlags<Real> result;
254 ValueWithRealFlags<Real> ToWholeNumber(
261 ValueWithRealFlags<INT> result;
299 static ValueWithRealFlags<Real> Convert(
[all …]
H A Dcomplex.h63 static ValueWithRealFlags<Complex> FromInteger(const INT &n,
65 ValueWithRealFlags<Complex> result;
71 ValueWithRealFlags<Complex> Add(const Complex &,
73 ValueWithRealFlags<Complex> Subtract(const Complex &,
75 ValueWithRealFlags<Complex> Multiply(const Complex &,
77 ValueWithRealFlags<Complex> Divide(const Complex &,
81 ValueWithRealFlags<Part> ABS(
H A Dcommon.h134 template <typename A> struct ValueWithRealFlags { struct
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp57 ValueWithRealFlags<Real<W, P>> Real<W, P>::Add( in Add()
59 ValueWithRealFlags<Real> result; in Add()
139 ValueWithRealFlags<Real> result; in Multiply()
199 ValueWithRealFlags<Real> result; in Divide()
266 ValueWithRealFlags<Real> result; in SQRT()
332 ValueWithRealFlags<Real> result; in NEAREST()
377 ValueWithRealFlags<Real> result; in HYPOT()
408 ValueWithRealFlags<Real> result; in MOD()
431 ValueWithRealFlags<Real> result; in MODULO()
453 ValueWithRealFlags<Real> result; in DIM()
[all …]
H A Dint-power.h19 ValueWithRealFlags<REAL> TimesIntPowerOf(const REAL &factor, const REAL &base,
22 ValueWithRealFlags<REAL> result{factor};
53 ValueWithRealFlags<REAL> IntPower(const REAL &base, const INT &power,
H A Dcomplex.cpp15 ValueWithRealFlags<Complex<R>> Complex<R>::Add( in Add()
24 ValueWithRealFlags<Complex<R>> Complex<R>::Subtract( in Subtract()
33 ValueWithRealFlags<Complex<R>> Complex<R>::Multiply( in Multiply()
47 ValueWithRealFlags<Complex<R>> Complex<R>::Divide( in Divide()
H A Dfold-real.cpp126 ValueWithRealFlags<Scalar<T>> y{x.ToWholeNumber(mode)}; in FoldIntrinsicFunction()
241 ValueWithRealFlags<Scalar<T>> result{x. in FoldIntrinsicFunction()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dreal.cpp77 ValueWithRealFlags<R> vr; in basicTests()
297 ValueWithRealFlags<REAL> real; in inttest()
374 ValueWithRealFlags<REAL> aint{x.ToWholeNumber()}; in subsetTests()
396 ValueWithRealFlags<REAL> root{x.SQRT(rounding)}; in subsetTests()
458 ValueWithRealFlags<REAL> sum{x.Add(y, rounding)}; in subsetTests()
475 ValueWithRealFlags<REAL> diff{x.Subtract(y, rounding)}; in subsetTests()
492 ValueWithRealFlags<REAL> prod{x.Multiply(y, rounding)}; in subsetTests()
509 ValueWithRealFlags<REAL> quot{x.Divide(y, rounding)}; in subsetTests()