Schyper

COMPUTE THE FLOOR OF A NUMBER

The floor of a real number x, denoted by floor(x) or ⌊x⌋, is the largest integer not greater than x. The term "floor" and the corresponding notation ⌊x⌋ were introduced by Kenneth E. Iverson in his 1962 book A Programming Language. The floor function is also known as the greatest integer function.

BIRTHDAY

Born:

Place:

INPUT


Compute ⌊n
RESULT
Quod Erat Inveniendum
CAS COMMANDS
MAXIMA
(%i1) floor(n);
PARI/GP
gp> floor(n)
FUNCTIONS