Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
hl_real.h File Reference
#include "compensated.h"
Include dependency graph for hl_real.h:

Go to the source code of this file.

Typedefs

typedef float2 hl_real_t

Functions

static float2 hl_quick_two_sum (const float a, const float b)
static float2 hl_two_prod (const float a, const float b)
static hl_real_t hl_real (const float x)
static float hl_float (const hl_real_t x)
static hl_real_t hl_zero (void)
static hl_real_t hl_add (const hl_real_t a, const hl_real_t b)
static hl_real_t hl_sub (const hl_real_t a, const hl_real_t b)
static hl_real_t hl_mul (const hl_real_t a, const hl_real_t b)
static hl_real_t hl_div (const hl_real_t a, const hl_real_t b)
static hl_real_t hl_sqrt (const hl_real_t a)

Typedef Documentation

◆ hl_real_t

typedef float2 hl_real_t

Definition at line 72 of file hl_real.h.

Function Documentation

◆ hl_add()

hl_real_t hl_add ( const hl_real_t a,
const hl_real_t b )
inlinestatic

Definition at line 92 of file hl_real.h.

References csum_two_sum(), hl_quick_two_sum(), and t.

Referenced by hl_div(), and hl_sub().

◆ hl_div()

hl_real_t hl_div ( const hl_real_t a,
const hl_real_t b )
inlinestatic

Definition at line 115 of file hl_real.h.

References hl_add(), hl_mul(), hl_quick_two_sum(), hl_real(), hl_sub(), and r.

◆ hl_float()

float hl_float ( const hl_real_t x)
inlinestatic

Definition at line 89 of file hl_real.h.

References x.

◆ hl_mul()

hl_real_t hl_mul ( const hl_real_t a,
const hl_real_t b )
inlinestatic

Definition at line 107 of file hl_real.h.

References hl_quick_two_sum(), hl_two_prod(), and p.

Referenced by hl_div().

◆ hl_quick_two_sum()

float2 hl_quick_two_sum ( const float a,
const float b )
inlinestatic

Definition at line 75 of file hl_real.h.

Referenced by hl_add(), hl_div(), hl_mul(), and hl_sqrt().

◆ hl_real()

hl_real_t hl_real ( const float x)
inlinestatic

Definition at line 88 of file hl_real.h.

References x.

Referenced by hl_div().

◆ hl_sqrt()

hl_real_t hl_sqrt ( const hl_real_t a)
inlinestatic

Definition at line 129 of file hl_real.h.

References hl_quick_two_sum(), hl_sub(), hl_two_prod(), and r.

◆ hl_sub()

hl_real_t hl_sub ( const hl_real_t a,
const hl_real_t b )
inlinestatic

Definition at line 102 of file hl_real.h.

References hl_add().

Referenced by hl_div(), and hl_sqrt().

◆ hl_two_prod()

float2 hl_two_prod ( const float a,
const float b )
inlinestatic

Definition at line 82 of file hl_real.h.

References p.

Referenced by hl_mul(), and hl_sqrt().

◆ hl_zero()

hl_real_t hl_zero ( void )
inlinestatic

Definition at line 90 of file hl_real.h.