2 * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 * Author: Ceriel J.H. Jacobs
16 return modf(x
, &val
) < 0 ? val
- 1.0 : val
;
17 /* this also works if modf always returns a positive