Mercurial > emacs
diff lwlib/dispatch.c @ 16857:bdafa1f28a64
(rounding_driver): New function for systematic support of
2-argument rounding functions, so that `floor' isn't the only one
that supports 2 arguments.
(Fceiling, Ffloor, Fround, Ftruncate): Use it.
(ceiling2, floor2, round2, truncate2, double_identity): New functions.
(syms_of_floatfns): Define ceiling, round, and truncate even if
LISP_FLOAT_TYPE is not defined.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Sat, 11 Jan 1997 17:44:06 +0000 |
parents | ee40177f6c68 |
children | e0d966fb548f |