예제 #1
0
FLOAT
M_DECL_FUNC (__expm1) (FLOAT x)
{
  if ((__m81_test (x) & __M81_COND_INF) == 0 && isgreater (x, o_threshold))
    __set_errno (ERANGE);
  return __m81_u(M_SUF (__expm1)) (x);
}
예제 #2
0
float_type
CONCATX(__,FUNC) (float_type x)
{
  if ((__m81_test (x) & __M81_COND_INF) == 0 && isgreater (x, o_threshold))
    __set_errno (ERANGE);
  return __m81_u(CONCATX(__, FUNC)) (x);
}
예제 #3
0
파일: s_llrintl.c 프로젝트: AubrCool/glibc
long long int
__llrintl (long double x)
{
  int32_t e, s;
  u_int32_t h, l;
  long long int result;

  x = __m81_u(__rintl) (x);

  GET_LDOUBLE_WORDS (e, h, l, x);

  s = e;
  e = (e & 0x7fff) - 0x3fff;
  if (e < 0)
    return 0;

  if (e < 63)
    {
      if (e > 31)
	{
	  l >>= 63 - e;
	  l |= h << (e - 31);
	  h >>= 63 - e;
	  result = ((long long int) h << 32) | l;
	}
      else
예제 #4
0
파일: e_acos.c 프로젝트: RobbenBasten/glibc
float_type
FUNC (float_type x)
{
  return __m81_u(FUNC)(x);
}
예제 #5
0
FLOAT
M_DECL_FUNC (__tanh) (FLOAT x)
{
  return __m81_u(M_SUF (__tanh)) (x);
}
예제 #6
0
파일: s_lrint.c 프로젝트: AubrCool/glibc
long int
CONCATX(__lrint,suffix) (float_type x)
{
  return __m81_u(CONCATX(__lrint,suffix)) (x);
}
예제 #7
0
float_type
__CONCATX(__scalbn,suffix) (float_type x, int exp)
{
  return __m81_u(__CONCATX(__scalbn,suffix))(x, exp);
}
예제 #8
0
int
__CONCATX(__,FUNC) (float_type x)
{
  return __m81_u(__CONCATX(__,FUNC))(x);
}
예제 #9
0
FLOAT
M_DECL_FUNC (__nearbyint) (FLOAT x)
{
  return __m81_u(M_SUF (__nearbyint)) (x);
}
예제 #10
0
void
M_DECL_FUNC (__sincos) (FLOAT x, FLOAT *sinx, FLOAT *cosx)
{
  __m81_u(M_SUF (__sincos)) (x, sinx, cosx);
}
예제 #11
0
파일: e_fmod.c 프로젝트: RobbenBasten/glibc
float_type
FUNC (float_type x, float_type y)
{
  return __m81_u(FUNC)(x, y);
}