Togtja / CultSim

An Agent-Based Modeling framework focusing on high performance and aesthetically pleasing social simulations
GNU General Public License v3.0
4 stars 0 forks source link

Add a power function that is a constexpr in MSVC - [merged] #219

Closed Togtja closed 4 years ago

Togtja commented 4 years ago

In GitLab by @tomashb on May 1, 2020, 13:34

_Merges bugfix_powconstexpr -> master

Due to the MSVC compiler and the GCC compiler having different implementations of std::pow we implemented our own one from http://prosepoetrycode.potterpcs.net/2015/07/a-simple-constexpr-power-function-c/

Togtja commented 4 years ago

In GitLab by @carlfindahl on May 1, 2020, 13:38

approved this merge request

Togtja commented 4 years ago

In GitLab by @carlfindahl on May 1, 2020, 13:38

enabled an automatic merge when the pipeline for 54da9f62a4143ae482a0d8e43d10e4662b460cd2 succeeds

Togtja commented 4 years ago

In GitLab by @carlfindahl on May 1, 2020, 13:41

merged

Togtja commented 4 years ago

In GitLab by @carlfindahl on May 1, 2020, 13:41

mentioned in commit bd0f37338f4feef1fdce1185fb464edea80ba793