mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add examble: perseptron/g3.cpp brainfuck/x86_compile.cpp
This commit is contained in:
parent
5ccbc4e903
commit
03b4eda323
15 changed files with 1411 additions and 8 deletions
|
@ -18,6 +18,12 @@ namespace sprout {
|
|||
struct float_compute
|
||||
: public sprout::float_promote<double, Types...>
|
||||
{};
|
||||
|
||||
template<typename FloatType>
|
||||
inline SPROUT_CONSTEXPR typename sprout::math::detail::float_compute<FloatType>::type
|
||||
as_float_compute(FloatType const& x) {
|
||||
return static_cast<typename sprout::math::detail::float_compute<FloatType>::type>(x);
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace math
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue