IfExpr
Wire spec for a ternary if (cond) then else otherwise.
Constructors
IfExpr
Properties
cond
otherwise
Branch returned when cond is false.
then
Branch returned when cond is true.
Functions
eval
Absolute value of this expression.
Build Div of two expressions.
Divide this expression by a literal rhs.
Exact equality (no tolerance).
Exact equality against a literal (no tolerance).
e raised to this expression. Overflows to +Infinity well before Double runs out of range.
Greater-or-equal comparison.
Greater-or-equal against a literal.
Strictly-greater-than comparison.
Strictly-greater-than against a literal.
True when this expression evaluates to a finite number: not NaN, and not an infinity.
True when this expression evaluates to NaN.
Less-or-equal comparison.
Less-or-equal against a literal.
Natural logarithm of this expression. ln(0) is -Infinity and a negative input gives NaN.
Strictly-less-than comparison.
Strictly-less-than against a literal.
Build Sub of two expressions.
Subtract a literal rhs from this expression.
Build Add of two expressions.
Add a literal rhs to this expression.
Square root of this expression. A negative input gives NaN.
Build Mul of two expressions.
Multiply this expression by a literal rhs.
Unary minus: wraps in Neg.