Commit graph

103 commits

Author SHA1 Message Date
bolero-MURAKAMI
ead65bf7fd add C++14 version is_signed, is_unsigned 2015-03-31 20:05:32 +09:00
bolero-MURAKAMI
251c1d174e remove unused typedef 2015-03-23 00:29:21 +09:00
bolero-MURAKAMI
4ecca97b78 add tested compiler 2015-01-12 02:03:30 +09:00
bolero-MURAKAMI
9bf7c26b25 fix type 2015-01-11 23:46:33 +09:00
bolero-MURAKAMI
1c758320b6 fix curve implementation 2015-01-11 23:29:58 +09:00
bolero-MURAKAMI
b55e74de78 add curve/bezier, curve/catmull_rom_sprine 2015-01-10 19:30:09 +09:00
bolero-MURAKAMI
3029507c05 change copyright 2015-01-10 19:13:57 +09:00
bolero-MURAKAMI
03b4eda323 add examble: perseptron/g3.cpp brainfuck/x86_compile.cpp 2014-12-27 13:56:41 +09:00
bolero-MURAKAMI
3df16007a5 add math comparison functions 2014-07-30 14:05:55 +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
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
01efe1e793 fix copysign for clang 2014-03-19 19:50:00 +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
7e709630c6 rename type_traits is_int -> is_sint
add new type_traits is_*_unqualified
2014-03-15 12:06:51 +09:00
bolero-MURAKAMI
eae1729128 fix for ICC: aggregate initialization 2014-02-21 23:43:24 +09:00
bolero-MURAKAMI
14f8d9d042 fix copyright year 2014-01-08 16:48:12 +09:00
bolero-MURAKAMI
cd72873c3a add const_iterator_cast 2014-01-05 22:20:27 +09:00
bolero-MURAKAMI
aeefee42ee fix math::cos 2013-12-18 17:58:27 +09:00
bolero-MURAKAMI
09bff1e262 fix min/max use 2013-11-10 22:13:25 +09:00
bolero-MURAKAMI
ab0731c4fc [sprout.random] add seed_array 2013-11-08 23:20:43 +09:00
bolero-MURAKAMI
9805082c57 fix warning: unused parameter 2013-10-26 23:37:47 +09:00
bolero-MURAKAMI
c58c9cc0fc fix: math functions (support for inferior C++14 standard)
add C++14 constexpr modifying algorithms
2013-10-25 12:29:16 +09:00
bolero-MURAKAMI
a90bbd5f38 add advance C++14 constexpr version 2013-10-05 13:35:26 +09:00
bolero-MURAKAMI
3713351e3e add example darkroom/two_spheres.hpp 2013-09-20 02:40:19 +09:00
bolero-MURAKAMI
cb1077d247 add copyright 2013-08-08 18:54:33 +09:00
bolero-MURAKAMI
7a1974742a workaround for no c++11 numeric_limits 2013-08-07 00:15:09 +09:00
bolero-MURAKAMI
99547d3fe7 workaround for clang3.2: cstdint constant macros missing 2013-08-04 11:08:41 +09:00
bolero-MURAKAMI
57e35349e5 fix warning (for -Wextra) 2013-07-22 22:00:09 +09:00
bolero-MURAKAMI
3f434dd7e1 add finite check: is_integer, is_odd, is_even 2013-05-09 01:15:44 +09:00
bolero-MURAKAMI
9247693c63 fix math functions 2013-05-08 01:46:40 +09:00
bolero-MURAKAMI
3498e9214f fix fmod 2013-05-07 13:40:18 +09:00
bolero-MURAKAMI
56cb7702ea fix math functions 2013-05-06 23:57:38 +09:00
bolero-MURAKAMI
7794e56192 fix math functions 2013-05-06 00:22:08 +09:00
bolero-MURAKAMI
fccb16687b fix math functions 2013-05-05 00:06:30 +09:00
bolero-MURAKAMI
ffb876c930 fix math functions 2013-04-29 10:56:46 +09:00
bolero-MURAKAMI
2e2b6c96ab fix math functions 2013-04-26 00:25:35 +09:00
bolero-MURAKAMI
dad3acceea fix exponential functions 2013-04-25 15:36:19 +09:00
bolero-MURAKAMI
32c3ba02d4 add math::copysign
fix hyperbolic and exponental functions: for special values
2013-04-24 22:48:36 +09:00
bolero-MURAKAMI
a27c83e939 fix erf, erfc
fix for special values: trigonometric functions
2013-04-23 23:07:20 +09:00
bolero-MURAKAMI
5f40808f75 add math::lgamma 2013-04-23 19:03:03 +09:00
bolero-MURAKAMI
a55c430f09 add math tgamma 2013-04-22 23:55:30 +09:00
bolero-MURAKAMI
61720b72c3 erase warning: clang 2013-04-21 13:30:30 +09:00
bolero-MURAKAMI
e3e130f58d fix coding styles 2013-03-22 14:24:19 +09:00
bolero-MURAKAMI
07f052fb6e add SPROUT_ASSERT 2013-03-18 19:12:21 +09:00
bolero-MURAKAMI
74e83e31a7 add back_inserter, front_inserter 2013-02-26 10:43:27 +09:00
bolero-MURAKAMI
1ef8a6a63b add sprout::string_ref
support conversion array-like container iterator to pointer
2013-02-19 02:49:10 +09:00
bolero-MURAKAMI
fa1d769bdf fix math functions 2013-02-14 18:02:43 +09:00