#include "libm.h"
#include "libm_util.h"
#include "libm_errno.h"
#include "libm_inlines.h"
Go to the source code of this file.
◆ USE_HANDLE_ERRORF
◆ ceilf()
Definition at line 40 of file ceilf.c.
41{
43 int rexp, xneg;
44 unsigned int ux,
ax, ur,
mask;
45
47 ax = ux & (~SIGNBIT_SP32);
49
51 {
52
54
56 0.0F, 1);
57 else
59 }
60 else if (
ax < 0x3f800000)
61 {
63
65 else if (xneg)
66 {
69 }
70 else
71 return 1.0F;
72 }
73 else
74 {
76
80
81 if (xneg || (ux == ur))
return r;
82 else
83
85 }
86}
float __cdecl _handle_errorf(char *fname, int opcode, unsigned long long value, int type, int flags, int error, float arg1, float arg2, int nargs)
GLint GLint GLint GLint GLint x
GLdouble GLdouble GLdouble r
#define GET_BITS_SP32(x, ux)
#define PUT_BITS_SP32(ux, x)
#define EXPSHIFTBITS_SP32
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl edx movl TEMP incl eax andl eax ecx incl ebx testl eax jnz xchgl ecx incl TEMP esp ecx subl ebx pushl ecx ecx edx ecx shrl ecx mm0 mm4 mm0 mm4 mm1 mm5 mm1 mm5 mm2 mm6 mm2 mm6 mm3 mm7 mm3 mm7 paddd mm0 paddd mm4 paddd mm0 paddd mm4 paddd mm0 paddd mm4 movq mm1 movq mm5 psrlq mm1 psrlq mm5 paddd mm0 paddd mm4 psrad mm0 psrad mm4 packssdw mm0 packssdw mm4 mm1 punpckldq mm0 pand mm1 pand mm0 por mm1 movq edi esi edx edi decl ecx jnz popl ecx andl ecx jecxz mm0 mm0 mm1 mm1 mm2 mm2 mm3 mm3 paddd mm0 paddd mm0 paddd mm0 movq mm1 psrlq mm1 paddd mm0 psrad mm0 packssdw mm0 movd eax movw ax