commit | 8637249945c9fe6151b04d58d718e612e319722d | [log] [tgz] |
---|---|---|
author | Tobias Schlüter <tobias@lp-research.com> | Sat Jan 30 19:48:41 2021 +0900 |
committer | Tobias Schlüter <Ruediger.Knippel@googlemail.com> | Sat Jan 30 23:19:07 2021 +0900 |
tree | 8762e1cb2221920ff7a70eb7dfd96acae07127c9 | |
parent | 97873ea658fa6a7979980b3dcb785085a49db917 [diff] |
Use portable expression for constant 2/sqrt(pi) M_2_SQRTPI is not part of standard C++, replace it with an equivalent expression. gcc immediately folds this and thus generates the same code even at -O0. Change-Id: I5d38e67a4508c1d43a1a8e5f1639f2243cdb143e
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.