zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
s_scalbn.c File Reference
#include "math_libm.h"
#include "math_private.h"

Go to the source code of this file.

Functions

double scalbn (double x, int n)
 

Variables

static double huge_val = 1.0e+300
 
static double tiny = 1.0e-300
 
static double two54 = 1.80143985094819840000e+16
 
static double twom54 = 5.55111512312578270212e-17
 

Function Documentation

double scalbn ( double  x,
int  n 
)

Definition at line 42 of file s_scalbn.c.

References copysign(), EXTRACT_WORDS, GET_HIGH_WORD, huge_val, hx, k, lx, SET_HIGH_WORD, tiny, two54, and twom54.

Referenced by __ieee754_pow(), and SDL_scalbn().

Variable Documentation

double huge_val = 1.0e+300
static

Definition at line 36 of file s_scalbn.c.

Referenced by scalbn().

double tiny = 1.0e-300
static

Definition at line 36 of file s_scalbn.c.

Referenced by scalbn().

double two54 = 1.80143985094819840000e+16
static

Definition at line 34 of file s_scalbn.c.

Referenced by scalbn().

double twom54 = 5.55111512312578270212e-17
static

Definition at line 35 of file s_scalbn.c.

Referenced by scalbn().