Quantum-Chess 0.5
Chargement...
Recherche...
Aucune correspondance
math_utility.hpp
Aller à la documentation de ce fichier.
1#ifndef MATH_UTILITY_HPP
2#define MATH_UTILITY_HPP
3
4#define EPSILON 10e-3
5
6#include <complex>
7#include <Constexpr.hpp>
8
9namespace
10{
11 CONSTEXPR bool double_equal(double x, double y);
12 CONSTEXPR bool complex_equal(
13 std::complex<double> const &z1,
14 std::complex<double> const &z2);
15}
16
17#include "math_utility.tpp"
18#endif
#define CONSTEXPR
Utilisé pour utiliser ou non constexpr.
Definition Constexpr.hpp:7