Back to index

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

Go to the source code of this file.

Functions

long double _q_itoq (const int a)

Function Documentation

long double _q_itoq ( const int  a)

Definition at line 26 of file q_itoq.c.

{
  FP_DECL_EX;
  FP_DECL_Q(C);
  int b = a;
  long double c;

  FP_FROM_INT_Q(C, b, 32, unsigned int);
  FP_PACK_RAW_Q(c, C);
  FP_CLEAR_EXCEPTIONS;
  FP_HANDLE_EXCEPTIONS;
  return c;
}