2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathieeesingbas_intern.h"
10 Calculate the least integer ieeesp-number greater than or equal to
16 negative : result is negative
35 AROS_LH1(float, IEEESPCeil
,
36 AROS_LHA(float, y
, D0
),
37 struct LibHeader
*, MathIeeeSingBasBase
, 16, Mathieeesingbas
42 if (y
== 0x7f880000) return y
;
44 /* Ceil(y) = -Floor(-y); */
45 y
= IEEESPFloor(y
^ IEEESPSign_Mask
);
47 else return (y
^ IEEESPSign_Mask
);