Back to index

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

Go to the source code of this file.

Functions

long double __frexpl (long double arg, int *exp)

Function Documentation

long double __frexpl ( long double  arg,
int exp 
)

Definition at line 35 of file s_frexpl.c.

{
  FP_DECL_EX;
  FP_DECL_Q(A);
  long double r;

  *exp = 0;
  FP_UNPACK_Q(A, arg);
  if (A_c != FP_CLS_NORMAL)
    return arg;
  *exp = A_e + 1;
  A_e = -1;
  FP_PACK_Q(r, A);

  return r;
}

Here is the caller graph for this function: