1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Commit graph

803 commits

Author SHA1 Message Date
bolero-MURAKAMI
3df16007a5 add math comparison functions 2014-07-30 14:05:55 +09:00
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
Bolero MURAKAMI
12e72dbf7e Merge pull request #31 from kariya-mitsuru/lexicographical_compare
[algorithm.lexicographical_compare, algorithm.tristate_lexicographical_compare]
2014-04-14 15:29:07 +09:00
bolero-MURAKAMI
fad447dd9d fix container_complete 2014-04-14 15:20:50 +09:00
bolero-MURAKAMI
2c0b1d4513 fix next|prev_permutation implementations 2014-04-14 15:16:05 +09:00
bolero-MURAKAMI
057dec630c fix parity bitwise operation implementation 2014-04-13 18:22:58 +09:00
bolero-MURAKAMI
3e4dd5de00 fix ctz/clz bitwise operation implementation 2014-04-13 17:48:24 +09:00
bolero-MURAKAMI
fb69a146dd fix io::format_expression 2014-04-11 13:57:38 +09:00
bolero-MURAKAMI
cd16923347 add C++14 constexpr range algorithms 2014-04-09 18:11:40 +09:00
bolero-MURAKAMI
856fb90150 add C++14 constexpr stable_partition, stable_sort, inplace_merge 2014-04-07 20:01:38 +09:00
bolero-MURAKAMI
262a5aa48b add C++14 constexpr partial_sort, partial_sort_copy 2014-04-07 12:54:40 +09:00
bolero-MURAKAMI
13e0c9b5f5 fix nth_element 2014-04-06 18:59:20 +09:00
bolero-MURAKAMI
098dd1721e add C++14 constexpr set/heap/permutation algorithms 2014-04-06 18:37:06 +09:00
bolero-MURAKAMI
ecccb58042 add C++14 constexpr merge algorithm 2014-04-06 13:16:08 +09:00
bolero-MURAKAMI
a090307cc2 fix numeric algorithms SFINAE 2014-04-06 12:25:26 +09:00
bolero-MURAKAMI
27f9f47027 fix fixed algorithms 2014-04-05 23:31:36 +09:00
bolero-MURAKAMI
57d4e78d54 add C++14 constexpr bogo_sort, bozo_sort 2014-04-05 21:56:06 +09:00
bolero-MURAKAMI
c54c980b79 add C++14 constexpr copy_while, copy_until, clamp_range 2014-04-05 21:23:26 +09:00
bolero-MURAKAMI
ac66209e24 add C++14 constexpr sample algorithm 2014-04-05 20:59:19 +09:00
bolero-MURAKAMI
20cd8402b7 add C++14 constexpr nth_element 2014-04-05 20:54:11 +09:00
bolero-MURAKAMI
0fa551beed add c++14 constexpr range numeric algorithms 2014-04-05 19:52:21 +09:00
bolero-MURAKAMI
b2daf0262c add nested_array 2014-04-05 19:33:32 +09:00
bolero-MURAKAMI
f1555cb917 add c++14 constexpr numeric algorithms 2014-04-05 18:31:09 +09:00
bolero-MURAKAMI
fd608b74e2 add single and range bitwise operations 2014-04-05 10:27:27 +09:00
bolero-MURAKAMI
5bfb5087ac fix is_convert_constructible 2014-04-05 10:16:16 +09:00
bolero-MURAKAMI
e244ea2932 add c++1y rightmost bit manipurations 2014-03-31 17:18:22 +09:00
bolero-MURAKAMI
56c9d52436 add C++1y bit operations (partial) 2014-03-31 14:58:24 +09:00
bolero-MURAKAMI
1bb9336d34 fix common_type: support C++14 version 2014-03-29 09:16:43 +09:00
bolero-MURAKAMI
bb0098ce09 fix qualified name 2014-03-26 12:20:13 +09:00
bolero-MURAKAMI
11a96da4bb add std:: for <cstdint> types 2014-03-26 11:57:33 +09:00
Chris Kay
c15d163e94 Final cleanup 2014-03-24 13:03:05 +00:00
Chris Kay
cf42bdca5a Refactored and added comments 2014-03-24 11:53:46 +00:00
Chris Kay
634bd89d9e Implemented C++1Y proposal N3620 2014-03-24 10:20:33 +00:00
bolero-MURAKAMI
3fb83e0fbe add move_iterator 2014-03-20 23:52:08 +09:00
bolero-MURAKAMI
01efe1e793 fix copysign for clang 2014-03-19 19:50:00 +09:00
bolero-MURAKAMI
5527449e26 fix type/seq/algorithm/ 2014-03-19 00:53:52 +09:00
bolero-MURAKAMI
6e09fc2ee5 add math::phi 2014-03-17 17:06:41 +09:00
fimbul
2ebfcded24 fix constants and add constant_variables 2014-03-17 15:26:58 +09:00
bolero-MURAKAMI
2342ac6433 add exempt_ptr 2014-03-15 23:02:13 +09:00
bolero-MURAKAMI
61dd3351fc add type_traits for variable templates version 2014-03-15 18:11:11 +09:00
bolero-MURAKAMI
7e709630c6 rename type_traits is_int -> is_sint
add new type_traits is_*_unqualified
2014-03-15 12:06:51 +09:00
bolero-MURAKAMI
86db277625 workaround for ICC: decltype in template parameter 2014-03-07 19:49:30 +09:00
bolero-MURAKAMI
2d284a61c1 fix enabler_t 2014-03-03 19:25:13 +09:00
bolero-MURAKAMI
9522d20a4a fix workaround detail (for clang3.4~) 2014-03-03 12:26:07 +09:00
bolero-MURAKAMI
3d170e65a4 workaround for clang3.4 or later: empty base class construction 2014-03-03 12:01:27 +09:00
bolero-MURAKAMI
87ed3d5548 add tuple assignment for pair 2014-03-01 10:35:24 +09:00
minamiyama1994
0009f778e6 cannot compile this code ( http://melpon.org/wandbox/permlink/dMPGXatLnTh3o3Fk ) by my environment 2014-02-23 19:42:08 +09:00
bolero-MURAKAMI
274122efb2 add SPROUT_FORWARD - workaround for ICC 2014-02-22 16:32:51 +09:00
bolero-MURAKAMI
7831105add fix index_tuple for ICC: template argument deduntion with aliases 2014-02-22 00:24:38 +09:00
bolero-MURAKAMI
eae1729128 fix for ICC: aggregate initialization 2014-02-21 23:43:24 +09:00
bolero-MURAKAMI
1cfea12064 fix for ICC: decltype in base class 2014-02-21 23:16:23 +09:00