QPMS
Electromagnetic multiple scattering library and toolkit.
Functions
kahansum.h File Reference

Inline functions providing Kahan summation. More...

#include <complex.h>
Include dependency graph for kahansum.h:

Go to the source code of this file.

Functions

static void kahaninit (double *const sum, double *const compensation)
 
static void kahanadd (double *sum, double *compensation, double input)
 
static void ckahaninit (complex double *const sum, complex double *const compensation)
 
static void ckahanadd (complex double *sum, complex double *compensation, complex double input)
 

Detailed Description

Inline functions providing Kahan summation.