Back to index

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

Go to the source code of this file.

Functions

void _Qp_uxtoq (long double *c, const unsigned long a)

Function Documentation

void _Qp_uxtoq ( long double *  c,
const unsigned long  a 
)

Definition at line 26 of file qp_uxtoq.c.

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

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