The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.5/functions-math.html Description:
The ceil, ceiling, and floor mathematical functions in documentation versions 9.5 through 12, and probably others is not correct. The example output shows the ceil* functions returning the integer below the float value while the floor function shows the opposite. Thanks!