Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.

#elisp

The functions

`ffloor`

, `fceiling`

, `fround`

, and
`ftruncate`

take a floating-point argument and return a floating-point
result whose value is a nearby integer. `ffloor`

returns the
nearest integer below; `fceiling`

, the nearest integer above;
`ftruncate`

, the nearest integer in the direction towards zero;
`fround`

, the nearest integer.If you want to change selection, open document below and click on "Move attachment"

**GNU Emacs Lisp Reference Manual: Rounding Operations**

GNU Emacs Lisp Reference Manual: Rounding Operations Next: Bitwise Operations, Previous: Arithmetic Operations, Up: Numbers [Contents][Index] 3.7 Rounding Operations The functions ffloor , fceiling , fround , and ftruncate take a floating-point argument and return a floating-point result whose value is a nearby integer. ffloor returns the nearest integer below; fceiling , the nearest integer above; ftruncate , the nearest integer in the direction towards zero; fround , the nearest integer. Function: ffloor float This function rounds float to the next lower integral value, and returns that value as a floating-point number. Function: fceiling float This function ro

GNU Emacs Lisp Reference Manual: Rounding Operations Next: Bitwise Operations, Previous: Arithmetic Operations, Up: Numbers [Contents][Index] 3.7 Rounding Operations The functions ffloor , fceiling , fround , and ftruncate take a floating-point argument and return a floating-point result whose value is a nearby integer. ffloor returns the nearest integer below; fceiling , the nearest integer above; ftruncate , the nearest integer in the direction towards zero; fround , the nearest integer. Function: ffloor float This function rounds float to the next lower integral value, and returns that value as a floating-point number. Function: fceiling float This function ro

status | not read | reprioritisations | ||
---|---|---|---|---|

last reprioritisation on | suggested re-reading day | |||

started reading on | finished reading on |

Do you want to join discussion? Click here to log in or create user.