Commit graph

867 commits

Author SHA1 Message Date
bolero-MURAKAMI
979af136a1 fix macros for noexcept 2014-08-14 22:55:49 +09:00
bolero-MURAKAMI
23f24450b0 add SPROUT_FORWARD variadic version 2014-08-13 19:31:52 +09:00
bolero-MURAKAMI
ab875e84de add sprout::addressof 2014-08-12 21:33:22 +09:00
bolero-MURAKAMI
22b1ac3f62 fix types::joint_types, types::rebind_types implementations 2014-08-07 19:11:41 +09:00
bolero-MURAKAMI
39bb8e8ada reimplementation types::tuple_element, types::tuple_size 2014-08-06 00:00:43 +09:00
bolero-MURAKAMI
609f0b6f8a add types::rebind, types::assign 2014-08-05 19:32:40 +09:00
bolero-MURAKAMI
58b0390679 add copyright fimbul 2014-08-05 18:14:44 +09:00
bolero-MURAKAMI
976288ac50 add types::tuple_cat 2014-08-05 18:05:12 +09:00
bolero-MURAKAMI
b25f91f954 erace unnecessary specialization 2014-08-05 17:17:42 +09:00
bolero-MURAKAMI
7562e23307 fix joint_types implementation 2014-08-05 16:37:28 +09:00
bolero-MURAKAMI
8f5f023ed9 add types::joint_types 2014-08-05 10:57:37 +09:00
bolero-MURAKAMI
c2ea313c6c fix complex norm 2014-08-01 17:21:44 +09:00
bolero-MURAKAMI
d0d2b677bc fix config for C++14 2014-08-01 15:24:00 +09:00
bolero-MURAKAMI
3d89eae1e9 fix for clang3.4.2 2014-07-30 19:23:33 +09:00
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
bolero-MURAKAMI
b14c8e7d73 fix confg and enabler_if: for ICC 2014-02-21 22:24:05 +09:00
bolero-MURAKAMI
2867cd79ef add SPROUT_DEPRECATED 2014-02-21 00:25:55 +09:00
bolero-MURAKAMI
2905965f24 fix iota 2014-02-20 08:04:36 +09:00
bolero-MURAKAMI
51716cb4af fix SPROUT_P_UNIQUE_STRING 2014-01-28 09:02:59 +09:00
bolero-MURAKAMI
90b1ff17ed fix SPROUT_PP_UNIQUE_STRING 2014-01-27 19:16:32 +09:00
bolero-MURAKAMI
b4b870209b add SPROUT_PP_SOME_NUMBER 2014-01-27 19:09:00 +09:00
bolero-MURAKAMI
12e12373d0 fix version check macro 2014-01-20 13:09:54 +09:00
bolero-MURAKAMI
b881750699 fix version check macro 2014-01-20 11:23:03 +09:00
bolero-MURAKAMI
7645105ee8 support [U]INTn_C for clang3.0-3.1 2014-01-18 14:15:51 +09:00
bolero-MURAKAMI
8d732a5197 fix: remove unnecessary typename 2014-01-18 13:35:18 +09:00
bolero-MURAKAMI
f0bea01ede rename random/result.hpp -> random/results.hpp 2014-01-17 22:09:08 +09:00
bolero-MURAKAMI
769e18178a add random::result, random::next 2014-01-16 18:59:25 +09:00
bolero-MURAKAMI
3879666b02 fix random generation implementation 2014-01-16 01:04:31 +09:00
bolero-MURAKAMI
406a1ff789 fix random_result<E, D>::next_generator(): returns variate_generator<E, D> 2014-01-15 00:06:38 +09:00
bolero-MURAKAMI
6e5004b6f4 fix testspr 2014-01-14 12:39:07 +09:00
bolero-MURAKAMI
7640eca894 fix defaulted default constructor 2014-01-14 00:18:06 +09:00
bolero-MURAKAMI
0f5ed91e03 fix testspr: add --compiler-option 2014-01-11 20:27:55 +09:00
bolero-MURAKAMI
e7b8d74c0f fix shufle_order: support clang 3.3 or later (default template depth 256) 2014-01-11 16:05:18 +09:00
bolero-MURAKAMI
14f8d9d042 fix copyright year 2014-01-08 16:48:12 +09:00
bolero-MURAKAMI
4bcc5e71fc add workaround for clang3.4 or later: base class construct 2014-01-08 00:47:39 +09:00
bolero-MURAKAMI
c5d64a7b9c fix cxx14 constexpr 2014-01-07 23:47:45 +09:00
bolero-MURAKAMI
49f4e1c72e fix cxx14 sort 2014-01-07 23:45:09 +09:00
bolero-MURAKAMI
8b40dfd184 add type_traits/std_value_variables.hpp 2014-01-06 22:45:41 +09:00
bolero-MURAKAMI
a43b9f3faa support const_iterator_cast: reverse_iterator 2014-01-05 22:57:41 +09:00
bolero-MURAKAMI
cd72873c3a add const_iterator_cast 2014-01-05 22:20:27 +09:00
bolero-MURAKAMI
be0bc155d8 fix float_exponent10 order O(logN) 2013-12-31 21:26:22 +09:00
bolero-MURAKAMI
ef4a7ac1d8 add c++14 sort algorithm 2013-12-31 17:49:27 +09:00
bolero-MURAKAMI
aeefee42ee fix math::cos 2013-12-18 17:58:27 +09:00
Bolero MURAKAMI
8b42648803 Merge pull request #57 from Fadis/cmake
Add support for CMake
2013-12-17 23:31:06 -08:00
bolero-MURAKAMI
dad087cd69 fix README 2013-12-12 23:38:33 +09:00
bolero-MURAKAMI
63ac0d0df5 [sprout.darkroom] implement refraction process 2013-12-12 23:29:50 +09:00
bolero-MURAKAMI
8e306168da [sprout.darkroom] implemented refraction 2013-12-06 01:57:31 +09:00
bolero-MURAKAMI
8e3c426684 add is_from_inside property 2013-12-04 23:38:33 +09:00
bolero-MURAKAMI
014d339803 fix darkroom: add alpha and refraction material parameter 2013-12-03 22:17:49 +09:00
bolero-MURAKAMI
4b5dd8ccc5 fix iterator compare 2013-12-03 01:15:28 +09:00
bolero-MURAKAMI
d05d58846d fix 2013-12-03 01:10:01 +09:00