Commit graph

752 commits

Author SHA1 Message Date
bolero-MURAKAMI
ae77da19e1 add shrink_to_fit, unmove 2014-07-22 09:33:13 +09:00
bolero-MURAKAMI
22c3f6e132 re-implementation complex transcendental functions 2014-07-19 20:03:13 +09:00
Mitsuru Kariya
611fba8774 fix numeric_limits<long double>
If SPROUT_NO_CXX11_NUMERIC_LIMITS and __LDBL_DENORM_MIN__ is defined,
the definition of numeric_limits uses __builtin_huge_val, __builtin_nan
and __builtin_nans but I think that it should use __builtin_huge_vall,
__builtin_nanl and __builtin_nansl, respectively.
2014-07-16 21:01:13 +09:00
Mitsuru Kariya
191867afe0 fix math::is_odd for a negative argument
I think that sprout::math::is_odd(-1) should be true.

It also fixes math::pow for a case that x is a negative and y is a negative odd integer.

cf. http://melpon.org/wandbox/permlink/XVKea2I6CdVJCbZX
2014-07-16 01:13:53 +09:00
bolero-MURAKAMI
5c10e4d85c fix math::pow case x is negative and y is integer 2014-07-15 22:25:04 +09:00
Mitsuru Kariya
32f72555e1 sprout::proj should return an argument as it is.
sprout::proj should return the argument as it is unless the argument is infinite.
2014-07-13 02:49:50 +09:00
bolero-MURAKAMI
37a8e6c6e7 add std::complex container adapt 2014-07-13 02:12:13 +09:00
bolero-MURAKAMI
9b4ffacda6 fix std::array adapt 2014-07-13 02:07:17 +09:00
bolero-MURAKAMI
28e9a4e5d9 add extension index_iterator 2014-07-13 01:41:33 +09:00
bolero-MURAKAMI
46b2b96013 adapt std::complex tuple and hash support 2014-07-13 00:47:24 +09:00
bolero-MURAKAMI
f830221c56 add tuple_traits 2014-07-13 00:28:34 +09:00
bolero-MURAKAMI
be5fc7df52 fix tuples::get 2014-07-12 23:42:42 +09:00
bolero-MURAKAMI
66cea44736 add sprout::data() non-member function 2014-07-12 21:37:49 +09:00
bolero-MURAKAMI
c995ffd177 fix container_range_traits overloads 2014-07-12 19:04:34 +09:00
bolero-MURAKAMI
909ccfe73a add front, back, at : container access non-member functions 2014-07-12 18:04:45 +09:00
bolero-MURAKAMI
fa426a413a remove unused parameter 2014-07-12 13:26:04 +09:00
bolero-MURAKAMI
3d01aac239 fix sprout::size, sprout::empty implementations 2014-07-12 12:59:16 +09:00
bolero-MURAKAMI
2b28ddef6f remove unused typedef 2014-07-10 18:33:37 +09:00
bolero-MURAKAMI
54920b3389 add complex tuple and container support 2014-07-10 17:08:33 +09:00
bolero-MURAKAMI
f4d715c6db add SPROUT_AUTO_FORWARD 2014-07-07 18:20:18 +09:00
bolero-MURAKAMI
71144902ff add algorithm for_each, gather 2014-07-07 13:08:26 +09:00
bolero-MURAKAMI
bbc67ea04a fix. 2014-07-04 00:34:37 +09:00
bolero-MURAKAMI
ddde1f87e5 fix cstdint.hpp 2014-07-04 00:16:33 +09:00
bolero-MURAKAMI
720500dd75 support variadic macros for clang 2014-07-03 23:55:08 +09:00
bolero-MURAKAMI
fd37cb02d3 add SPROUT_STATIC_ASSERT variadic macro version 2014-07-03 23:41:40 +09:00
bolero-MURAKAMI
253477ed32 fix. 2014-07-03 23:23:48 +09:00
bolero-MURAKAMI
23be867d87 add variadic assert macro 2014-07-03 23:18:11 +09:00
bolero-MURAKAMI
15c3f55ebb fix. 2014-07-02 22:16:29 +09:00
bolero-MURAKAMI
93e22a984d fix net/endian.hpp 2014-06-05 16:44:19 +09:00
bolero-MURAKAMI
7f8a352783 fix isolated files 2014-05-30 01:22:00 +09:00
bolero-MURAKAMI
f45298f81f add iterator_traits: SFINAE-friendly version 2014-05-29 13:30:51 +09:00
bolero-MURAKAMI
c15de6136b fix tuple_element: support SFINAE-friendly 2014-05-29 00:25:37 +09:00
Bolero MURAKAMI
f42e92b448 Merge pull request #63 from fimbul/fix_include_directive
fix include directive in sprout/pit/tuple.hpp
2014-05-06 18:47:10 +09:00
bolero-MURAKAMI
e593f87559 add pass_through utility function 2014-05-06 18:10:06 +09:00
fimbul
88dab77928 fix include directive 2014-05-06 00:58:41 +09:00
bolero-MURAKAMI
3c4a048f25 fix <cstddef> include, for clang 3.5 earlier with libstdc++ 20140422 or later 2014-04-30 16:30:26 +09:00
bolero-MURAKAMI
74f79f3717 fix missing header <cmath> 2014-04-24 13:35:08 +09:00
bolero-MURAKAMI
20cefe452a fix warning 2014-04-23 11:44:50 +09:00
bolero-MURAKAMI
b04dea6002 add <cstring> and <cwchar> compatible constexpr functions 2014-04-23 01:27:03 +09:00
bolero-MURAKAMI
fe255a5e74 add c++14 fft/dft range algorithms 2014-04-21 23:30:43 +09:00
bolero-MURAKAMI
aaf31f2ab8 fix typo 2014-04-21 19:33:30 +09:00
bolero-MURAKAMI
cc48f3585a add c++14 constexpr spectrum and wave genarator algorithms 2014-04-20 15:25:25 +09:00
bolero-MURAKAMI
d1fc657c1f fix fft implementation 2014-04-18 19:33:48 +09:00
bolero-MURAKAMI
07b5f69ebb add C++14 constexpr fft/ifft 2014-04-18 11:34:28 +09:00
bolero-MURAKAMI
6a6fdd41ec add make_array_without_narrowing 2014-04-15 13:37:38 +09:00
bolero-MURAKAMI
36fe036f38 fix indent 2014-04-15 12:56:28 +09:00
bolero-MURAKAMI
6f399977b2 fix make_array (add common type version) 2014-04-15 12:31:13 +09:00
bolero-MURAKAMI
d082fa743b fix sub_array::get_array() 2014-04-14 17:00:28 +09:00
bolero-MURAKAMI
89734c0b09 fix include-quard 2014-04-14 15:56:18 +09:00
bolero-MURAKAMI
705773a03a remove warning 2014-04-14 15:52:20 +09:00