MATHEMATICAL FUNCTIONS 数学函数
(这个link可以查询所有函数:https://cplusplus.com/reference/cmath/)
(1)trigonometric functions 三角函数
(2)exponent functions 指数函数
(3)rounding functions 取整函数
*ceil意为天花板,即向上取整;floor意为地板,即向下取整。
(4)the min, max, and absolute functions 取最小、最大和取绝对值函数
*输入是一个小数,输出也是一个小数,字符类型不变
CHARACTER DATA TYPE 字符数据类型