Back to index

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

Go to the source code of this file.

Functions

void _Qp_xtoq (long double *c, const long a)

Function Documentation

void _Qp_xtoq ( long double *  c,
const long  a 
)

Definition at line 26 of file qp_xtoq.c.

{
  FP_DECL_EX;
  FP_DECL_Q(C);
  long b = a;

  FP_FROM_INT_Q(C, b, 64, unsigned long);
  FP_PACK_RAW_QP(c, C);
  QP_NO_EXCEPTIONS;
}