Optimized implementation of 1/sqrt( double )
#include "core/DataTypes.h"
Classes | |
union | walberla::math::DoubleAndLongLong |
union | walberla::math::FloatAndLong |
Namespaces | |
walberla | |
\file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de | |
walberla::math | |
Functions | |
template<unsigned int numIter> | |
double | walberla::math::fastInvSqrt (double y) |
Computes 1.0 / sqrt(x) with limited accuracy. More... | |
template<unsigned int numIter> | |
float | walberla::math::fastInvSqrt (float y) |
Float version, for documentation see above. More... | |