Last active
December 18, 2015 18:18
-
-
Save hecomi/5824358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <sprout/math.hpp> | |
#include <cmath> | |
int main(int argc, char* argv[]) | |
{ | |
// auto sin45 = std::sin(); | |
// std::cout << sin45_2 << std::endl; | |
constexpr auto sin45 = sprout::sin(sprout::math::pi<double>()/4); | |
std::cout << sin45 << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment