The j programming language a follow on to apl that is designed to use standard keyboard symbols uses.
Floor and ceiling function notation.
The floor ceiling and apportioned allotment functions are idempotent.
In fact this notation harks back to gauss in his third proof of quadratic reciprocity in 1808.
The ceiling function is usually denoted by ceil x or less commonly ceiling x in non apl computer languages that have a notation for this function.
And this is the ceiling function.
The aftereffect of nested attic or beam functions is the centermost function.
For ceiling and.
The int function short for integer is like the floor function but some calculators and computer programs show different results when given negative numbers.
One is the floor function and the other is the ceiling function for example the floor and ceiling of a decimal 3 31 are 3 and 4 respectively.
However because of the elegant symmetry of the floor function and ceiling function symbols and and because is such a useful symbol when interpreted as an iverson bracket the use of to denote the.
I need an equation to input in a program because it doesn t except the ceiling function so it has to be some sort of mathematical equation.
How to represent the ceiling function using mathematical notation.
Also from the definitions editquotients if m and n are integers and n 0 if n is positive13 if m is positive14 for m 2 these imply.
Some say int 3 65 4 the same as the floor function.