예제 #1
0
void testf(float x)
{
#ifdef HAVE_C99_RUNTIME
  if (sizeof(long) != sizeof(long long))
    return;

  if (__builtin_lceilf(x) != __builtin_llceilf(x))
    link_error();
  if (__builtin_lfloorf(x) != __builtin_llfloorf(x))
    link_error();
  if (lroundf(x) != llroundf(x))
    link_error();
  if (lrintf(x) != llrintf(x))
    link_error();
#endif
}
예제 #2
0
파일: pr69135_1.c 프로젝트: 0day-ci/gcc
void
lceil_float (float x, int b)
{
  if (b) global = __builtin_lceilf (x);
}