Esempio n. 1
0
int
__fesetround (int round)
{
  /* FE_TONEAREST is the only supported rounding mode
     if a VFP unit isn't present.  */
  if (!ARM_HAVE_VFP)
    return (round == FE_TONEAREST) ? 0 : 1;

  if (round & ~_FPU_MASK_RM)
    return 1;

  libc_fesetround_vfp (round);
  return 0;
}
Esempio n. 2
0
int
__fesetround (int round)
{
  libc_fesetround_vfp (round);
  return 0;
}