diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-15 14:26:10 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-15 14:26:10 -0500 |
commit | 01ea146f550a48107b41d4d2aa149192f3b52142 (patch) | |
tree | 78b97a04e3b62f46320fefca1935605489716873 /mathfuncs_convert.h | |
parent | 5240ff3139edade7894067b93d5630115e5293eb (diff) | |
download | vecmathlib-01ea146f550a48107b41d4d2aa149192f3b52142.zip vecmathlib-01ea146f550a48107b41d4d2aa149192f3b52142.tar.gz |
Replace all assert() by VML_ASSERT()
Diffstat (limited to 'mathfuncs_convert.h')
-rw-r--r-- | mathfuncs_convert.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mathfuncs_convert.h b/mathfuncs_convert.h index 4a2a7ff..44a3aee 100644 --- a/mathfuncs_convert.h +++ b/mathfuncs_convert.h @@ -5,7 +5,6 @@ #include "mathfuncs_base.h" -#include <cassert> #include <cmath> @@ -73,7 +72,7 @@ namespace vecmathlib { intvec_t exponent = ilogb(x); for (int i=0; i<intvec_t::size; ++i) { - assert(exponent[i] >= FP::mantissa_bits); + VML_ASSERT(exponent[i] >= FP::mantissa_bits); } intvec_t ix = as_int(x) & IV(FP::mantissa_mask); // add hidden mantissa bit |