Skip to content

Commit

Permalink
vec math: vec_exp_float - fix minimum boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
timblechmann committed Dec 21, 2015
1 parent fe42203 commit 32a44ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions detail/vec_math.hpp
Expand Up @@ -150,8 +150,7 @@ always_inline VecType vec_exp_float(VecType const & arg)

/* handle min/max boundaries */
const VecType maxlogf(88.72283905206835f);
// const VecType minlogf(-103.278929903431851103f);
const VecType minlogf = -maxlogf;
const VecType minlogf(-88.0f);
const VecType max_float(std::numeric_limits<float>::max());
const VecType zero = VecType::gen_zero();

Expand Down

0 comments on commit 32a44ef

Please sign in to comment.