The greatest integer function at the argument \(x\) is denoted \(\lfloor x \rfloor\) defined to be the greatest integer \(y\) such that \(y \leq x\text{.}\) In other words, if \(x\) is an integer then \(\lfloor x \rfloor = x\text{;}\) if \(x\) is positive and not an integer, then \(\lfloor x \rfloor\) is the "whole number you get when you write \(x\) as a decimal and ignore what comes after the decimal point"; if \(x\) is negative and not an integer, it is \(-1\) plus what you get when you ignore the decimals. In older texts, the same function is sometimes denoted \([x]\text{.}\) This square bracket notation has largely been abandonded in favor of the "floor" notation, because (especially in computer science) we also often want to use the ceiling function as well. The ceiling function at the argument \(x\) is denoted \(\lceil x \rceil\) and is defined to be the least integer \(y\) such that \(y \geq x\text{.}\) Informally, \(\lfloor x \rfloor\) rounds down to the nearest integer and \(\lceil x \rceil\) rounds up.