AI Engine API User Guide (AIE) 2022.2
Floating-point Scalar Operations

Overview

Functions

template<typename T >
bool aie::eq (T a, T b)
  More...
 
template<typename T >
bool aie::ge (T a, T b)
  More...
 
template<typename T >
bool aie::gt (T a, T b)
  More...
 
template<typename T >
bool aie::le (T a, T b)
  More...
 
template<typename T >
bool aie::lt (T a, T b)
  More...
 
template<typename T >
aie::max (T a, T b)
  More...
 
template<typename T >
aie::min (T a, T b)
  More...
 
template<typename T >
bool aie::neq (T a, T b)
  More...
 

Function Documentation

◆ eq()

template<typename T >
bool aie::eq ( a,
b 
)

Compares the two input values and returns whether they are equal.

Parameters
aFirst value.
bSecond value.

◆ ge()

template<typename T >
bool aie::ge ( a,
b 
)

Compares the two input values and returns whether the first value is larger or equal than the second value.

Parameters
aFirst value.
bSecond value.

◆ gt()

template<typename T >
bool aie::gt ( a,
b 
)

Compares the two input values and returns whether the first value is larger than the second value.

Parameters
aFirst value.
bSecond value.

◆ le()

template<typename T >
bool aie::le ( a,
b 
)

Compares the two input values and returns whether the first value is smaller or equal than the second value.

Parameters
aFirst value.
bSecond value.

◆ lt()

template<typename T >
bool aie::lt ( a,
b 
)

Compares the two input values and returns whether the first value is smaller than the second value.

Parameters
aFirst value.
bSecond value.

◆ max()

template<typename T >
T aie::max ( a,
b 
)

Compares the two input values and returns the maximum value.

Parameters
aFirst value.
bSecond value.

◆ min()

template<typename T >
T aie::min ( a,
b 
)

Compares the two input values and returns the minimum value.

Parameters
aFirst value.
bSecond value.

◆ neq()

template<typename T >
bool aie::neq ( a,
b 
)

Compares the two input values and returns whether they are not equal.

Parameters
aFirst value.
bSecond value.