1
0
Fork 0
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:
bolero-MURAKAMI 2014-12-27 13:56:41 +09:00
parent 5ccbc4e903
commit 03b4eda323
15 changed files with 1411 additions and 8 deletions

View file

@ -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