2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathffp_intern.h"
10 Calculate the least integer ffp-number greater than or equal to
18 negative : result is negative
36 AROS_LH1(float, SPCeil
,
37 AROS_LHA(float, y
, D0
),
38 struct LibHeader
*, MathBase
, 16, Mathffp
43 /* Ceil(y) = -Floor(-y) */
44 y
= SPFloor(y
^ FFPSign_Mask
);
45 return (y
^ FFPSign_Mask
);