Back to index

glibc  2.9
Functions
floatunditf.c File Reference
#include "soft-fp.h"
#include "quad.h"

Go to the source code of this file.

Functions

TFtype __floatunditf (UDItype i)

Function Documentation

TFtype __floatunditf ( UDItype  i)

Definition at line 36 of file floatunditf.c.

{
  FP_DECL_EX;
  FP_DECL_Q(A);
  TFtype a;

  FP_FROM_INT_Q(A, i, DI_BITS, UDItype);
  FP_PACK_RAW_Q(a, A);
  FP_HANDLE_EXCEPTIONS;

  return a;
}