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

2428 Commits

Author SHA1 Message Date
Christopher Kormanyos
cd6f694730 Improve clarity of <cstdfloat.hpp>. 2014-01-13 20:00:56 +01:00
Christopher Kormanyos
6855c35598 In <cstdfloat.hpp>, add support for __float128 from GCC's libquadmath. 2014-01-12 19:35:38 +01:00
Christopher Kormanyos
83ca3c282b <cstdfloat> now stops at the least of float, double, or long double when querying <float.h>. 2014-01-12 15:52:51 +01:00
Christopher Kormanyos
839f605a3f Manual merge of changes from bernoulli-numbers branch to bernoulli-tgamma branch. 2014-01-11 21:38:25 +01:00
Christopher Kormanyos
d6bbde4a84 Clean up comments, etc. in preliminary <cstdfloat.hpp>. 2014-01-11 12:22:12 +01:00
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
7fa56fe3a9 Fix Linux x64 error rates. 2014-01-06 19:40:04 +00:00
jzmaddock
c005d4d4d1 Fix test tolerances for new tgamma code. 2014-01-06 17:24:45 +00: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
2f56845eeb Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-tgamma 2014-01-03 22:08:46 +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
7e1f271357 Remove some compiler warnings VC x64 size_t versus int / unsigned. 2014-01-02 20:36:58 +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
jzmaddock
f0c58c7e7f Fix some MSVC warnings. 2014-01-02 17:37:19 +00: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
jzmaddock
2268c52d7a Add Chris's optimized expression for the asymptotic formula.
Fix some bugs in use of asymptotic formula (2N vs N mixup).
2014-01-02 16:59:26 +00: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
jzmaddock
7b2356e796 Add some needed typecasts for x64 platform 2014-01-02 12:54:46 +00:00
jzmaddock
af95975e2e Add include test.
Improve error handling and overflow-estimation in bernoulli_details.hpp.
2014-01-02 11:54:44 +00:00
jzmaddock
49af977a28 Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers 2014-01-02 09:32:09 +00:00
jzmaddock
7484e888a4 Fix error message strings. 2014-01-02 09:31:48 +00: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
d0da0e6020 Simplify the overflow index calculation (now based on root-finding). 2014-01-01 20:28:00 +01:00
Christopher Kormanyos
d44e95c59a Use ACM TOMS 748 bracketed root finding to estimate the index of the B2n that might overflow. 2014-01-01 18:20:12 +01:00
Christopher Kormanyos
49759f10b9 Correct Bernoulli-log estimation formula. Remove some, but not all, warnings for x64 size_t versus int, unsigned. 2014-01-01 15:56:18 +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