(rounding_driver): New function for systematic support of
authorPaul Eggert <eggert@twinsun.com>
Sat, 11 Jan 1997 17:44:06 +0000 (17:44 +0000)
committerPaul Eggert <eggert@twinsun.com>
Sat, 11 Jan 1997 17:44:06 +0000 (17:44 +0000)
commitacbbacbe534d4b537ab6ecc242e4f0edd681fe7f
treef66e93a588f83673635bee446bd34b6dc4f33df6
parentec3bbd7d6b3880754b059b7605b17a106e5c1297
(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.
src/floatfns.c