Skip to content

Latest commit

 

History

History
112 lines (66 loc) · 1.88 KB

relationalFunctions.adoc

File metadata and controls

112 lines (66 loc) · 1.88 KB

Relational Built-In Functions

Click an item in the table below for details about that function.

Component-wise compare of x == y.

Component-wise compare of x != y.

Component-wise compare of x > y.

Component-wise compare of x >= y.

Component-wise compare of x < y.

Component-wise compare of xy.

Component-wise compare of (x < y) || (x > y).

Test for finite value.

Test for positive or negative infinity.

Test for a NaN.

Test for a normal value.

Test if arguments are ordered.

Test if arguments are unordered.

Test for sign bit.

any

1 if MSB in any component of x is set; else 0.

all

1 if MSB in all components of x is set; else 0.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

For each component of a vector type, result[i] = if MSB of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Description

If an implementation extends this specification to support IEEE-754 flags or exceptions, then all built-in relational functions shall proceed without raising the invalid floating-point exception when one or more of the operands are NaNs.