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

Overview

Functions

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

Function Documentation

eq()

template
bool aie::eq ( T a,
T b
)

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

Parameters
a First value.
b Second value.

ge()

template
bool aie::ge ( T a,
T b
)

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

Parameters
a First value.
b Second value.

gt()

template
bool aie::gt ( T a,
T b
)

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

Parameters
a First value.
b Second value.

le()

template
bool aie::le ( T a,
T b
)

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

Parameters
a First value.
b Second value.

lt()

template
bool aie::lt ( T a,
T b
)

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

Parameters
a First value.
b Second value.

max()

template
T aie::max ( T a,
T b
)

Compares the two input values and returns the maximum value.

Parameters
a First value.
b Second value.

min()

template
T aie::min ( T a,
T b
)

Compares the two input values and returns the minimum value.

Parameters
a First value.
b Second value.

neq()

template
bool aie::neq ( T a,
T b
)

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

Parameters
a First value.
b Second value.