Compute the minimum value of two expressions. Parameters ---------- a : PrimExpr The left hand operand b : PrimExpr The right hand operand Returns ------- res : PrimExpr The result expression.
(a: PrimExpr, b: PrimExpr)
| 2712 | |
| 2713 | |
| 2714 | def min(a: PrimExpr, b: PrimExpr) -> PrimExpr: # pylint: disable=redefined-builtin |
| 2715 | """Compute the minimum value of two expressions. |
| 2716 | |
| 2717 | Parameters |
| 2718 | ---------- |
| 2719 | a : PrimExpr |
| 2720 | The left hand operand |
| 2721 | |
| 2722 | b : PrimExpr |
| 2723 | The right hand operand |
| 2724 | |
| 2725 | Returns |
| 2726 | ------- |
| 2727 | res : PrimExpr |
| 2728 | The result expression. |
| 2729 | """ |
| 2730 | return _ffi_api.min(a, b) # type: ignore[attr-defined] # pylint: disable=no-member |
| 2731 | |
| 2732 | |
| 2733 | def max(a: PrimExpr, b: PrimExpr) -> PrimExpr: # pylint: disable=redefined-builtin |
no test coverage detected