mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-10 14:44:11 +00:00
add sprout::exp, log
This commit is contained in:
parent
d7c441ad69
commit
29a55bf31d
8 changed files with 163 additions and 3 deletions
|
@ -19,6 +19,13 @@ namespace sprout {
|
|||
inline SPROUT_CONSTEXPR T pi_div_two() {
|
||||
return 1.570796326794896619231321691639751442098584699687552910487472L;
|
||||
}
|
||||
//
|
||||
// root_two
|
||||
//
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR T root_two() {
|
||||
return 1.414213562373095048801688724209698078569671875376948073L;
|
||||
}
|
||||
} // namespace math
|
||||
} // namespace sprout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue