In this chapter, we learn about functions that round real numbers to an integer. The floor function rounds the numbers down, and the ceiling function rounds the numbers up. We will explore a few elementary properties of these functions. Despite their simplicity, the floor and ceiling functions find many applications.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Floor and Ceiling Functions

  • Andreas Klappenecker,
  • Hyunyoung Lee

摘要

In this chapter, we learn about functions that round real numbers to an integer. The floor function rounds the numbers down, and the ceiling function rounds the numbers up. We will explore a few elementary properties of these functions. Despite their simplicity, the floor and ceiling functions find many applications.