Difference between revisions of "Floor function"
m |
|||
Line 1: | Line 1: | ||
− | The greatest integer function, also known as the '''floor function''', gives the greatest integer less than or equal to its argument. The floor of <math>x</math> is usually denoted by <math>\lfloor x \rfloor</math> or <math>[x]</math>. | + | The greatest integer function, also known as the '''floor function''', gives the greatest integer less than or equal to its argument. The floor of <math>x</math> is usually denoted by <math>\lfloor x \rfloor</math> or <math>[x]</math>. The action of this function is the same as "rounding down." On a [[positive]] argument, this function is the same as "dropping everything after the decimal point," but this is ''not'' true for negative values. |
For example: | For example: |
Revision as of 11:51, 29 June 2006
The greatest integer function, also known as the floor function, gives the greatest integer less than or equal to its argument. The floor of is usually denoted by or . The action of this function is the same as "rounding down." On a positive argument, this function is the same as "dropping everything after the decimal point," but this is not true for negative values.
For example: