w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

log_ui.c File Reference
#include "mpfr-impl.h"
Include dependency graph for log_ui.c:

Go to the source code of this file.

Macros

#define MPFR_NEED_LONGLONG_H
 

Functions

static void S (mpz_t *P, unsigned long *q, mpz_t *B, mpz_t *T, unsigned long n1, unsigned long n2, long p, unsigned long k, int need_P)
 
int mpfr_log_ui (mpfr_ptr x, unsigned long n, mpfr_rnd_t rnd_mode)
 

Macro Definition Documentation

◆ MPFR_NEED_LONGLONG_H

#define MPFR_NEED_LONGLONG_H

Definition at line 23 of file log_ui.c.

Function Documentation

◆ mpfr_log_ui()

◆ S()

static void S ( mpz_t P,
unsigned long *  q,
mpz_t B,
mpz_t T,
unsigned long  n1,
unsigned long  n2,
long  p,
unsigned long  k,
int  need_P 
)
static

Definition at line 46 of file log_ui.c.

References B, k, m, MPFR_ASSERTD, mpz_add, mpz_mul, mpz_mul_2exp, mpz_set, mpz_set_si, mpz_set_ui, p, P, q, q1, and T.

Referenced by mpfr_log_ui().