File signalmath.cc
FileList > ase > signalmath.cc
#include "signalmath.hh"
#include "internal.hh"
#include "testing.hh"
Namespaces
Type | Name |
---|---|
namespace | Ase The Anklang C++ API namespace. |
Macros
Type | Name |
---|---|
define | FEQUAL (a, b, eps) |
Macro Definition Documentation
define FEQUAL
#define FEQUAL (
a,
b,
eps
) do { \
auto __a = a; auto __b = b; \
if (std::abs (__a - __b) <= eps) \
break; \
std::string __m = \
Ase::string_format ("'%s ≈ %s': %+g ≈ %+g (Δ=%g)", \
ASE_CPP_STRINGIFY (a), \
ASE_CPP_STRINGIFY (b), \
__a, __b, std::abs (__a - __b)); \ Ase::assertion_failed (__m.c_str()); \
} while (0)
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/signalmath.cc