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
7 /* $Id: ceil.c,v 1.2 1994/06/24 11:43:20 ceriel Exp $ */
16 return modf(x, &val) > 0 ? val + 1.0 : val ;
17 /* this also works if modf always returns a positive