Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2012-12-12 | math: add a non-dummy tgamma implementation | Szabolcs Nagy | -9/+214 | |
uses the lanczos approximation method with the usual tweaks. same parameters were selected as in boost and python. (avoides some extra work and special casing found in boost so the precision is not that good: measured error is <5ulp for positive x and <10ulp for negative) an alternative lgamma_r implementation is also given in the same file which is simpler and smaller than the current one, but less precise so it's ifdefed out for now. | ||||
2012-03-27 | math: add dummy tgamma and tgammaf implementations | nsz | -0/+16 | |