2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-15 13:12:19 +00:00
Commit Graph

979 Commits

Author SHA1 Message Date
Christopher Kormanyos
af02c1634e Correct errors found via GCC for AVR tiny 8-bit microcontroller. 2014-01-10 23:20:00 +01:00
Christopher Kormanyos
cdc7b3b8cc Improved floating-point type detection for a wider range of compilers. 2014-01-10 22:49:32 +01:00
Christopher Kormanyos
caf895fd23 Manual merge from bernoulli-numbers branch to bernoulli-tgamma branch. 2014-01-10 20:25:15 +01:00
Christopher Kormanyos
16efa7b842 Correct the min/max values in the macros. 2014-01-10 20:15:09 +01:00
Christopher Kormanyos
e373870c01 Preliminary concept implemntation of <cstdfloat>. 2014-01-10 19:37:33 +01:00
Christopher Kormanyos
c363d125f4 Initial commit of a very rudimentary sketch of <cstdfloat>. 2014-01-10 08:36:28 +01:00
Christopher Kormanyos
cd74da0ed1 Add tiny argument treatment to multiprecision tgamma(). Add tools cbrt_epsilon(). 2014-01-10 08:35:43 +01:00
Christopher Kormanyos
9c6f195e4d Implement cubed root of epsilon and preliminary multiprecision tgamma() and lgamma() for very small argument. 2014-01-08 22:58:11 +01:00
jzmaddock
49b30df548 Fix the order in which recursion occurs so that a) we don't end up dividing by zero if |z| < epsilon, and b) don't lose precision when z is close to epsilon. 2014-01-06 17:24:20 +00:00
Christopher Kormanyos
34ddaf71b5 In multiprecision lgamma() as well as tgamma() now use factorial for small unsigned integer arguments. 2014-01-05 21:23:33 +01:00
jzmaddock
5a4d1a85af Forward to tabulated factorials when possible: fixes absurdities like lgamma(1) != 0 which occur otherwise. 2014-01-05 17:49:12 +00:00
Christopher Kormanyos
8aa1b7068e Support multiprecision tgamma() and lgamma() for types without a specialization of numeric_limits. 2014-01-05 15:33:20 +01:00
Christopher Kormanyos
1b1b6b423d Corrected error in sign of lgamma() for multiprecision. But still more test errors. 2014-01-05 14:48:43 +01:00
Christopher Kormanyos
d488669955 Improve some comments for multiprecision tgamma() and lgamma(). 2014-01-04 21:47:11 +01:00
Christopher Kormanyos
06a2fcf887 Add a convergence condition to Stirling's approximation in multiprecision tgamma() and lgamma(). 2014-01-04 20:12:51 +01:00
Christopher Kormanyos
67fb4fd303 Rework some comments. 2014-01-03 22:19:34 +01:00
Christopher Kormanyos
6d376cbc23 Finish implementing John's suggestions for multiprecision tgamma() and lgamma(). 2014-01-03 22:08:06 +01:00
Christopher Kormanyos
02c4e88d5e Start implementing John's suggestions for multiprecision tgamma() and lgamma(). 2014-01-03 21:13:48 +01:00
Christopher Kormanyos
a94b332009 Preliminary multiprecision tgamma() and lgamma() implementations. 2014-01-03 15:46:14 +01:00
Christopher Kormanyos
0b77170d50 Rework the error handling for multiprecision tgamma() and lgama(). 2014-01-03 11:36:23 +01:00
Christopher Kormanyos
b43386f869 Merge Bernoulli from branch bernoulli-numbers to branch bernoulli-tgamma. 2014-01-02 20:35:07 +01:00
Christopher Kormanyos
38d9e32786 Preliminary multiprecision tgamma() and lgamma(), phase of lgamma() needs work. 2014-01-02 20:25:17 +01:00
Christopher Kormanyos
68113ef5d6 Remove some compiler warnings for VC and x64 code. 2014-01-02 18:11:27 +01:00
Christopher Kormanyos
61f36e60fc Continue work on multiprecision tgamma() and lgamma(). 2014-01-02 18:11:03 +01:00
Christopher Kormanyos
f206e220a1 Manual merge from branch bernoulli-numbers to branch bernoulli-tgamma. 2014-01-02 16:09:38 +01:00
Christopher Kormanyos
7dff191552 Repaired some typos in the multiprecision code in gamma_imp_bernoulli(). 2014-01-02 14:29:48 +01:00
Christopher Kormanyos
6db6405d54 Refactor the multiprecision code of gamma_imp_bernoulli(). 2014-01-02 14:22:05 +01:00
Christopher Kormanyos
03e4dbc8c6 Continued work on tgamma() for multiprecision. 2014-01-02 00:08:21 +01:00
Christopher Kormanyos
825c2b97fd Work on tgamma() multiprecision code. 2014-01-01 22:39:00 +01:00
Christopher Kormanyos
b849611732 Corrected the Luschny approximation of log(b2n). 2013-12-31 18:03:11 +01:00
Christopher Kormanyos
bc105590a2 Preliminary tests of tgamma(). The undefined_lanczos is hard-coded. 2013-12-31 18:02:37 +01:00
Christopher Kormanyos
e02a7a5695 Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-tgamma 2013-12-31 17:28:29 +01:00
Nikhar Agrawal
58206f08b7 changed tgamma using bernoulli to mimic previous lanczos implementation for z<=-20 2013-12-31 18:51:31 +05:30
Nikhar Agrawal
6072e5f1a2 Added gamma file that uses Bernoulli implementation from gsoc work. The bernoulli using gamma function is currently called using gamma_imp_bernoulli(). Changes need to be further made. 2013-12-31 18:09:17 +05:30
jzmaddock
72934d6b24 Make parameters const consistent.
Add support for UDT's not convertible from long long.
2013-12-31 09:48:24 +00:00
jzmaddock
5b5550222a Fix issues raised from the regression tests: some using declaration in the Bessel code, and some changed assumptions in the airy-zeros. 2013-12-30 09:44:11 +00:00
jzmaddock
3bc0ec66c3 Hook up the concept checks. 2013-12-29 18:46:39 +00:00
jzmaddock
36d5698421 Fix buggy overflow check.
Add B2n overflow test.
2013-12-29 18:00:21 +00:00
jzmaddock
2642c41b22 Fix GCC test failure. 2013-12-29 17:14:32 +00:00
jzmaddock
c5dde54a13 Fix gcc compiler failures 2013-12-29 10:49:27 +00:00
jzmaddock
05b8bd016c Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/detail/bernoulli_details.hpp
2013-12-29 09:46:40 +00:00
jzmaddock
5c628a3700 Enable tangent numbers.
Fix several error handling issues.
2013-12-29 09:40:15 +00:00
Christopher Kormanyos
3fc1266dba Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/bernoulli.hpp
2013-12-28 19:40:14 +01:00
Christopher Kormanyos
5330a48cc4 Include header bernoulli.h. 2013-12-28 19:25:09 +01:00
Christopher Kormanyos
bdd113c2c5 Use atomic enumeration member from std, not boost. 2013-12-28 19:24:48 +01:00
Christopher Kormanyos
ce39ae3802 Consist input parameters for Bessel/Airy zeros. 2013-12-28 19:23:37 +01:00
jzmaddock
5991ef3e9c Move unchecked_bernoulli_b2n over to new header and add to tests. 2013-12-28 18:18:19 +00:00
jzmaddock
5dba5e7785 Commit test case.
Refactor into class-based details, and split big tables off into new header.
2013-12-28 18:12:33 +00:00
jzmaddock
01e943386a Fix namespace used for atomic operations. 2013-12-28 16:46:42 +00:00
jzmaddock
e8a72fe32d Move Nikhar Agrawal's Bernoulli code into mainstream Boost. 2013-12-28 16:28:15 +00:00