Back to Symbolic Math (SymEngine)
sym.floor
Computes the floor function of a symbolic expression.
Syntax
sym.floor(x)
Description
Computes the floor function of a symbolic expression. Returns the greatest integer less than or equal to x, denoted ⌊x⌋. Also known as the integer part or greatest integer function.
Parameters
| Name | Description |
|---|---|
| x | - The expression to compute the floor of. |
Returns
Expr